LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 11-10-2005, 07:19 PM   #1
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
request info on burning floppies to cdr


Forgive me, I thought I had posted in programming but a search all forums can't find so I will try in newbies as this is new to me.

SITUATION
I have 3 floppies that boot to load a program that I would like to have transferred to cdr.
floppy 1 has a bootable mbr some files and one file split onto the 3 floppies.
the 2 other floppies have no bootable mbr

I know I can join the split file like this (file1 file2 file3 on each floppy)
cat fi* > bigfile

I tried to use dd to grab the mbr and also make an iso these 2 ways
try 1) dd if=/dev/fd0 of=/floppy1.img ditto floppy 2 &3
cat fl* > image.iso and burn to cdr and reboot fails

try 2 ) dd if=/dev/fd0 of=/mbr.img bs=512 count=1
then grab remaining files and combine the split file
then burn to cdr and reboot fails.

REQUEST
Anyone know how to do it or links please?

thanks for your patience
 
Old 11-10-2005, 09:00 PM   #2
Nawar
Member
 
Registered: Nov 2005
Location: Midwest America
Distribution: SuSE, RedHat
Posts: 39

Rep: Reputation: 15
Here's one page that may help.
http://www.tldp.org/HOWTO/Bootdisk-HOWTO/cd-roms.html

Here's a more detailed page that attempts to take a two disk boot image / data set and convert to a cd-rom - a close match to what you're trying to do.

http://nightowl.radified.com/bootcd/bootcdintro.html

HTH,

Nawar
 
Old 11-10-2005, 10:44 PM   #3
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Original Poster
Rep: Reputation: Disabled
that link is not bad but I am trying to use MS executables.
However, man mkisofs has info and my new attempt has a segmentation fault

mkisofs -o cd.iso -hard-disk-boot /a/g/A/mbr -R -r /a/g/A/
Segmentation fault

tried with su and user account.

heres an explain of what I think I have done so far.

-o create filename with name cd.iso
-hard-disk-boot /a/g/A/mbr use a bootable image off the hard disk that is not a 1440 Kb image etc but just a mbr with pathway of /a/g/A/mbr
-R -r for rockridge and easy user parameters
/a/g/A/ is supposed to be the folder to create the iso from of the form cd_dir or /pathway to folder format.

anyone the wiser?
 
Old 11-11-2005, 01:24 AM   #4
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Try this;

Firstly create a temporary directory in your home directory

mkdir /home/your_user_name/tmp

Create an image of the floppy in this directory, so do;

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

Now we have an image of the floppy disk we can create a boot iso to burn to a cd. Again from a consol do;

mkisofs -r -b /home/your_user_name/tmp/boot.img -c boot.cat -o /home/your_user_name/tmp/bootcd.iso .

Note the "." on the end of this line it is important

Now you can burn the iso file to a cd.
 
Old 11-11-2005, 05:50 AM   #5
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Original Poster
Rep: Reputation: Disabled
Tiger

That is looking like it but still have some minor fails.

I turned on verbose mode with mkisofs -v -v

I think your boot floppy image is a winner now can I ask how to I add more files to the bootable cdr?

.
 
Old 11-11-2005, 06:02 AM   #6
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Original Poster
Rep: Reputation: Disabled
in the meantime just tried your version with -root (=pathway) and absolute with the root giving me this (without adding files)

mkisofs -v -v -root /a/g/A/ -r -b acro1.img -c boot.cat -o /acro.iso.

result output is
mkisofs 2.01 (i686-pc-linux-gnu)
mkisofs: Missing pathspec.
 
Old 11-11-2005, 06:04 AM   #7
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Original Poster
Rep: Reputation: Disabled
and when I tried the absolute pathway to img pressing the tab to autocomplete was working .....sooo close
 
Old 11-11-2005, 06:26 AM   #8
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Original Poster
Rep: Reputation: Disabled
online manpage

http://linuxmanpages.com/man8/mkisofs.8.php


Last edited by aus9; 11-11-2005 at 06:38 AM.
 
Old 11-11-2005, 11:29 AM   #9
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
There must be a way of adding additional files. I remember when making boot cd's for w32 they were added in additional directory.

note in the line;

mkisofs -r -b /home/your_user_name/tmp/boot.img -c boot.cat -o /home/your_user_name/tmp/bootcd.iso .

at the end .../tmp/bootcd.iso .

there is a space between the iso and the "."
 
Old 11-11-2005, 08:52 PM   #10
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Original Poster
Rep: Reputation: Disabled
Tiger

That made a huge diff....and my manpage does not mention that SPACE or gap so well done.

I have not quite solved it as I have a new error on finding the floppy1 image but I think its now just a matter of time.

Once I have succeeded (I hope) I will post my output so anyone else might like to give it a shot.

Thanks for your patience.
 
  


Reply



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
Kaffeine Broadcasting info request Falsehope Mandriva 0 10-02-2005 01:07 AM
burning cdr (mp3 .cue) thing0 Linux - Software 2 08-28-2004 06:43 PM
request for VL specific security info aus9 VectorLinux 1 12-11-2003 05:43 PM
Burning tar on cdr connormcl Linux - Software 1 09-06-2003 10:37 AM
CDR burning and LAG oiper Linux - General 11 02-15-2003 04:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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
Open Source Consulting | Domain Registration