May 07, 2007 Archives

07-05-2007 16:05

HDD install Feisty

INSTALL FROM HARD DISK

For this method, you'll need to already have a working Linux system on the machine on which you want to install the new Feisty system. This method provides a faster and more usable system because the installer is running from a hard drive rather than from a CD.

First of all, you need to use GParted to create a new primary partition and format it to ext3. For example, let's say that the partition is /dev/hda3. You will need to copy the ISO's contents over to the new partition:

CODE

$ mkdir /tmp/installcd
$ sudo mount -o loop /path/to/ubuntu-7.04-desktop-i386.iso /tmp/installcd
$ sudo mkdir /mnt/installer
$ sudo mount /dev/hda3 /mnt/installer
$ sudo cp -r /tmp/installcd/* /mnt/installer
$ sudo umount /tmp/installcd

Next, you'll need to edit your current Grub configuration file to boot the new partition. To do this, open the /boot/grub/menu.lst in a text editor and add the following lines:

CODE

title disk-installer
root (hd0,2)
kernel /casper/vmlinuz boot=casper root=/dev/ram ramdisk_size=1048576 rw
initrd /casper/initrd.gz

NOTE: the root line tells Grub which partition contains the installer. If in your case, the partition you created is /dev/hda1, you'll need to edit that line to root (hd0,0). As you can see, the partition number becomes number -1 as Grub starts counting from 0.

Next, reboot and choose 'disk-instaler' from the grub boot menu.

Taken from news.softpedia.com/news/Alternative-Installation-Methods-for-Feisty-53461.shtml


Posted by DaveQB | Permanent Link