安装了Ubuntu 13.04,但始终只启动Windows 7
我想在我的PC桌面上安装Ubuntu 13.04,但是当我重启我的电脑时,它总是启动Windows 7,而不是问我想要运行哪个操作系统。 我的电脑上有3个硬盘:
1:200 GB与Win7
2:500 GB分区,4 GB交换,150 GB / home和其他GB根(/)
3:2 TB的各种数据。
我认为bootloader在sda1
,在安装Ubuntu 13.04时我无法在该分区上安装bootloader(致命错误)。 我该怎么办?
这是我的fdisk日志:
ubuntu@ubuntu:~$ sudo fdisk -l Disk /dev/sda: 203.9 GB, 203928109056 bytes 255 heads, 63 sectors/track, 24792 cylinders, total 398297088 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xdf56df56 Device Boot Start End Blocks Id System /dev/sda1 * 63 398296937 199148437+ 7 HPFS/NTFS/exFAT WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU Parted. Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sdc1 1 3907029167 1953514583+ ee GPT Partition 1 does not start on physical sector boundary. Disk /dev/sdb: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x272196e3 Device Boot Start End Blocks Id System /dev/sdb1 2046 7815167 3906561 5 Extended /dev/sdb2 7815168 300785663 146485248 83 Linux /dev/sdb3 300785664 976771071 337992704 83 Linux /dev/sdb5 2048 7815167 3906560 82 Linux swap / Solaris
你应该使用启动修复
1启动live cd / usb
2打开一个终端并输入
sudo add-apt-repository ppa:yannubuntu/boot-repair sudo apt-get update sudo apt-get install boot-repair boot-sav
2b单击ubuntu图标(左上角)并搜索boot,然后运行名为Boot-repair的应用程序
3按照所有说明操作,并在出现提示时输入所有命
重启后,您将看到列出操作系统的grub菜单。
下面是一些文档https://help.ubuntu.com/community/Boot-Repair
机器启动时按F12键 。 选择安装Linux的磁盘。