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

Success with Alpine Sys LVM Install #285

Open
dfwarden opened this issue Jul 16, 2017 · 3 comments
Open

Success with Alpine Sys LVM Install #285

dfwarden opened this issue Jul 16, 2017 · 3 comments

Comments

@dfwarden
Copy link

I was able to do a "sys" install of Alpine linux using iohyve 0.7.9 with the loader set to grub-bhyve and the os set to custom. The following grub.conf got me to boot the iso correctly:

set root=(cd0,msdos1)
linux /boot/vmlinuz-hardened modules=loop,squashfs,sd-mod,usb-storage quiet nomodeset
initrd /boot/initramfs-hardened
boot

One note about this is that it appears you must do the "set root=" part. I first tried to prepend the (cdX,msdosY) of your Alpine installer ISO and boot, but I got script errors that seemed to prevent me from doing a sys install with LVM enabled. I'm new to both Alpine and Bhyve/Iohyve, but I suspect this is an Alpine quirk.

After doing a sys install with LVM enabled, I was able to boot to the new install with the following grub.conf:

set root=(hd0,msdos1)
linux /vmlinuz-hardened root=/dev/vg0/lv_root modules=sd-mod,usb-storage,ext4 nomodeset quiet rootfstype=ext4
initrd /initramfs-hardened
boot

Thanks for all your work on iohyve. 😃

@pr1ntf
Copy link
Owner

pr1ntf commented Jul 19, 2017

First off, thanks for the kind words!

Fantastic work! If you don't mind, I'll take this "recipe" and add Alpine to the list of supported OS's.

Thanks for taking the time to let us know about a working solution!

@pr1ntf
Copy link
Owner

pr1ntf commented Jul 19, 2017

Did you make any changes to the device.map file?

More info can be found here.

@dfwarden
Copy link
Author

dfwarden commented Jul 21, 2017 via email

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