Useful command when Alt+power fails in macbook installation
- Determine the disk number
# Enter grub cmdline by pressing Right-Shift and c
grub> ls
(proc) (hd0) ...
For Macs with ssds, the external usb drive will always be (hd0)
and partition is /dev/sda
. There are some slightly
different versions for various distributions:
- Linux mint
grub> set root=(hd0,1)
grub> linux /casper/vmlinuz boot=casper root=/dev/sdb1
grub> initrd /casper/initrd.lz
grub> boot
- Pop!_OS
Note only (hd0)
is detected in grub menu
grub> set root=(hd0)
grub> linux /casper/vmlinuz.efi boot=casper root=/dev/sdb1
grub> initrd /casper/initrd.gz
grub> boot