booting GhostBSD iso image from grub2

Questions about the installation of FreeBSD
Post Reply
s_monad
Posts: 3
Joined: Tue Jul 21, 2020 11:54 am

booting GhostBSD iso image from grub2

Post by s_monad »

good day

is the a way to load latest ghostbsd iso image using grub2 ?

there is a way to boot FreeBSD-12.1-RELEASE-amd64-bootonly.iso using grub2.
so, there should be a way to boot latest ghostbsd (built upon the same version of freebsd, i believe)

PS. i've tried hxxps://github.com/ghostbsd/ghostbsd-grub2-settings project - no luck (it's a bit outdated)
wb7odyfred
Posts: 79
Joined: Sat Nov 12, 2016 5:44 pm

Re: booting GhostBSD iso image from grub2

Post by wb7odyfred »

When I got dumped into "Grub>" on a working system, here is what I did to get booted back up. Does not answer your question about booting a .iso image.
grub2>

Code: Select all

 ls

Code: Select all

set root='(da0,gpt2)'
chainloader (da0,gpt2)/efi/boot/REFINDX64-REFIND.EFI
boot
GhostBSD Grub2 settings Github code
https://github.com/ghostbsd/ghostbsd-grub2-settings
s_monad
Posts: 3
Joined: Tue Jul 21, 2020 11:54 am

Re: booting GhostBSD iso image from grub2

Post by s_monad »

two years have passed since i'd raised the question

is there any motion in that direction? (I'm well aware of ventoy loader, but grub2 is much preferable in this case)
User avatar
ericbsd
Developer
Posts: 1968
Joined: Mon Nov 19, 2012 7:54 pm

Re: booting GhostBSD iso image from grub2

Post by ericbsd »

First, the ghostbsd-grub2-settings were for the old ISO that was using Grub and it has been discontinued for over 5 years now.

wb7odyfred did answer, but you didn't reply back to him. So I think everyone thought that it answered your question.

Also so it is not clear what you want to achieve with it. So what are you trying to do?
s_monad
Posts: 3
Joined: Tue Jul 21, 2020 11:54 am

Re: booting GhostBSD iso image from grub2

Post by s_monad »

in order to give some liveCD a try, one should burn iso image to optical disk or usb flash stick

but there is a third way - when one doesn't need/have dvd drive or spare usb stick - boot iso file directly from hard drive (it is much faster then booting from dvd/usb staff)

it works for ubuntu images, hxxps://help.ubuntu.com/community/Grub2/ISOBoot contains some examples.
So, the might be some way to boot bsd live images using grub2, I believe
Post Reply