PDA

View Full Version : [ubuntu] Hard Drive Boot issues after Re-install



HarrisonFan
December 2nd, 2008, 02:28 PM
Hi,

I recently reinstalled 8.10 and now have been seeing the time that it takes for my bios to detect the hard drives take a long time (usually about 60 sec). It will detect them eventually, and proceeds to load grub. One thing I noticed is after the reinstall, ubuntu seems to detect both drives as /dev/sdx instead of /dev/hdx. Any help would be great. Thanks!

Here is my fdisk -l output:


Disk /dev/sda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0006b8f9

Device Boot Start End Blocks Id System
/dev/sda1 * 1 851 6835626 83 Linux
/dev/sda2 852 4865 32242455 fd Linux raid autodetect

Disk /dev/sdb: 40.9 GB, 40982151168 bytes
255 heads, 63 sectors/track, 4982 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00085e3a

Device Boot Start End Blocks Id System
/dev/sdb1 1 973 7815591 82 Linux swap / Solaris
/dev/sdb2 974 4982 32202292+ fd Linux raid autodetect

Pumalite
December 2nd, 2008, 02:51 PM
Post your specs. Are using any kind of RAID? sda2 and sdb2 are strange.

HarrisonFan
December 2nd, 2008, 04:04 PM
Yes, I am using Raid 1 on sdb1 and sdb2. It seems like the raid is working. What other specs would help? Thanks!

Here is my df output:

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 6781704 3191008 3248916 50% /
tmpfs 257136 0 257136 0% /lib/init/rw
varrun 257136 112 257024 1% /var/run
varlock 257136 0 257136 0% /var/lock
udev 257136 2800 254336 2% /dev
tmpfs 257136 180 256956 1% /dev/shm
lrm 257136 2000 255136 1% /lib/modules/2.6.27-9-generic/volatile
/dev/md0 31948160 17060160 13277892 57% /home

caljohnsmith
December 2nd, 2008, 04:12 PM
Since you are using RAID and Ubuntu sees your HDDs as separate, I think you might find this link helpful:

https://help.ubuntu.com/community/FakeRaidHowto

How about giving that shot and let us know how it goes.

HarrisonFan
December 2nd, 2008, 05:14 PM
I am only mirroring my /home partition and not the root partition, is this something that FakeRaid can do as well?


My current setup:
Hard drive 1:
Root Partition
Home Partition (set up as raid device)

Hard Drive 2:
Swap
Home Partition (second part of raid device)

Pumalite
December 2nd, 2008, 05:17 PM
That's why you have a slow boot.

HarrisonFan
December 2nd, 2008, 05:19 PM
Please forgive my ignorance. Why would this configuration cause my machine to boot slowly?

Pumalite
December 2nd, 2008, 05:28 PM
Read caljohnsmith's link.
Here is one more:
http://ubuntuforums.org/showthread.php?t=247422

HarrisonFan
December 2nd, 2008, 07:07 PM
Thank you for those links, but I still do not understand why having a separate non-mirrored root partition and a mirrored /home partition will cause my hard drives to take a long time to register in the bios. Can I request a quick explanation? Thanks

HarrisonFan
December 3rd, 2008, 03:36 PM
In my last reply, I meant to mention that I have read through the links provided. I still do not see why this configuration takes a long time to boot. I could see where if my root partition was mirrored it may take longer to boot (if the raid device must be set up before the boot can take place). Please some more information would be helpful.

HarrisonFan
December 5th, 2008, 07:23 PM
Is there any way to fix this without reinstalling?

HarrisonFan
December 6th, 2008, 04:35 PM
I am still trying to figure this out. Would my problem go away if I added a third hd and reconfigured in the following way:

HD1
----
boot partition
root partition
swap

HD2 & HD3 set up as raid 1
----
only home partition

Thanks ahead of time for any responses.