LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
  Search this Thread
Old 11-21-2003, 03:46 PM   #1
krome
Member
 
Registered: Oct 2003
Location: SF,CA
Distribution: Mandrake 9.2, RH9
Posts: 87

Rep: Reputation: 15
writing to vs. burning a CD from .iso??


I am trying to burn some bootdisks from a Mandrake .iso. On this RH9 system, when I put in a blank CD a window called burn:/// opens up and I can just click and drag stuff there to be copied. This works fine but it does not extract/expand the .iso so that we have a filesystem. I just get another copy of the .iso. I am in the process of installing K3b and have heard that this will work. Does anyone know how to do what I am trying to do with the stock RH9 burner? I also have Gnometoaster but can't for the life of me figure out how to get it to do anything at all. Any ideas? Are there other burners out there that don't require the Qt libs that I am installing now or that are know to do what I want? Thanks.
 
Old 11-21-2003, 04:01 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
The command line is your friend...

# CD burning copying ripping info
Is it configured and what is the device? Command this to find out:
cdrecord -scanbus
Adding an IDE CD-Writer to Linux
CD Writing HOWTO
Burning CDs on Linux
# Burn an ISO to disk
cdrecord -v speed=<burning speed> dev=<your device> /path/to/foo.iso
# Burn from disk to disk
cdrecord -v dev=<your device> speed=<burning speed> -isosize /dev/cdrom
#ISO information
isoinfo -i -d /dev/cdrom
# Generate an ISO from a directory.
mkisofs -vrTJUV "Label" -o foo.iso /path/to/directory
# Generate an ISO from a CD
dd if=/dev/cdrom of=foo.iso
# cdparanoia - search for a drive with reporting of autosense:
cdparanoia -vsQ
# Rip a complete audio CD with cdparanoia
cdparanoia -B "1-"
Linux MP3 CD Burning mini-HOWTO
# Convert mp3 to wav with lame
for i in *.mp3; do lame --decode $i `basename $i .mp3`.wav; done
# Burn a CD from wav files
cdrecord -v -audio -pad speed=<burning speed> dev=<your device> /path/to/*.wav
# Erase a CDRW
cdrecord -v dev=<your device> speed=<burning speed> blank=fast

If you want to copy something from an ISO, just mount it as if it were a CD
# Mount CD iso images
mkdir /mnt/iso
mount /path/to/foo.iso /mnt/iso -t iso9660 -o ro,loop=/dev/loop0

Last edited by fancypiper; 11-21-2003 at 04:04 PM.
 
Old 11-21-2003, 05:07 PM   #3
krome
Member
 
Registered: Oct 2003
Location: SF,CA
Distribution: Mandrake 9.2, RH9
Posts: 87

Original Poster
Rep: Reputation: 15
I should have mentioned that I tried it via command line cdrecord as well and got another copy of the iso file. If I try to mount it and go to the dir in which I've set the mountpoint all there is there is a copy of the .iso. I mean this seems so simple for everyone else I think I may be missing something fundamental. The md5s on these files check out. If I should be able to boot from the .iso file then my bios/grub doesn't want to do it, I've tried repeatedly.
 
Old 11-21-2003, 05:14 PM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Just exactly what are you attempting to do? Are you trying to make a boot floppy for install? Burn a bootable CD? Copy files from an iso?
 
Old 11-21-2003, 07:34 PM   #5
krome
Member
 
Registered: Oct 2003
Location: SF,CA
Distribution: Mandrake 9.2, RH9
Posts: 87

Original Poster
Rep: Reputation: 15
trying to burn a bootable CD so that I can use these isos to install Mandrake. Somehow, I need to extract the files on the .iso and burn that file system to a CD...I think

Last edited by krome; 11-21-2003 at 07:37 PM.
 
Old 11-21-2003, 07:52 PM   #6
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Are you saying your computer will not boot from a bootable CD? If you can boot from a CD, then burn the 3 ISOs to CDs like this:

cdrecord -v speed=<burning speed> dev=<your device> /path/to/foo.iso;eject

Change the <burning speed> to a number that your burner can handle and for <your device>, use the result of cdrecord -scanbus.

This will burn bootable CDs for your install.

If you can't install from the CD, you can make a boot floppy and install from the iso files on the hard drive. Directions are in the Quick Startup Guide.

Last edited by fancypiper; 11-21-2003 at 07:53 PM.
 
Old 11-21-2003, 08:35 PM   #7
krome
Member
 
Registered: Oct 2003
Location: SF,CA
Distribution: Mandrake 9.2, RH9
Posts: 87

Original Poster
Rep: Reputation: 15
But I successfully burned 2 CDs that have faithful copies of the .isos on them and yet, when I look at the disc I do not see the file system that I think I should...I think I understand that by using mkisofs and then burning this isofs I should then have a bootable disc. Not so. Just the same .iso. I read the HOW-TO available by link at LinuxISO.org as well as the FAQ for "when I look at my CD all I see is a copy of the .iso and not a file system" and the implication is that when I do mkisofs and mount this isofs I should see a file system and not simply an ISO. If I am reading this wrong then something else is keeping me from booting from these discs. If not(the HOWTO is written from the point of view of making an isofs from a directory of files) then I need to know how to extract the fs from the iso and then burn it to disc. I am really not sure what I am missing.
 
Old 11-21-2003, 08:46 PM   #8
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
AHA! You aren't burning the ISO, you are making an ISO file of the ISO to burn to CD, so you see the ISO when you look at it. The Mandrake ISO files are already in ISO format, so you don't need to create an ISO of the ISO file.

You don't need to run mkisofs, just burn each Mandrake ISO straight to CD.

Mount the original ISO and see if you don't see the files.

mount /path/to/foo.iso /mnt/iso -t iso9660 -o ro,loop=/dev/loop0

Last edited by fancypiper; 11-21-2003 at 08:48 PM.
 
Old 11-21-2003, 09:28 PM   #9
krome
Member
 
Registered: Oct 2003
Location: SF,CA
Distribution: Mandrake 9.2, RH9
Posts: 87

Original Poster
Rep: Reputation: 15
OK the files are there in the original iso...so should I do cdrecord from this mountpoint?
 
Old 11-21-2003, 09:37 PM   #10
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
No, do it like I have said several times.

cdrecord -v speed=<burning speed> dev=<your device> /path/to/foo.iso;eject

Change the <burning speed> to a number that your burner can handle and for <your device>, use the result of cdrecord -scanbus.

This will burn bootable CDs for your install.
For instance, here is what I get:
Code:
 root@tinwhistle ~ # cdrecord -scanbus
Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.5'
scsibus0:
	0,0,0	  0) 'GENERIC ' 'CRD-BP1300P     ' '1.02' Removable CD-ROM
	0,1,0	  1) *
	0,2,0	  2) *
	0,3,0	  3) *
	0,4,0	  4) *
	0,5,0	  5) *
	0,6,0	  6) *
	0,7,0	  7) *
My device is 0,0,0 and my burner will burn at 8X.

I have an ISO located at /pub/isos/KNOPPIX_V3.3-2003-09-22-EN.iso that I wish to burn.

I put a blank CD-R in my burner and issue this command:
Code:
cdrecord -v speed=8 dev=0,0,0 /pub/isos/KNOPPIX_V3.3-2003-09-22-EN.iso ; eject
When the CD ejects, I will have a bootable CD of knoppix.

Last edited by fancypiper; 11-21-2003 at 09:45 PM.
 
Old 11-21-2003, 10:09 PM   #11
krome
Member
 
Registered: Oct 2003
Location: SF,CA
Distribution: Mandrake 9.2, RH9
Posts: 87

Original Poster
Rep: Reputation: 15
OK, I will try it again(I did it exactly that way yesterday) but when I mount /dev/cdrom /mnt/cdrom and then look at /mnt/cdrom what I see is Mandrake92-cd1-inst.i586.iso, not the same files I see when mounting the original...could it be that something went wrong in the burn?
 
Old 11-21-2003, 10:23 PM   #12
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Well, it works for me in Red Hat 7.3, Mandrake 9.0 and Gentoo, so I think you burnt your iso of the iso. Toss the one you created and use the downloaded ISOs.
 
Old 11-21-2003, 11:21 PM   #13
krome
Member
 
Registered: Oct 2003
Location: SF,CA
Distribution: Mandrake 9.2, RH9
Posts: 87

Original Poster
Rep: Reputation: 15
Thanks for your help...this first disk now looks good. Pretty sure something went wrong with the burn yesterday.
 
  


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
ISO Burning noobtesting Linux - Software 2 04-30-2004 09:51 PM
Could somebody explain cd RE-writing to me? (NOT burning) sancho Linux - General 3 09-30-2003 05:10 PM
Burning an iso Redhat9.0newbie Linux - Software 19 08-18-2003 08:49 PM
Burning an iso 10dedfish Linux - Newbie 2 07-23-2003 02:38 PM
Need help burning .iso cd ksgill Linux - Software 3 06-21-2003 10:08 PM


All times are GMT -5. The time now is 10:24 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