Hi,
In days of old, the "ERR M" could be resolved by booting a DOS floppy and
doing a "FDISK /MBR".
So I'd say you are missing the master boot record (at a minimum).
Good luck!
Cheers,
Steve W.
On 11/2/2023 9:33 AM, Daniele B. wrote:
Crystal Kolipe <kolipe.c@exoticsilicon.com> wrote:
First of all, let's be clear what you are trying to do.
I think from your first message you are trying to do this:
1. Fresh install of OpenBSD on a new 64 Gb USB stick
2. Test that it boots - OK
3. Erase the files on the partitions that you made using the installer
4. Copy your old files from the 32 Gb USB stick to the new stick
5. Boot from the new stick
That is not the _best_ way to move your existing OpenBSD install to a
new USB drive, but if you want to do it that way it can be made to
work.
If that is _not_ what you are trying to do then tell me exactly what
you are trying to do.
I'm sorry, I'm actually just doing this test:
1. Copymachine: copy from the old 16gb stick (sd2) to the new 64gb stick
(sd1) to get the stick layout.
2. disklabel -E: I then delete all the partitions.
3. disklabel -E: I recreate a bigger / partition (sd1a).
4. disklabel -E: I recreate a the swap partition (sd1b).
5. Newfs on /dev/sd1a to erase /.
5. Newfs on /dev/sd1b.
6. Then:
mount -t ffs /dev/sd2a /mnt/sys
mount -t ffs /dev/sd1a /mnt/newstick
cd /mnt/sys
pax -rw . /mnt/newstick/
7. Unmount everything
8. wiz# installboot sd1
9. Reboot with the new stick inserted.
a. "ERR M" just after the bios boot device list.
-- Daniele Bonini
No comments:
Post a Comment