Current-Users archive

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

Re: i386/amd64 image generated trough mkimage stuck on primary bootsrap at boot





On 8/07/22 19:57, br0nko wrote:
On Thursday, July 7th, 2022 at 11:25 PM, Mike Pumford <mpumford%mudcovered.org.uk@localhost> wrote:

On 07/07/2022 15:40, br0nko wrote:

Hi,

0: NetBSD (sysid 169)
start 63, size 1568384 (766 MB, Cyls 0/1/1-97/160/62), Active
beg: cylinder 0, head 1, sector 1
end: cylinder 97, head 160, sector 62
Information from PBR:
Not bootable: All bytes are identical (0x00)
Not bootable: Bad magic number (0x0000)

No MBR boot code in the partition table.

fdisk -i /dev/rvnd0

should resolve that I think.

I did give a try, using an amd64 mkimage image build from current tree (9.99.98/amd64):

Note that, in general, NetBSD fdisk, installboot and disklabel can be run directly against the image itself without needing to use vnconfig. Sometimes you might need a flag to tell the command that it is being given a disk image instead of a real disk, but that's about it.

Cheers,
Lloyd


Home | Main Index | Thread Index | Old Index