On Tue, 2008-08-12 at 11:15 +1000, Alex Samad wrote:
> On Tue, Aug 12, 2008 at 02:32:04AM +0300, Andrei Popescu wrote:
> > On Tue,12.Aug.08, 01:04:00, 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:
> > > 
> > > -What is the best way to prevent the device names change from happening?
> > > -If it happens what is the best way to quickly fix this problem?
> >  
> > I prefer to use labels, because they are readable (compared to UUID) ;)
> > 
> > $ grep '^# kopt' /boot/grub/menu.lst
> > # kopt=root=LABEL=sid ro vga=0x368
> > 
> > You have to run 'update-grub' after changing this
> > 
> > $ grep sid /etc/fstab
> > LABEL=sid   /               ext3    errors=remount-ro,noatime,commit=600 0  
> >      1
> > 
> > For ext2/3 you set the labels with e2label.
> 
> 
> can I siggusting sticking to label, easier to read and also doing a rm
> /etc/blkid.tab
> 

What do you mean with 'rm /etc/blkid.tab'?

Regards,

Aniruddha



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to