Can't boot after update

8 Antworten [Letzter Beitrag]
goodlookingsoftware
Offline
Beigetreten: 12/16/2019

I ran a Trisquel update and now my computer, a MacBook A134, won't boot. Can someone recommend steps to debug it? I'm not physically at the computer, but my 72-year-old father can be guided through not-too-tortuous tasks. The only context I can think to add is that the computer previously ran fine but would never start up on its own after a reboot. A reboot would always just shut it down.

goodlookingsoftware
Offline
Beigetreten: 12/16/2019

When the computer turns on, it shows a screen with the following text.

At the top it says:

GNU GRUB version 2.02

...then in the box it says:

* Trisquel GNU/Linux
Advanced options for Triquel GNU/Linux

...then at the bottom it says:

Use the and keys to select which entry is highlighted.
Press enter to boot the selected OS, 'e' to edit the commands before booting of 'c' to a command-line.
The highlighted entry will be executed automatically in 21s.

goodlookingsoftware
Offline
Beigetreten: 12/16/2019

Things I've tried:

When I hit enter with the first or second line selected, the screen goes dark and stays dark.

When I hit 'e' I see a screen with a similar box with 15 lines of what looks like config or code. If I hit f10 from that screen, the screen goes dark and stays dark.

When I hit 'c' a command line, I get a "grub>" command line following some instructions starting "Minimal BASH-like line editing is supported..."

goodlookingsoftware
Offline
Beigetreten: 12/16/2019

Thanks. The screen goes dark.

goodlookingsoftware
Offline
Beigetreten: 12/16/2019

Thanks for all the great feedback! I'll post the fifteen lines here this weekend, try things in the Fixing a Broken System link, and report back.

goodlookingsoftware
Offline
Beigetreten: 12/16/2019

I typed out the following from a screenshot. One of my debug steps was to follow a blog post that had me look at the different drives to see which one had the linux install on it. I think it was hd2,gpt2. I looks like in the below that Trisquel is trying to boot from hd0,gpt. I feel like I could try changing that in this screen, and it's obvious how in places where the value is "hd0,gpt2", but what would I do with parts like "--hint-baremetal=ahci0,gpt2"? Use "--hint-baremetal=ahci2,gpt2"?

setparams 'Trisquel GNU/linux'

recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod ext2
set root='hdo,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 b0fb4364-429c-4573-b0a0-7bddb6bb37ca
else
search --no-floppy --fs-uuid --set=root b0fb4364-429c-4573-b0a0-7bddb6bb37ca
fi
linux /boot/vmlinuz-4.4.0-161-generic root=UUID=b0fb4364-429c-4573-b0a0-7bddb6bb37ca ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.4.0-161-generic

goodlookingsoftware
Offline
Beigetreten: 12/16/2019

...also, then if I edit that page and boot and it works, do I need to do anything to persist that change? I suppose I'll soon find out!

Magic Banana

I am a member!

I am a translator!

Offline
Beigetreten: 07/24/2010

Check with 'blkid' whether b0fb4364-429c-4573-b0a0-7bddb6bb37ca is the correct UUID of the root partition and whether /boot/vmlinuz-4.4.0-161-generic exists (it is not the latest version available on Trisquel 8). The change will not be persistent. If it works, executing 'sudo update-grub' may be enough to generate a correct configuration.

... or you can reinstall GRUB and, if that works, never know what precisely went wrong.

goodlookingsoftware
Offline
Beigetreten: 12/16/2019

I tried a bunch of things but without a CD and working through my dad, I was defeated. Thanks for the helpful advice. I'll try to apply it next time I'm physically in front of the computer.