FromWindows

Differences between revisions 1 and 12 (spanning 11 versions)
Revision 1 as of 2005-06-30 21:30:37
Size: 2216
Editor: adsl-64-167-237-39
Comment:
Revision 12 as of 2005-08-18 11:45:10
Size: 4150
Editor: host81-130-122-26
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= InstallUbuntuWithoutRemoveableMedia =
## page was renamed from InstallUbuntuWithoutRemoveableMedia
Line 5: Line 4:
This page will guide you through obtaining the files necessary to boot the Ubuntu installation from a FAT or NTFS partition, thus allowing you to install Ubuntu without any sort of removeable media. This guide assumes that you are running Windows NT, 2000, XP, or any other NT-based Windows. You can also perform a similar procedure on Windows 9x, but you will either need to use LOADLIN or GRUB4DOS. Marc Herbert's site also desribes the LOADLIN procedure, but I have never done it myself. = The netboot approach =
This page will guide you through obtaining the files necessary to boot the Ubuntu installation from a FAT or NTFS partition, thus allowing you to install Ubuntu without any sort of removeable media. This guide assumes that you are running Windows NT, 2000, XP, or any other NT-based Windows. You can also perform a similar procedure on Windows 9x, but I'm not sure exactly how. Marc Herbert's site also desribes a method using LOADLIN, but suspect it's possible using GRUB as well.
Line 8: Line 8:
Line 9: Line 10:
* Download Grub For Dos from http://grub.linuxeden.com/wakka.php?wakka=UploadFile/files.xml&action=download&file=grub_for_dos-0.4.0.tar.gz
* Extract grldr to {{{c:\grldr}}}.

