LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Weird failures burning iso (https://www.linuxquestions.org/questions/ubuntu-63/weird-failures-burning-iso-514650/)

duns0014 12-29-2006 12:32 PM

Weird failures burning iso
 
When I try to burn ubuntu to a disk, I get weird errors. It burns the disk fine, but when I check the md5sum or dd the image to a file on my hard drive, I get an error. I tried this with two different disks and it happened at the exact same point on the file. Both disks were different and even from different manufacturers. One was burned under windows, the other under linux with cdrecord. I'm sure I'm burning as an iso and the md5sum of the iso on my hard drive checks out.

blackhole54 12-30-2006 03:20 AM

Is it possible there is some irrelevant garbage (on the CD itself) past end of the iso image that is getting picked up and causing the apparent problem?

Does the CD boot, and does it have an option to check itself?

tony safari 12-30-2006 08:57 AM

the same happen to me with suse..it happen due to my bad CD ROM..and do not forget to change data cable first for both CD ROM and HARD disc and make new copy and see what will happen.

duns0014 12-30-2006 02:19 PM

Quote:

Originally Posted by blackhole54
Is it possible there is some irrelevant garbage (on the CD itself) past end of the iso image that is getting picked up and causing the apparent problem?

Unlikely, as I get the error part way (732 MB) into the file. Also, I got it in the exact same place buring with two different brands of CDs and on two different OS's. Even if there was, I wouldn't know how to check for that.

Quote:

Does the CD boot, and does it have an option to check itself?
Yes, it boots and slowly loads ubuntu with a desktop. However, installing it from there fails.

duns0014 12-30-2006 02:19 PM

Quote:

Originally Posted by tony safari
the same happen to me with suse..it happen due to my bad CD ROM..

Was it a bad cd or a bad cd drive?

Quote:

and do not forget to change data cable first for both CD ROM and HARD disc and make new copy and see what will happen.
I'm sorry, I didn't understand this at all.

tony safari 01-01-2007 02:31 AM

Quote:

Was it a bad cd or a bad cd drive?
i mean bad cd driver.

Quote:

and do not forget to change data cable first for both CD ROM and HARD disc
i means change data cables in your computer also

win32sux 01-01-2007 03:01 AM

Quote:

Originally Posted by duns0014
I get the error part way (732 MB) into the file

but the ISOs are less than 700MB... :confused:

Quote:

Yes, it boots and slowly loads ubuntu with a desktop. However, installing it from there fails.
the suggestion was that you would choose the integrity check option when the CD boots and then see if it passes that, or see where it fails...

could you please post the complete "dd" command you are using to check the CD?? is the problem happening only with the ubuntu ISO, or are you also unable to get the right md5sum from other CDs??

duns0014 01-02-2007 11:36 AM

Quote:

Originally Posted by tony safari
i mean bad cd driver.


i means change data cables in your computer also

It's the driver and not the drive?

I have a laptop, so changing cables isn't really possible.

duns0014 01-02-2007 11:38 AM

Quote:

Originally Posted by win32sux
but the ISOs are less than 700MB... :confused:

I'll go back and check that, maybe it was 632.

Quote:

the suggestion was that you would choose the integrity check option when the CD boots and then see if it passes that, or see where it fails...
That's right on the front menu when ubuntu boots up? I'll try that.

Quote:

could you please post the complete "dd" command you are using to check the CD?? is the problem happening only with the ubuntu ISO, or are you also unable to get the right md5sum from other CDs??
Haven't tried with other cd's. Command is:
dd if=/dev/cdrom of=ubuntu.iso

apolinsky 01-02-2007 12:01 PM

If the difficulty happens at the same pace in the burn, I would tend to think the difficulty lies not with the hardware, but rather with the iso itself. Did you do a md5sum on the iso prior to the burning? Did the value match what the provider of the iso said it should be?

win32sux 01-02-2007 12:03 PM

Quote:

Originally Posted by duns0014
I'll go back and check that, maybe it was 632.

well, both ubuntu 6.06.1 and 6.10 ISOs have a size of aproximately 699MB...

Quote:

That's right on the front menu when ubuntu boots up? I'll try that.
yeah, it's a boot option when the CD boots...

Quote:

Haven't tried with other cd's.
maybe you should, as a test... but in any case:
Quote:

Command is:
dd if=/dev/cdrom of=ubuntu.iso
you usually are better-off specifying the logical block and volume size when doing stuff like this... you can get that info with a:
Code:

isoinfo -d -i /dev/cdrom
for example, on a CD-RW i have here (not ubuntu related) the output looks like:
Code:

win32sux@candystore:~$ isoinfo -d -i /dev/cdrom
CD-ROM is in ISO 9660 format
System id: LINUX
Volume id: CDROM
Volume set id:
Publisher id:
Data preparer id:
Application id: MKISOFS ISO 9660/HFS FILESYSTEM BUILDER & CDRECORD CD-R/DVD CREATOR (C) 1993 E.YOUNGDALE (C) 1997 J.PEARSON/J.SCHILLING
Copyright File id:
Abstract File id:
Bibliographic File id:
Volume set size is: 1
Volume set sequence number is: 1
Logical block size is: 2048
Volume size is: 240523

Joliet with UCS level 3 found
Rock Ridge signatures version 1 found

so i'd take those numbers and stick them in the dd command like:
Code:

dd if=/dev/cdrom of=/tmp/testing.iso bs=2048 count=240523 conv=notrunc,noerror
i'm not saying this is the cure to your problem, but specifying these parameters might give you a more accurate read (which of course is pointless if the burn was bad)... oh, and i'd also make sure the disk is NOT mounted when you do this...

win32sux 01-02-2007 12:21 PM

Quote:

Originally Posted by apolinsky
Did you do a md5sum on the iso prior to the burning? Did the value match what the provider of the iso said it should be?

well, he did say this:
Quote:

Originally Posted by duns0014
the md5sum of the iso on my hard drive checks out.

but the sizes he's metioned so far don't sound right...

@ duns0014: exactly which ubuntu ISO are you dealing with??

duns0014 01-02-2007 02:42 PM

Yes, I checked the md5sum. I'm just using the normal desktop 386.

win32sux 01-03-2007 10:26 AM

so how did it go?? where you able to checksum the CD using the method i posted?? if you're still having problems then the next thing to check would be your cdrecord command...

duns0014 01-03-2007 01:05 PM

This is weird. It turns out it did crap out at 732 MB, even though both the iso and the cd are smaller than that. I had a bs of 2048 and a count of 357565, that last number was also how many records in and out I got when dd'd the file.

I saw that the install icon on the desktop links to gksudo --desktop %k ubiquity gtkui, can I just run ubiquity from the command line to see output, or won't that work?


All times are GMT -5. The time now is 03:36 AM.