|
|
我以前用的是Debian和Windows,刚刚把Windows删掉后,装了一个Mandrake2005
我现在的分区是这样的:
For Mandrake:
/dev/hdac /mnt/cdrom
/dev/hda5 /boot
/dev/hda6 /mnt/debianhome
/dev/hda11 /
/dev/hda12 /usr
/dev/hda14 /mnt/pub
/dev/hda15 /home
For Debian:
/dev/hda8 /boot
/dev/hda9 /usr
/dev/hda10 /
我刚开始是把原来Debian中的Grub中的menu.lst内容直接拷贝至Mandrake的menu.lst中,但是提示我不能引导,我想是不是root定义的问题,于是我便改了其中的root定义由(hd0,7)改为(hd0,9),但是这样后还是不行,提示我没有找到文件?
以下是我原来Debian中的引导内容:
title Debian GNU/Linux, kernel 2.6.8-2-686
root (hd0,7)
kernel /vmlinuz-2.6.8-2-686 root=/dev/hda10 ro
initrd /initrd.img-2.6.8-2-686
savedefault
boot
title Debian GNU/Linux, kernel 2.6.8-2-686 (recovery mode)
root (hd0,7)
kernel /vmlinuz-2.6.8-2-686 root=/dev/hda10 ro single
initrd /initrd.img-2.6.8-2-686
savedefault
boot
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
这是我直接添加后的Mandriva引导内容:
timeout 10
color black/cyan yellow/cyan
default 0
title Mandriva2005
kernel (hd0,4)/vmlinuz root=/dev/hda11 acpi=ht resume=/dev/hda13 splash=silent vga=788
initrd (hd0,4)/initrd.img
title Mandriva2005-nonfb
kernel (hd0,4)/vmlinuz root=/dev/hda11 acpi=ht resume=/dev/hda13
initrd (hd0,4)/initrd.img
title Mandriva2005-failsafe
kernel (hd0,4)/vmlinuz root=/dev/hda11 failsafe acpi=ht resume=/dev/hda13 devfs=nomount
initrd (hd0,4)/initrd.img
title Debian GNU/Linux
root (hd0,7)
kernel /vmlinuz-2.6.8-2-686 root=/dev/hda10 ro
initrd /initrd.img-2.6.8-2-686
savedefault
boot
title Debian GNU/Linux (recovery mode)
root (hd0,7)
kernel /vmlinuz-2.6.8-2-686 root=/dev/hda10 ro single
initrd /initrd.img-2.6.8-2-686
savedefault
boot
chainloader +1 |
|