Morning folks
So just built a new pc, first time moving from a mechanical HDD and bought an NVMe Samsung 960.
Although I have used LVM previously its the first time using UEFI along with an NVME SSD. The steps below are what I used to install a standard 14.2x64
1. cgdisk, Create 2 partitions, 1,EFI 200M, 2, rest LVm
2. PVcreate /dev/nvme1np1, VGCreate vggroup /dev/nvme1np1
3. Created 3 lv's swap, root, home.
Ran setup as usual.
Finished install
Exit setup but chroot into /mnt
Ran the following command as suggested by the mkinitrd command
Code:
mkinitrd -c -k 4.4.14 -f ext4 -r /dev/slackware-vg/root-lv -m nvme:usb-storage:xhci-hcd:xhci-pci:ohci-pci:ehci-pci:uhci-hcd:ehci-hcd:hid:usbhid:i2c-hid:hid_generic:hid-cherry:hid-logitech:hid-logitech-dj:hid-logitech-hidpp:hid-lenovo:hid-microsoft:hid_multitouch:jbd2:mbcache:ext4 -L -u -o /boot/initrd.gz
Exit from chroot
ran eliloconfig
Restarted computer
During the start it had failed about 1/4 of the way through with the error
"Mounting /device/initramfs on mnt no such file or directory. no /sbin/init found in rootdev.
To fix this I
1. vgscan --mknodes
2. vgchange -ay
mkdir /mnt/boot
mount /dev/nvmep01 /mnt/boot
mount /dev/vggroupname/lvname /mnt
exit
It has now successfully booted up and I am in KDE as we speak certainly not a proper fix, Ideally I would like to get the error fixed, but
is eliloconfig equivalent to lilo -v?
If i do an update including kernel will it just be a matter of running the mkinitrd script again and eliloconfig?