http://wiki.ubuntu.org.cn/index.php?tit ... nt=zh-hans
sda7(boot)
sda8(/)
sda9(/home)
查找到了自己的boot uuid列表如下:
进入windows添加grub和menu.list内容如下:lrwxrwxrwx 1 root root 10 2009-08-24 07:24 4d559da9-9bd4-4f96-bf3b-e4bd25c7dfdd -> ../../sda7
lrwxrwxrwx 1 root root 10 2009-08-24 07:25 659dccee-0121-4ca6-9200-e240cacf86d8 -> ../../sda8
lrwxrwxrwx 1 root root 10 2009-08-24 07:25 8d62b56f-23f2-41ea-9735-703a6eb25485 -> ../../sda9
更改了boot.ini文件,添加了ubuntu启动向。# This is a sample menu.lst file. You should make some changes to it.
# The old install method of booting via the stage-files has been removed.
# Please install GRLDR boot strap code to MBR with the bootlace.com
# utility under DOS/Win9x or Linux.
color black/cyan yellow/cyan
timeout 30
default /default
title find and load NTLDR of Windows NT/2K/XP
fallback 1
find --set-root /ntldr
chainloader /ntldr
savedefault --wait=2
title find and load CMLDR, the Recovery Console of Windows NT/2K/XP
fallback 2
find --set-root /cmldr
chainloader /cmldr
#####################################################################
# write string "cmdcons" to memory 0000:7C03 in 2 steps:
#####################################################################
# step 1. Write 4 chars "cmdc" at 0000:7C03
write 0x7C03 0x63646D63
# step 2. Write 3 chars "ons" and an ending null at 0000:7C07
write 0x7C07 0x00736E6F
savedefault --wait=2
title find and load IO.SYS of Windows 9x/Me
fallback 3
find --set-root /io.sys
chainloader /io.sys
savedefault --wait=2
title find and boot Mandriva with menu.lst already installed
fallback 4
find --set-root /etc/mandriva-release
savedefault --wait=2
configfile /boot/grub/menu.lst
title find and boot Linux with menu.lst already installed
fallback 5
find --set-root /sbin/init
savedefault --wait=2
configfile /boot/grub/menu.lst
title install Ubuntu 9.04
root(hd0,0)
kernel /vmlinuz boot=casper iso-scan/filename=/ubuntu-9.04-desktop-amd64.iso
initrd /initrd.gz
title Ubuntu 9.04, kernel 2.6.28-11-generic
root(hd0,6)
kernel /vmlinuz-2.6.28-11-generic root=UUID=659dccee-0121-4ca6-9200-e240cacf86d8 ro quiet splash
initrd /initrd.img-2.6.28-11-generic
quiet
title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
root(hd0,6)
kernel /vmlinuz-2.6.28-11-generic root=UUID=659dccee-0121-4ca6-9200-e240cacf86d8 ro single
initrd /initrd.img-2.6.28-11-generic
title Ubuntu 9.04, memtest86+
root(hd0,6)
kernel /memtest86+.bin
quiet
title commandline
savedefault --wait=2
commandline
title floppy (fd0)
chainloader (fd0)+1
rootnoverify (fd0)
savedefault --wait=2
title back to dos
savedefault --wait=2
quit
title reboot
savedefault --wait=2
reboot
title halt
savedefault --wait=2
halt
title memdrive duplicated from floppy image file (hd0,0)/sbm.bin
map --mem (hd0,0)/sbm.bin (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
savedefault --wait=2
#title memdrive based on win98 partition (hd0,6)
#map --mem (hd0,6)+1 (hd0)
## map --mem (hd0,0)/win98.gz (hd0)
#map --hook
#chainloader (hd0)+1
#rootnoverify (hd0)
#savedefault --wait=2
保存后从新启动,选取ubuntu项,进入界面,出现了ubuntu的启动菜单
可我选取点击进入就报错,说找不到文件,ERROR: file not found。 没有错误啊,已经都是按照分区的内容来分的了。title Ubuntu 9.04, kernel 2.6.28-11-generic
title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
title Ubuntu 9.04, memtest86+
我都郁闷死了,。。请大侠指点下,那里有错误啊。。。