On Mon, 2009-01-19 at 17:23 +0000, Dan Hatton wrote:
On Mon, 19 Jan 2009, Srdjan Todorovic wrote:
ls -l /dev/disk/by-uuid/
You can use this in fstab as such: UUID=b824e09e-e582-45ba-81aa-3b49733e82ee /data ext3 defaults 0 0
Ah, OK, thank you. So I've put the UUIDs in fstab, and /dev/sda? in the 2.6.28 entry in grub.conf, keeping /dev/hda? in the 2.6.27.10 entry in grub.conf. (An aside: is there any way UUIDs can be made to work in grub.conf?)
Yes there is, although the specific way you specify them escapes me at the moment. You will have to google or RTM
One more thing: in the old kernel, USB sticks etc. used to appear consistently as /dev/sda - and I had some appropriate noauto entries in fstab for them. Now, presumably, they have to compete with the hard drive for that name. What to do?
They will get something higher up the alphabet than sda like sdb etc..plug one in and watch /var/log/messages to see. Of course this *can* change depending on how many usb storage devices you have on the system or when you add more hard drives.