Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-28-2008, 04:14 PM
|
#1
|
LQ Newbie
Registered: Jan 2008
Distribution: Ubuntu, Suse 11, etc...
Posts: 20
Rep:
|
GRUB hard disk error on fresh ubuntu RAID install
Clean install of Gutsy Server, set up partitions manually for softwareRAID like so:
Drive 1: auto partitioned into 2 partitions, root and swap
drive 2: same as drive one
changed all 4 partitions to "use as physical volume for RAID"
disks 3 and 4: one partition, use for RAID.
set up RAID as RAID1, 3 different devices: 1 for root, 1 for swap(disks 1 and 2), 1 for home (on disks 3 and 4)
went back to partitioner, set raid device 1, which happened to be the home partition, to mount as /home
set raid device 2 to mount as /
set raid device 3 to mount as swap
wrote changes to disk, finished installation, and got the "GRUB hard disk error"
I know from googling that this means grub can't map the disk geometry, which isn't very suprising.
Booted into knoppix and both RAID devices are there, and root has all the stuff in it it's supposed to have.
Did i do something wrong? possibly RAIDing the swap is wrong? What do i do next?
Thanks!
|
|
|
01-28-2008, 06:05 PM
|
#3
|
LQ Newbie
Registered: Jan 2008
Distribution: Ubuntu, Suse 11, etc...
Posts: 20
Original Poster
Rep:
|
looks great, thanks. I got ubuntu to load by unplugging the second hd in the array. Now, trying to edit the grub configuration, typing "device (hd0) /dev/sda" as well as sdb gives "Error 15: file not found"
any suggestions?
|
|
|
01-28-2008, 10:59 PM
|
#4
|
LQ 5k Club
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842
Rep: 
|
since you mention sda etc I assume you have sata drives?
do you have a /boot/grub/device.map file and if so can you post contents.
mine is
(fd0) /dev/fd0
(hd0) /dev/sda
Yes I use a floppy drive to flash my bios. Yes I have only one sata I do not like any raid.
in case our replies are delayed....pls check out my troubleshooter...it won't help with the device.map file but it will help you see if grub can find its /boot partition or subfolder.
|
|
|
01-29-2008, 11:22 AM
|
#5
|
LQ Newbie
Registered: Jan 2008
Distribution: Ubuntu, Suse 11, etc...
Posts: 20
Original Poster
Rep:
|
Yes, they are all SATA.
(hd0) /dev/sda
(hd1) /dev/sdb
(hd2) /dev/sdc
(hd3) /dev/sdd
(hd4) /dev/sde
in case you need it /proc/mdstat:
md1 : active raid1 sdb1[0] sdc1[1](S)
x blocks [1/1] [U]
md3 : active raid1 sda5[0]
x blocks [1/1] [U]
md2 : active raid1 sda1[0]
x blocks [1/1] [U]
for md2 and md3 the other hard drive is disconnected. Now that i'm looking at that that doesn't look quite right?
anyway, i took a quick glance at your guides last night but wasn't certain what i was looking for. I'll give it another go.
Thanks for your help!
edit:
So i went ahead and reinstalled, this time leaving /boot and swap out of the raid. No luck, i get the same error.
As part of the process of cutting out variables i removed that last drive, so now device.map looks like:
(hd0) /dev/sda
(hd1) /dev/sdb
(hd2) /dev/sdc
(hd3) /dev/sdd
I've tried many different things trying to get this to work, maybe it's time to try a completely different approach. What i'm thinking is i could just get a small drive for the OS and back it up manually, then have the rest with all the data on them RAIDed. Are there any packages that just allow you to copy an entire hard drive to another drive?
Last edited by dreamer.redeemer; 01-29-2008 at 12:03 PM.
Reason: more info
|
|
|
All times are GMT -5. The time now is 01:16 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|