I spent another three hours on this and now I've come to a point where
at least my kernel boots.



> Hi!
> 
> In short:
> I am trying to use installboot to make a new harddrive bootable that
> should contain a custom OpenBSD installation, however, when trying to
> boot from that new hd I always get "No O/S".
> 
> 
> Detailed:
> I successfully set up a standard OpenBSD6.3 (machine A) on sd0 using
> install.iso. Using custom scripts, I would like to create custom
> installations on sd1 to create individual installations (machine B, C
> and so on), each on a separate HD that I would swap for sd1 each time.
> 
> On (A) I did:
> 
> fdisk -iy sd1
> echo "a a\n\n2g\n\na b\n\n\n\n\nw\nq\n"|disklabel -E sd1
> newfs /dev/rsd1a
> 
> mount /dev/sd1a /mnt
> 
> cp -R /altroot  /mnt/altroot
> cp -R /bin      /mnt/bin
> cp -R /dev      /mnt/dev
> cp -R /etc      /mnt/etc
> cp -R /home     /mnt/home
> cp -R /root     /mnt/root
> cp -R /sbin     /mnt/sbin
> cp -R /tmp      /mnt/tmp
> cp -R /usr      /mnt/usr
> cp -R /var      /mnt/var
> cp /bsd* /mnt/
> 
> cd /mnt/dev
> ./MAKEDEV std
> 
> installboot -v sd1 /usr/mdec/biosboot /usr/mdec/boot
> 
> (also tried
> installboot -v -r /mnt/ sd1 /usr/mdec/biosboot /usr/mdec/boot
> without success)
> 
> 
> Hints and help will be appreciated!
> 
> Regards,
> T.
> 

Reply via email to