Re: USB storage devices and /etc/fstab



On 2007/12/31 10:21 (GMT-0600) J Taylor apparently typed:

I am still trying to get this to work. The e2label seems to work but I cannot
mount the device, and the system will not boot with the specified /etc/fstab.

# /sbin/e2label /dev/sdb5 usbdisk2

/etc/fstab:
LABEL=/usbdisk2 /usbdisk2 ext2 noauto,user,rw 1 2
#/dev/sdb5 /media/usbdisk2 ext2 user,suid,dev,exec,noauto 0 0

# mount /usbdisk2
mount: special device LABEL=/usbdisk2 does not exist

It fails because usbdisk2 != /usbdisk2

Try: LABEL=usbdisk2 /usbdisk2 ext2 noauto,user,rw 0 0
--
Jesus Christ, the reason for the season.

Team OS/2 ** Reg. Linux User #211409

Felix Miata *** http://mrmazda.no-ip.com/

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: Cant mount my SATA drive
    ... after a bit of fiddling in BIOS ubuntu saw it and all was good. ... When I run mount all I get ... $ sudo mount -a ... special device /dev/sda1 does not exist ...
    (Ubuntu)
  • Initrd trouble
    ... Freeing initrd memory: 2213k freed ... mount: wrong fs type, bad option, badsuperblock on tmpfs, ... special device /dev2/root2 does not exist ... initrd image), and using local loop device to mount the image: ...
    (Debian-User)
  • Cant mount my SATA drive
    ... ATA HDD with most of my stuff on, recently I installed a SATA drive, and ... after a bit of fiddling in BIOS ubuntu saw it and all was good. ... When I run mount all I get ... special device /dev/sda1 does not exist ...
    (Ubuntu)
  • Re: mount: special device /dev/scd0 does not exist (SOLVED)
    ... On a new install of dapper or edgy i have the same problem. ... 0000:00:1d.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev ... mount: special device /dev/scd0 is not a valid block device ...
    (comp.os.linux.hardware)
  • Re: Content of initrd ?
    ... > think that after unzipping it I should be able to mount it as ... > a loopback device but that fails. ... > premium motherboard but it fails to find the root device. ... After compiling and installing the kernel, ...
    (alt.os.linux.suse)