You are not logged in.
So hd2 is the Mac drive then?
What does set say about the root & prefix?
If you have a live ISO image handy can you post the output of
efibootmgr -v parted --list
Hi,
Mounted beowulf root sdb, using installer rescue:
root@beo:/# ls
bin boot dev etc home initrd.img initrd.img.old lib lib64 lost+found media mnt opt proc root run sbin srv sys tmp usr var vmlinuz vmlinuz.old
root@beo:/# efibootmgr -v
BootCurrent: 0000
Timeout: 5 Seconds
BootOrder: 0000,0080
Boot0000* devuan HD(1,GPT, lbc27af6-16da—4b55-9dda-6ab2e0b4c0b9,0x28,0x64000)/File(\EFI\devuan\shimx64.efi)
Boot00B0x PciRoot(0x0)/Pci(0x1c,0x4)/Pci(0x0,0x0)/Sata(0,0,0)/HD(2,GPT,16b323b3-ebaa-4f60-b53f-0bf289726415,0x64028,0x1d1ec410)/File(\System\Library\CoreServices\boot.efi)
BOOTFFFF* PciRoot(0x0)/Pci(0x1c,0x4)/Pci(0x0,0x0)/Sata(0,0,0)/HD(2,GPT,16b323b3-ebaa-4f60-b53f-0bf289726415,0x64028,0x1d1ec410)/File(\System\Library\CoreServices\boot.efi)
root@beo:/# parted --list
Model: ATA APPLE SSD SM0256 (scsi)
Disk /dev/sda: 251GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 20.5KB 210MB 210MB fat32 EFI System Partition boot, esp
2 210MB 250GB 250GB hfs+ Customer
3 250GB 251GB 650MB hfs+ Recovery HD
Model: (scsi)
Disk /dev/sdb: 8074MB
Sector size (logical/physical): 512B/512B
Partition Table msdos
Disk Flags:
Number Start End Size Type File system Flags
1 32.3kB 7813MB 7813MB primary ext4 boot
2 7813MB 8074MB 261MB primary linux-swap(v1)
Warning: Not all of the space available to /dev/sdd appears to be used, you can
fix the GPT to use all of the space (an extra 1335296 blocks) or continue with
the current setting?
Fix/Ignore?
I see no error flags why kernel fails to boot, do you?
Would you suggest I reinstall GRUB onto sda or try installing GRUB onto beowulf root, sdb?
englee
You could start the medium, use the rescue mode, chroot into the installed system and try your luck with the commands.
rolfie
rolfie,
I've had very little experience using chroot, especially with devuan. Could you please walk me through a quick chroot session, beginning with the ISO rescue mode to entering CLI commands? In fact the devuan ascii 2.0 HDD came in mighty handy to rescue issues related to the old mac, which no longer boots after the beowulf upgrade.
englee
So hd2 is the Mac drive then?
What does set say about the root & prefix?
If you have a live ISO image handy can you post the output of
efibootmgr -v parted --list
Hi,
Yes, and booting via macOS uefi requires the GUID partition map, which might be corrupted.
Why not have the option to add bootloader to the USB external HDD?
The only ISO at my disposal is:
devuan_beowulf_3.11_RC_amd64_netinstall.iso
How would you go about having it output the data you requested using:
efibootmgr -v
parted --list
? . ? . ?
englee
You need to set the partition as the root rather than the entire device.
Use
ls (hd2,gpt1) ls (hd2,gpt2) ls (hd2,gpt3)
Are the kernel & initramfs image (symlinks) listed in the output of any of those commands?
Hi,
No, perhaps that's omitted on beowulf:
grub> ls (hd2,gpt1)
Partition hd2,gpt1: Filesystem type fat - Label ‘EFI’, UUID 67E3-17ED -
Partition start at 20KiB - Total size 204800KiB
grub> ls (hd2,gpt2)
Partition hd2,gpt2: Filesystem type hfsplus - Label “Macintosh HD" -
Last modification time 2021-03-25 20:19:31 Thursday, UUID 8351e041f4755bfe -
Partition start at 204820KiB - Total size 244277768KiB
grub> ls (hd2,gpt3)
Partition hd2,gpt3: Filesystem type hfsplus - Label ‘Recovery HD’ -
Last modification time 2021-03-24 01:24:42 Wednesday, UUID a754e4dc63345617 -
Partition start at 244482588KiB - Total size 634768KiB
grub>
GRUB appears to overlook the beowulf ext4 root/boot partition on the USB external HDD?
It appears GRUB only can find the internal SSD partitions!
englee
set root=(hd0) # might be hd1 or hd2 linux /boot/isolinux/linux initrd /boot/isolinux/initrd.gz boot
But you will be booting and installing in uefi mode. Legacy boot will give you an isolinux boot menu instead of a grub boot menu. Is there a way to force a legacy boot?
Hi,
Agree, beowulf_3.1.1 & devuan_ascii_2.0 was both installed in UEFI mode, but beowulf's GRUB traps this error:
error, unknown filesystem.
when quering (hd0), (hd1), (hd2) with:
linux /vmlinuz root=/dev/sda1
or
linux /boot/isolinux/linux
I see no way to force a legacy boot, so probably that's what changed since devuan_ascii_2.0 . . .
Q: What's your definition of 'legacy boot'?
englee
Hi,
Something has changed with GRUB, since Devuan_ascii_2.0_amd64_netinstall.iso was installed on identical hardware:
feature_default_font_path=y
feature_menuentry_id=y
feature_menuentry_options=y
feature_nativedisk_cmd=y
feature_ntldr=y
feature_platform_search_hint=y
feature_timeout_style=y
grub_cpu=x86_64
grub_platform=efi
lang=
local_dir=
net_default_ip=(null)
net_default_mac=(null)
net_default_server=
pager=
prefix=(hd2,gpt1)/boot/grub
grub> ls
(proc) (hd0) (hd1) (hd2) (hd2,gpt3) (hd2,gpt2) (hd2,gpt1)
grub> ls (hd0)
Device hd0: No known filesystem detected - Sector size 512B - Total size 0.5KiB
No sign of vmlinuz & initrd.img, making GRUB think /boot/grub is on efi partition.
Any other clues how to boot kernel?
englee
Re: late 2013 macbook pro
___devuan_beowulf_3.1.1_RC_amd64_netinstall.iso
Hi,
Devuan_ascii_2.0_amd64_netinst.iso installed and was fully functional on referenced hardware.
Referenced beowulf iso install fails to boot kernel, displaying the following:
GNU GRUB version 2.02+dfsg1-20+deb10u4
Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists possible
device or file completions.
grub>
Possible commands are:
. [ acpi authenticate background_color background_image badram boot break cat
chainloader clear configfile continue cpuid crytomount cutmen distrust dump
echo exit export extract_entries_configfile extract_entries_source false
gettext halt help initrd initrdefi insmod keystatus linux linuxefi list_env
list_trusted load_env loadfont loopback ls lsefi lsefimmap lsefisystab lsfonts
lsmod lssal menuentry net_add_addr net_add_dns net_add_route net_bootp
net_bootp6 net_del_addr net_del_dns net_del_route net_get_dhcp_option
net_ipv6_autoconf net_ls_addr net_ls_cards net_ls_dns net_ls_routes
net_nslookup normal normal_exit password_pbkdf2 play reboot regexp return rmmod
save_env search search.file search.fs_label search.fs_uuid set setparams shift
sleep source submenu terminal_input terminal_output test true trust unset
verify_detached zfs-bootfs zfsinfo zfskey
grub>
Q: Is there a way to rescue this non-booting GRUB on referenced beowulf, using displayed GRUG commands?
Please help rescue non booting beowulf GRUB on a USB external HDD.
Kind Regards,
englee