我知道这是愚蠢的,在我检查了互联网,但我刚刚格式化了一个分区,我已经安装了GRUB。
现在,每当我启动时,我都会出现错误15 (这意味着“没有找到文件”)。
所以,我把我的Ubuntu11.04活动磁盘取出并安装在格式化的分区之上,现在至少我可以启动了--但是我现在想摆脱重复的Ubuntu。
我认为我需要做的是让GRUB回顾我的第一个分区--我已经将这个分区设置为/dev/sda1 1,或者(hd0,0)在GRUB中。但是,当尝试
grub> root (hd0,0)
grub> setup (hd0)或尝试:
grub> root (hd0,0)
grub> setup (hd0,0)最后,我:
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... no
Error 15: File not found这可不是好事!
我的sudo fdisk -l看起来如下(从现场安装运行):
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000ce6db
Device Boot Start End Blocks Id System
/dev/sda1 * 1 28210 226594816 83 Linux
/dev/sda2 29255 30402 9212929 5 Extended
/dev/sda3 28210 29255 8388608 83 Linux
/dev/sda5 29255 30402 9212928 82 Linux swap / Solaris
Partition table entries are not in disk order
Disk /dev/sdb: 7948 MB, 7948206080 bytes
245 heads, 62 sectors/track, 1021 cylinders
Units = cylinders of 15190 * 512 = 7777280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00077236
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1021 7754464 b W95 FAT32(注: sdb1是我的生活磁盘,一个8GB的SD卡)
PS:我之所以这么做,是因为我想安装Android-x86,但是它附带的GRUB无法识别Ubuntu,所以它不是双重引导。
发布于 2011-07-29 17:31:05
你说你可以启动你的旧Ubuntu。如果是这样的话,解决这个问题应该是相当容易的。打开一个方便的终端,并在主Ubuntu上试一试:
sudo update-grub
sudo grub-install /dev/sda
sudo grub-install /dev/sda --recheck至于让Android正常工作,您可以不用引导加载器就可以安装它。然后引导到主Ubuntu并运行。
sudo update-grub看看能不能找到。
https://askubuntu.com/questions/54766
复制相似问题