Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: Ubuntu 9.04 vindt externe harde schijf niet bij opstarten  (gelezen 931 keer)

Offline livino

  • Lid
Ubuntu 9.04 vindt externe harde schijf niet bij opstarten
« Gepost op: 2009/06/13, 11:23:03 »
Als ik Ubuntu 9.04 opstart, wordt mijn externe harde schijf niet onmiddellijk herkend (WD Elements). Pas als ik een usb-stick aansluit, gaat hij daar automatisch naar op zoek en vindt hij ook mijn harde schijf.

Kan ik het zodanig instellen dat mijn externe harde schijf gevonden wordt bij het opstarten?

Lieven

Re: Ubuntu 9.04 vindt externe harde schijf niet bij opstarten
« Reactie #1 Gepost op: 2009/06/13, 13:49:27 »
natuurlijk kan dit.Je moet zelf even de schijven in je fstab aanmaken,dan wordt die bij het opstarten meteen meegenomen.Hier heb je even een beschrijving hoe het moet./etc/mtab contains a list of the currently mounted filesystem. As you can see, both of your USB drives have been mounted with umask=077. As is described in the link, this option is what is causing the filesystem to be readible only by you. The only way to change this is to remount the drive with a different umask and the best way I know of to make that umask permanent is to edit the /etc/fstab file.

The above link I gave gives pretty comprehensive which I know can be a bit intimidating. Here is a brief summary that may work for you:

1) Run the following command:

ls /dev/disk/by-uuid -alh

This will list all your disks and show the UUID. what you shoudl see is a directory listing that has a funny string of numbers followed by an arrow pointing at something like ../../sdh1. The funny string of numbers is the UUID, Since you are dealing with a USB device, we want to list the drive by it's uuid in fstab.

2) Copy and paste the UUID that points to ../../sdh1 to a text file. This will be the UUID related to the usb drive named "Elements"

3) Run the command: gksudo gedit /etc/fstab
4) Enter your password when prompted.
5) Enter your password when prompted.
6) Add the following line to the end of the file:

UUID=fab05680-eb08-4420-959a-ff915cdfcb44 /media/Elements vfat user,uid=1000,gid=1000,utf8,umask=022,flush 0 0

(Just in case it gets formated incorrectly, that should all be one line)

NOW, after the UUID= you will want to substitute the UUID you copied in step 2.

7) Run the command

sudo umount /media/Elements

8) Make sure that /media/Elements exists by running: ls -al /media/
9) If it doesn't exist: sudo mkdir /media/Elements
10) Run the command: sudo mount /media/Elements
12) Check if the filesystem has the permissions you want: ls -l /media
13) Run the command: sudo umount /media/Elements
14) Unplug the USB drive and Plug it back in to ensure that it mounts automatically when you plug it in. Also ensure that it still has the permissions you want.

You will then have to repeate similar procedures for your other drives. I wrote these directions somewhat quickly so post any errors you get back here.
Dreamstudio 11.10

Re: Ubuntu 9.04 vindt externe harde schijf niet bij opstarten
« Reactie #2 Gepost op: 2009/06/13, 16:00:30 »
Ziet er veel en veel te moeilijk uit... Pysdm installeren ;)

Re: Ubuntu 9.04 vindt externe harde schijf niet bij opstarten
« Reactie #3 Gepost op: 2009/06/14, 13:21:35 »
dit lijkt moeilijker dan het is.Ik had het probleem dat ik niet de rechten kon veranderen.Met deze oplossing wou dat dus wel weer.Je leert nu ook weer wat hoe linux in elkaar zit en funcioneert.Als er nog meer hulp nodig is dan hoor ik het wel.Succes =D =D
Dreamstudio 11.10