LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices

Reply
 
Search this Thread
Old 07-30-2008, 11:09 PM   #1
logeait
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
USB Flash drive mount at boot time


I have sen many posts in lots of different forums about auto mount of USB flash drives when inserted but can anyone tell me how to get a USB flash drive to mount at boot time?
I tried compiling sd-mod and usb_storage statically but sd-mod cant get a major number in this incarnation. Any clues ?
 
Old 07-31-2008, 04:22 AM   #2
storkus
Member
 
Registered: Jun 2008
Posts: 310

Rep: Reputation: 45
What does your entry in /etc/fstab look like?

Mike
 
Old 07-31-2008, 11:22 PM   #3
logeait
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Not sure what you want be here is the fstab

<file system> <mount pt> <type> <options> <dump> <pass>
/dev/root / ext2 rw,noauto 0 1
proc /proc proc defaults 0 0
devpts /dev/pts devpts defaults,gid=5,mode=620 0 0
tmpfs /tmp tmpfs defaults 0 0
 
Old 08-01-2008, 09:31 AM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,395
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
I think storkus is implying that you simply add an appropriate entry to fstab. Use the parameters you would use to manually mount the flash drive, ordered appropriately for fstab format. If your flash drive presently mounts automatically when inserted, and you don't know the block device name or filesystem type, as root, use
Code:
fdisk -l
to give you some help.
--- rod.
 
Old 08-03-2008, 02:12 AM   #5
storkus
Member
 
Registered: Jun 2008
Posts: 310

Rep: Reputation: 45
Also, I'm confused about your fstab above: what in the world is "/dev/root"?

Mike
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I mount a usb drive at boot time? Mountain Linux - Server 2 03-23-2008 11:35 PM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 2 12-24-2005 07:16 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 1 12-24-2005 04:25 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 2 12-24-2005 02:15 AM


All times are GMT -5. The time now is 08:23 AM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration