LinuxQuestions.org
Help answer threads with 0 replies.
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 04-09-2008, 08:34 AM   #1
rapattack
Member
 
Registered: Jan 2008
Posts: 109

Rep: Reputation: 15
Burning an iso


Hi I use K3b to burn and haven't used it to burn iso/image files before. For some reason it won't do it and an error appears before it ejects the cd. Here is what the debugging output says:
K3b Version: 0.12.17

KDE Version: 3.5.8
QT Version: 3.3.7
Kernel: 2.6.18-6-486
Devices
-----------------------
PIONEER DVD-RW DVR-109 1.40 (/dev/hdc, ) at /media/cdrom0 [CD-R; CD-RW; CD-ROM; DVD-ROM; DVD-R; DVD-RW; DVD-R DL; DVD+R; DVD+RW; DVD+R DL] [DVD-ROM; DVD-R Sequential; DVD-R Dual Layer Sequential; DVD-R Dual Layer Jump; DVD-RW Restricted Overwrite; DVD-RW Sequential; DVD+RW; DVD+R; DVD+R Double Layer; CD-ROM; CD-R; CD-RW] [SAO; TAO; RAW; SAO/R96P; SAO/R96R; RAW/R16; RAW/R96P; RAW/R96R; Restricted Overwrite]

Used versions
-----------------------
cdrecord: 2.1.1a03

cdrecord
-----------------------
/usr/bin/wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.6
SCSI buffer size: 64512
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
TOC Type: 1 = CD-ROM
Driveropts: 'burnfree'
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'PIONEER '
Identification : 'DVD-RW DVR-109 '
Revision : '1.40'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0009 (CD-R)
Profile: 0x002B (DVD+R/DL)
Profile: 0x001B (DVD+R)
Profile: 0x001A (DVD+RW)
Profile: 0x0016 (DVD-R/DL layer jump recording)
Profile: 0x0015 (DVD-R/DL sequential recording)
Profile: 0x0014 (DVD-RW sequential recording)
Profile: 0x0013 (DVD-RW restricted overwrite)
Profile: 0x0011 (DVD-R sequential recording)
Profile: 0x0010 (DVD-ROM)
Profile: 0x000A (CD-RW)
Profile: 0x0009 (CD-R) (current)
Profile: 0x0008 (CD-ROM)
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1267712 = 1238 KB
FIFO size : 12582912 = 12288 KB
Speed set to 5644 KB/s
Track 01: data 697 MB
Total size: 801 MB (79:24.30) = 357323 sectors
Lout start: 801 MB (79:26/23) = 357323 sectors
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 5
Is not unrestricted
Is not erasable
Disk sub type: Medium Type B, low Beta category (B-) (4)
ATIP start of lead in: -11607 (97:27/18)
ATIP start of lead out: 359849 (79:59/74)
Disk type: Short strategy type (Phthalocyanine or similar)
Manuf. index: 18
Manufacturer: Plasmon Data systems Ltd.
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 2526
Starting to write CD/DVD at speed 32.0 in real SAO mode for single session.
Last chance to quit, starting real write in 2 seconds.
1 seconds.
0 seconds.
Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...
Errno: 0 (Success), send opc scsi sendcmd: no error
CDB: 54 01 00 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 03 00 05 22 19 0E 00 00 00 00 15 02 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x15 Qual 0x02 (positioning error detected by read of medium) Fru 0x0
Sense flags: Blk 336409 (not valid)
cmd finished after 11.256s timeout 200s
/usr/bin/wodim: OPC failed.
Writing time: 13.706s
/usr/bin/wodim: fifo had 192 puts and 0 gets.
/usr/bin/wodim: fifo was 0 times empty and 0 times full, min fill was 100%.

cdrecord command:
-----------------------
/usr/bin/wodim -v gracetime=2 dev=/dev/hdc speed=32 -dao driveropts=burnfree -eject -data /home/carla/Desktop/ubuntu-7.04-desktop-i386.iso
 
Old 04-09-2008, 08:54 AM   #2
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Without reading the entire log I'm thinking that it sounds like permission problems. Make sure your user is a part of all the necessary groups. There is a k3b menu item that allows you to setup permissions. I chose to go with a burning group.

It will then set perms of the needed binary files like so

Code:
344K -rws--x--- 1 root burning 338K 2007-02-18 19:42 /usr/bin/cdrecord*
Some files in /usr/bin with the burning group
Code:
find /usr/bin/ -group burning
/usr/bin/growisofs
/usr/bin/cdrecord
/usr/bin/cdrdao
There is also a System Check menu item in k3b. Use that if you suspect further problems.
 
Old 04-09-2008, 11:56 AM   #3
war1025
Member
 
Registered: Jul 2006
Distribution: Debian: Squeeze AMD64
Posts: 318

Rep: Reputation: 32
At least in gnome, I think you can also just right click on the iso and it will have an option to "write to disk" I think that should accomplish the same thing?
 
Old 04-10-2008, 03:44 AM   #4
rapattack
Member
 
Registered: Jan 2008
Posts: 109

