如何将Windows 7加载程序添加到GRUB?

我已经成功安装了Ubuntu 11.10和Windows 7.在安装过程中,我手动更改了Windows分区大小(使用了24Gb,我将虚拟分区大小从100Gb更改为40Gb)并杀死了Windows存储系统恢复的150Mb分区数据。 我在第二个虚拟分区上安装了Ubuntu。

所以现在当GRUB启动时,它无法看到Windows安装程序。 我认为Windows加载器一切正常,只是GRUB不知道它。

所以我需要手动指定它。 在哪里以及如何?

从Ubuntu运行:

sudo update-grub 

然后重启。

Windows现在应该在Grub菜单中。

编辑Grub菜单

 gksudo gedit /boot/grub/menu.lst # This entry automatically added by the Debian installer for a non-linux OS # on /dev/sdb1 title Windows 7 root (hd1,0) savedefault makeactive map (hd0) (hd1) map (hd1) (hd0) chainloader +1 

编辑/etc/fstab以便在linux中访问Windows分区:

 sudo apt-get install ntfs-config sudo ntfs-config 

在Windows分区的/media添加挂载点

我想这会对你有所帮助