vpp
December 11, 2023, 11:48am
21
sudo parted -l:
Model: ATA WDC WD20EZRX-00D (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 2000GB 2000GB primary ext4
Model: ATA WDC WD1002FAEX-0 (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 315GB 315GB ntfs diskb msftdata
2 315GB 1000GB 686GB ext4 b
Model: ATA ADATA SU800 (scsi)
Disk /dev/sdc: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 2097kB 317MB 315MB fat32 boot, esp
2 317MB 247GB 246GB ext4 root
3 247GB 256GB 9449MB linux-swap(v1) swap
Model: USB Flash DISK (scsi)
Disk /dev/sdd: 8103MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 8070MB 8069MB primary boot
2 8070MB 8103MB 33.6MB primary fat16 esp
efibootmanager:
bash: efibootmanager: command not found
vpp
December 11, 2023, 11:53am
23
Thanks for the advice!
efibootmgr:
EFI variables are not supported on this system.
Is that parted -l output ok or should repeat it?
pebcak
December 11, 2023, 11:55am
24
That is ok but for better readability, please edit your previous post and format the text as has been described before.
This means you are booting the live usb in Bios mode. Please try booting it in UEFI mode.
vpp
December 11, 2023, 11:58am
25
I think I don’t know how to do it. Booting in UEFI mode. Unless it is a choice in Live USB.
Here’s the parted -l again:
Model: ATA WDC WD20EZRX-00D (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 2000GB 2000GB primary ext4
Model: ATA WDC WD1002FAEX-0 (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 315GB 315GB ntfs diskb msftdata
2 315GB 1000GB 686GB ext4 b
Model: ATA ADATA SU800 (scsi)
Disk /dev/sdc: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 2097kB 317MB 315MB fat32 boot, esp
2 317MB 247GB 246GB ext4 root
3 247GB 256GB 9449MB linux-swap(v1) swap
Model: USB Flash DISK (scsi)
Disk /dev/sdd: 8103MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 8070MB 8069MB primary boot
2 8070MB 8103MB 33.6MB primary fat16 esp
1 Like
pebcak
December 11, 2023, 12:05pm
26
For booting your usb in uefi mode, you could go into your Bios settings and disable Legacy/CSM boot mode and then boot up your live usb.
Once in the live usb, post the output of the efibootmgr.
Is this the disk with Enos ?
If /dev/sdc is your system disk, chroot:
sudo mount /dev/sdc2 /mnt
sudo mount /dev/sdc1 /mnt/boot/efi
arch-chroot /mnt
When in chroot, update your system and in case of any errors , post the whole of the output.
Also, from inside chroot, post:
pacman -Q | grep -E "mkinitcpio|dracut"
vpp
December 11, 2023, 12:11pm
27
Yes.
Thanks a lot! I’ll provide them soon.
vpp
December 11, 2023, 12:16pm
28
sudo pacman -Syu:
:: Synchronizing package databases...
endeavouros is up to date
core 129.1 KiB 334 KiB/s 00:00 [------------------------------------] 100%
extra 8.3 MiB 4.00 MiB/s 00:02 [------------------------------------] 100%
community is up to date
multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Package (2) Old Version New Version Net Change Download Size
extra/luajit 2.1.1700008891-1 2.1.1702233742-1 0.00 MiB 0.31 MiB
core/thin-provisioning-tools 1.0.8-1 1.0.9-1 0.03 MiB 0.97 MiB
Total Download Size: 1.29 MiB
Total Installed Size: 3.75 MiB
Net Upgrade Size: 0.03 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
luajit-2.1.1702233742-1-x86_64 322.2 KiB 1259 KiB/s 00:00 [------------------------------------] 100%
thin-provisioning-tools-1.0.9-1-... 996.1 KiB 2.49 MiB/s 00:00 [------------------------------------] 100%
Total (2/2) 1318.3 KiB 3.12 MiB/s 00:00 [------------------------------------] 100%
(2/2) checking keys in keyring [------------------------------------] 100%
(2/2) checking package integrity [------------------------------------] 100%
(2/2) loading package files [------------------------------------] 100%
(2/2) checking for file conflicts [------------------------------------] 100%
:: Processing package changes...
(1/2) upgrading luajit [------------------------------------] 100%
(2/2) upgrading thin-provisioning-tools [------------------------------------] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Checking which packages need to be rebuilt
pacman -Q… :
dracut 059-4
eos-dracut 1.2-1
mkinitcpio 37.1-1
mkinitcpio-busybox 1.36.1-1
mkinitcpio-nfs-utils 0.3-8
mkinitcpio-openswap 0.1.0-3
pebcak
December 11, 2023, 12:30pm
29
Updating your system seems to have gone fine.
Your issue is most probably due to having two initramfs-generator installed at the same time.
You should have one or another. Not both.
For now I would suggest to remove dracut (you could always switch to dracut later if you want):
In chroot:
pacman -Rs dracut
Then regenerate your initramfs:
mkinitcpio -P
When done, regenerate your grub.cfg:
grub-mkconfig -o /boot/grub/grub.cfg
In case of any errors, post the whole of terminal output from the relevant step above.
If no errors, quit chroot by typing exit followed by enter and reboot.
vpp
December 11, 2023, 12:58pm
30
Wonderful analysis! Thanks again!
I am right now out, but I hope I can still return to this later today.
vpp
December 12, 2023, 6:59am
31
Good morning!
I tried the procedure above and to my understanding all went well. However, the PC won’t boot itself. One small happened in grub-mkconfig:
Generating grub configuration file ...
Found theme: /boot/grub/themes/EndeavourOS/theme.txt
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot: intel-ucode.img initramfs-linux-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
ERROR: mkdir /var/lock/dmraid
Adding boot menu entry for UEFI Firmware Settings ...
done
Today I have a busy day and may not be able to join here. I may be able to briefly check the conversation by phone.
Thank you!
pebcak
December 12, 2023, 7:52am
32
We need more detailed info. What happens, what do you see when you boot your system, grub boot menu? Any messages after you choose your boot entry? Tell us more.
vpp
December 14, 2023, 8:24am
33
Hello, eventually I managed to get everything ok. First there was an issue with the boot entry. BIOS had labelled the “endeavouros*” entry invalid and would not use it. It had to be modified to allow the boot.
The next issue was the missing nvidia module. I fixed it with a new update (pacman -Syu). Also my virtual windows partition was also hit. I needed to renew the partition and install wmWare again.
Thanks a lot guys!
1 Like
pebcak
December 14, 2023, 8:34am
34
Great! Glad you got it all resolved!
1 Like
system
Closed
December 16, 2023, 8:35am
35
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.