[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What is the best way to deal with changing device names in Debian?

On Tue, 2008-08-12 at 02:11 +0300, Shachar Or wrote:
> On Tuesday 12 August 2008 02:04, Aniruddha wrote:
> > Regularly my hard disk device names change ( e.g. from sdc to sdh to sdb
> > etc). When this happens it becomes impossible to boot.
> >
> > To prevent this from happening I 've added 'disk/by id' to fstab
> > (because the disks uuid were also changing) and 'boot from uuid' to my
> > menu.lst I wonder:
> The UUID's belong to the filesystems, not the disks. I've never heard of them 
> changing between reboots. Use the blkid command to see them. Here's my fstab:

Thanks for the help. UUID change and so do device id's (my device-id
just changed in Debian). However, last time I used UUID in my fstab was
with Gentoo. I guess I can try if they don't change with Debian. 

If this doesn't work, what the best way to recover? Chrooting is a
problem since you have to use the /dev folder from the livecd which can
contain different id/uuid's then your own system making it still
impossible to boot.



Reply to: