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 ...
- 08-22-2003 #1Linux 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
- 08-22-2003 #2Linux 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.
- 08-22-2003 #3Linux 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=2Regards
Andutt
- 08-22-2003 #4Linux 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.
- 08-22-2003 #5Linux 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.htmlRegards
Andutt
- 08-22-2003 #6Linux 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.


Reply With Quote
