You are not logged in.

#1 2021-10-19 14:38:23

highend
Member
Registered: 2016-02-12
Posts: 7

Does not work with manually created LVM setup?

Hi,

I did the following before I started archinstall:

parted -s /dev/sdb mklabel gpt

parted -s /dev/sdb mkpart ESP fat32 1MiB 512MiB
parted -s /dev/sdb set 1 boot on

parted -s /dev/sdb mkpart primary 512MiB 393216MiB
parted -s /dev/sdb set 2 lvm on

pvcreate /dev/sdb2

vgcreate vgos /dev/sdb2

lvcreate -n root -L32768M vgos
lvcreate -n home -L393216M vgos

mkfs.fat -n EFI /dev/sdb1

mkfs.ext4 -L root /dev/vgos/root
mkfs.ext4 -L home /dev/vgos/home


mount /dev/mapper/vgos-root /mnt
mkdir -p /mnt/boot
mkdir -p /mnt/home
mount /dev/sdb1 /mnt/boot
mount /dev/mapper/vgos-home /mnt/home

Then used archinstall and used /mnt when it came to the point of the selection of partitions
Used grub as the bootmanager

The installation went fine (at least I got no errors) but when I reboot I now only get this:

Starting version 249.5-1-arch
ERROR: device '/dev/mapper/vgos-root' not found. Skipping fsck.
mount: /new_root: no filesystem type specified.
You are now being dropped into an emergency shell.

Have I done anything wrong? How can I fix this?

Last edited by highend (2021-10-19 14:39:06)

Offline

Board footer

Powered by FluxBB