LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-05-2013, 03:06 AM   #1
crazymonkie
LQ Newbie
 
Registered: Dec 2013
Posts: 2

Rep: Reputation: Disabled
Mounting a DVD-RW drive to create an ISO image


Hello everyone! I'm a VERY new user to Linux and all *nix systems. I chose Slackware and it runs great, but I have stumbling blocks like the subject line here.

I apologize in advance; I know this question has been asked A LOT, but my aim is to mount my Lenovo IdeaCentre B-series internal DVD-RW drive so I can write ISOs to multi-session DVDs. I'm running Slackware 14.1, which I upgraded twice- the first time I'd picked an SMP kernel, didn't properly blacklist some things and relied too much on slackpkg, causing my Lilo config to get messed up and having an unbootable portion to my computer (I've got a dual-boot Win 7/Slack system.... I like to keep what little I need in Windows separate from Linux). Second time I simply kept the default kernel and updated with slackpkg....that worked fine. That's kind of incidental, more explaining where I am right now. New, basically. Very new.

Ok, so, what I've done so far: I've been using cdrecord because the second time I installed Slackware, I didn't put in any of the KDE-related packages. So no k3d for me. I'm PRETTY sure I have blanked the DVD-RW because it doesn't show up automatically anymore. Either that or I've messed up my /etc/fstab file. Also a possibility.

For reference, my /etc/fstab looks like this:

Code:
/dev/sda7        swap             swap        defaults         0   0
/dev/sda5        /                ext4        defaults         1   1
/dev/sda6        /home            ext4        defaults         1   2
/dev/sda1        /fat-c           ntfs-3g     fmask=177,dmask=077 1   0
/dev/sda2        /fat-d           ntfs-3g     fmask=177,dmask=077 1   0
/dev/cdrom      /mnt/cdrom       iso9660      user,auto,exec   0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
tmpfs            /dev/shm         tmpfs       defaults         0   0
I've searched high and low for the solution to my problem, but I keep getting stuck in one spot. What I thought I was supposed to do was type
# mount /dev/cdrom /mnt/cdrom
but when I do, I get the error
Code:
mount: /dev/sr0: can't read superblock
And then, of course, I run dmesg | tail, which comes up with this:
Code:
[  514.606336] EXT4-fs (sr0): unable to read superblock
[  514.718081] sr 0:0:0:0: [sr0]
[  514.718086] Result: hostbyte=0x00 driverbyte=0x08
[  514.718087] sr 0:0:0:0: [sr0]
[  514.718088] Sense Key : 0x5 [current]
[  514.718091] sr 0:0:0:0: [sr0]
[  514.718092] ASC=0x21 ASCQ=0x0
[  514.718093] sr 0:0:0:0: [sr0] CDB:
[  514.718094] cdb[0]=0x28: 28 00 00 00 00 00 00 00 01 00
[  514.718124] FAT-fs (sr0): unable to read boot sector
At this point, I'm stumped (again- newbie!) I'd really appreciate some help. Oh, and I do also apologize for the fact that I didn't post the specific technical specs on my computer. I wrote the information down somewhere, but lost the paper. I'm constantly drowning in paper, so that's my little personal problem. Thanks to everyone ahead of time!
 
Old 12-05-2013, 03:19 AM   #2
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=14, FreeBSD_10{.0|.1|.2}
Posts: 4,257
Blog Entries: 1

Rep: Reputation: 2290Reputation: 2290Reputation: 2290Reputation: 2290Reputation: 2290Reputation: 2290Reputation: 2290Reputation: 2290Reputation: 2290Reputation: 2290Reputation: 2290
If you are trying to write a CD/DVD then you do not mount it - there is no filesystem on it to mount.

If you are writing a multi-session CD from ISOs then try something like this (But see the man page first...)

Find the device with cdrecord -scanbus, then:

First session...

cdrecord -dev=0,2,0 -data -multi speed=2 -dummy iso-filename
(remove -dummy to write it)

Second session.....

cdrecord -msinfo dev=0,2,0... returns something like....
0,26138

mkisofs -C 0,26138 -M 2,0 -o iso-image-filename.iso -r directory-list

cdrecord -multi -data dev=0,2,0 -dummy iso-image-filename.iso

For a DVD use growisofs instead of cd record (again see man page), something like...

growisofs -dvd-compat -Z /dev/sr0=name-of-iso.iso

Last edited by astrogeek; 12-05-2013 at 03:23 AM.
 
Old 12-05-2013, 05:47 PM   #3
crazymonkie
LQ Newbie
 
Registered: Dec 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks for the reply! I'm basically trying to write ISOs (specifically slacko puppy and tinycore, maybe more later) TO the blank DVDs I have so I can test run them and use them like they're intended to be used- as mobile and very small operating systems. I want the DVDs to be multi session so I can save the state of the OSes.

I'll try out what you suggested and tell you how it goes.
 
  


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
How to create iso image of DVD using dd command ? gardenair Linux - Newbie 8 10-27-2011 02:15 AM
using an USB instead of a DVD to create an ISO image joewill Linux - Newbie 15 05-31-2011 11:39 AM
Creating iso image and mounting them (DVD+R, not CD-R) lawrence_lee_lee Linux - Software 1 01-14-2008 12:54 AM
Splitting VOB to create DVD ISO image jerryk Linux - General 1 05-17-2005 12:31 AM
Mounting ISO image CD/DVD fireedo SUSE / openSUSE 9 05-05-2005 03:07 AM


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