How Do I install a linux distro from a ISOs on my hard drive?
How can I install a linux distro from ISOs on my hard drive (my storage partition) via Linux? I saw one method using rawwrite in windows, but what's a Linux (commandline) way?
Could someone step this out for me? I used to just burn the CDs, but that can take is old 900MHz TBird a while if it's a DVD iso and it is just simply wasting CDs for me generally - I have a stack of old distros in my closet.
1- Fat32 Windows
1- Linux Swap 600MB
4- Free Partition (Where I will be installing the distro)
5- Fat32 Data Storage Partition
installing linux from harddrive
Booting the installation system directly from a hard disk is another option for many architectures. This will require some other operating system to load the installer onto the hard disk.
It looks like you have a running linuxsystem but want to add another?
Booting from Linux Using LILO or GRUB
To boot the installer from hard disk, you must first download and place the needed files as described in Section 4.5, “Preparing Files for Hard Disk Booting”.
If you intend to use the hard drive only for booting and then download everything over the network, you should download the netboot/debian-installer/i386/initrd.gz file and its corresponding kernel. This will allow you to repartition the hard disk from which you boot the installer, although you should do so with care.
Alternatively, if you intend to keep an existing partition on the hard drive unchanged during the install, you can download the hd-media/initrd.gz file and its kernel, as well as copy a CD iso to the drive (make sure the file is named ending in .iso). (This is what you want to do.)
The installer can then boot from the drive and install from the CD image, without needing the network.
For LILO, you will need to configure two essential things in /etc/lilo.conf:
to load the initrd.gz installer at boot time;
have the vmlinuz kernel use a RAM disk as its root partition.
Here is a /etc/lilo.conf example:
For more details, refer to the initrd(4) and lilo.conf(5) man pages. Now run lilo and reboot.
The procedure for GRUB is quite similar. Locate your menu.lst in the /boot/grub/ directory (sometimes in the /boot/boot/grub/), add the following lines:
title New Install
kernel (hd0,0)/boot/newinstall/vmlinuz root=/dev/ram0 ramdisk_size=12000
and reboot. If the boot fails, you can try adding devfs=mount,dall to the “kernel” line.
Note that the value of the ramdisk_size may need to be adjusted for the size of the initrd image. From here on, there should be no difference between GRUB or LILO.
So basicly what you do is telling your bootloader to add a bootoption with the path to your .iso than you reboot and select this option than he boots the kernel and the installer from this .iso (cd/dvd-image). If you have more than on .iso I would put the other ones in a folder and the one to boot from not. For more Information:
This is debian related, but should work with other systems to.