Today we will introduce how to install Ubuntu 9.04 desktop version without virtual CD-ROM in Windows 7. Concretely, first install Windows 7, and then Ubuntu 9.04, and then change grub and add Windows startup item.
1. Install Windows 7
2. Install Ubuntu 9.04
1) Copy Ubuntu 9.04 disc image file to the root directory of drive C.
2) Copy the files initrd.gz and vmlinuz under casper directory in the image file to the root directory of drive C.
3) Download grub4dos, decompress grldr, grldr.mbr, grub.exe (notice: grldr.mbr is necessary, XP doesn’t need this, but if for Vista, Win 7, then the file grldr.mbr must be included, never forget!) to the root directory of drive C.
4) Create the file menu.lst with the content below:
title Install Ubuntu 9.04
root (hd0,0)
kernel (hd0,0)/vmlinuz boot=casper iso-scan/filename=/Ubuntu-9.04-desktop-i386.iso ro quiet splash locale=zh_CN.UTF-8
initrd /initrd.gz
boot
5) Copy the file boot.ini in XP system to the root directory of drive C, add “c:\grldr.mbr="grub" to the last line” (notice: it is the file grldr.mbr), if there’s XP system at hand, then here I post the code of boot.ini for your reference.
[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 Professional" /noexecute=optin /fastdetect
c:\grldr.mbr="grub"
6) Till now, all preparation work ha