|
|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Eugene Grosbein 2:5006/1 16 Jun 2000 11:05:32 To : Andy Bogdanov Subject : Re: wd -> ad -------------------------------------------------------------------------------- >Hello, All! > >апгрейжу 3.4 до 4, дохожу до момента перезагрузки в single - имеем попытку >почему-то загрузиться с wd0s1a вместо ad0s1a :( получаем примерно такое >сообщение >Mounting root from ufs:wd0s1a >wd0: bad sector table not supported >..... >Root mount failed: 22 >..... >Mounting root from ufs:ad0s1a >ad0: bad sector table not supported >..... >Root mount failed: 22 > >что делать и кто виноват? где я чего не дочитал/недопонял? >если это важно - винт Seagate ST38641A 8.1Gb стоит в LBA В 4.0 убрали поддержку bad sector table. Читайте stable@freebsd.org Subject: RE: 3.4-STABLE -> 4.0-RELEASE upgrade: unable to mount root partition Date: Sat, 3 Jun 2000 19:16:18 -0700 From: "Bharat Mediratta" <bharat@sinia.com> To: <freebsd-stable@FreeBSD.ORG> I finally got an answer to this problem. Since this problem prevented me from upgrading my machine for over a week and it's not documented anywhere, let me explain the problem and the solution. (thanks to David Babler dbabler@Rigel.orionsys.com for the info below) When I installed FreeBSD 3.4-STABLE on my machine there was no indication that bad144 (bad sector forwarding) was not a good idea. Support for bad144 went away in 4.0, so if you are using it in 3.4 this will get in the way of upgrading. After you reinstall the kernel and reboot it will not let you remounte your root partition and will give you an error message like this: wd0: bad sector table not supported wd0s1: bad sector table not supported So here are some common questions and answers: Q: How do I tell if my drive has bad144 on it, BEFORE I try to upgrade to FreeBSD 4.0 and have it fail on me? A: Use the disklabel utility. 'disklabel -r wd0' (replace wd0 with your drive device) will give you the contents of your disk label. For example: # /dev/rwd0c: type: ESDI disk: wd0s1 label: flags: badsect <--- NOTE! bytes/sector: 512 sectors/track: 63 Q: How do I remove bad144? A: The easiest way to do this is to use disklabel. You can dump the current label out to disk and then reload it, or you can just edit it in place with 'disklabel -e -r wd0'. All you have to do is remove 'badsect' from the flags line and you're all set. This won't affect any of your data. bad144 is probably still taking up some space on your disk but it is no longer in effect. I hope this helps somebody avoid the week of annoying research I had to do to get a fix for this problem. -Bharat --- slrn/0.9.6.2 (FreeBSD) * Origin: SVZ-Service (2:5006/1@fidonet) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/2609316eed33a.html, оценка из 5, голосов 10
|