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

Debian AMD64 boots only at random: how to use labels/fstab/grub



Hi,

After an update of my kernel to 2.6.17 my machine only boots at random.
I have googled for a solution and it appears that it happens because of
the way the harddisks are found during startup . The solution described
involves using lables in fstab and grub (menu.lst).

But whatever I do, I cannot find a way to add labels in my fstab an grub
that actually work. Can anyone tell me what I have to do to make my
machine boot reliable using labels with fstab/grub? I have tried to add
labels to both fstab and menu.lst but a reboot failed miserably....

Excerpt from my menu.lst

title           Debian GNU/Linux, kernel 2.6.17-2-amd64
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.17-2-amd64 root=/dev/sda1 ro
initrd          /boot/initrd.img-2.6.17-2-amd64
savedefault


My fstab:

# /etc/fstab: static file system information. 
# 
# <file system> <mount point>   <type>  <options>       <dump>  <pass> 
proc            /proc           proc    defaults        0       0 
/dev/sda1       /               ext3    defaults,errors=remount-ro 0 1 
/dev/sdb1       /var            ext3    defaults        0       2 
/dev/sdc1       /home           xfs     defaults        0       2 
/dev/sdc2       /pgdata         xfs     defaults        0       2 
/dev/sda5       none            swap    sw              0       0 
/dev/hdc        /media/cdrom0   udf,iso9660 user,noauto     0       0 
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0 


TIA


-- 
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl



Reply to: