hello icon indicating copy to clipboard operation
hello copied to clipboard

FreeBSD 13 based experimental image unbootable after installing

Open mbnunes opened this issue 4 years ago • 21 comments

gentlemen, good night.

first, congratulations on the project! i'm putting the experimental hellosystem 13 on my production computer, i need the video drive from AMD. but I had to boot in verbose mode, it was stuck on the Splash screen, but my problem here and after installing hellosystem on my HD, after restarting, it shows the following screen:

IMG_20211106_014914

I tried looking for the problem here in the issues, I couldn't find it. what can I do?

mbnunes avatar Nov 06 '21 05:11 mbnunes

This is unchartered territory. The FreeBSD 13-based experimental build 0G35 is known to have this issue.

what can I do?

Try to find out why it wokrs with the FreeBSD 12.2 based build but not the FreeBSD 13 based build. I don't have more knowledge than anyone on these things, really. So experimentation, time, and debugging is in order :)

probonopd avatar Nov 06 '21 08:11 probonopd

You got further than me, mine stops because it can't find a boot loader.

woomia avatar Nov 06 '21 13:11 woomia

Same for me on a non-EFI machine.

probonopd avatar Nov 06 '21 13:11 probonopd

7B927A0B-6C13-4544-8E39-0546A900F520

This is what happens when I try to booting from the ISO.

woomia avatar Nov 06 '21 13:11 woomia

Thanks for your attention. I managed to install experimental 13 using motherboard X79 with UEFI and Legacy boot Hello was installed in Legacy mode. No version 0.6.0 of amdgpu_pro driver related error. I will reinstall version 0.6.0 and already post here.

mbnunes avatar Nov 06 '21 14:11 mbnunes

I am getting the same issue in Legacy mode. Any insights into why this is happening would be appreciated.

probonopd avatar Nov 07 '21 09:11 probonopd

CD Loader 1.2

Bulding the boot loader arguments Looking up /BOOT/LOADER... File not found Looking up /boot/loader... File not found Boot failed

probonopd avatar Nov 07 '21 09:11 probonopd

That error message is from the live ISO, it wasn't installed to the hard drive.

woomia avatar Nov 07 '21 14:11 woomia

Oops, right, I mixed it up.

probonopd avatar Nov 07 '21 16:11 probonopd

@probonopd just to let you know, I did a test using the FreeBSD 13 release and the exact same thing happened, but you can see in the log that it tries to mount the root on usb, that is, this is not a project-only bug.

1636417556140

mbnunes avatar Nov 09 '21 00:11 mbnunes

@mbnunes just to be 100% sure, when you say "using the FreeBSD 13 release" you mean the one from freebsd.org, not helloSystem?

In any case, can you enter ? there, press enter, and post the result?

Thanks.

probonopd avatar Nov 09 '21 07:11 probonopd

Is possible install with UFS?

mbnunes avatar Nov 09 '21 20:11 mbnunes

Yes, but not with the graphical installer. Would need to be done by the user by hand.

probonopd avatar Nov 09 '21 22:11 probonopd

Thanks @jsm222 for finding the following out:

Executing the following on hello-0.7.0_0G41-FreeBSD-13.0-amd64.iso after the installation, makes a bootable helloSystem efi system this time tested on qemu/kvm efi.

mount -t msdosfs /dev/ada0p1 /mnt/boot/efi
bsdinstall -D /tmp/somelogfile bootconfig

probonopd avatar Nov 10 '21 18:11 probonopd

Thanks @jsm222 for finding the following out:

Executing the following on hello-0.7.0_0G41-FreeBSD-13.0-amd64.iso after the installation, makes a bootable helloSystem efi system this time tested on qemu/kvm efi.

mount -t msdosfs /dev/ada0p1 /mnt/boot/efi
bsdinstall -D /tmp/somelogfile bootconfig

Same erro... After set commands, reboot the system and go to mountroot's console

mbnunes avatar Nov 11 '21 05:11 mbnunes

Now trying with

# Fix unbootable FreeBSD 13
# https://github.com/helloSystem/hello/issues/242#issuecomment-965617810
if [ -n "${INSTALLER_DEVICE}" ] ; then
  mount -t msdosfs /dev/"${INSTALLER_DEVICE}p1" "${FSMNT}"/boot/efi
  bsdinstall -D /tmp/bootconfig.log bootconfig
  umount "${FSMNT}"/boot/efi
fi

in the installer. Fingers crossed...

probonopd avatar Nov 13 '21 11:11 probonopd

...works!

probonopd avatar Nov 13 '21 11:11 probonopd

@probonopd Good afternoon, how are you? hope so!

I used the last ISO from Experimental 13 0G67 everything worked beautifully, the boot didn't need to activate verbose mode, the resolution was correctly identified at boot time. However after the installation (defaults to ZFS), the resolution is not correctly identified, and the mountroot error continues. 1636987025440

mbnunes avatar Nov 15 '21 15:11 mbnunes

You are not installing to a USB device, are you? Please describe more about your boot device hardware setup.

probonopd avatar Nov 15 '21 18:11 probonopd

no, i am installing on my ADA branded 250gb SSD. booting via USB 8gb UEFI. I can film the entire installation process if I want.

mbnunes avatar Nov 16 '21 03:11 mbnunes

Not needed yet, I will do more testing soon. Thanks!

probonopd avatar Nov 16 '21 07:11 probonopd