[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian can not boot from RAID-1



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Yuriy

Yuriy Kuznetsov wrote:
> Hi Nick,
> 
> On Thu, Nov 26, 2009 at 11:52 PM, Nick Douma <n.douma@nekoconeko.nl
> <mailto:n.douma@nekoconeko.nl>> wrote:
> 
> If your server is anything like mine, your RAID card should abstract
> the RAID array, and present it as a single disk. I have this on a Dell
> server with 3 discs in RAID5.
> 
> 
>> Yes, that's right. But I can only see this when I go to RAID controller
>> utility(there is PERC 6i installed) pressing CTRL+S on initial boot of
>> the server.
> 
> 
> Did you by any chance install GRUB into the partition header instead
> of the MBR? That would explain not being able to boot into Debian.
> 
> 
>> Yes, I did installed GRUB during the installation process; installer
>> never asked me where I want to install it so I just assume it installed
>> it into the partition.
>> How can I change the location of GRUB now?
> 
>> Thanks a lot,
>> yuriy

The default action in de debian setup (in Lenny anyways) is installing
it to the MBR. Near the end of the setup it will try to detect any
already present OS's, and it will ask if the list is correct. On the
same screen it asks if you want to install GRUB to the MBR. I will
assume you answered No here.

You basically have two options:

* Rerun the setup, and choose to install to the MBR (easiest).

* Make a GRUB bootfloppy/usb stick. You can then manually run something
along the lines of

- - root (hd0,0)
- - setup hd(0)

This assumes that you have the grub /boot folder on the first partition
of the first disk. The second statement installs GRUB into the MBR of disk0.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAksQIhUACgkQkPq5zKsAFii+PACeMl0GjSwvIwIYSV7q4AUBJSph
Z10An3TgmHiEQEW33inlzADWWlOariix
=4DM7
-----END PGP SIGNATURE-----


Reply to: