Installing grub2 on ubutntu with software raid mirroring

Posted by Marko on Server Fault See other posts from Server Fault or by Marko
Published on 2010-12-31T09:34:12Z Indexed on 2010/12/31 9:55 UTC
Read the original article Hit count: 206

Filed under:
|
|
|

Hi guys,

Can someone help me out on this? I accidentally installed grub on usb flash drive during ubuntu server installation. Now I cant boot system without drive attached to server.

I want to install grub on hard drive with grub-install but i don't know what to set as location for boot loader?

my fstab looks like this:

file system> mount point> type> options> dump> pass> proc
/proc proc
nodev,noexec,nosuid 0 0 /dev/mapper/pdc_jdbeghhjg1 /
ext4 errors=remount-ro 0 1 /dev/mapper/pdc_jdbeghhjg5 none
swap sw 0 0

and partition tables for hard drives as this:

Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048  1215662079   607830016   83  Linux
/dev/sda2      1215664126  1249998847    17167361    5  Extended
/dev/sda5      1215664128  1249998847    17167360   82  Linux swap / Solaris

Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1       75672   607830016   83  Linux
/dev/sdb2           75672       77809    17167361    5  Extended
/dev/sdb5           75672       77809    17167360   82  Linux swap / Solaris

?

© Server Fault or respective owner

Related posts about ubuntu

Related posts about install