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 # mount /dev/cdrom /mnt/cdrom but when I do, I get the error Code:
mount: /dev/sr0: can't read superblock Code:
[ 514.606336] EXT4-fs (sr0): unable to read superblock |
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 |
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. |
All times are GMT -5. The time now is 05:15 AM. |