Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xen and grub config with lvm on luks
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Fulgurance
Veteran
Veteran


Joined: 15 Feb 2017
Posts: 1198

PostPosted: Wed Dec 25, 2019 3:20 pm    Post subject: Xen and grub config with lvm on luks Reply with quote

Hello, i have simple question, but i think this simple question need more complexe reply. I have installed Xen, and all ebuild installation are good. But i have problem when i start to configure Xen for grub to boot from dom0. Ouch ...

Gentoo Wiki don't talk aboiut how to boot dom0 with LVM on LUKS installation. How and what parameters for Xen i need ?
Back to top
View user's profile Send private message
mimosinnet
l33t
l33t


Joined: 10 Aug 2006
Posts: 713
Location: Barcelona, Spain

PostPosted: Sun May 23, 2021 6:14 pm    Post subject: Reply with quote

I have managed to boot with support for lvm with these grub instructions:

Code:
menuentry 'Xen' {
   load_video
   insmod gzio
   insmod part_gpt
   insmod ext2
  set root='hd0,gpt2'
  multiboot /xen-4.13.3.gz placeholder dom0_mem=10240M loglvl=all softlevel=xen guest_loglvl=all
  module /vmlinuz-5.10.27-gentoo-x86_64 root=/dev/mapper/vga-rootfs ro keymap=es dolvm
  module /initramfs-5.10.27-gentoo-x86_64.img
}


Cheers!
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved.
Take care of the community answering unanswered posts.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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