Installing Linux from ISO on hard disk

June 6, 2006 at 9:38 am Leave a comment

A question posted by syyang85 in software subforum.

I want to create a new harddisk partition and mount the linux installation image file to the new partition. so i need a program to trick the computer that the new partition is actually a cd-rom. So i can boot it during start up.

Here’s the “how-to” to install linux from ISO on a different partition on a hard disk. This method should be useful if you don’t have any removal media drives but a connection to the internet.

1) Download Grub for DOS/NT but you’ll just need the grldr file and the /boot folder with the /boot/grub/menu.lst file that will be used by grldr. Mind you, the distro you want to install should support installation from hard disk/Iso. Those i know that do are Debian and Red Hat.

2) Look for the vmlinuz and initrd.img from your ISO and put them in /boot/ then move the whole directory /boot/ and grldr to the root of first partition where NTLDR is. ie. which is c:\.

linux from iso 1.JPG

so now we have;


linux from iso 2.JPG

modify the boot.ini file to include the option to select grldr
c:\grldr=”start grub”

linux from iso 4.JPG

next edit menu.lst to point to vmlinuz and initrd.img to start the linux installation

title linux iso test boot
kernel (hd0,0)/boot/vmlinuz
initrd (hd0,0)/boot/initrd.img

linux from iso 3.JPG

reboot to select “start grub…” and “linux iso test boot” the installer will be activated. select the appropriate method of install ie. hard disk and provide the path.

linux from iso 5.JPG

linux from iso 6.JPG

linux from iso 7.JPG


Entry filed under: IT stuff.

VMWare Player + LiveCD = Running LiveCD on top of a Live Windows System Legitimize your bastard XP

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed

Recent Posts


%d bloggers like this: