[SOLVED] upgrade issue: my fstab file is wrong, and I can't get my system to read the cdrom
DebianThis forum is for the discussion of Debian 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.
upgrade issue: my fstab file is wrong, and I can't get my system to read the cdrom
Hello. I have dial-up, and I just got my Squeeze dvds. So, I have been upgrading, following the advice of the release notes. As laid out in the release notes, I first did a Minimal system upgrade (apt-get upgrade), followed by installing the new kernel, and then installing the new udev. After this I rebooted.
The problem has started here. I'm supposed to do the last step, which is to run "apt-get dist-upgrade", but my system now won't read the dvd-rom:
Code:
debian:/home/mark# apt-get dist-upgrade [..]
377 upgraded, 327 newly installed, 62 to remove and 6 not upgraded.
Need to get 0B/907MB of archives.
After this operation, 643MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Media Change: Please insert the disc labelled
'Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 DVD Binary-1 20110205-17:27'
in the drive ‘/cdrom/’ and press enter
Media Change: Please insert the disc labelled
'Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 DVD Binary-1 20110205-17:27'
in the drive ‘/cdrom/’ and press enter
Media Change: Please insert the disc labelled
'Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 DVD Binary-1 20110205-17:27'
in the drive ‘/cdrom/’ and press enter
Squeeze Dvd #1 is in the drive, but no matter how many times I press enter, it does not read it. I notice now when it is booting up, that the hard drive is referred to as (I think) sda instead of hda. sda used to be what my usb drive (aka flash drive) was called, but this seems not the case now (I cannot mount either my cdrom drive or my flash drive now). My /etc/fstab file looks like this:
The commented out "/dev/hdc" was the old one with Lenny, that previously worked. As I mentioned, this stopped working after upgrading udev. So, I tried what was written in the release notes, that being, to add "/dev/hdc /cdrom auto defaults,noauto,ro 0 0" to the fstab file, but this has not worked.
Is there something I can do to automagically get fstab correct? Does anyone have any advice on how I can get the system to see the cdrom (actually dvd-rom) drive? And what are these weird UUID entries?
Well, I did manage to get the system to find the cdrom. It seems that /dev/hdc has been renamed to /dev/cdrom1 (on my system anyway). So, I repositioned my mount points there. However, I still can't figure out where the usb (aka flash drive) is. It used to be /dev/sda, but this seems to be for the hard drive now.
There is a UUID thingy up there for the usb. So, I uncommented that, and I now can mount it. I had previously tried that, and it gave me an error. But, it does work now (I'm in the process of upgrading). I had a hell of a time getting connected to the internet, but hopefully that won't be a problem in the future (I had to use pppconfig, and then pon, because kppp would not connect me.) Anyway, that may be a new thread in the near future. But, for now, I've solved my issues.
I solved most of the issues by finishing the upgrade online. I shouldn't have had to go online, though, to do this (the dvds really should have worked to upgrade the system.) Perhaps I'll file a bug, but I don't know what to file it under.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.