Welcome! Log In Create A New Profile

Advanced

Mounting drives after Reboot

Posted by wambo 
Mounting drives after Reboot
September 15, 2010 05:49PM
Hi

I have installed Debian today on the Dockstar. Everthing works perfect except the mounting of disk (USB) after reboot. If I have drives conected at the Dockstar during reboot there are not online if it is up again....I have to reconnect the drives....reboot again....connect the drives...and than it will works...

Thanks for your help
C.
Re: Mounting drives after Reboot
September 16, 2010 01:25AM
Re: Mounting drives after Reboot
September 16, 2010 04:00AM
Hi

Thanks for the quick answer. Just for clarification that this is the solution for the problem. My device is booting Debian from the USB-stick..so I have no problem there. It does not connect (mount) my drives in the USB port after reboot...Debian is booting ....I have to re-connect the drives..boot again...and connect if the system is up.

Christian
Re: Mounting drives after Reboot
September 16, 2010 05:49AM
If you wan't to automount external drives you need following:

debian:~$ blkid
/dev/sda1: LABEL="MP3" UUID="cf17ed2b-fb8a-49cf-bb75-adfe52bf7849" TYPE="ext2"
/dev/sda2: LABEL="Data" UUID="323852e7-6e71-4277-bf25-d9c673a32de9" TYPE="ext2"
/dev/sdb1: UUID="2a01384c-2301-42d6-bc85-98ebdfb1a7b3" TYPE="ext2"
/dev/sdb2: TYPE="swap"

Should looks similar to your message. Then edit the fstab:

debian:~$ nano /etc/fstab

Add these lines to your fstab (edit the UUID that it matches for you)
# Mount the external HDD
UUID=cf17ed2b-fb8a-49cf-bb75-adfe52bf7849 /mnt/mp3 ext2 rw,auto,user 0 0
UUID=323852e7-6e71-4277-bf25-d9c673a32de9 /mnt/data ext2 rw,auto,user 0 0

Save an reboot, hope this solves your problem!
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: