Накосячил я с grub-ом, и при загрузке вместо списка ос выдаёт мне Error 2. Я и пытался по образцам переписать, и собственно из самого grub-a настраивать, и одну Ubuntu только оставлять..не помогает. В конце концов, я загрузился с
puppyrus live cd, и там сконфигугировал grub утилитой. В результате menu.lst имеет такой вид:
# GRUB configuration file '/boot/grub/menu.lst'.
# generated by 'grubconfig'. Thu Sep 24 22:03:01 2009
#
# The backup copy of the MBR for drive '/dev/sdb' is
# here '/boot/grub/mbr.sdb.6874'. You can restore it like this.
# dd if=/boot/grub/mbr.sdb.6874 of=/dev/sdb bs=512 count=1
#
# Start GRUB global section
timeout 30
color light-gray/blue black/light-gray
# End GRUB global section
# Other bootable partition config begins
title Windows (on /dev/hda1)
rootnoverify (hd0,0)
makeactive
chainloader +1
# Other bootable partition config ends
# Other bootable partition config begins
title Windows (on /dev/sda2)
map (hd0) (hd1)
map (hd1) (hd0)
map (hd0,0) (hd1,1)
map (hd1,1) (hd0,0)
rootnoverify (hd1,1)
makeactive
chainloader +1
# Other bootable partition config ends
# Other bootable partition config begins
title Windows (on /dev/sda3)
map (hd0) (hd1)
map (hd1) (hd0)
map (hd0,0) (hd1,2)
map (hd1,2) (hd0,0)
rootnoverify (hd1,2)
makeactive
chainloader +1
# Other bootable partition config ends
# Other bootable partition config begins
title Windows (on /dev/sda5)
map (hd0) (hd1)
map (hd1) (hd0)
map (hd0,0) (hd1,4)
map (hd1,4) (hd0,0)
rootnoverify (hd1,4)
makeactive
chainloader +1
# Other bootable partition config ends
# Linux bootable partition config begins
title Linux (on /dev/sdb1)
root (hd2,0)
kernel /boot/vmlinuz root=/dev/sdb1 ro vga=normal
# Linux bootable partition config ends
# Other bootable partition config begins
title Windows (on /dev/sdb6)
map (hd0) (hd2)
map (hd2) (hd0)
map (hd0,0) (hd2,5)
map (hd2,5) (hd0,0)
rootnoverify (hd2,5)
makeactive
chainloader +1
# Other bootable partition config ends
# Linux bootable initrd config begins
title Linux initrd /tmp/boot/boot/initrd.img-2.6.28-15-generic (on /dev/sdb1)
root (hd2,0)
kernel /boot/vmlinuz root=/dev/sdb1 ramdisk_size=19444 root=/dev/ram0 rw
initrd /tmp/boot/boot/initrd.img-2.6.28-15-generic
# Linux bootable initrd config ends
title Install GRUB to floppy disk (on /dev/fd0)
pause Insert a formatted floppy disk and press enter.
root (hd2,0)
setup (fd0)
pause Press enter to continue.
title Install GRUB to Linux partition (on /dev/sdb1)
root (hd2,0)
setup (hd2,0)
pause Press enter to continue.
title - For help press 'c', then type: 'help'
root (hd0)
title - For usage examples, type: 'cat /boot/grub/usage.txt'
root (hd0)
но та же ошибка... такое ощущение, что граб берёт конфигурацию из какого-то другого файла..
p.s. прилагаю fdisk -l
# fdisk -l
Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1912 15358108+ 7 HPFS/NTFS
/dev/hda2 1913 19456 140922180 f W95 Ext'd (LBA)
/dev/hda5 1913 19456 140922148+ 7 HPFS/NTFS
Disk /dev/sda: 320.0 GB, 320071851520 bytes
16 heads, 63 sectors/track, 620178 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/sda1 2 264129 133120512 f W95 Ext'd (LBA)
/dev/sda2 * 264130 555684 146943720 7 HPFS/NTFS - тут старая покарёженная Windows, вобщем-то и не нужна она, просто руки не доходят снести
/dev/sda3 555685 618668 31743936 7 HPFS/NTFS
/dev/sda5 2 264129 133120480+ 7 HPFS/NTFS
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 3647 29294496 83 Linux
/dev/sdb2 3648 42135 309154860 f W95 Ext'd (LBA)
/dev/sdb5 3648 3890 1951866 82 Linux swap
/dev/sdb6 3891 42135 307202931 7 HPFS/NTFS