SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi!
My Slackware 11.0 box can't mount optical devices when the inserted medium is _BLANK_. I have three IDE such optical devices as: hdb (an IDE CD recorder) hdc (an IDE DVD recorder) and hdd (an IDE CD-RW/DVD-ROM combo). All these devices can be mounted and do work very well with written media inside but they can't be mounted when the inserted media are blank. Here is the mount dialog:
Code:
# mount -t iso9660 /dev/hdc /mnt/dvdrecorder
mount: wrong fs type, bad option, bad superblock on /dev/hdc,
missing codepage, or other error
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
In some cases useful info is found in syslog - try
dmesg | tail or so
FURTHER DETAILS:
(1) The previous Slackware 10.x did work very well with all of those optical devices.
(2) Debian 3.1 and Knoppix 4.x, 5.x do also work very well.
(3) Certainly Slackware 11.0 detects those optical drives as IDE devices. For instance, the last system message when shutting down is
Code:
flushing ide devices: hda, hdb, hdc, hdd
(4) The mount version is mount-2.12r.
(5) Here is the code error issued when trying to mount /dev/hdc, at booting time, with a blank medium inside:
Seriously, how do you want to mount a medium that has no partition on it?
One does not mount empty optical discs, one makes an image (iso), and then one burns that iso to the optical medium in a single session.
To create the iso, for instance of another optical disc (provided there is no copy protection), just do
Code:
dd if=/dev/hda of=ripped.iso
, assuming that hda contains the source disc
Then use another program, like k3b (very cool) to burn your disk. K3B also allows you to create an image from scratch by letting you select which files to put in the image, and also supports multi-session discs.
Thanks a lot!
1. Yes, I've just now learned that it doesn't make sense to mount a blank CD/DVD. I kindly appreciate your help in that matter.
2. Well I did try to burn a .iso image with K3b, under Debian (it did work) under Knoppix (it did work) under Slackware 10.2 (it did work too) and under Slackware 11.0. The matter was that the Slackware 11.0 box was the single one under which k3b failed to work, simply because the drive with the medium inside was not seen by K3b. This is why I tried to force seeing the medium, and the only solution I've imagined was to mount that medium. Now, thanks to you, I do know that's not the solution but I'm still mind bogging about why K3b fails to see the medium.
3. However, since so kind to answer, could you please further explain me what's the difference (from the mounting point of view) between a blank CD and a USB memory stick? Is it true that a memory stick has never any partition on it (as a vendor have told me)? If false (that is, if a partition must exist on any memory stick) what would be the filesystem, after a single Linux editing session (on that memory stick) and what about if the editing session runs under Windows (instead of Linux)? How to explain the fact that Windows does see the content of a memory stick which was inscripted by Linux?
I would kindly appreciate your answer!
Thanks!
Yes, USB storage devices have partitions on them and are (a bit like floppy disks were) usually fat 32 (pre)formatted. Since both Linux and Windows can use this filesystem, there are no differences regarding which OS you use.
Regarding your drive, is k3b configured properly? Which kernel do you use?
Thanks, I was confuse.
My Slack 11.0 runs with a 2.4.33 kernel (namely the bare.i in Slackware terminology); see my first post, with the dmesg excerpt from there. Indeed, it could be a wrong configuration. For instance, after installing K3b (under the last Slackare box) I have not obtained the usual iconed link in the KDE desktop menu and can only run K3b from the "Run" prompt. Now I do consider to reinstall K3b or something like that.
2.4 kernels require scsi emulation to burn CDs with ATAPI devices.
You will need to add hdc=ide-scsi as a kernel boot option in your boot loader.
Lots of information can be found on the web for both grub and lilo.
Once you reboot the computer your burner device ID will now be /dev/scd0.
Additionally, you could just install a 2.6 kernel and modules (like test26.s or huge26.s and modules from testing/ or extra/ dirs, respectively). Unless you have older hardware and don't mind crowded /dev, you can profit a lot from 2.6 kernel and udev...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.