Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-11-2004, 04:01 AM   #1
Registered: Sep 2003
Location: Suwon, Korea
Distribution: Slackware 14
Posts: 288

Rep: Reputation: 32
Unhappy problems creating a simple bootable cd to perform a simple task

I'm at my wits end, as well as a deadline, and I have done everything I could to figure this out, and now I must turn to those more knowledgable. I need to create a cdrom that will boot into a command prompt, automatically run a script that simply creates an ext2 filesystem on a hard drive, then untar a tarball onto the hard drive. I have been to countless websites explaining how to do this with ISOLINUX, but I have not been able to do it correctly a single time. The closest I have ever gotten with it, was when it started to boot the kernel, and then decides it can't load the root filesystem. I have tried the line

append root=/dev/hdc


append root=/dev/ram1

in the isolinux.cfg file, and it continually fails regardless. i am using initrd.gz in there, as all the tutorials seem to want, but I just can't make this work. I would really appreciate the help of anyone who knows how to do this, a simple description of the commands used or a website of a tutorial (the ones I'm using can be really vague on what I still see as very complex steps in this). In short, I need to be able to make the disk load up to a shell, run a script, create a filesystem on a hard drive, and untar a tarball that will be included in the cdrom image i want to make. The hard drive will always be the same model, if it makes any difference.

I have tried the steps at, the BOOTDISK HOWTO at, and a few tutorials on this subject at linuxjournal as well. If i could just know how to boot into a shell from the disk, instead of either getting an error or having it ask for a root floppy, I could figure the rest out. The error is a kernel panic, by the way, saying something about VFS and can't mount the root filesystem, although it does say VFS: root mounted a few lines above the kernel panic. Thanks for reading this, this is really driving me crazy, and I have a deadline to finish it coming rapidly, so any help would really be welcome about now.

The main tutorial i'm using is this one

I'm stuck at the point where you are to burn an initrd and kernel only cd. According to the tutorial, I'm supposed to be dropped into a shell. I suspect the problem is my linuxrc script, as the tutorial only says to put in in the /isolinux/boot/iso/initrd directory, which is not used when creating the image. I have tried replacing the /boot/initrd-tree/rclinux script with it, then making the initrd with the command

mkinitrd initrd.gz

but that makes no difference at all. I get the feeling that if the script were working though, this would all work just fine, and i could finish my work. Unfortunately, his example is no longer up on the site, and i cant reference it.

Last edited by czarherr; 11-11-2004 at 04:10 AM.
Old 11-11-2004, 05:22 AM   #2
Registered: Sep 2003
Location: Suwon, Korea
Distribution: Slackware 14
Posts: 288

Original Poster
Rep: Reputation: 32
Nevermind, the inability to sleep, eat, or otherwise leave the computer while frustrated with it have lead me to the answer. Thanks for the rant though, made me feel better.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
creating simple sh daemon bobbens Programming 6 06-01-2005 11:10 AM
how to perform simple editing of a file kos147 Linux - Newbie 15 05-30-2005 05:16 AM
wanted : simple debugging task 2mcm Programming 2 08-05-2004 04:26 PM
Creating a simple html page from php? lucastic Linux - General 4 11-05-2003 08:48 AM
Can't add hard drive- simple task- about ready to give up linux saxblue Linux - Hardware 4 07-30-2003 11:23 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:19 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration