You are not logged in.

#1 2010-01-29 15:26:15

JerichoKru
Member
From: East Coast US
Registered: 2009-02-19
Posts: 80
Website

[Solved]Hard Dive doesn't mount properly at boot.

Almost at every boot/re-boot the system keeps mounting the HDD incorrectly.  What I mean by this is instead of mounting the HDD with arch on it as /dev/sda as it should, it most of the time mounts it as /dev/sdc, this (i think) causes my "Filesystem check failed".  To actually get into arch, I have to fiddle with fsck and fdisk commands and keep rebooting until it gets the order right.


Here's my fstab:

/dev/sda2    /    reiserfs    defaults    0    1
/dev/sda1    /boot    ext2        defaults    0    1
/dev/sdc4    /media/DATA        ntfs-3g    defaults,locale=en_US.UTF-8    0    0
/dev/sdb1    /media/DataII        ntfs-3g    defaults,locale=en_US.UTF-8    0    0
/dev/sda4    /media/DataIII        ntfs-3g    defaults,locale=en_US.UTF-8    0    0
/dev/sdc3    /media/Windows7        ntfs    defaults,nls=utf8,umask=0222    0    0
none        /dev/pts    devpts    defaults    0    0
none        /dev/shm    tmpfs    defaults    0    0
/dev/sda3    swap    swap    defaults    0    0

It didn't look this messy before...I guess it's ntfs-config's fault and I don't know why the "/dev/pts" and "/dev/shm" are there...never saw them before.

Last edited by JerichoKru (2010-01-30 17:25:57)

Offline

#2 2010-01-29 15:33:40

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: [Solved]Hard Dive doesn't mount properly at boot.

It seems you have several disks, in which case their order (which one is sda, sdb etc) can be random. I suggest using labels or uuids instead. That should solve this problem.


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#3 2010-01-29 16:19:39

JerichoKru
Member
From: East Coast US
Registered: 2009-02-19
Posts: 80
Website

Re: [Solved]Hard Dive doesn't mount properly at boot.

I am unfamiliar with uuids...how would I edit fstab with one?

Offline

#4 2010-01-29 16:30:51

davidm
Member
Registered: 2009-04-25
Posts: 371

Re: [Solved]Hard Dive doesn't mount properly at boot.

JerichoKru wrote:

I am unfamiliar with uuids...how would I edit fstab with one?

http://wiki.archlinux.org/index.php/UUID

Check the beginner's guide as I am fairly sure it has a section on setting this up.

Here's mine:

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

#/dev/cdrom             /media/cd   auto    ro,user,noauto,unhide   0      0
#/dev/dvd               /media/dvd  auto    ro,user,noauto,unhide   0      0
#/dev/fd0               /media/fl   auto    user,noauto             0      0

/dev/disk/by-uuid/34988511-cc3e-4d69-ba0f-36336bdce0d1 /boot ext2 defaults 0 1
/dev/disk/by-uuid/746a7c7b-bf99-4710-88e8-3e9953ee267b swap swap defaults 0 0
/dev/disk/by-uuid/0335ee8e-681b-478c-b053-dd0dee2246cb / ext4 defaults 0 1
/dev/disk/by-uuid/31766988-eb5b-4c43-a1c5-d871a3f33076 /home ext4 defaults 0 1

Offline

#5 2010-01-29 16:41:15

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: [Solved]Hard Dive doesn't mount properly at boot.


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#6 2010-01-30 17:25:40

JerichoKru
Member
From: East Coast US
Registered: 2009-02-19
Posts: 80
Website

Re: [Solved]Hard Dive doesn't mount properly at boot.

Thanks for the help, it's fixed.

Offline

Board footer

Powered by FluxBB