Tag: os prober

os-prober无法识别linux系统,因此我需要编写一个自定义grub2菜单项作为解决方法,如何?

我想像这样添加一个自定义菜单到grub2(如/etc/grub.d/40_custom ): #!/bin/sh exec tail -n +3 $0 # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the ‘exec tail’ line above. menuentry “Arch Linux” { ….some data here….. } 而我需要的是“……这里的一些数据…..” 一些困难: 从BIOS启动驱动器命令更改时, […]

os-prober和update-grub无法查看/找到正常运行的Windows安装

我已经在分区的3 TB硬盘上安装了Windows 7安装旁边的12.04。 如果我在启动时使用F12来查看BIOS的启动选项,Windows 7和Ubuntu正常启动,但Ubuntu GRUB只给我Ubuntu选项。 当我尝试os-prober时,我根本没有得到任何结果; update-grub对我也没有做任何事情。 我尝试使用Grub Customizer修改GRUB,但是,呃,真的不明白它的细节。 这是使用“磁盘工具”拍摄的驱动器的屏幕截图。 第一个分区是Windows,第二个分区是共享数据(MP3,文档,照片等)。 105 MB FAT是“EFI系统分区”,134 MB“未知”标记为“Microsoft保留分区”; 898 GB是Ubuntu,最后5 GB是交换。

GRUB不检测Windows

我终于在第二个驱动器上安装了Ubuntu。 当我启动计算机时,GRUB只提供我启动Ubuntu,而不是Windows 7.需要做什么才能在GRUB中选择Ubuntu和Windows? 当我在启动时按F12启动菜单并选择Windows Boot Manager它将启动到Windows 7。 我运行命令sudo fdisk -l ,这里是log( http://pastebin.com/Cgv1igHc ): WARNING: GPT (GUID Partition Table) detected on ‘/dev/sda’! The util fdisk doesn’t support GPT. Use GNU Parted. Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes […]