2008-10-28

Install Ubuntu 8.04 from Hard Disk

  • Make an ISO file ubuntu804.iso from Ubuntu's LiveCD (8.04 desktop), put the ISO file in D:/ubuntu804.iso
  • Mount the ISO file or the LiveCD, copy two files CDROM:/casper/{initrd.gz,vmlinuz} to Windows drive D:/
  • Download grub4dos, extract its files to C:/
  • Edit C:/boot.ini, add one new line: C:\grldr="GRUB4DOS"
  • Edit C:/menu.lst
    title Find and Install Ubuntu
    find --set-root /ubuntu804.iso
    kernel /vmlinuz boot=casper iso-scan/filename=/ubuntu804.iso
    initrd /initrd.gz
  • Reboot Windows XP
  • Select GRUB4DOS from the boot menu
  • ... ...
  • Will boot to the same screen as if you're directly booting from the LiveCD.

No comments: