multi boot for windows (xp, vista, windows 7) & ubuntu using grub
install windows (xp, vista, windows 7)
install ubuntu
if grub can collect to boot windows OS
you can add some lines to boot windows OS
########Boot Ubuntu##############
title Ubuntu 9.04, kernel 2.6.28-14-generic
uuid 50c3dcc0-b4a7-497e-a424-e4613ec65ac9
kernel /boot/vmlinuz-2.6.28-14-generic root=UUID=50c3dcc0-b4a7-497e-a424-e4613ec65ac9 ro quiet splash
initrd /boot/initrd.img-2.6.28-14-generic
quiet
########Boot Windows##############
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Windows 7 x64 (hd1,0)
root (hd1,0)
savedefault
makeactive
chainloader +1
######################
you can modify bold line for correct your system.
Ex:
if you install Windows OS on Hard disk 1 & partition 1
modify: root (hd0,0)
if you install Windows OS on Hard disk 2 & partition 1
modify: root (hd1,0)
if you install Windows OS on Hard disk 1 & partition 2
modify: root (hd0,1)
install ubuntu
if grub can collect to boot windows OS
you can add some lines to boot windows OS
########Boot Ubuntu##############
title Ubuntu 9.04, kernel 2.6.28-14-generic
uuid 50c3dcc0-b4a7-497e-a424-e4613ec65ac9
kernel /boot/vmlinuz-2.6.28-14-generic root=UUID=50c3dcc0-b4a7-497e-a424-e4613ec65ac9 ro quiet splash
initrd /boot/initrd.img-2.6.28-14-generic
quiet
########Boot Windows##############
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Windows 7 x64 (hd1,0)
root (hd1,0)
savedefault
makeactive
chainloader +1
######################
you can modify bold line for correct your system.
Ex:
if you install Windows OS on Hard disk 1 & partition 1
modify: root (hd0,0)
if you install Windows OS on Hard disk 2 & partition 1
modify: root (hd1,0)
if you install Windows OS on Hard disk 1 & partition 2
modify: root (hd0,1)
Nhận xét
Đăng nhận xét