Windows XPのブートローダでUbuntuとDebianとトリプルブートする方法

Windows XPのブートローダでUbuntuとDebianとトリプルブートする方法

Windows XPのブートローダでUbuntuとDebianとトリプルブートする方法

■OS

Windows XP
Ubuntu 10.04
Debian 6.0

■ブートローダ

Windows XP

■作業

Windows XPのブートローダでUbuntuとDebianとトリプルブートする

■Windows XPのブートローダでUbuntuとDebianとトリプルブートする方法

WindowsXPがインストール済みのパソコンにUbuntuのインストールCDを入れCDから起動

「GParted」や「fdisk」などでパーティションを分けて

/dev/sda1にインストール済み WindowsXP
/dev/sda2にUbuntuをインストール
/dev/sda3にDebianをインストール

となるように「/dev/sda2」へUbuntuをインストール

Ubuntuのブートローダは「/dev/sda2」にインストール< /p>

インストール後「再起動せずに」端末から

dd if=/dev/sda2 of=ubuntu.img bs=512 count=1

を実行しホームディレクトリに作成した「ubuntu.img」を「/dev/sda1」WindowsのC直下に置く

シャットダウンして DebianのインストールCDを入れCDから起動

「/dev/sda3」へDebianをインストール< /p>

Debianのブートローダは「/dev/sda3」にインストール

インストールが終わったら電源を落としUbuntuのインストールCDを入れCDから起動

端末から

dd if=/dev/sda3 of=debian.img bs=512 count=1

を実行しホームディレクトリに作成した「debian.img」を「/dev/sda1」WindowsのC直下に置く

再起動してWindowsを起動

「boot.ini」に下記を追加

C:\ubuntu.img="Ubuntu 10.04″
C:\debian.img="Debian 6.0″

パソコンを再起動

■「Boot.ini」の内容

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Home Edition" /fastdetect
C:\ubuntu.img="Ubuntu 10.04"
C:\debian.img="Debian 6.0"