INSTALLATION source:
creating media
during install:
http://wiki.alpinelinux.org/wiki/Setting_up_LVM_on_GPT-labeled_disks
EXCEPTIONS:
formatting boot:
ext4
===============
OTHER READS:
http://wiki.alpinelinux.org/wiki/Setting_up_disks_manually
error
mount: mounting /dev/vg0/alpine_root on /sysroot failed: No such file or directory
Mouting root failed
initramfs emergency recovery shell launched.
dmesg | less
kernel command line: root=/dev/vg0/alpine_root modules=sd-mod,usb-storage,ext4 nomodeset quiet
ATTACHED - LIST OF MIRROR SITES from: http://rsync.alpinelinux.org/alpine/MIRRORS.txt
vgchange -aymkdir /media/newrootmkdir /media/newroot/bootmount -t ext4 /dev/vg0/alpine_root /media/newrootmount -t ext4 /dev/nvme0n1p2 /media/newroot/bootvi /media/newroot/etc/fstab-- add entry:
/dev/vg0/alpine_swap swap sw 0 0 -- NOT WORKING
apk add --root=/media/newroot --initdb apk-tools mkinitfs....this adds mkinitfs to the mount filesystem
cp /media/newroot/lib/modules/4.1.15-2-grsec/kernel/drivers/block/nvme.ko /media/newroot/etc/mkinitfs/features.d/
cd /media/newroot/etc/mkinitfs/features.d/vi nvme.modules--- add line kernel/driver/block/nvme*
vi /media/newroot/etc/mkinitfs/mkinitfs.confmount -o bind /proc /media/newroot/procmount -o bind /dev /media/newroot/devmount -o bind /dev/pts /media/newroot/dev/ptsmount -o bind /sys /media/newroot/syschroot /media/newroot /bin/bashmkinitfs -f /etc/fstabexitthen check the size of initramfs-grsec in the following two dirs:
ls -lh /media/sdb/boot/ <-- ORIGINAL 15.3 megs
ls -lh /media/newroot/boot/ <-- updated and bloated 24.3 megs.
umount /media/newroot/bootumount /media/newroot/dev/ptsumount /media/newroot/devumount /media/newroot/procumount /media/newroot/sysumount /media/newroot/