Slackware-current installer fails to find ESP on /dev/nvme0n1p1
by blizzack from LinuxQuestions.org on (#5HBRX)
Hello Fellow Slackers,
Wanna say I appreciate the Slackware team and all those that frequent the LQ Slackware forum for all you have done and continue to do. I always learn something w/ Slackware...which is why it's the best distro IMO.
I had a devil of a time installing our favorite Linux distro on a work issued laptop computer.
Computer: HP Spectre x360 Convertible 15t-eb000.
Version: Slackware64 -current (build 2021-04-26 22:04:20 UTC)
ISO pulled from: https://slackware.nl/slackware/slackware64-current-iso/
The machine uses an NVME drive.
I have the installer on a USB stick on /dev/sda
I wiped 2048 sectors like so:
Code:dd if=/dev/zero of=/dev/nvme0n1 bs=512 count=2048I use 'gdisk' to create my partitions.
I follow similar instructions to encrypt my entire drive from the section "Combining LUKS and LVM"
https://slackware.nl/slackware/slack...ADME_CRYPT.TXT
I also make sure the ESP has a vfat filesystem on it...like so:
Code:mkfs.vfat -F 32 /dev/nvme0n1p1I get the following message :
Code:Cannot initialize conversion from codepage 850 to ANSI_X3.4-1968: Invalid argument
Cannot initialize conversion from ANSI_X3.4-1968 to codepage 850: Invalid argument
Using internal CP850 conversion table'lsblk' states that the partition is 'vfat' so i proceed anyway.
I setup my partitions to look like so:
Code:NAME SIZE TYPE
nvme0n1 476.9G disk
|-nvme0n1p1 200M part
`-nvme0n1p2 476.2G partWith EFI on /dev/nvme0n1p1 and LVM on /dev/nvme0n1p2
I go thru our normal 'setup' routine but when selecting the TARGET
the setup fails to pick up ESP. Instead it finds the ESP on the USB install
media and tells me that it will add the following info to my /etc/fstab:
Code:/dev/sda /boot/efi vfat defaults 1 0grrr...this is not what I want
The only way around this was to NOT use Linux LVM.
Instead I created multiple partitions like so.
Code:NAME SIZE FSTYPE TYPE MODEL MOUNTPOINT
nvme0n1 476.9G disk KXG60ZNV512G KIOXIA
|-nvme0n1p1 256M ext4 part /boot
|-nvme0n1p2 256M vfat part /boot/efi
|-nvme0n1p3 24M swap part [SWAP]
`-nvme0n1p4 476.2G ext4 part /The above was not ideal for me...but at least I got the machine to boot correctly and use the ESP from it's own drive.
Can anyone advise me on what I may be doing incorrectly here ??
Many thx in advance!
Wanna say I appreciate the Slackware team and all those that frequent the LQ Slackware forum for all you have done and continue to do. I always learn something w/ Slackware...which is why it's the best distro IMO.
I had a devil of a time installing our favorite Linux distro on a work issued laptop computer.
Computer: HP Spectre x360 Convertible 15t-eb000.
Version: Slackware64 -current (build 2021-04-26 22:04:20 UTC)
ISO pulled from: https://slackware.nl/slackware/slackware64-current-iso/
The machine uses an NVME drive.
I have the installer on a USB stick on /dev/sda
I wiped 2048 sectors like so:
Code:dd if=/dev/zero of=/dev/nvme0n1 bs=512 count=2048I use 'gdisk' to create my partitions.
I follow similar instructions to encrypt my entire drive from the section "Combining LUKS and LVM"
https://slackware.nl/slackware/slack...ADME_CRYPT.TXT
I also make sure the ESP has a vfat filesystem on it...like so:
Code:mkfs.vfat -F 32 /dev/nvme0n1p1I get the following message :
Code:Cannot initialize conversion from codepage 850 to ANSI_X3.4-1968: Invalid argument
Cannot initialize conversion from ANSI_X3.4-1968 to codepage 850: Invalid argument
Using internal CP850 conversion table'lsblk' states that the partition is 'vfat' so i proceed anyway.
I setup my partitions to look like so:
Code:NAME SIZE TYPE
nvme0n1 476.9G disk
|-nvme0n1p1 200M part
`-nvme0n1p2 476.2G partWith EFI on /dev/nvme0n1p1 and LVM on /dev/nvme0n1p2
I go thru our normal 'setup' routine but when selecting the TARGET
the setup fails to pick up ESP. Instead it finds the ESP on the USB install
media and tells me that it will add the following info to my /etc/fstab:
Code:/dev/sda /boot/efi vfat defaults 1 0grrr...this is not what I want
The only way around this was to NOT use Linux LVM.
Instead I created multiple partitions like so.
Code:NAME SIZE FSTYPE TYPE MODEL MOUNTPOINT
nvme0n1 476.9G disk KXG60ZNV512G KIOXIA
|-nvme0n1p1 256M ext4 part /boot
|-nvme0n1p2 256M vfat part /boot/efi
|-nvme0n1p3 24M swap part [SWAP]
`-nvme0n1p4 476.2G ext4 part /The above was not ideal for me...but at least I got the machine to boot correctly and use the ESP from it's own drive.
Can anyone advise me on what I may be doing incorrectly here ??
Many thx in advance!