I put rEFIt on my dell and boot it from there
Sent from my iPhone

On Jan 27, 2025, at 11:29 AM, Paul Lalonde <paul.a.lalo...@gmail.com> wrote:


Thank Ori and Moody.

I've started walking through making my custom iso and efi partition.  Reasonably straightforward, though I get this error when building:
fluxcpu% disk/mk9660 -c9j -B pc/9bootiso -E efi/efiboot.fat -v 'Plan 9 Front ('^$objtype^')' /tmp/test.iso
warning: boot image too big; will only load the first 2K

Is it normal for 9bootiso to be 6664 bytes long?  Or is there something broken in my source tree?

Paul

On Mon, Jan 27, 2025 at 10:18 AM Jacob Moody <mo...@posixcafe.org> wrote:
On 1/27/25 11:34, Paul Lalonde wrote:
> Hi, 
>   I was trying to bring up 9front on another machine I have (Lenovo Thinkstation P620 with a Threadripper Pro 3955WX), and I hang right after the "boot\n" output of the EFI loader.
>
> Any suggestions on how to debug this?  Is there a simple way to just build the EFI and 9fat partitions on a USB stick until I have something that boots far enough to mount root from my cpu server?

If I got to "boot" then its possible it actually got in to the kernel and it's the kernel that is hanging.
Regardless, if you want to attempt to debug the EFI bootloader you can find it in /sys/src/boot/efi.
The efi bootloader will search either the ESP itself for a kernel as well as a 9fat partition.
So for just debugging, you can make yourself an ESP and place both the the bootloader and a kernel there.

We have had reports of some machines having buggy EFI firmware that forces people to place their kernel
on the ESP, so maybe that's worth a try as well? Although I think with those the bootloader complains
that its not able to find the kernel and doesn't just hang.

If you do want to make yourself a plan9 partition + a 9fat perhaps take a look at what the installer
scripts do (/rc/bin/inst/*) to see the process.


Thanks,
moody


------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tb7ff9ca34535affa-M49c5421caeb0b2872c74579c
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to