Feisty clean install creates incorrect fstab entry

Bug #109902 reported by Mike Durham
2
Affects Status Importance Assigned to Milestone
Ubuntu
Fix Released
Undecided
Ralph Janke

Bug Description

after a clean install I have the following line in my fstab file

/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0

But I don't have a /dev/hdc file, which the entry refers to.
I do have a DVD on the Secondary IDE

Revision history for this message
Mike Durham (mdurhamesq) wrote :

I should add that the installation was done from the CD/DVD in question

Revision history for this message
Ralph Janke (txwikinger) wrote :

Thanks for the submission of this bug report.

Could you please run

sudo lshw -C disk

on this system and attach the results here?

Thanks

Revision history for this message
Mike Durham (mdurhamesq) wrote : Re: [Bug 109902] Re: Feisty clean install creates incorrect fstab entry
Download full text (3.3 KiB)

txwikinger wrote:
> Thanks for the submission of this bug report.
>
> Could you please run
>
> sudo lshw -C disk
>
> on this system and attach the results here?
>
> Thanks
>
> ** Changed in: Ubuntu
> Assignee: (unassigned) => txwikinger
> Status: Unconfirmed => Needs Info
>
>
txwikinger, I guess you wanted the data here like this???
I have more info if you want it. I downloaded the 7.04 alternate CD and
it won't install because of CD errors. I've tested the CD on another
machine and it's 100% ok but it fails an integrity test on my machine.
There is definitely something wrong between my machine and the CD driver.
If you want more info you only have to ask.
Thanks for your trouble, Mike

mike@stationf:~$ sudo lshw -C disk
Password:
  *-disk
       description: SCSI Disk
       product: WDC WD1200BB-00D
       vendor: ATA
       physical id: 0
       bus info: scsi@0:0.0.0
       logical name: /dev/sda
       version: 15.0
       serial: WD-WMAEK1034179
       size: 111GB
       capabilities: partitioned partitioned:dos
       configuration: ansiversion=5
     *-volume:0
          description: HPFS/NTFS partition
          physical id: 1
          bus info: scsi@0:0.0.0,1
          logical name: /dev/sda1
          capacity: 13GB
          capabilities: primary bootable
     *-volume:1
          description: Linux filesystem partition
          physical id: 2
          bus info: scsi@0:0.0.0,2
          logical name: /dev/sda2
          capacity: 13GB
          capabilities: primary
     *-volume:2
          description: Extended partition
          physical id: 3
          bus info: scsi@0:0.0.0,3
          logical name: /dev/sda3
          size: 73GB
          capacity: 73GB
          capabilities: primary extended partitioned partitioned:extended
        *-logicalvolume:0
             description: W95 FAT32 partition
             physical id: 5
             logical name: /dev/sda5
             capacity: 27GB
        *-logicalvolume:1
             description: Linux filesystem partition
             physical id: 6
             logical name: /dev/sda6
             capacity: 14GB
        *-logicalvolume:2
             description: W95 FAT32 partition
             physical id: 7
             logical name: /dev/sda7
             capacity: 19GB
        *-logicalvolume:3
             description: Linux swap / Solaris partition
             physical id: 8
             logical name: /dev/sda8
             capacity: 1192MB
             capabilities: nofs
        *-logicalvolume:4
             description: Linux filesystem partition
             physical id: 9
             logical name: /dev/sda9
             capacity: 11GB
     *-volume:3
          description: Linux filesystem partition
          physical id: 4
          bus info: scsi@0:0.0.0,4
          logical name: /dev/sda4
          capacity: 11GB
          capabilities: primary
  *-cdrom
       description: DVD-RAM writer
       product: DVDRAM GSA-4160B
       vendor: HL-DT-ST
       physical id: 1
       bus info: scsi@1:0.0.0
       logical name: /dev/cdrom
       logical name: /dev/dvd
       logical name: /dev/scd0
       logical name: /dev/sr0
       v...

Read more...

Revision history for this message
Ralph Janke (txwikinger) wrote :

Can you access your cdrom via one of those device files?

logical name: /dev/cdrom
logical name: /dev/dvd
logical name: /dev/scd0
logical name: /dev/sr0

If so take that one that works and put it into the fstab file, instead of /etc/hdc.

Thanks

Revision history for this message
Mike Durham (mdurhamesq) wrote :

Ralph Janke wrote:
> Can you access your cdrom via one of those device files?
>
> logical name: /dev/cdrom
> logical name: /dev/dvd
> logical name: /dev/scd0
> logical name: /dev/sr0
>
> If so take that one that works and put it into the fstab file, instead
> of /etc/hdc.
>
> Thanks
>
>
Thanks Ralph, I know about that. My point was that the clean install
gets it wrong. Why is that?
Anyway, none of them work because they are all links to scd0 and scd0 is
faulty, I can't read CD's or DVD's correctly.

Cheers

Revision history for this message
Ralph Janke (txwikinger) wrote :

Could you try to apply the newest kernel patch (which is a security patch anyway) to kernel 2.6.20-16 and try if it still doesn't mount correctly. The lastest kernel update fixes some mounting issues especially where no UUID is used.

Thanks

Revision history for this message
Mike Durham (mdurhamesq) wrote :

Ralph Janke wrote:
> Could you try to apply the newest kernel patch (which is a security
> patch anyway) to kernel 2.6.20-16 and try if it still doesn't mount
> correctly. The lastest kernel update fixes some mounting issues
> especially where no UUID is used.
>
> Thanks
>
>
Hi Ralph, I installed the latest kernel 2.6.20-16 and initial tests on
CD's and DVD's appear to work okay. This is the first time that I can
read a DVD on Feisty.
Cheers, Mike

Revision history for this message
Ralph Janke (txwikinger) wrote :

This problem is fixed in kernel 2.6.20-16

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.