On Freitag, 12. Oktober 2007, Duncan wrote: > > Configuring mount-devices, you use /dev/sdX or /dev/srX, depending. > (I'm not actually sure which one IDE drives use -- I run SATA drives but > have my DVD burners on PATA still, using the libata drivers, and they > get /dev/srX not /dev/sdX.) Basically, try both from grub and see which > works. Once you figure out which devices it's using (srX or sdX), you'll > need to setup your fstab using the correct ones.
no. just no. The right thing, is not to mount by partition naming, but by uuid. That way it does not matter if the partition is called 'hda2' or 'sda2' or 'srX' or 'sgX' or whatever. Just mount by-uuid. It always works and it is great. Moved around a partition? created some before it? No problem, because you don't mount '/dev/hda2' you mount '/dev/disk/by-uuid/c1a84bd9-91f1-420e-9880-d4290599a399' > > Keep in mind that it's possible your device numbering will change as > well, particularly if you already had some SATA or SCSI devices. That's > the most common problem people run into -- their device numbers changing > around on them, because the kernel will load the drivers and test the > drives in a different order than it did previously. Another variation on > the same problem is that devices such as thumb drives and MP3 players > typically load as SCSI devices, so once you switch to SCSI for your > normal drives, you may find the device numbering changing depending on > whether your MP3player/thumb-drive is plugged in or not at boot. One > typical solution to this problem, if you find you have it, is using the > other shortcuts automatically created by UDEV. Here, I use /dev/disk/by- > label/xxxxx for my USB drive mount-devices in fstab, thus allowing me to > keep them straight, and access them consistently regardless of whether I > have one or more than one plugged in at once. and all that problems can be solved with mounting by uuid for the harddisks. *restdeletedwithoutreading* -- [EMAIL PROTECTED] mailing list
