Find the answer to your Linux question:
Results 1 to 6 of 6
How do i create a bootable cd on a new rootfilesystem that i have created?? I have read a bunch of docs, but if havent found anything really good. There ...
  1. #1
    Linux Engineer
    Join Date
    Apr 2003
    Location
    Sweden
    Posts
    796

    Create a bootable cd of my RAM-disk.



    How do i create a bootable cd on a new rootfilesystem that i have created??

    I have read a bunch of docs, but if havent found anything really good.

    There must be someway the do this with mkisofs right?? What do i need to get this to work.

    It cant be much harder then to create a boot floppy...
    Regards

    Andutt

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    As far as I know, the system cannot boot directly from the CD. The workaround is that the BIOS can take a file on the CD (using precompiled data in the ISO FS header) and emulate a floppy disk driver using that file. Therefore, you can put the kernel and optionally an initrd on a floppy disk image, then put that image on the ISO filesystem and use the -b option to mkisofs to specify which file to be used as the boot image. The file need to be exactly as large as a floppy disk, but you can use the size of a 2.88 MB floppy as well.

  3. #3
    Linux Engineer
    Join Date
    Apr 2003
    Location
    Sweden
    Posts
    796
    I have read somehing about that to... but i have also found stuff that says other ...look at this.. but this howto bugs out on the lilo config options.

    http://marc.theaimsgroup.com/?l=linu...0571105119&w=2
    Regards

    Andutt

  4. #4
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    As far as I can tell, it is precisely what they do. They create a bootable floppy disk image that can later be put on a CD.

  5. #5
    Linux Engineer
    Join Date
    Apr 2003
    Location
    Sweden
    Posts
    796
    OK, but why dont that work??... i also tried after this howto.. but somehow the computer cant read the bootsector or something from the CD, and i pop right back to lilo again...Do you have any suggestions??

    And this howto uses syslinux which using som msdos filesystem which i dont like... i hope to be able to use lilo somehow to create the cd.

    http://www.larwe.com/technical/linux_restore_cd.html
    Regards

    Andutt

  6. #6
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Did you use -b to mkisofs to specify the file? Note that the argument to -b needs to be relative to the start of the ISO FS, not your system's VFS. See mkisofs(8) for more info.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •