You are not logged in.

#1 2009-11-10 04:10:08

anarxi
Member
From: schaumburg, IL
Registered: 2008-12-20
Posts: 55
Website

Boot problem. Hard drive priority

I constantly get my hardrives mixed up. I have sda and sdb.

Sda contains 4 partitions, 2 ntfs (Win boot + ntfs data) (Sda1 -ntfs , Sda2 - ntfs, sda3 - ext3, sda4 - swap). this hard drive is also hd0 and setup to kick in grub.

Another hardrive is Sdb with one partition.

Everytime my computer loads grub ok, and when I start archlinux, when I get to the point where [ok] [ok] starts, I get an error that partition sda3 does not exist or invalid filesistem bla bla. this is when my partitions got mixed up, sdA became sdB and vice versa. So I have to reboot couple times, till correct letter gets attached to hard drive neutral how can i setup so sdA always was sdA?


there is now knowledge that is not power

Offline

#2 2009-11-10 04:23:15

sHyLoCk
Member
From: /dev/null
Registered: 2009-06-19
Posts: 1,197

Re: Boot problem. Hard drive priority

What you are trying to say is your hard disk gets renamed dynamically? Post your fdisk -l
Are you using grub2 ?


~ Regards,
sHy
ArchBang: Yet another Distro for Allan to break.
Blog | GIT | Forum (。◕‿◕。)

Offline

#3 2009-11-10 04:27:42

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Boot problem. Hard drive priority


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#4 2009-11-10 04:29:37

anarxi
Member
From: schaumburg, IL
Registered: 2008-12-20
Posts: 55
Website

Re: Boot problem. Hard drive priority

yes thats what I said, sometimes harddrive is sda, sometimes same hard drive is sdb

[evil@homebox ~]$ sudo fdisk -l

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4b134b13

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        2295    18434556    7  HPFS/NTFS
/dev/sda2            2296       28521   210660345    f  W95 Ext'd (LBA)
/dev/sda3           28522       30162    13181332+  83  Linux
/dev/sda4           30163       30401     1919767+  82  Linux swap / Solaris
/dev/sda5            2296       28521   210660313+   7  HPFS/NTFS

Disk /dev/sdb: 250.1 GB, 250059350016 bytes
16 heads, 63 sectors/track, 484521 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Disk identifier: 0x49074907

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1      484521   244198552+   7  HPFS/NTFS


there is now knowledge that is not power

Offline

#5 2009-11-10 04:52:15

sHyLoCk
Member
From: /dev/null
Registered: 2009-06-19
Posts: 1,197

Re: Boot problem. Hard drive priority

Try uuid naming from the link by fsckd


~ Regards,
sHy
ArchBang: Yet another Distro for Allan to break.
Blog | GIT | Forum (。◕‿◕。)

Offline

#6 2009-11-10 13:01:02

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: Boot problem. Hard drive priority

There's something very wrong with your partition table!
There are at most 4 primary partitions - if you use more than 4 (like in your case), then /dev/sda4 is an extended partition which spans the remainder of the disk - thus:
1) /dev/sda1 through /dev/sda3 are ok - they are primary partitions
2) /dev/sda4 should be an extended partition
3) /dev/sda5 should be 'swap' and /dev/sda6 should be hpfs/ntfs

Offline

#7 2009-11-10 14:41:16

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Boot problem. Hard drive priority

perbh, the extended partition looks to be sda2.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#8 2009-11-10 16:52:16

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: Boot problem. Hard drive priority

ooops - sorry ... itchy fingers were faster than the eyes .. :-(

Offline

Board footer

Powered by FluxBB