[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fstab and removable usb drives



Celejar wrote:

> On Mon, 27 Aug 2007 14:51:04 -0700 (PDT)
> Jeff D <fixedored@gmail.com> wrote:
> 
>> On Mon, 27 Aug 2007, Celejar wrote:
>> 
>> > Hi,
>> >
>> > I'm experimenting with fstab lines to streamline mounting my removable
>> > usb drives (flash and HDD).  I have tried 'UUID-xxxx', 'LABEL-xxxx',
>> > and '/dev/disk/by-label/xxxx', but with any of these the system refuses
>> > to boot without manual intervention when the drive isn't attached (I am
>> > told to hit <ctrl>-D and something about maintenance mode).  This
>> > occurs even when I set 'noauto'.  Am I missing something, or are such
>> > fstab lines really illegal for setups where the volume may not be
>> > attached at boot?
>> >
>> > Celejar
>> > --
>> 
>> Hm, noauto should skip it at boot.  On one of my laptops I have this:
>> /dev/disk/by-id/xxxxxx  /mnt/flash  vfat user,noauto 0 0
>> 
>> Boots up just fine..
> 
> Thanks; I don't know what could be different about my setup (I'm
> running uptodate Sid), but it doesn't work for me, as above.
> 
> Celejar

I'm also running up-to-date Sid.  Here are my fstab entries of interest:

/dev/disk/by-label/PEN      /media/pen       vfat  noauto,users  0 0 
/dev/disk/by-label/usb-80   /media/usb-80    ext3  noauto,users  0 0
/dev/disk/by-label/usb-160  /media/usb-160   ext3  noauto,users  0 0

I rarely have the pen drive or usb HD's plugged in at boot.  No problems
with this on five machines.  The error message you report sounds a lot
like what is issued when fsck fails.




Reply to: