LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-18-2006, 06:14 AM   #1
geordzilla
LQ Newbie
 
Registered: Dec 2005
Posts: 28

Rep: Reputation: 15
Question creating Boot cd


Hi y'all

I want to create a boot CD. How do I do this? I've tried the command in the RedHat manual but its not working. Help!!!!!!!!!!!!!!!

geordzilla
 
Old 04-18-2006, 12:52 PM   #2
tamoneya
Member
 
Registered: Jan 2005
Location: MA
Distribution: Ubuntu 7.10
Posts: 558

Rep: Reputation: 30
we are not all familiar with the redhat manual. Which command did you try
 
Old 04-18-2006, 02:03 PM   #3
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Task j3 of the last link in my signature lists two methods.

You can make a bootable floppy and burn it into a bootable CD using Nero. The CD simulates as a "A" drive. This method can be used to burn a bootable floppy made by Red Hat, using the command like
Code:
grub-install /dev/fd0
The traditional method is to use Linux "mkisofs" command. For that you need to compile an iso file for booting. The Task J3 describes a Grub bootable CD which can boot any PC system "manually".

Last edited by saikee; 04-18-2006 at 02:05 PM.
 
Old 04-19-2006, 09:28 AM   #4
geordzilla
LQ Newbie
 
Registered: Dec 2005
Posts: 28

Original Poster
Rep: Reputation: 15
Creating bootable cd

Hi again.

I use RHEL3, was refering to the mkisofs command in the redhat documentation.

I gave the following command:

mkisofs -o file.iso -b isolinux.bin -c boot.cat -no-emul-boot \ -boot -load-size 4 -boot-info-table -R -J -v -T isolinux/

and got the following error message:

INFO: UTF-8 character encoding detected by locale settings.
Assuming UTF-8 encoded filenames on source filesystem,
use -input-charset to override.
mkisofs: No such file or directory. Invalid node - -boot
.

I'm a newbie and really do not comprehend what it means.

I tried the the command "grub-install /dev/fd0" that saikee suggested and got is this error:

bash: grub-all: No such file or directory.

What am I doing wrong?

Tanx

geordzilla
 
Old 04-19-2006, 01:26 PM   #5
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
The Bash command "grub-install /dev/fd0" asks Grub to replicate itself in device fd0 and that is the floppy. Red Hat distros use Grub mainly and that should work.

Have you typed grub-all instead of grub-install?
 
Old 04-19-2006, 04:55 PM   #6
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Here is a brief summary of how to do this. You can find a more detailed version on my site;

do grub-install /dev/fd0

create a tmp directory ;

mkdir /home/usr_name/tmp

then create an image file;

dd if=/dev/fd0 of=/home/usr_name/tmp/boot.img bs=10k count=144

make an iso file;

mkisofs -r -b /home/usr_name/tmp/boot.img -c boot.cat -o /home/usr_name/tmp/bootcd.iso . (note the "." on the end)

burn to cd

Last edited by TigerOC; 04-19-2006 at 04:57 PM.
 
Old 04-24-2006, 08:25 AM   #7
geordzilla
LQ Newbie
 
Registered: Dec 2005
Posts: 28

Original Poster
Rep: Reputation: 15
Hello again,

The Bash command "grub-install /dev/fd0" comes up with the error message - "bash: grub-install: command not found".

Also i tried the following commands and got similar error messages

1) "mkbootdisk --iso --device boot.iso $(uname -r)"

error message - "bash: mkbootdisk: command not found"

I then did "up2date mkbootdisk" and the output was that "mkbootdisk" is already updated.

I'm at a loss of what happening. What next?

rgds

geordzilla
 
Old 04-24-2006, 01:24 PM   #8
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Make sure you are doing this as root. i.e. open a terminal and do su then enter the root password when requested.
 
Old 04-24-2006, 03:37 PM   #9
kriton12
Member
 
Registered: Oct 2002
Posts: 81

Rep: Reputation: 16
Quote:
mkisofs -o file.iso -b isolinux.bin -c boot.cat -no-emul-boot \ -boot -load-size 4 -boot-info-table -R -J -v -T isolinux/
Looks like you have an escape character sequence in there "\" Are you sure it shouldn't be a "/" instead? Try it again changing that character in your command. if you are trying to purposely use a back-slash you may have to put it in twice "\\" to be able to use it because generally it is used as the escape sequence character. (i.e. say you had a filename with a space in it, "some file.txt" you access that file from the command line as "some\ file.txt", the backslash tells the shell that an... odd character is coming next which would be the space and the backslash is used to notify the computer of this).

So try:

mkisofs -o file.iso -b isolinux.bin -c boot.cat -no-emul-boot / -boot -load-size 4 -boot-info-table -R -J -v -T isolinux/

and see what happens... then again, I could be completely wrong here.. which I would blame on lack of sleep hahahah
 
Old 04-25-2006, 03:51 AM   #10
geordzilla
LQ Newbie
 
Registered: Dec 2005
Posts: 28

Original Poster
Rep: Reputation: 15
boot cd

Hello all,

Finally the iso is created. Tanx y'all for helping. Made me think through it. Problem was that the "mkisofs command" was looking for the full path name "/home/george/isolinux" and not "isolinux/". Which then makes to ask. If "isolinux/" was my current directory when I give the "mkisofs" command, why does it look for the full path name?

Tanx again, y'all.

geordzilla
 
Old 04-25-2006, 07:00 AM   #11
halturata
Member
 
Registered: Aug 2005
Location: Sofia
Distribution: SuSE, ELinOS
Posts: 100

Rep: Reputation: 16
That's a thing you should ask the people who maintain it.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating Boot CDs beanimanius SUSE / openSUSE 4 03-17-2005 02:55 PM
Creating a boot floppy..... deft Linux - Software 2 08-19-2004 11:42 AM
Creating a Boot Floppy for Dual Boot Setup? jdanniel Linux - Newbie 8 08-07-2004 03:08 PM
Creating a boot disk. Tobbe Slackware 9 06-25-2003 05:25 PM
creating a boot drive evian Linux - General 2 03-12-2003 05:54 PM


All times are GMT -5. The time now is 11:56 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration