LinHES Forums
http://forum.linhes.org/

How to Mount USB HD on Boot?
http://forum.linhes.org/viewtopic.php?f=1&t=20659
Page 1 of 1

Author:  mulluysavage [ Tue Dec 08, 2009 5:25 pm ]
Post subject:  How to Mount USB HD on Boot?

System hangs when I boot up with USB drive plugged in, does not when I unplug it.

I'm a little bit confused by the way MythTV sets up the partitions, with the Root and mythtv partitions. In Parted Magic Mount Devices, Root shows up as media/sda1, so when I try to hang it on the /media folder it looks really funny: /media/sda1/media/HD. So I end up putting /dev/sdb1 /media/sda1/media/HD in fstab.

Where is a good place to mount a USB HD?

Author:  mihanson [ Tue Dec 08, 2009 7:37 pm ]
Post subject:  Re: How to Mount USB HD on Boot?

mulluysavage wrote:
Where is a good place to mount a USB HD?


Mount as a subdirectory under /media or maybe /mnt. Really where ever you want, but those places are most traditional.

Author:  mulluysavage [ Wed Dec 09, 2009 8:48 am ]
Post subject: 

When I try to Import Files in KnoppMyth, I can see the folder where my usb drive should be mounted:

/media/500GBMyBook

But there are no files or folders visible within it, and the import files screen says "none found" at the bottom.

My guess is that KnoppMyth is not mounting my disk.

I had edited Root/etc/fstab to include:

/dev/sda1 /media/500GBMyBook rw 0 0

thinking that this would automatically mount my usb drive on startup.

My thoughts:


Do I have the wrong path specified in fstab somehow?

is the syntax wrong in fstab?

is KnoppMyth using another file system table setup?

is there something I don't understand about how Knoppmyth mounts disks on startup?

Author:  tjc [ Wed Dec 09, 2009 6:46 pm ]
Post subject: 

Plugable devices don't have stable names. You might have better luck using the UUID or a label. For example I use these fstab entries to get my USB thumb/key/stick drives mounted:

Code:
LABEL=THUMB1  /mnt/THUMB1 auto  defaults,noauto,user,noexec  0  0
LABEL=THUMB2  /mnt/THUMB2 auto  defaults,noauto,user,noexec  0  0


You'd probably want to drop the noauto.

Author:  mulluysavage [ Thu Dec 10, 2009 10:26 am ]
Post subject: 

I used Parted Magic to re-label my device "Helianthus"

I then inserted

LABEL-Helianthus /media/Helianthus vfat rw 0 0

in the fstab

as Knoppmyth boots up, I notice this message scroll by:

"Special device LABEL-Helianthus does not exist"

Author:  goofee [ Thu Dec 10, 2009 5:15 pm ]
Post subject: 

double check your syntax.
tjc's post says
Quote:
LABEL=

your error message says
Quote:
LABEL-

Author:  mulluysavage [ Thu Dec 10, 2009 8:56 pm ]
Post subject: 

I mistook an equal sign for a dash...

...But the equal sign does not make it work. I looked back at the label, which is all caps, even though I did not enter it that way. Alas, LABEL=HELIANTHUS does not solve the problem either.

Author:  mulluysavage [ Thu Dec 10, 2009 9:46 pm ]
Post subject: 

Figured out UUID and it worked! WAHOOO!

Currently importing 20000 songs.

Now, how to network this backend system with the frontend. I've never done any networking before. Where do I begin? I have a router, a thin client (set-top front-end to-be,) and an office desktop. Point me to a networking how-to?

Author:  mulluysavage [ Fri Dec 11, 2009 10:59 pm ]
Post subject: 

Hmmm.... after working a few times, now it doesnt mount, and on boot, a message scrolls by that UUID=0380-924F does not exist. When I boot into gparted and check the disk info, it says that it's that UUID. Ugh. What now?

Author:  alien [ Sun Dec 13, 2009 9:31 am ]
Post subject: 

I suspect the USB is not coming up fast enough.

You might try adding a sudo mount to your .fluxbox/apps file. USB should be up by that point. If not, you can try something like sleep 10;sudo mount xxx to the same apps file.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/