Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LVM support #5

Open
jjfam1 opened this issue Dec 12, 2013 · 1 comment
Open

LVM support #5

jjfam1 opened this issue Dec 12, 2013 · 1 comment

Comments

@jjfam1
Copy link

jjfam1 commented Dec 12, 2013

LVM needs read-write access to /etc/lvm in install media

FIX:
mount -t tmpfs tmpfs /etc/lvm

grub2 installs /dev/mapper/vgname-root instead of device MBR /dev/vda
do not let installer write to logical volume and write to device

FIX:

bind mount proc, dev, and sys so grub can find partitions and install
mount -o bind /proc /mnt/proc
mount -o bind /sys /mnt/sys
mount -o bind /dev /mnt/dev

actually put the grub2 binaries on the filesystem and install to MBR
cd /mnt && tar xf /var/cache/lunar/grub2*
cd /
chroot /mnt
grub-install /dev/vda

create initramfs and add entry for grub
grub-mkconfig > /boot/grub/grub.cfg

mkinitrd /boot/initramfs-3.11.4.img 3.11.4

edit files to allow booting as initrd is not in grub.cfg

@Ratler
Copy link
Member

Ratler commented Sep 21, 2014

It's possible with a few manual steps through the "exit to shell" function within the installer to achieve all of the above. However we intend to add a LVM editor in the installer. This is a long term goal for the next major release.

@Ratler Ratler added this to the 1.8.0 milestone Sep 21, 2014
@Ratler Ratler modified the milestones: 1.8.0, 1.9.0 Apr 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants