LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 03-05-2011, 07:09 PM   #1
mark_alfred
Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Vector Linux
Posts: 900

Rep: Reputation: 88
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:
Code:
  # /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/hda1       /               ext3    defaults,errors=remount-ro 0       1
UUID=14c375f6-91a3-45cd-b12a-d06b507c9dfe       /               ext3    default$
# /dev/hda5       none            swap    sw              0       0
UUID=4e922dbc-7979-43c7-aa77-dbdc7d716b31       none            swap    sw     $
# /dev/hdc      /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/hdc        /cdrom auto defaults,noauto,ro  0       0
/dev/fd0        /media/floppy0  vfat,msdos      rw,user,noauto  0       0
/dev/sda1       /media/usb      vfat    noauto,user     0       0
#UUID=A456-E995 /media/usb      vfat    noauto,user     0       0
/dev/sdb1       /media/usb2     vfat    noauto,user     0       0
/dev/sdc1       /media/usb3     vfat    noauto,user     0       0
/dev/hdb1       /media/hdb      ext3    noauto,user     0       0
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?
 
Old 03-05-2011, 07:42 PM   #2
mark_alfred
Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Vector Linux
Posts: 900

Original Poster
Rep: Reputation: 88
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.
 
Old 03-05-2011, 08:04 PM   #3
mark_alfred
Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Vector Linux
Posts: 900

Original Poster
Rep: Reputation: 88
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.
 
Old 03-05-2011, 10:04 PM   #4
mark_alfred
Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Vector Linux
Posts: 900

Original Poster
Rep: Reputation: 88
I prematurely marked this as solved, but I'm still having some issues. Please see my new thread on these.
 
Old 03-06-2011, 06:26 PM   #5
mark_alfred
Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Vector Linux
Posts: 900

Original Poster
Rep: Reputation: 88
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.
 
  


Reply

Tags
squeeze, upgrade


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] File system read only issue smilemukul Linux - Newbie 6 01-21-2011 03:39 AM
8.10 Kubuntu install gone wrong, file system read-only? Peripheral Vision Linux - Laptop and Netbook 2 11-04-2008 06:52 PM
Need Help, Error in /etc/fstab and mount. system is read-only. ord Red Hat 9 10-09-2007 03:54 PM
fstab entry changed by system to wrong device cmbguy Linux - General 2 08-19-2004 09:04 PM


All times are GMT -5. The time now is 12:26 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration