You are not logged in.

#1 2018-10-19 03:46:32

incantator
Member
Registered: 2018-10-19
Posts: 15

VMware UEFI LVM systemd boot failure due to wrong UUID... what to do?

Hello, I need help resolving boot failure. I'm using VMware Workstation Player. I've followed the Arch wiki and my configuration is as follows:

1. Partition Scheme
- sda1: efi boot drive (200M)
- sda2: LVM (49.8G)
   - lv: swap (2G)
   - lv: root (10G)
   - lv: home (30G)

2. Boot loader: systemd

https://imgur.com/a/l08fMiF

The problem was that, as you can see in the link above, I used the kernel parameter 'options root=UUID=...' where the UUDI is pointing at the value of root logical volume, but later in the wiki https://wiki.archlinux.org/index.php/LVM I found that I should write /dev/vg1/root. But now, I am on a shell where I cannot use nano and what not so I'm not sure how I'm supposed to edit the configuration file. In the menu, I can go to boot manager, but I'm not sure what to do there, either. Wiki says I should press e to edit, but my systemd config had a parameter 'edit no'...

Please help this newbie! I'm keep looking at the wiki (kernel parameters etc) but I don't know how to execute them. I'll provide more detail as needed.

[Edited] What is even more painful is that I cannot use loadkeys to change the keyboard layout to dvorak-progrommer. But the layout in Windows allows the capslock to change the special keys to number keys, but not in Linux.
I apologize for not providing any command line outputs; I just simply can in the shell.

[Edited2] I was able to get into the original shell via boot manager (I had to click something like 'Virtual IDE CD-ROM'). Here is the result of lsblk and fdisk -l:

https://imgur.com/a/qZxLse2

/dev/sda1 is mounted on /mnt/boot, /dev/vg1/root to /mnt and /dev/vg1/home to /mnt/home.

I also tried 'options root=/dev/mapper/vg1-root rw' and 'options root=/dev/vg1/root' but both didn't work.... please help! I'm out of solutions now.

[Edited3] fstab and systemd boot config: https://imgur.com/a/rrsCacf

Last edited by incantator (2018-10-19 06:52:17)

Offline

#2 2018-10-19 07:52:21

philipW
Member
Registered: 2017-03-21
Posts: 145

Re: VMware UEFI LVM systemd boot failure due to wrong UUID... what to do?

Can you post the output of "blkid" and can you show the contents of "/etc/fstab" and your kernel parameters(i am not experienced with systemd boot).
you should be able to boot an arch iso and mount your partitions then use arch-chroot.

Offline

#3 2018-10-19 08:04:46

incantator
Member
Registered: 2018-10-19
Posts: 15

Re: VMware UEFI LVM systemd boot failure due to wrong UUID... what to do?

@philipW Thank you very much for your reply! I'm currently using VMware and not sure how I should copy the outcome nicely as others are doing; I can make it as a file and then copy it, but the memory is not transferred to the host. That is why I uploaded the pictures instead. I'd be glad to learn what method I can use to upload the result as a text file.

fstab and my kernel parameters are listed in the last picture of which the link I have provided. Here is the link for blkid: https://imgur.com/a/gWSrsiL

Offline

#4 2018-10-19 08:19:53

philipW
Member
Registered: 2017-03-21
Posts: 145

Re: VMware UEFI LVM systemd boot failure due to wrong UUID... what to do?

Is it correct that line 8 and 9 of your "/etc/fstab" are on two lines or is it just like that in the output of cat?
I always use ssh to communicate with my vmware vm's. I also think if you are on a windows machine you can just click the virtual disk and you open its contents.

Offline

#5 2018-10-19 08:48:03

incantator
Member
Registered: 2018-10-19
Posts: 15

Re: VMware UEFI LVM systemd boot failure due to wrong UUID... what to do?

Yes, it is just cat doing it (checked with nano).

I'm not that good at using vm; just trying to learn linux. The mouse doesn't work in the shell, there are several files in the corresponding VMware workstation player folder but none of them seem to contain the command outputs.

Last edited by incantator (2018-10-19 08:48:23)

Offline

Board footer

Powered by FluxBB