You are not logged in.

#1 2014-12-16 20:02:22

hanslovsky
Member
Registered: 2013-11-16
Posts: 13

[SOLVED] Unable to boot after replacing mainboard

I have a Lenovo X1 Carbon 2nd gen and had its defective mainboard replaced by Lenovo Tech Support. I had Arch Linux (single boot, no Windows) running and can't boot into it anymore. I used an Ubuntu live cd to see if the ssd is still working and I was able to backup all the data on the drive.


fdisk partition table for this drive:

Command (m for help): p
Disk /dev/sda: 477 GiB, 512110190592 bytes, 1000215216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 46AE643B-EBF5-47EB-926D-8535DEC50FA7

Device        Start        End   Sectors   Size Type
/dev/sda1      2048    1050623   1048576   512M EFI System
/dev/sda2   1050624   84936703  83886080    40G Linux filesystem
/dev/sda3  84936704 1000215182 915278479 436.4G Linux filesystem

contents of sda1 EFI System partition:

EFI
grub
initramfs-linux-fallback.img
initramfs-linux.img
initramfs-linux-samsung-netbook-fallback.img
initramfs-linux-samsung-netbook.img
vmlinuz-linux
vmlinuz-linux-samsung-netbook

I am pretty clueless as to where to start and am happy about any input.

Last edited by hanslovsky (2014-12-16 23:11:30)

Offline

#2 2014-12-16 20:38:52

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,679
Website

Re: [SOLVED] Unable to boot after replacing mainboard

If you're using EFI-mode booting, the new motherboard will be lacking your old NVRAM entries.

Arch-chroot in and re-install your bootloader/manager

Offline

#3 2014-12-16 23:09:57

hanslovsky
Member
Registered: 2013-11-16
Posts: 13

Re: [SOLVED] Unable to boot after replacing mainboard

Great, that worked!
I followed these instructions to chroot into my arch installtion from Linux live CD (section 'Using chroot'):
https://wiki.archlinux.org/index.php/Change_Root
Be aware of what you need to mount besides root, e.g. separate boot partition.

Then I folloed the intructions for GRUB (section 'UEFI systems):
https://wiki.archlinux.org/index.php/GRUB

I just logged back into my system and everything seems to be up and running nicely.
Thanks for pointing me in the right direction.

Offline

#4 2014-12-17 14:50:52

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,679
Website

Re: [SOLVED] Unable to boot after replacing mainboard

You're welcome smile

Offline

#5 2019-10-01 01:27:28

wondertx
Member
Registered: 2018-08-10
Posts: 9

Re: [SOLVED] Unable to boot after replacing mainboard

If you are using systemd-boot. Re-installation fixed the missing boot menu.
Have a look at https://wiki.archlinux.org/index.php/Sy … stallation

Offline

#6 2019-10-01 08:35:02

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 4,645

Re: [SOLVED] Unable to boot after replacing mainboard

This thread is five years old and marked [SOLVED]. Please do not necrobump.

Closing.


How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.

Offline

Board footer

Powered by FluxBB