Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
installing grub2 on raided /boot in the livecd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
dirtbag
Guru
Guru


Joined: 18 Feb 2003
Posts: 508
Location: NC

PostPosted: Fri Jun 13, 2014 1:39 am    Post subject: installing grub2 on raided /boot in the livecd Reply with quote

so Im installing a brand new gentoo server !
and Im not as familiar with grub2 as grub, and so I have raids set up like

livecd / # cat /proc/mdstat
Personalities : [raid10] [raid1] [raid6] [raid5] [raid4] [raid0] [linear] [multipath]
md127 : active raid1 sdb1[1] sda1[0]
204736 blocks [2/2] [UU]

md126 : active raid10 sdd1[1] sdc1[0]
71684608 blocks 256K chunks 2 far-copies [2/2] [UU]

md125 : active raid10 sda2[0] sdb2[1]
71479808 blocks 256K chunks 2 far-copies [2/2] [UU]

and when I try to do the grub2-install on md127 it fails miserably..

Quote:
(chroot) livecd / # grub2-install /dev/md127
/usr/sbin/grub2-bios-setup: warning: File system `ext2' doesn't support embedding.
/usr/sbin/grub2-bios-setup: warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
/usr/sbin/grub2-bios-setup: error: will not proceed with blocklists.
(chroot) livecd / #


whats the right way to do this?

-db
Back to top
View user's profile Send private message
dirtbag
Guru
Guru


Joined: 18 Feb 2003
Posts: 508
Location: NC

PostPosted: Fri Jun 13, 2014 1:51 am    Post subject: Reply with quote

ooh crap, I see what I did wrong..
i had to edit /etc/default/grub and add
Code:
GRUB_CMDLINE_LINUX_DEFAULT="dolvm domdadm"


and then do
grub2-mkconfig -o /boot/grub/grub.cfg
grub2-install /dev/sda
grub2-install /dev/sdb

-db
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum