ubuntu10启动window

命令行进入/boot/grub目录,gedit打开grub.cfg

文件最后添加

menuentry "Microsoft Windows XP Professional (on /dev/sda1)" {

insmod ntfs

set root='(hd0,1)'

search --no-floppy --fs-uuid --set 4c94984d94983c00

drivemap -s (hd0) ${root}

chainloader +1

}

其中fs-uuid后的磁盘uuid可以通过sudoblkid命令查看

猜你喜欢

转载自chuanzhongdu99.iteye.com/blog/1306853