* Download Grub For Dos from http://sarovar.org/download.php/672/grub_for_dos-0.4.1pre22.tar.gz
(this worked for me--current grub4dos available via http://sarovar.org/projects/grub4dos/

* Extract {{{grldr}}} from the archive to {{{c:\grldr}}}. The rest of the files in the archive are unnecessary. (If your default compression/archive program doesn't like *.gz files, try 7-Zip from www.7-zip.org.)
Line 12: Line 17:
Line 13: Line 19:
  Note: menu.lst may need to just be in c:\boot; can someone check and update this page?
* Open {{{menu.lst}}} in a text editor and paste the following text in the file:{{{

* Open {{{menu.lst}}} in a text editor and paste the following text in the file: {{{
Line 24: Line 30:
Would someone please try this and verify that it works? I did this myself a couple months ago, and it would be good to get other people's experiences. It would be nice if someone could automate this process. InstallUbuntuFromWindows outlines how such an installation system might work.

= The CD approach =
This approach is documented in the Installation notes, however it seemed appropiate to put a reference to it here.

If you can't boot from the CD-ROM directly it is possible to use the above approach to boot the kernel from the HDD and have the installation follow through on the CD-ROM.

* Create a directory called {{{ubuntu}}} in the root directory of the first primary partition of your hard drive (usually drive c:\, which it will be referred to as from now on).

* Download the ubuntu-installer CD from http://www.ubuntulinux.org/download/ and burn the CD, then copy the contents of the CD to {{{ubuntu}}}.

* Download Grub For Dos fromhttp://sarovar.org/download.php/672/grub_for_dos-0.4.1pre22.tar.gz
(this worked for me--current grub4dos available via http://sarovar.org/projects/grub4dos/

* Extract {{{grldr}}} from the archive to {{{c:\grldr}}}. The rest of the files in the archive are unnecessary. (If your default compression/archive program doesn't like *.gz files, try 7-Zip from www.7-zip.org.)

* Append {{{c:\grldr="Install Ubuntu"}}} to {{{c:\boot.ini}}}.

* Create a new text file called {{{menu.lst}}} and save it to the first primary partition of your hard drive.

* Open {{{menu.lst}}} in a text editor and paste the following text in the file: {{{
title Install Ubuntu
kernel (hd0,0)/ubuntu/install/vmlinuz root=/dev/ram0 devfs=mount,dall ramdisk_size=17000
initrd (hd0,0)/boot/initrd.gz
}}}

''Just a note: I think that /boot/initrd.gz above should read /ubuntu/install/initrd.gz Rob Pomeroy''

* Save {{{menu.lst}}}, reboot with the Ubuntu installer CD in the drive, and select "Install Ubuntu" twice. You now have a CD installation of Ubuntu going.
Line 26: Line 61:
CategoryDocumentation CategoryDocumentation CategoryCleanup

This page is an adaptation of Marc Herbert's http://marc.herbert.free.fr/linux/win2linstall.html

The netboot approach

This page will guide you through obtaining the files necessary to boot the Ubuntu installation from a FAT or NTFS partition, thus allowing you to install Ubuntu without any sort of removeable media. This guide assumes that you are running Windows NT, 2000, XP, or any other NT-based Windows. You can also perform a similar procedure on Windows 9x, but I'm not sure exactly how. Marc Herbert's site also desribes a method using LOADLIN, but suspect it's possible using GRUB as well.

* Create a directory called boot in the root directory of the first primary partition of your hard drive (usually drive c:\, which it will be referred to as from now on).

* Download linux and initrd.gz from http://archive.ubuntu.com/ubuntu/dists/hoary/main/installer-i386/current/images/netboot/ubuntu-installer/i386/ and save them to boot.

* Download Grub For Dos from http://sarovar.org/download.php/672/grub_for_dos-0.4.1pre22.tar.gz (this worked for me--current grub4dos available via http://sarovar.org/projects/grub4dos/

* Extract grldr from the archive to c:\grldr. The rest of the files in the archive are unnecessary. (If your default compression/archive program doesn't like *.gz files, try 7-Zip from www.7-zip.org.)

* Append c:\grldr="Install Ubuntu" to c:\boot.ini.

* Create a new folder in c:\boot\ called grub, and in grub create a new text file called menu.lst.

* Open menu.lst in a text editor and paste the following text in the file:

title Install Ubuntu
kernel   (hd0,0)/boot/linux vga=normal ramdisk_size=14972 root=/dev/rd/0 rw --
initrd   (hd0,0)/boot/initrd.gz

* Save menu.lst, reboot, and select "Install Ubuntu" twice. You now have a network installation of Ubuntu going.

This procedure should be possible using a disk image, but it may be necessary to use a different kernel and pass some special argument in menu.lst to tell it to boot from the CD image (I've done it using Knoppix).

It would be nice if someone could automate this process. InstallUbuntuFromWindows outlines how such an installation system might work.

The CD approach

This approach is documented in the Installation notes, however it seemed appropiate to put a reference to it here.

If you can't boot from the CD-ROM directly it is possible to use the above approach to boot the kernel from the HDD and have the installation follow through on the CD-ROM.

* Create a directory called ubuntu in the root directory of the first primary partition of your hard drive (usually drive c:\, which it will be referred to as from now on).

* Download the ubuntu-installer CD from http://www.ubuntulinux.org/download/ and burn the CD, then copy the contents of the CD to ubuntu.

* Download Grub For Dos fromhttp://sarovar.org/download.php/672/grub_for_dos-0.4.1pre22.tar.gz (this worked for me--current grub4dos available via http://sarovar.org/projects/grub4dos/

* Extract grldr from the archive to c:\grldr. The rest of the files in the archive are unnecessary. (If your default compression/archive program doesn't like *.gz files, try 7-Zip from www.7-zip.org.)

* Append c:\grldr="Install Ubuntu" to c:\boot.ini.

* Create a new text file called menu.lst and save it to the first primary partition of your hard drive.

* Open menu.lst in a text editor and paste the following text in the file:

title Install Ubuntu
kernel   (hd0,0)/ubuntu/install/vmlinuz root=/dev/ram0 devfs=mount,dall ramdisk_size=17000
initrd   (hd0,0)/boot/initrd.gz

Just a note: I think that /boot/initrd.gz above should read /ubuntu/install/initrd.gz Rob Pomeroy

* Save menu.lst, reboot with the Ubuntu installer CD in the drive, and select "Install Ubuntu" twice. You now have a CD installation of Ubuntu going.


CategoryDocumentation CategoryCleanup

Installation/FromWindows (last edited 2008-08-06 16:22:16 by localhost)