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可以通过sudo blkid命令查看

你可能感兴趣的:(ubuntu10启动window)