Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
"emerge grub" Fails on Xen DomU Install
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
JoDraX
n00b
n00b


Joined: 09 May 2015
Posts: 8
Location: USA/Michigan

PostPosted: Sun Jul 12, 2015 10:14 pm    Post subject: "emerge grub" Fails on Xen DomU Install Reply with quote

I'm attempting to install Gentoo in a Xen virtual machine and when I try to emerge Grub2, emerge gives an error saying "emake failed". I'm running on the amd64/13.0/systemd profile and only changed a few USE flags (systemd X alsa bindist bluetooth mmx sse sse2 sse3 sse4 ssse3 avx aes pclmul multilib ipv6 pulseaudio dbus)

I can supply any additional information which might be needed to troubleshoot the issue. Any direction on the issue would be appreciated!
_________________
-JoDraX
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3634

PostPosted: Mon Jul 13, 2015 8:11 pm    Post subject: Reply with quote

There should be no specific to be done because of domU;

Besides it being no used to be installed, as grub-mkconfig should suffice.
I don't know about systemd though.

May be you should try the same way your dom0, assuming it is systemd?

Thks 4 ur attention
Back to top
View user's profile Send private message
JoDraX
n00b
n00b


Joined: 09 May 2015
Posts: 8
Location: USA/Michigan

PostPosted: Tue Jul 14, 2015 4:01 pm    Post subject: Reply with quote

My dom0 is using systemd, but grub was installed before systemd on my dom0. And if I only need grub-mkconfig, is there a way to only install that and maybe the build won't fail then?
_________________
-JoDraX
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3634

PostPosted: Thu Jul 16, 2015 10:01 pm    Post subject: Reply with quote

Can you compile grub on dom0?
If you have dom0 on HD parttition, you should be able fiddle your grub compilation in chrooted env.
There seems to be no systemd flag for grub, anyway (which seems logical)
Back to top
View user's profile Send private message
JoDraX
n00b
n00b


Joined: 09 May 2015
Posts: 8
Location: USA/Michigan

PostPosted: Fri Jul 17, 2015 4:48 pm    Post subject: Reply with quote

I think I'll just try reinstalling the whole thing in a chroot and see how it goes.
_________________
-JoDraX
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3634

PostPosted: Mon Jul 20, 2015 9:54 pm    Post subject: Reply with quote

CaptainBlood wrote:
Can you compile grub on dom0?
If you have EDIT domU END oF EDIT on HD parttition, you should be able fiddle your grub compilation in chrooted env.
There seems to be no systemd flag for grub, anyway (which seems logical)
Back to top
View user's profile Send private message
JoDraX
n00b
n00b


Joined: 09 May 2015
Posts: 8
Location: USA/Michigan

PostPosted: Tue Jul 21, 2015 3:39 pm    Post subject: Reply with quote

I tried the install in a chroot, and everything worked fine! Thank you!

Also, I realized that pvgrub is legacy grub-based, so I ended up rolling back to legacy grub as well, which may have helped things go smoother.
_________________
-JoDraX
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