LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   RAID1 and GRUB - error loading operating system (https://www.linuxquestions.org/questions/linux-general-1/raid1-and-grub-error-loading-operating-system-189226/)

kenji1903 06-03-2004 08:52 AM

RAID1 and GRUB - error loading operating system
 
I was doing these test on RAID1 with my two 40GB Seagate IDE hard drives...

Here's what I did:
* I took out hdc
* formatted it into NTFS under XP
* While waiting, I tried booting hda alone, it works fine
* after that I reinstalled hdc
* sfdisk-ed it so it will have identical partitions with hda
* then raidhotadd to add it back in to the RAID array
Now, hdc works fine... no worries at all

I did it again with hda, hdc boots fine by itself... but when i did the remaining steps and reboot, I get this:
Error loading operating system
I could not find this error message in the GRUB manual~

I got curious and unplugged hda's power, I can get into GRUB and managed to load Linux~!!!

Hope you guys get what I said above, haha :D
Do let me know if you all need more info...
This is some weird sh*t... well, at least its weird to me ;)

Oh yeah, before I ran those test, I did this in GRUB:
Code:

>device (hd0) /dev/hdc
>root (hd0,0)
>setup (hd0)

So i can boot both even if either drive fails (got this from http://lists.us.dell.com/pipermail/l...ly/014331.html if anyone is interested)

CheerS,
~WiLL~

kenji1903 06-03-2004 10:00 PM

Not enough info?
I'll provide more if someone could give me some advice here...
Thanks~

kenji1903 06-06-2004 01:49 AM

*bump*

kenji1903 06-06-2004 10:27 PM

I am like talking to myself :D

Always being curious, I changed the GRUB settings from hd0 to hd1 like so:
Code:

# grub
> device (hd1) /dev/hda
> root (hd1,0)
> setup (hd1)
> quit

Weirdly, i can boot into linux again!
I'm raidhotadd-ing my hda back into the array now, hoping that the data will be the same as hdc...

Hope someone out there can give me some advice whether what i'm doing is rational or not~ :confused:


All times are GMT -5. The time now is 03:03 PM.