Re: Solvng the NVIDIA IDE/SATA/AHCI mess

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Kenneth R Westerback
Date: Tuesday, December 21, 2010 - 4:53 am

On Tue, Dec 21, 2010 at 11:27:30AM +0100, Mark Kettenis wrote:

Just a note to remind everyone that you can change your fstab to
use DUIDs rather than wd* and sd*, thus making it easier to survive
the flips between wd and sd when changing BIOS settings.

Using wd0 as an example, just 'disklabel -E wd0' and w(rite), q(uit)
to put a DUID in your disklabel if it hasn't got one. Then replace
all instances of '/dev/wd0x' with <duid>.x in your fstab. And away
you go. No need to worry about your disk flipping from wd to sd and
back.

Just did this and it works fine. My fstab now looks like

d48d0e3fc1c39531.a / ffs rw,softdep 1 1
d48d0e3fc1c39531.k /home ffs rw,nodev,nosuid,softdep 1 2
d48d0e3fc1c39531.d /tmp ffs rw,nodev,nosuid,softdep 1 2
d48d0e3fc1c39531.f /usr ffs rw,nodev,softdep 1 2
d48d0e3fc1c39531.g /usr/X11R6 ffs rw,nodev,softdep 1 2
d48d0e3fc1c39531.h /usr/local ffs rw,nodev,softdep 1 2
d48d0e3fc1c39531.j /usr/obj ffs rw,nodev,nosuid,softdep 1 2
d48d0e3fc1c39531.i /usr/src ffs rw,nodev,nosuid,softdep 1 2

and changing my bios setting to flip back and forth from wd0 to sd0
has no effect on booting.

.... Ken
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Solvng the NVIDIA IDE/SATA/AHCI mess, Mark Kettenis, (Tue Dec 21, 3:27 am)
Re: Solvng the NVIDIA IDE/SATA/AHCI mess, Kevin Chadwick, (Tue Dec 21, 4:24 am)
Re: Solvng the NVIDIA IDE/SATA/AHCI mess, Kenneth R Westerback, (Tue Dec 21, 4:53 am)
Re: Solvng the NVIDIA IDE/SATA/AHCI mess, David Coppa, (Tue Dec 21, 4:59 am)