LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   burning DVD from console ... help, I can't figure out what is wrong (https://www.linuxquestions.org/questions/linux-newbie-8/burning-dvd-from-console-help-i-cant-figure-out-what-is-wrong-667482/)

pmilosev 09-04-2008 03:00 AM

burning DVD from console ... help, I can't figure out what is wrong
 
Hi

I am trying to make a data DVD iso image and burn it from console.
I have made the image with mkisofs (genisoimage that is) like:

# mkisofs -r -J -o theimagefile.iso some_path

I have no problems mounting and using the image:

# mount -o loop theimagefile.iso /media/cdrom
# ls -l /media/cdrom

[all files are listed]

When I try to burn the image on DVD:
# growisofs -Z /dev/dvd=theimagefile.iso

everything ends well with no error.
However when I try to mount the DVD I get:

# mount /media/cdrom0/
mount: block device /dev/hda is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/hda,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

So I follow the instructions:
# dmesg | tail
[122667.021890] hda: rw=0, want=7011976, limit=4
[122667.021908] attempt to access beyond end of device
[122667.021924] hda: rw=0, want=1252, limit=4
[122667.021942] attempt to access beyond end of device
[122667.021957] hda: rw=0, want=1028, limit=4
[122667.021973] UDF-fs: No partition found (1)
[122667.032490] attempt to access beyond end of device
[122667.032512] hda: rw=0, want=68, limit=4
[122667.032530] isofs_fill_super: bread failed, dev=hda, iso_blknum=16, block=16
[122667.065016] cdrom: This disc doesn't have any tracks I recognize!


I have tried several mkisofs and growisofs options (like -dvd-compat) but always ended the same.
I have tried to burn the image on DVD with K3D but nothing have changed (I guess it is the iso image that is not formated well)

Here is also the results from dvd+rw-mediainfo tool:
# dvd+rw-mediainfo /dev/dvd
[some hardware infos ...]
READ DISC INFORMATION:
Disc status: appendable
Number of Sessions: 1
State of Last Session: incomplete
"Next" Track: 1
Number of Tracks: 1
READ TRACK INFORMATION[#1]:
Track State: incomplete incremental
Track Start Address: 0*2KB
Next Writable Address: 2137040*2KB
Free Blocks: 160848*2KB
Track Size: 2297888*2KB
Last Recorded Address: 2137023*2KB
READ CAPACITY: 0*2048=0

Any idea why the track is incomplete ?
The image I am trying to burn is ~ 4GB in size and I am using regular 4.7 GB DVDs
Also have tried to read the disc under Mac and Windows but without success.

regards

P.S. here is my fstab entry:
/dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0

pmilosev 09-04-2008 05:03 AM

ok I have managed to create an ISO image burn it and mount the burned DVD
To do this I have renamed the files using very short names (before there were some really long filenames).

But is there some option that could worn for long filenames ... or auto change the long filenames into shorter one ?
since some of the files could have descriptive names that could be huge (bigger then Joliet and Rock ridge formats)

regards


All times are GMT -5. The time now is 01:00 PM.