Configure booting for GhostBSD
Posted: Thu Apr 13, 2017 2:04 pm
Hi all:
I have a problem since first time I installed Ghostbsd. It's about booting the system. The laptop I have ghostbsd installed has two SSDs. First one with Linux and Grub2. Second one with GhostBSD.
I have grub in the first disk configured to boot GhostBSD from the second disk. This works and it's the regular way I boot GhostBSD.
But I want to be able to boot GhostBSD from the second disk. And this is what I'm not able to configure.
The second disk has the following structure:
gpart show ada1
=> 34 488397101 ada1 GPT (233G)
34 6 - free - (3.0K)
40 204800 1 efi [bootme] (100M)
204840 471697408 2 freebsd-ufs [bootme] (225G)
471902248 16484352 3 freebsd-swap (7.9G)
488386600 10535 - free - (5.1M)
The efi slice is from installations with ZFS previous to install GhostBSD.
I've tried copying /boot/boot1.efi into the efi partition as BOOT/BOOTx64.EFI or efi/BOOT/BOOTx64.EFI. No success.
I've tried grub2-pcbsd doing this:
mount -t msdosfs /dev/gptid/5627a755-7a78-11e6-89fa-f0def16accb5 /boot/efi
grub-install --efi-directory=/boot/efi --removable --target=x86_64-efi --force /dev/ada1
but not success either.
Any has an idea how to deal with this?
Thanks in advance,
Jes
I have a problem since first time I installed Ghostbsd. It's about booting the system. The laptop I have ghostbsd installed has two SSDs. First one with Linux and Grub2. Second one with GhostBSD.
I have grub in the first disk configured to boot GhostBSD from the second disk. This works and it's the regular way I boot GhostBSD.
But I want to be able to boot GhostBSD from the second disk. And this is what I'm not able to configure.
The second disk has the following structure:
gpart show ada1
=> 34 488397101 ada1 GPT (233G)
34 6 - free - (3.0K)
40 204800 1 efi [bootme] (100M)
204840 471697408 2 freebsd-ufs [bootme] (225G)
471902248 16484352 3 freebsd-swap (7.9G)
488386600 10535 - free - (5.1M)
The efi slice is from installations with ZFS previous to install GhostBSD.
I've tried copying /boot/boot1.efi into the efi partition as BOOT/BOOTx64.EFI or efi/BOOT/BOOTx64.EFI. No success.
I've tried grub2-pcbsd doing this:
mount -t msdosfs /dev/gptid/5627a755-7a78-11e6-89fa-f0def16accb5 /boot/efi
grub-install --efi-directory=/boot/efi --removable --target=x86_64-efi --force /dev/ada1
but not success either.
Any has an idea how to deal with this?
Thanks in advance,
Jes