Linux - NewbieThis 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!
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.
This is strange. A few minutes later, I put a cd in the dvdrw drive and ran the mount command again. This time it gave the message:
mount: block device /dev/hdd is write-protected, mounting read-only
mount: mount point /dev/dvdrw is not a directory
Then a desktop icon showed up and I clicked on it and could see the cd contents. I then tried to eject it and got this message:
Error: mount point /mnt/dvdrw is not below /media/
eject: unmount of `/dev/hdd' failed
Do I have to unmount it before I can eject the cd?
Edit: Berneid, I see that I cross-posted. Thanks for yours. I think there was a cd in the drive when I first tried to mount it, but not 100% sure. In any case, it seems to have mounted correctly. Now how to get the cd out?
Last edited by Odyssey1942; 12-29-2006 at 04:45 PM.
OK, getting there. Have learned that one doesn't mount dvd's (disks) and software is needed to write, so downloaded k3b which d/l'd, installed, and worked about as well as one could possibly hope. Have now written my /home folder to dvd, tested the dvd by opening a few files at random, and am now ready to repartition (/, /root, and /home), then install Ubuntu 6.06.
Two questions. One is that all the files written to the dvd will be write protected, so when I copy them to the new /home partition, can someone give me some guidance as to the most effective way to do this, also changing the RO to RW along the way?
Secondly, before I do the above, does anyone see any:
"Have you.....'s", "Are you.....'s", "By the way,....'s" and similar that they would kindly share with me before irreversible things start happening. TIA.
If you preserve the permissions when you write them to DVD it'll be ok when you copy them back. I believe that is k3b's default.
I copy files between DVD, flash drive, and hard drive all the time without any permission problems.
If you're able to burn files to the drive then you have adequate permissions to it.
A removable medium drive can't be permanently mounted as it must have a medium in it to be mounted, but automount will mount it for you when you insert a mountable medium. I'm pretty sure this is enabled by default in Ubuntu.
Gnomebaker is the Gnome burning app, and it's pretty good but I think you're better off with k3b. Just tossing this in there in case you prefer to stick with Gnome apps.
Here's a sample multi ROM fstab. I have noauto enabled in mine, but you can switch it to auto, which I believe will mount the contents of a C(DV)D as soon as the tray is closed. Where I have hda and hdb you'll want hdc and hdd.
The noauto option will cause this entry to be skipped when running "mount -a". You need this for removable media so that it isn't mounted when booting up. If there isn't a disc in the device, this would stall the boot process.
Please read the "man mount" and "man 5 fstab" man pages.
Also, I don't know but Ubuntu may use udev and some helper programs to mount discs automatically when they are inserted. I don't have Ubuntu but your documentation or a Ubuntu wiki may have details.
If the original posters /etc/fstab has an entry like:
You will be encouraged to hear that I think I have my head around the language for blank DVD's (although all the beginner books clearly state that in Linux, everything is a file. Now I know that blanks are an/the exception).
I am off to the man pages (although usually written in Greek, I know that the more I read them, the sooner I will be able to read Greek) and trusty google for the newbie-friendly tutorials and 'how-to's".