Ooops I did it again...
The variety and scope of what I manage to break along my learning process with FreeBSD is starting to remind me of this cheesy pop song. So my thanks once again to all the members of this community with their help.
Over the weekend I installed grub2 as boot loader from linux system on my disk and thought I could later fix the grub menu manually to boot into my zfs pool housing the FreeBSD system. Silly me - very hard with root on zfs and better to build grub from the FreeBSD port.
Anyhoo, having failed massively at this, I placed the small mfsBSD on a usb stick and booted it, with the aim of restoring the btx loader for FreBSD. I then ran:
which should restore the loader. All the loader.conf and other files under /boot in the zpool remain intact and untouched. Unfortunately when I reboot system hangs with message:
Giving the above gpart command inside a chroot after mounting dev
The variety and scope of what I manage to break along my learning process with FreeBSD is starting to remind me of this cheesy pop song. So my thanks once again to all the members of this community with their help.
Over the weekend I installed grub2 as boot loader from linux system on my disk and thought I could later fix the grub menu manually to boot into my zfs pool housing the FreeBSD system. Silly me - very hard with root on zfs and better to build grub from the FreeBSD port.
Anyhoo, having failed massively at this, I placed the small mfsBSD on a usb stick and booted it, with the aim of restoring the btx loader for FreBSD. I then ran:
# gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0
which should restore the loader. All the loader.conf and other files under /boot in the zpool remain intact and untouched. Unfortunately when I reboot system hangs with message:
Code:
Missing boot loader
Giving the above gpart command inside a chroot after mounting dev
# mount -t devfs devfs /chroot/dev
Code:
gpart: param 'arg0': invalid argument