Original Poster
Rep: Reputation: 15
Yes it opens in the writing program that way. Well the menu lists the program that writes in Debian so I chose that but now I have a problem with the dvd burner. Damn thing opens and closes but doesn't mount. I have forgotten how to mount manually. The only way I can trick it is to boot with a cd in the drive. Well that worked last time. I have only done that once...might have been a flook.
There is the noises coming from the drive that it is running but not all of the noises to the maximum if you know what I mean.
 
Old 04-10-2008, 09:46 AM   #5
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
For a dvd
Code:
mount -t udf -o uid=userid /dev/hdX /mnt/dvd
Edit
The hdX should be sdX if your drive is not IDE, but SATA or SCSI where X should be replaced with the correct letter for your device (a,b, etc).
End Edit

If your burning programs have correct perms (suid with executable perms for one of your users groups), then the mounting should be handled automatically.

Also, if you have a working HAL system, you should be able to mount devices from your file manager (assuming it is configured to do so).

Last edited by shadowsnipes; 04-10-2008 at 09:48 AM.
 
Old 04-11-2008, 05:12 AM   #6
rapattack
Member
 
Registered: Jan 2008
Posts: 109

Original Poster
Rep: Reputation: 15
Odd but it is working now. I jiggled the cables ...or should I say pulled the cables out and put them back in. I also sometimes have this hassle with the hd. There was alos a boot that was odd. It did some things I don't remember and also asked if I wanted to fix or not. So ofcourse I chose fix. After that the system works better or seems to.
Anyway I burnt onto a cd-rw that I had spare. The cd's I just bought were not good. I bought them from some cheap shop and when none of them would work I tried them in another pc. They wouldn't mount in that one either. So it could have been a variety of issues.
So I didn't have to try anything you suggested but it is all useful if things stuff up again. Thanks!!!
Now though the ubuntu iso is not running on my laptop. Well it showed the page that asks if you want to install or not etc and when I clicked that showed it was loading and it never did. I tried a few times. I have Debian on that machine so maybe that is why. The system requirements are fine.

Last edited by rapattack; 04-11-2008 at 05:16 AM. Reason: more info
 
Old 04-11-2008, 09:11 AM   #7
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Quote:
Originally Posted by rapattack View Post
Now though the ubuntu iso is not running on my laptop. Well it showed the page that asks if you want to install or not etc and when I clicked that showed it was loading and it never did. I tried a few times. I have Debian on that machine so maybe that is why. The system requirements are fine.
Having Debian on your machine should have nothing to do with an Ubuntu install cd running since you are running it outside of any OS. You should, however, check that the burned cd is good. To do this check the md5sum of the iso file against the md5sum of the actual burned cd.

Here is a script I wrote that you can use to do this:
Code:
#!/bin/sh
# This command will check the md5sum of a cd (ignoring possible padding at the end 
# by only checking the same amount of bytes at the iso image) and also check the 
# md5sum of the ISO image.

if [ $1 ]
then
        isoFile=$1
else
        echo "ERROR.  Usage: $0 /path/to/isofile.iso"
        exit 1
fi

echo $isoFile
if [ -e $isoFile ]
then
        dd if=/dev/hdd | head -c $(stat --format=%s $isoFile) | md5sum && md5sum $isoFile
else
        echo "ERROR.  ISO image at $isoFile does not exist."
        exit 1
fi
Change your device from /dev/hdd to what your optical drive actually is.

If the burned cd is actually good, then you need to figure out what else is going on. You might have to start the Ubuntu installer with special options like vga=normal. I'm not familiar with all the options they have, so you should refer to the Ubuntu docs for that.
 
Old 04-11-2008, 09:52 AM   #8
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
I've always had great luck using k3b to burn Debian or Slackware ISOs, k3b auto-detects the file types for me. Check your md5 sums if the CD doesn't work.
 
Old 04-11-2008, 11:34 PM   #9
rapattack
Member
 
Registered: Jan 2008
Posts: 109

Original Poster
Rep: Reputation: 15
Not that I really understand much but that md5 sums is something that happens when I select the iso to be burnt. I gathered that it was ok. I don't know how to check beyond that and shadowsnipes that is way advanced for me. Um am I typing one line at a time? Sorry I haven't seen that sort of stuff yet.
I just remembered that I had this sort of trouble before when trying to install ubuntu on another laptop. It took quite a few goes to get it to push past that first screen that shows the options of wether you want to install or whatever the other stuff in...oh safe mode etc. I don't know why but I have only ever seen this problem with laptops. I have previously used another cd in many desktops with no problem. Mmmmm I just thought I might try in another desktop I have here. OK well I have the first screen with several things to select from like 'start or install ubuntu, start ubuntu in safe graphics mode, install with driver update cd etc.....so it is loading the first option....and i can hear the drive protest a bit. Ah now I have an error 'I/O error Error reading boot cd' then there is a 'reboot' button. Ok tried it twice. So there is a problem. Well I am going to get some blank cd's and dvd's today so will try again later. I was using a cdrw that I had sitting around and it is slighly scratched so that could be it.
Will get back to you later today!
 
