Hi,
You're lucky enough to have the exact printout block by block of
the disk layout. I wouldn't want to do this in OpenBSD's fdisk, it'd
be easier with gparted on a Linux liveCD if you can. It can be done
with fdisk but it's not very userfriendly.
Thanks. I managed to do it with Linux parted. Gparted doesn't accept
sectors, only cylinders or {M,G}bytes. Back into Debian. Now, with
regards to installing OpenBSD:
Be sure to make that NetBSD partition an OpenBSD one while you're at
it so the installer finds it right away.
And that's where the problems started in the first place.
At the prompt:
(W) (G) (E)
I choose (E) edit. Then, recalling from memory, I selected (disk) and
changed the NetBSD filesystem to OpenBSD. After that, I couldn't go
anywhere else. I didn't know what to do and I must have selected the
whole disk. I wanted to mount / on the ex-NetBSD partition, and that's
where I got stuck.
Hi,
Well done on restoring the disklabel. Try this in Linux:
cfdisk /dev/sda
then select the NetBSD partition, and change it's type to OpenBSD.
Save, then reboot and boot the OpenBSD installer. You can then use the G
option which should select just the OpenBSD partition. Basically you
don't really need this step anyway as the partition is ready to be
disklabeled.
Cheers,
Noth