[Ilugc] Boot ISOs wthout buring them

  • From: saikiranrgda@xxxxxxxxx (Sai Kiran)
  • Date: Tue Aug 29 14:28:55 2006

hi Girish,

On 8/28/06, Girish Venkatachalam <girishvenkatachalam@xxxxxxxxx> wrote:

Well, this page says otherwise.
http://wiki.lunar-linux.org/index.php/Installation:No_CD

With just three commands, you can do wonders.

losetup /dev/loop0 lunar-1.5.1-i686.iso
mount /dev/loop0 /mnt -o ro
chroot /mnt /sbin/lunar-install

if i am not wrong, he is copying the iso on a partition and and using
a boot loader to boot it.  The chroot part is done by the kernel right
after kernel initialization.

Infact this step is done by all the distros that i have come across.
this script is generally placed in the initrd img file that we
genrally pass to the kernel.

remember if u want to do the above, u shouldn't have any other kernel
running. two kernel cannot run at the same time unless u go for  XEN
or UML( both of which requires kernel recompilation.)




my two cents.
kiran

Other related posts: