You are not logged in.
Hi.
I have an image of my laptop HD, which I put into a Desktop PC. The laptop has an i7 processor, the desktop a different i7. The OS is Arch Linux. My systen (HD) is setup to boot in EFI mode. When I turn on the Desktop (Bios settings are set to UEFI, HD is detected) after a while I find myself in the BIOS screen again. No hint at all, what went wrong.
There is no special Hardware in the Desktop I am using the on board graphics card.
Does anyone have an idea how to deal with that?
Thanks,
-fuz
EDIT: Both, laptop have an i7 processor (different types). Initially I wrote laptop has an i5 processor.
Last edited by arch_fuz (2020-02-02 18:52:05)
Offline
So, do you have on both computers EFI or in one of them BIOS? Write more about boot partition setup and boot loader used.
Offline
Offline
Sorry, I am not very familar regarding boot process and driver issues. Please let me know if you need more info/clearification.
I have a /boot/grub/grub.cfg, so I guess my boot loader is grub.
This is an entry of the file, maybe this helps:
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,gpt2' --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 43fd205b-a298-45e8-a220-3a7
426442ecf
else
search --no-floppy --fs-uuid --set=root 43fd205b-a298-45e8-a220-3a7426442ecf
fi
echo 'Linux linux wird geladen …'
linux /vmlinuz-linux root=/dev/mapper/vg0-root rw cryptdevice=/dev/sda3:luks:allow-discards quiet
echo 'Initiale Ramdisk wird geladen …'
initrd /intel-ucode.img /initramfs-linux.imgMy partition setup is like this:
sda 8:0 0 931,5G 0 disk
├─sda1 8:1 0 500M 0 part /boot/efi
├─sda2 8:2 0 500M 0 part /boot
└─sda3 8:3 0 930,5G 0 part
└─luks 254:0 0 930,5G 0 crypt
├─vg0-swap 254:1 0 8G 0 lvm [SWAP]
├─vg0-root 254:2 0 100G 0 lvm /
├─vg0-mysql 254:3 0 20G 0 lvm /var/lib/mysql
├─vg0-VirtPool 254:4 0 400G 0 lvm /var/lib/libvirt
├─vg0-ARCHIV 254:5 0 150G 0 lvm /home/x/ARCHIV
└─vg0-Data 254:6 0 60G 0 lvm /var/lib/dataDoes this help?
Offline
Thanks for the URL. Right now I do not know what to reconfigure at all... ![]()
Offline
I have a /boot/grub/grub.cfg, so I guess my boot loader is grub.
Choosing a bootloader is a essential step in the installation guide.
Are you sure you followed the latest version of it when you last installed archlinux ?
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Thanks for trying to help me, Lone_Wolf.
Just a view moments ago, I got it running.
I will post back here if I can tell for sure which of the applied modifications was triggering success.
Offline
Hi.
Just in case someone will come over this and has a similar problem...
It turns out that just adding a boot entry solved the whole thing (no need for manipulating grub or bootimage, even I switched from nvidia to radeon graphics):
# switching to chroot
* Boot from CD/USB
* decrypt encrypted partition
cryptsetup open /dev/sda3 cryptmapper
* read LVM data
vgscan
* mount root filesystem and the others
mount /dev/mapper/vg0-root /mnt
(/dev/sda2 on /boot type ext2 (rw,relatime,stripe=4))
mount /dev/sda2 /mnt/boot
(/dev/sda1 on /boot/efi type vfat)
mount /dev/sda1 /mnt/boot/efi
* chroot: If you are using a Arch Linux live environment, then before configuring the bootloader, change root into the new system:
arch-chroot /mnt
# this did the trick after running in chroot (leave with exit when done):
efibootmgr --create --disk /dev/sda --part 1 --write-signature --loader /EFI/arch/grubx64.efi --label "GRUB" --verboseThanks,
-fuz
Offline