PC デスクトップに Ubuntu 13.04 をインストールしようとしていますが、PC を再起動すると、どの OS を実行するか尋ねられることなく、常に Windows 7 が起動します。PC には 3 つの HDD があります。
1: Win7 で 200 GB
2: 4 GB のスワップ、150 GB の /home、その他の GB のルート (/) でパーティション分割された 500 GB
3: 2 TB のさまざまなデータ。
ブートローダーはオンになっていると思いますsda1
が、Ubuntu 13.04 のインストール中にそのパーティションにブートローダーをインストールできません (致命的なエラー)。どうすればよいでしょうか?
以下は 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
ブート修復を使用する必要があります
1 ブートライブ 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/ブート修復
答え2
マシンが起動したら、を押しますF12。Linux がインストールされているディスクを選択します。