[lkml]   [1998]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Merging EXT2 and El Torito
    Followup to:  <6dvb0l$>
    By author: (Eugene Crosser)
    In newsgroup:
    > I agree with hpa that if you want your CD as a root you can live with
    > iso9660 fs and El Torito boot floppy image. But, it would be much better
    > for many purposes to have root filesystem on a ramdisk, like we do on
    > most Linux distributions, and cdrom itself mounted as /usr or something.
    > Having root on ramdisk is more flexible: you can edit config files like
    > /etc/hosts, easily create mount points if necessary etc.
    > Now, my question is: is it possible to tell the kernel to load ramdisk
    > image from cdrom, and if yes, how? At the first glance, seems to be
    > tricky. In case of floppy, the image is read straight from device,
    > and in case of cdrom, you need to access a file on a filesystem that
    > is not mounted yet.
    > Any ideas, anyone?

    Piece of cake. Use initrd:

    Create a floppy image with your kernel and a .gz file of your root
    filesystem. Put SYSLINUX 1.33 or later on it as a boot loader. Use
    that as your El Torito boot disk image. Done.

    This works, because an initrd is loaded by the boot loader and not by
    the kernel.

    PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD 1E DF FE 69 EE 35 BD 74
    See for web page and full PGP public key
    I am Bahá'í -- ask me about it or see
    "To love another person is to see the face of God." -- Les Misérables

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to

     \ /
      Last update: 2005-03-22 13:41    [W:0.020 / U:5.612 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site