You are not logged in.

#1 2007-07-26 11:20:48

vomix
Member
From: Belgium
Registered: 2007-05-02
Posts: 84

[Solved]Can't mount external hdd at boot!

Hi!

I'm trying to mount my new external hdd (Lacie USB2) at boot, but without success.
To avoid random device name (sdx, sdy), I would like to use UUID in my fstab file.

I've read this wiki.

I think my configuration is ok, but there's an error at boot saying "Device with UUID xxxxxxxx doesn't exist, can't mount it", or something like that.

Here are some commands:

[eko@nodrom ~]$ fdisk -l

Disque /dev/sdb: 500.1 Go, 500107862016 octets
255 têtes, 63 secteurs/piste, 60801 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sdb1   *           1       60801   488384001    c  W95 FAT32 (LBA)

[eko@nodrom ~]$ /bin/ls -lF /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 jui 26 13:06 1da8b247-2a03-4a00-817c-d4da8df63488 -> ../../sda2
lrwxrwxrwx 1 root root 10 jui 26 13:06 485e9b10-fce5-4cbd-b23a-81f232d23bc5 -> ../../sda1
lrwxrwxrwx 1 root root 10 jui 26 13:06 6853-5BA9 -> ../../sdb1
lrwxrwxrwx 1 root root 10 jui 26 13:06 8aa3ce4c-5e2a-48c8-b3c3-38d02b4c0e68 -> ../../sda3

And my fstab file:

#
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0


/dev/cdrom /mnt/cdrom   iso9660   ro,user,noauto,unhide   0      0
/dev/dvd /mnt/dvd   udf   ro,user,noauto,unhide   0      0
/dev/sda1 / ext3 defaults 0 1
/dev/sda2 swap swap defaults 0 0
/dev/sda3 home ext3 defaults 0 1
#Disque dur externe
UUID=6853-5BA9    /media/hdd    vfat    rw,user,auto,exec,gid=100,uid=1000,umask=002,iocharset=utf8,codepage=850,shortname=mixed    0    0

Could someone help me?

Thanks in advance!

Last edited by vomix (2007-08-09 17:56:28)

Offline

#2 2007-07-26 16:44:59

lang2
Member
Registered: 2006-02-10
Posts: 386

Re: [Solved]Can't mount external hdd at boot!

I'm yet to try this myself (thanks for the wiki link.)

But on the wiki page it says:

/dev/disk/by-uuid/31f8eb0d-612b-4805-835e-0e6d8b8c5591, not the syntax you posted.

Offline

#3 2007-07-27 11:53:17

vomix
Member
From: Belgium
Registered: 2007-05-02
Posts: 84

Re: [Solved]Can't mount external hdd at boot!

Hi,

Thanks for your reply.

But even with /dev/disk/by-uuid/6853-5BA9 in my fstab file, it fails to automount it. sad

It says "Special device with UUID=6853-5BA9 does not exist".

The weird thing is that I can mount it manually without problems.
(In fact, that's not true, I've the same problem than steven.  May it be a kernel-related problem?)

Or maybe there's a fault in the rest of my fstab line? (iocharset, guid, etc?)

In the case of a kernel related bug, how could I downgrade it?
I've tried with "pacman -U kernel26-2.6.21.6-1.pkg.tar.gz" in /var/cache/pacman/pkg but it broke my xorg server at reboot. hmm

Offline

#4 2007-07-29 11:00:20

vomix
Member
From: Belgium
Registered: 2007-05-02
Posts: 84

Re: [Solved]Can't mount external hdd at boot!

Bump!

I'm sorry to insist like that, but that's an annoying problem! big_smile

@lang2: is this wiki working for you?

Offline

#5 2007-08-11 11:46:54

audaly
Member
From: France
Registered: 2004-12-13
Posts: 60

Re: [Solved]Can't mount external hdd at boot!

I've the same problem! I tried by-uuid and by id but it always says "Special device with XXXXXXXXXXXXXXXX does not exist".

Offline

#6 2007-08-12 11:21:48

audaly
Member
From: France
Registered: 2004-12-13
Posts: 60

Re: [Solved]Can't mount external hdd at boot!

I solved the problem by adding usb in the HOOKS section of my mkinitcpio.conf:

HOOKS="base udev autodetect sata usb filesystems"

Offline

#7 2007-08-12 12:18:26

vomix
Member
From: Belgium
Registered: 2007-05-02
Posts: 84

Re: [Solved]Can't mount external hdd at boot!

Yep, I've solved it too, but with a different method, adding "usb-storage" to the MODULES line.

MODULES="pata_sis ata_generic usb-storage"

I don't know what's the difference or the best method, but it works! wink

Offline

Board footer

Powered by FluxBB