LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
LinkBack Search this Thread
Old 11-11-2004, 04:01 AM   #1
czarherr
Member
 
Registered: Sep 2003
Location: Suwon, Korea
Distribution: Slackware 13
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

and

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 www.syslinux.com, the BOOTDISK HOWTO at tldp.org, 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

http://www.geocities.com/potato.geo/...nuxcd-old.html

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
czarherr
Member
 
Registered: Sep 2003
Location: Suwon, Korea
Distribution: Slackware 13
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.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 08:36 PM.

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