Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Linux Newbie > Create a bootable cd of my RAM-disk.

Forgot Password?
 Linux Newbie   If you're new to the wonderful world of Linux, start here!

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 08-22-2003   #1 (permalink)
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
andutt is offline  


Reply With Quote
Old 08-22-2003   #2 (permalink)
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.
Dolda2000 is offline   Reply With Quote
Old 08-22-2003   #3 (permalink)
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
andutt is offline   Reply With Quote
Old 08-22-2003   #4 (permalink)
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.
Dolda2000 is offline   Reply With Quote
Old 08-22-2003   #5 (permalink)
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
andutt is offline   Reply With Quote
Old 08-22-2003   #6 (permalink)
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.
Dolda2000 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 06:45 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2