MX Boot Repair cannot seem to reinstall GRUB and get me running again.
I think all the help I need is detailed instructions to get MX Boot Repair to successfully reinstall a bootable GRUB.
Thank you for creating/maintaining MX and for any assistance with this problem.
The hard disk is mountable and readable from the live-usb system. Here is its partition table:
Code: Select all
Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: CT1000MX500SSD1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xfc6cd71c
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 1953791 1951744 953M 83 Linux
/dev/sda2 1955838 1907783679 1905827842 908.8G 5 Extended
/dev/sda3 1907783680 1953523711 45740032 21.8G 82 Linux swap / Solaris
/dev/sda5 126955520 142579711 15624192 7.5G ef EFI (FAT-12/16/32)
/dev/sda6 142581760 1907363839 1764782080 841.5G 83 Linux
/dev/sda7 1957888 126953471 124995584 59.6G 83 Linux
Partition 2 does not start on physical sector boundary.
Partition table entries are not in disk order.
I post below the system information I can get, considering that in the live-usb system neither lspci nor Quick System Info works.
attempting to boot from HD:
Code: Select all
GRUB loading.
Welcome to GRUB!
error: file `grub/i386-pc/normal.mod not found.
grub rescue> _
=============================================================
Running from mx live usb (perfectly good running system):
Code: Select all
$ more /etc/mx-version
MX-21.2.1_x64 Wildflower September 18, 2022
Attempted to invoke Quick System Info from menu in live-usb session, got this error:
Code: Select all
PerlIO.pm did not return a true value at /usr/local/bin/inxi line 4037.
BEGIN failed--compilation aborted.
Boot Mode: BIOS (legacy, CSM, MBR)
Attempted to use lspci in live-usb session for system information:
Code: Select all
$ sudo lspci
Bus error
$ lspci -A linux-proc
lspci: I/O error at /usr/share/misc/pci.ids, line 0
$ sudo lspci -A intel-conf1
Bus error
demo@mx1:~
$ sudo lspci -A intel-conf2
Bus error
demo@mx1:~
$ sudo lspci -A linux-sysfs
Bus error
demo@mx1:~
$ sudo lspci -A linux-proc
Bus error
Getting system info in live-usb session from /proc:
Code: Select all
$ more /proc/bus/pci/input/devices
I: Bus=0003 Vendor=046d Product=400a Version=0111
N: Name="Logitech M325"
P: Phys=usb-0000:00:1a.0-1.2/input2:1
S: Sysfs=/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.2/0003:046D:C52B.0006/0003:046D:400A.0009/input/input10
U: Uniq=400a-61-8e-ee-30
H: Handlers=mouse0 event0
B: PROP=0
B: EV=17
B: KEY=ffff0000 0 0 0 0
B: REL=1943
B: MSC=10
I: Bus=0003 Vendor=046d Product=401b Version=0111
N: Name="Logitech M215 2nd Gen"
P: Phys=usb-0000:00:1a.0-1.1/input2:1
S: Sysfs=/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.2/0003:046D:C52B.0003/0003:046D:401B.0007/input/input11
U: Uniq=401b-f6-42-75-31
H: Handlers=mouse1 event1
B: PROP=0
B: EV=17
B: KEY=ffff0000 0 0 0 0
B: REL=1943
B: MSC=10
I: Bus=0003 Vendor=046d Product=4016 Version=0111
N: Name="Logitech K330"
P: Phys=usb-0000:00:1a.0-1.1/input2:2
S: Sysfs=/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.2/0003:046D:C52B.0003/0003:046D:4016.0008/input/input12
U: Uniq=4016-ab-61-ac-c5
H: Handlers=sysrq kbd leds event2
B: PROP=0
B: EV=12001f
B: KEY=3f000307ff 0 0 483ffff17aff32d bfd4444600000000 1 130ff38b17d007 ffff7bfad941dfff ffbeffdfffefffff fffffffffffffffe
B: REL=1040
B: ABS=100000000
B: MSC=10
B: LED=1f
I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input13
U: Uniq=
H: Handlers=kbd event3
B: PROP=0
B: EV=3
B: KEY=10000000000000 0
I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input14
U: Uniq=
H: Handlers=kbd event4
B: PROP=0
B: EV=3
B: KEY=10000000000000 0
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA NVidia HDMI/DP,pcm=3"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input15
U: Uniq=
H: Handlers=event5
B: PROP=0
B: EV=21
B: SW=140
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA NVidia HDMI/DP,pcm=7"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input16
U: Uniq=
H: Handlers=event6
B: PROP=0
B: EV=21
B: SW=140
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA NVidia HDMI/DP,pcm=8"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input17
U: Uniq=
H: Handlers=event7
B: PROP=0
B: EV=21
B: SW=140
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA NVidia HDMI/DP,pcm=9"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input18
U: Uniq=
H: Handlers=event8
B: PROP=0
B: EV=21
B: SW=140
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA NVidia HDMI/DP,pcm=10"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input19
U: Uniq=
H: Handlers=event9
B: PROP=0
B: EV=21
B: SW=140
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA NVidia HDMI/DP,pcm=11"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input20
U: Uniq=
H: Handlers=event10
B: PROP=0
B: EV=21
B: SW=140
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel PCH Front Mic"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input21
U: Uniq=
H: Handlers=event11
B: PROP=0
B: EV=21
B: SW=10
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel PCH Rear Mic"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input22
U: Uniq=
H: Handlers=event12
B: PROP=0
B: EV=21
B: SW=10
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel PCH Line Out"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input23
U: Uniq=
H: Handlers=event13
B: PROP=0
B: EV=21
B: SW=40
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel PCH Front Headphone"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input24
U: Uniq=
H: Handlers=event14
B: PROP=0
B: EV=21
B: SW=4
I: Bus=0003 Vendor=0000 Product=0000 Version=0004
N: Name="ACPI Virtual Keyboard Device"
P: Phys=
S: Sysfs=/devices/virtual/input/input25
U: Uniq=
H: Handlers=sysrq kbd event15 rfkill
B: PROP=0
B: EV=3
B: KEY=ffffffffffffffff ffffffffffffffff ffffffffffffffff fffffffffffffffe
more sytem information in live-usb session:
Code: Select all
more /proc/bus/pci/devices
0000 80860c00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 hsw_uncore
0008 80860c01 19 0 0 0 0 0 0 0 0 0 0 0 0 0 0 pcieport
00a0 80868c31 1d f7120004 0 0 0 0 0 0 10000 0 0 0 0 0 0 xhci_hcd
00b0 80868c3a 1e f713c004 0 0 0 0 0 0 10 0 0 0 0 0 0 mei_me
00c8 8086153a 1f f7100000 f7139000 f041 0 0 0 0 20000 1000 20 0 0 0 0 e1000e
00d0 80868c2d 10 f7138000 0 0 0 0 0 0 400 0 0 0 0 0 0 ehci-pci
00d8 80868c20 20 f7130004 0 0 0 0 0 0 4000 0 0 0 0 0 0 snd_hda_intel
00e0 80868c10 1a 0 0 0 0 0 0 0 0 0 0 0 0 0 0 pcieport
00e1 80868c12 1b 0 0 0 0 0 0 0 0 0 0 0 0 0 0 pcieport
00e8 80868c26 17 f7137000 0 0 0 0 0 0 400 0 0 0 0 0 0 ehci-pci
00f8 80868c4e 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 lpc_ich
00fa 80868c02 1c f091 f081 f071 f061 f021 f7136000 0 8 4 8 4 20 800 0 ahci
00fb 80868c22 12 f7135004 0 0 0 f001 0 0 100 0 0 0 20 0 0 i801_smbus
0100 10de11c4 21 f6000000 e800000c 0 f000000c 0 e001 c0002 1000000 8000000 0 2000000 0 80 20000 nouveau
0101 10de0e0b 11 f7080000 0 0 0 0 0 0 4000 0 0 0 0 0 0 snd_hda_intel
0300 104c8240 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0