NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

'inappropriate filetype or format' when booting



On an amd64 laptop that primarily runs Void Linux I have a partition
reserved for NetBSD. I have been trying to install NetBSD 9.x, later 10
Beta and now 10.1 on this partition, though have not succeeded.

I have reported the weird behavior of the installer in some past threads -
which is a different topic than this thread.

As a workaround I attempted to install on this partition, by passing it as
a disk to qemu running on Void Linux - something like:

.. -drive file=/dev/sda6,format=raw -cdrom NetBSD-10.1-amd64.iso ..

I know, netbsd installer is possibly not designed for this sort of usage,
though I am trying this more as a last resort.

It appeared to install fine.

The laptop has uefi boot and I have boot.cfg and bootx64.efi in
/boot/efi/EFI/netbsd/ 

I do get a boot menu when this boot option is selected. However the boot
doesn't succeed.

On dropping to boot prompt I checked 'ls hd0f:' and it does show NetBSD
file system. However on boot hd0f:netbsd (or hd0f:) it says 'inappropriate
filetype or format' when booting

What is likely to be wrong here?

An aside: after the installation, the host Void Linux is working though,
something seems to have changed in its disk layout, since now I get
"Partition 4 does not start on physical sector boundary." on running fdisk
-l, which I wasn't get before.


-- 
Mayuresh


Home | Main Index | Thread Index | Old Index