ubuntu-eee-coders team mailing list archive
-
ubuntu-eee-coders team
-
Mailing list archive
-
Message #00693
[Bug 226578] Re: Usb stick added to fstab
If you comment the line out in /etc/fstab that defines the CDRom drive,
then you no longer get any mount problems.
I believe that this issue is due to the fact that if a USB drive (or
key) is inserted, it could be assigned to the /dev/sd** device that is
defined in the /etc/fstab file for the cdrom, which specifies a cdrom
type file system. As it is extremely unlikely that your USB device is
formated as a cdrom (is09660), then the mount will fail.
For example, if your /etc/fstab file defines your CDRom drive as
/dev/sdb1 and you insert a 1GB USB Key, that key could quite easily be
assigned to /dev/sdb1 by the hotplug management. When trying to
actually mount the 1GB USB key, there will be a check in /etc/fstab to
see if the mount has been defined. In this case there is a mount point
defined for /dev/sdb1, so there is an attempt to mount the 1GB Key as a
CD (iso9660), naturally failing as it will most likely be fat16/32 or
ext2/3 (xfs, jfs, zfs, etc.).
You could always define labels on the file systems of your USB devices,
but you would still need to define mount points in the /etc/fstab file
using those labels.
Apartently Ubuntu is getting more official support for installing from
USB devices, so perhaps the installer will be a bit more intelligent
about what gets put in the /etc/fstab file.
For now, I would just uncomment the line unless you use an external
CD/DVD drive. If you do use an external drive, then label your USB
partions and define them in /etc/fstab
--
Usb stick added to fstab
https://bugs.launchpad.net/bugs/226578
You received this bug notification because you are a member of Ubuntu
Eee Coders, which is subscribed to Ubuntu Eee.
Status in Ubuntu Eee: New
Bug description:
Ubuntu Eee is mainly installed though usb sticks.
Ubuntu thinks it's a cd and adds it to /etc/fstab
This f**ks everything up. Connecting something is ignored since there's an error in fstab
Ex:
/dev/sdb1 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0