LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-06-2008, 11:28 AM   #1
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 20.04
Posts: 2,116

Rep: Reputation: 73
genisoimage


Anyone know why this doesn't work? Trying to copy an old CD of Joni Mitchell

genisoimage -o /home/peter/Desktop/joni.iso /media/cdrom0

This is what I get when I put -v

peter@vaya:~$ genisoimage -o /home/peter/Desktop/joni.iso -v /media/cdrom0
I: -input-charset not specified, using utf-8 (detected in locale settings)
genisoimage 1.1.2 (Linux)
Scanning /media/cdrom0
Writing: Initial Padblock Start Block 0
Done with: Initial Padblock Block(s) 16
Writing: Primary Volume Descriptor Start Block 16
Done with: Primary Volume Descriptor Block(s) 1
Writing: End Volume Descriptor Start Block 17
Done with: End Volume Descriptor Block(s) 1
Writing: Version block Start Block 18
Done with: Version block Block(s) 1
Writing: Path table Start Block 19
Done with: Path table Block(s) 4
Writing: Directory tree Start Block 23
Done with: Directory tree Block(s) 1
Writing: Directory tree cleanup Start Block 24
Done with: Directory tree cleanup Block(s) 0
Writing: The File(s) Start Block 24
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 0
Path table size(bytes): 10
Done with: The File(s) Block(s) 0
Writing: Ending Padblock Start Block 24
Done with: Ending Padblock Block(s) 150
Max brk space used 0
174 extents written (0 MB)
 
Old 01-06-2008, 12:17 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Not sure why thats not working, but have you tried using dd?
Code:
dd of=/mnt/cdrom of=/path/to/somefile.iso
 
Old 01-06-2008, 12:42 PM   #3
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 20.04
Posts: 2,116

Original Poster
Rep: Reputation: 73
Can dd make an iso file?? One that I can burn with say cdrecord??
 
Old 01-06-2008, 01:07 PM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Yes. More info is available here.
 
Old 01-06-2008, 01:30 PM   #5
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 20.04
Posts: 2,116

Original Poster
Rep: Reputation: 73
Well thanks very! I knew dd was very handy, but didn't know it could make isos. Will try, as soon as poss.
But didn't you make a mistake there: the first "of=" should be an if= ?
 
Old 01-07-2008, 02:30 AM   #6
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 20.04
Posts: 2,116

Original Poster
Rep: Reputation: 73
Well, only get this with dd

vaya:/home/peter# dd if=/dev/hdc of=/home/peter/Desktop/jm.iso
dd: reading `/dev/hdc': Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 0.00348835 seconds, 0.0 kB/s

Tried it as root to avoid permission probs.

Did mange to copy it though with Sound Juicer. The problem earlier was, the directory /tmp was full, and the program stopped. When I changed the setting to /home/peter/musictemp where there is lots of space, well, everything hunky dory.
Would still like to know what is wrong with dd!!

I mounted /dev/hdc with mount -t tmpfs /dev/hdc /media/cdrom0 That didn't give an error

mount shows /dev/hdc on /media/cdrom0 type tmpfs (rw)
Ok, for dd, you have to umount, did that.
This is an old cd, shouldn't have fancy protections.
 
Old 01-07-2008, 05:33 AM   #7
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Is this an audio disc by any chance? I have just been reading that dd does not work well with audio discs. Its something to do with audio discs and their filesystem (lack of an iso filesystem).
 
Old 01-07-2008, 11:19 AM   #8
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 20.04
Posts: 2,116

Original Poster
Rep: Reputation: 73
Certainly is audio: never heard of Joni Mitchell?
 
Old 01-07-2008, 03:24 PM   #9
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally Posted by Pedroski View Post
Certainly is audio: never heard of Joni Mitchell?
Not at all. My favourite music is mostly African and a bit of reggae, soul and R'n'B.
 
Old 01-08-2008, 01:54 AM   #10
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 20.04
Posts: 2,116

Original Poster
Rep: Reputation: 73
Well, sounds like good music, your music. Right up my street!
Anyway, got the command line copying working with cdrdao. Works perfect! So if anyone asks how to copy music from the command line, tell them:

peter@vaya:~$ cdrdao read-cd --datafile /home/peter/Desktop/joni.img --device ATA:1,0,0 joni.toc

and to write

peter@vaya:~$ cdrdao write --datafile /home/peter/Desktop/joni.img --device ATA:1,0,0 --buffers 48 joni.toc

I set buffers to 48, as I got a buffer underrun on the first attempt. Of course the device may be different! Rock'n'Roll!
 
Old 01-08-2008, 11:21 AM   #11
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Are there dinosaurs on the cover of this Joni Mitchell CD?
 
  


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
Help in generating an audio iso image using genisoimage. jaepi Linux - Software 4 11-10-2007 03:57 AM
Genisoimage can't make ISO with file >4G kotnik Debian 4 09-08-2007 12:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:45 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
Open Source Consulting | Domain Registration