Old 04-12-2008, 01:26 AM   #10
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Quote:
Originally Posted by rapattack View Post
Not that I really understand much but that md5 sums is something that happens when I select the iso to be burnt. I gathered that it was ok. I don't know how to check beyond that and shadowsnipes that is way advanced for me. Um am I typing one line at a time? Sorry I haven't seen that sort of stuff yet.
The script I gave you is just that. You just need to copy that text into a file and run it like
Code:
sh script-name.sh /path/to/iso-image
You can omit using sh to run it if the executable bit is set.

Instead of creating a file by copying and pasting the text I gave you, you could instead download it directly.

Quote:
Originally Posted by rapattack View Post
I just remembered that I had this sort of trouble before when trying to install ubuntu on another laptop. It took quite a few goes to get it to push past that first screen that shows the options of wether you want to install or whatever the other stuff in...oh safe mode etc. I don't know why but I have only ever seen this problem with laptops. I have previously used another cd in many desktops with no problem. Mmmmm I just thought I might try in another desktop I have here. OK well I have the first screen with several things to select from like 'start or install ubuntu, start ubuntu in safe graphics mode, install with driver update cd etc.....so it is loading the first option....and i can hear the drive protest a bit. Ah now I have an error 'I/O error Error reading boot cd' then there is a 'reboot' button. Ok tried it twice. So there is a problem. Well I am going to get some blank cd's and dvd's today so will try again later. I was using a cdrw that I had sitting around and it is slighly scratched so that could be it.
Will get back to you later today!
Sounds like a bad burn or a problem with DMA. If the iso is good then you might need to use hdparm to toggle DMA. Let us know how the burn is.
 
Old 04-12-2008, 11:59 PM   #11
rapattack
Member
 
Registered: Jan 2008
Posts: 109

Original Poster
Rep: Reputation: 15
I am not sure what you mean by copying the script in a file? I know what the konsole or terminal is um and I think I have edited some files before but i have followed instructions ....i don't really understand the process yet.
I am not sure what I would be doing with the new script you posted today? Is that to be copied into the terminal?
So I got the new blank cd's and dvd's today but there is still a problem. It must be a back copy of an iso. Unfortunately I gave the original iso to someone and can't get it back so that is the end of that. I didn't download it from the net. I got it from one of those computer magazines. At first the burner was giving me problems generally and I can't remember right now what that was but now it is burning fine. I did about 5 different burns on dvd's.
Gee I just tried the new cd's and it won't burn. It says that the 'OPC failed-probably the writer does not like the medium'. That is what happened with that other lot of cdr's that I bought before.


There is something else odd happening. I installed a cd burner into my windows machine and used the cd's I just bought and they work so something is wrong for the debian machine to not recognise cd's. It makes a loud protesting sound(the drive) when you first close the drawer with a cd in it and when you go to burn it is the same. So why would it like dvd's and not cd's?

Last edited by rapattack; 04-13-2008 at 10:55 AM. Reason: more info
 
Old 04-13-2008, 10:41 PM   #12
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Quote:
Originally Posted by rapattack View Post
I am not sure what you mean by copying the script in a file? I know what the konsole or terminal is um and I think I have edited some files before but i have followed instructions ....i don't really understand the process yet.
I am not sure what I would be doing with the new script you posted today? Is that to be copied into the terminal?
Just download the file and cd into the directory it is in.
Then type the following in the terminal (MODIFY /path/to/iso-image)
Code:
sh ./CkBurn2ISO.sh /path/to/iso-image
and then hit ENTER. That is how you use the script.

However, the script is only good if you still have the iso file on your hard drive somewhere.
 
Old 04-13-2008, 11:17 PM   #13
rapattack
Member
 
Registered: Jan 2008
Posts: 109

Original Poster
Rep: Reputation: 15
Sorry I need more info than that. What directory? Am I supposed to create a directory?
The 2nd part I understand as in copying that code in the terminal.
 
Old 04-13-2008, 11:21 PM   #14
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Quote:
Originally Posted by rapattack View Post
Sorry I need more info than that. What directory? Am I supposed to create a directory?
The 2nd part I understand as in copying that code in the terminal.
The directory does not matter as long as you know where it is.

That being said, however, I recommend keeping all your scripts in a designated directory- whatever one you want. The idea is that they are easy to find.
 
Old 04-14-2008, 05:05 AM   #15
wificraig
Member
 
Registered: Jan 2008
Location: Southern Oregon
Distribution: Laptop: DesktopBSD1.6, openSuse11, Mandriva, Mepis7, BackTrack3....USB: Mandriva2009, Debian-Lenny,
Posts: 82

Rep: Reputation: 16
Your project is too large

It looks like your project is too large for a CD-Rom and the burner program is defaulting to DVD.
 
  


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 burning the iso.. tEh Bàsíq SUSE / openSUSE 15 03-19-2006 01:17 PM
Burning ISO xennetwork Linux - Newbie 1 03-12-2006 08:54 PM
burning an iso resist_r Linux - Newbie 9 10-06-2005 10:58 AM
Burning ISO BW~Merlin Linux - Newbie 7 04-20-2004 11:27 PM
Burning the .iso to a cd johann519 Fedora - Installation 4 01-31-2004 02:15 PM

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

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