I installed 22.08.06 version into an empty external USB disk. No problem encountered. And I copied the zfs partition of the USB to a partition of the built-in hard disk of my PC. How can I boot ghostbsd of just copied zfs on the built-in disk?
What I did so far:
1. Copied da0p2(zfs, GhostBSD 22.08.06) to ada0p13 by "zfs send -R zroot@snapshot | zfs recv -F NEWPOOLNAME" procedure.
2. zpool set bootfs="NEWPOOLNAME/ROOT/default" NEWPOOLNAME.
3. Copied EFI/ghostbsd, EFI/refind directories of da0p1 into EFI/ of efi partition on ada0(ada0p4).
4 Copied EFI/BOOT/BOOTX64.EFI, EFI/BOOT/ICONS, EFI/BOOT/REFIND.CONF into EFI/Boot of efi partiton on ada0(ada0p4).
(I always use "-o longnames" option in mounting efi partitions.)
Do I have to reconstruct EFI/Boot/ghostbsd.efi or rewrite EFI/Boot/REFIND.CONF?
Note that the built-in disk has Windows 10 partition and OLD freebsd partitons, and I have no problem in booting these from rEFInd menu.
A New commer of GhostBSD, quit new to rEFInd.
naoMASA Maruyama
[email protected]
Copying GhostBSD zfs partition of external USB to built-in disk
-
- Posts: 207
- Joined: Sat Nov 12, 2016 5:44 pm
Re: Copying GhostBSD zfs partition of external USB to built-in disk
初めてお目にかかります。
I just linked a write up from my Google Drive. Here is the link: https://drive.google.com/file/d/1pLFXTr ... sp=sharing
Google Docs (https://drive.google.com/file/d/1pLFXTr ... sp=sharing)
Triple-Boot.doc
Fred Finster, [5/26/22 7:34 AM]
Please report back any changes or additions to the document. I have posted the grub> prompt lines to boot rEFInd and select either Linux or GhostBSD.
Fred Finster, [5/26/22 7:36 AM]
[Forwarded from Fred Finster]
Thanks for explanation and confirmation that you used that triple boot document. Others can find this triple boot pdf document in this groups files area.
Triple Boot doc from google share
https://drive.google.com/file/d/1pLFXTr ... sp=sharing
Dual boot document
https://t.me/ghostbsd/89171
Achim Wöllgens, [8/31/21 1:50 AM]
[In reply to Abdul Rahman]
[ File : Dual Boot_documentation.pdf ]
well, usually, when You prepare for ZFS file system instead of ext? as with Manjaro Linux, this works but (!) I never used it on an encrypted system, so I don t know, how rEfind as a boot manager will react to this. as follows is my step-by-step as PDF. You may try, but as I said, here (both Win 10 Home/Prof.) are w/out encryption.
Fred Finster, [5/26/22 7:34 AM]
Please report back any changes or additions to the document. I have posted the grub> prompt lines to boot rEFInd and select either Linux or GhostBSD.
Fred Finster, [5/26/22 7:36 AM]
[Forwarded from Fred Finster]
Thanks for explanation and confirmation that you used that triple boot document. Others can find this triple boot pdf document in this groups files area.
Triple Boot doc from google share
https://drive.google.com/file/d/1pLFXTr ... sp=sharing
Dual boot document
https://t.me/ghostbsd/89171
This is how when you land in grub, to boot rEFIND boot manager and then select which one O/S you want to boot.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From my running GhostBSD desktop computer ThinkCentre
fred@fredTC93-pc /boot> gpart show -l
=> 40 468862055 diskid/DISK-333457EBD0F2 GPT (224G)
40 532480 1 Ghostbsd_bootfs (260M)
532520 459218944 2 Ghostbsd_rootfs (219G)
459751464 9099264 3 swap-unirex-224 (4.3G)
468850728 11367 - free - (5.5M)
fred@fredTC93-pc /boot> gpart show
=> 40 468862055 diskid/DISK-333457EBD0F2 GPT (224G)
40 532480 1 efi (260M)
532520 459218944 2 freebsd-zfs (219G)
459751464 9099264 3 freebsd-swap (4.3G)
468850728 11367 - free - (5.5M)
fred@fredTC93-pc /boot> gpart show -l
=> 40 468862055 diskid/DISK-333457EBD0F2 GPT (224G)
40 532480 1 Ghostbsd_bootfs (260M)
532520 459218944 2 Ghostbsd_rootfs (219G)
459751464 9099264 3 swap-unirex-224 (4.3G)
468850728 11367 - free - (5.5M)
fred@fredTC93-pc /boot> gpart show
=> 40 468862055 diskid/DISK-333457EBD0F2 GPT (224G)
40 532480 1 efi (260M)
532520 459218944 2 freebsd-zfs (219G)
459751464 9099264 3 freebsd-swap (4.3G)
468850728 11367 - free - (5.5M)
fred@fredTC93-pc /boot> mount
zroot/ROOT/default on / (zfs, local, nfsv4acls)
devfs on /dev (devfs)
procfs on /proc (procfs, local)
linprocfs on /compat/linux/proc (linprocfs, local)
tmpfs on /tmp (tmpfs, local)
linsysfs on /compat/linux/sys (linsysfs, local)
fdescfs on /dev/fd (fdescfs)
zroot/usr/home on /usr/home (zfs, local, nfsv4acls)
zroot/var/tmp on /var/tmp (zfs, local, nosuid, nfsv4acls)
zroot/usr/src on /usr/src (zfs, local, nfsv4acls)
zroot/usr/ports on /usr/ports (zfs, local, nosuid, nfsv4acls)
zroot/var/crash on /var/crash (zfs, local, noexec, nosuid, nfsv4acls)
zroot/var/mail on /var/mail (zfs, local, nfsv4acls)
zroot/var/audit on /var/audit (zfs, local, noexec, nosuid, nfsv4acls)
zroot/tmp on /tmp (zfs, local, nosuid, nfsv4acls)
devfs on /compat/linux/dev (devfs)
fdescfs on /compat/linux/dev/fd (fdescfs)
tmpfs on /compat/linux/dev/shm (tmpfs, local)
fred@fredTC93-pc /boot> gpart status
Name Status Components
diskid/DISK-333457EBD0F2p1 OK diskid/DISK-333457EBD0F2
diskid/DISK-333457EBD0F2p2 OK diskid/DISK-333457EBD0F2
diskid/DISK-333457EBD0F2p3 OK diskid/DISK-333457EBD0F2
fred@fredTC93-pc /boot> ls /mnt
bsd/ FreeBSD_Arm64/ FreeBSD_Arm64s2/ ftest1/ swap_space/
bsd_fat32/ FreeBSD_Arm64s1/ FreeBSD_Arm64s2a/ msdos/
fred@fredTC93-pc /boot> ls /mnt/msdos
fred@fredTC93-pc /boot> ls -la /mnt/msdos
total 18
drwxr-xr-x 2 root wheel 2 Feb 13 2022 ./
drwxr-xr-x 11 root wheel 11 Jul 20 00:04 ../
fred@fredTC93-pc /boot> ls -la /dev/gpt /dev/gptid /dev/diskid/ /dev/label
ls: /dev/gptid: No such file or directory
ls: /dev/label: No such file or directory
/dev/diskid/:
total 2
dr-xr-xr-x 2 root wheel 512 Aug 14 23:33 ./
dr-xr-xr-x 23 root wheel 512 Aug 14 23:33 ../
crw-r----- 1 root operator 0x96 Aug 14 23:33 DISK-333457EBD0F2
crw-r----- 1 root operator 0x9f Aug 14 23:33 DISK-333457EBD0F2p1
crw-r----- 1 root operator 0xa0 Aug 14 23:33 DISK-333457EBD0F2p2
crw-r----- 1 root operator 0xa1 Aug 21 19:33 DISK-333457EBD0F2p3
/dev/gpt:
total 2
dr-xr-xr-x 2 root wheel 512 Aug 21 19:33 ./
dr-xr-xr-x 23 root wheel 512 Aug 14 23:33 ../
crw-r----- 1 root operator 0x1b1 Aug 21 19:33 swap-unirex-224
fred@fredTC93-pc /boot [1]>
fred@fredTC93-pc /boot> mount
zroot/ROOT/default on / (zfs, local, nfsv4acls)
devfs on /dev (devfs)
procfs on /proc (procfs, local)
linprocfs on /compat/linux/proc (linprocfs, local)
tmpfs on /tmp (tmpfs, local)
linsysfs on /compat/linux/sys (linsysfs, local)
fdescfs on /dev/fd (fdescfs)
zroot/usr/home on /usr/home (zfs, local, nfsv4acls)
zroot/var/tmp on /var/tmp (zfs, local, nosuid, nfsv4acls)
zroot/usr/src on /usr/src (zfs, local, nfsv4acls)
zroot/usr/ports on /usr/ports (zfs, local, nosuid, nfsv4acls)
zroot/var/crash on /var/crash (zfs, local, noexec, nosuid, nfsv4acls)
zroot/var/mail on /var/mail (zfs, local, nfsv4acls)
zroot/var/audit on /var/audit (zfs, local, noexec, nosuid, nfsv4acls)
zroot/tmp on /tmp (zfs, local, nosuid, nfsv4acls)
devfs on /compat/linux/dev (devfs)
fdescfs on /compat/linux/dev/fd (fdescfs)
tmpfs on /compat/linux/dev/shm (tmpfs, local)
fred@fredTC93-pc /boot> gpart status
Name Status Components
diskid/DISK-333457EBD0F2p1 OK diskid/DISK-333457EBD0F2
diskid/DISK-333457EBD0F2p2 OK diskid/DISK-333457EBD0F2
diskid/DISK-333457EBD0F2p3 OK diskid/DISK-333457EBD0F2
fred@fredTC93-pc /boot> ls /mnt
bsd/ FreeBSD_Arm64/ FreeBSD_Arm64s2/ ftest1/ swap_space/
bsd_fat32/ FreeBSD_Arm64s1/ FreeBSD_Arm64s2a/ msdos/
fred@fredTC93-pc /boot> ls /mnt/msdos
fred@fredTC93-pc /boot> ls -la /mnt/msdos
total 18
drwxr-xr-x 2 root wheel 2 Feb 13 2022 ./
drwxr-xr-x 11 root wheel 11 Jul 20 00:04 ../
fred@fredTC93-pc /boot> ls -la /dev/gpt /dev/gptid /dev/diskid/ /dev/label
ls: /dev/gptid: No such file or directory
ls: /dev/label: No such file or directory
/dev/diskid/:
total 2
dr-xr-xr-x 2 root wheel 512 Aug 14 23:33 ./
dr-xr-xr-x 23 root wheel 512 Aug 14 23:33 ../
crw-r----- 1 root operator 0x96 Aug 14 23:33 DISK-333457EBD0F2
crw-r----- 1 root operator 0x9f Aug 14 23:33 DISK-333457EBD0F2p1
crw-r----- 1 root operator 0xa0 Aug 14 23:33 DISK-333457EBD0F2p2
crw-r----- 1 root operator 0xa1 Aug 21 19:33 DISK-333457EBD0F2p3
/dev/gpt:
total 2
dr-xr-xr-x 2 root wheel 512 Aug 21 19:33 ./
dr-xr-xr-x 23 root wheel 512 Aug 14 23:33 ../
crw-r----- 1 root operator 0x1b1 Aug 21 19:33 swap-unirex-224
fred@fredTC93-pc /boot [1]>
mount -t msdos /dev/diskid/DISK-333457EBD0F2p1 /mnt/msdos
mount
zroot/ROOT/default on / (zfs, local, nfsv4acls)
devfs on /dev (devfs)
procfs on /proc (procfs, local)
linprocfs on /compat/linux/proc (linprocfs, local)
tmpfs on /tmp (tmpfs, local)
linsysfs on /compat/linux/sys (linsysfs, local)
fdescfs on /dev/fd (fdescfs)
zroot/usr/home on /usr/home (zfs, local, nfsv4acls)
zroot/var/tmp on /var/tmp (zfs, local, nosuid, nfsv4acls)
zroot/usr/src on /usr/src (zfs, local, nfsv4acls)
zroot/usr/ports on /usr/ports (zfs, local, nosuid, nfsv4acls)
zroot/var/crash on /var/crash (zfs, local, noexec, nosuid, nfsv4acls)
zroot/var/mail on /var/mail (zfs, local, nfsv4acls)
zroot/var/audit on /var/audit (zfs, local, noexec, nosuid, nfsv4acls)
zroot/tmp on /tmp (zfs, local, nosuid, nfsv4acls)
devfs on /compat/linux/dev (devfs)
fdescfs on /compat/linux/dev/fd (fdescfs)
tmpfs on /compat/linux/dev/shm (tmpfs, local)
/dev/diskid/DISK-333457EBD0F2p1 on /mnt/msdos (msdosfs, local)
fred@fredTC93-pc /boot> cd /mnt/msdos
fred@fredTC93-pc /m/msdos> ls
EFI/
fred@fredTC93-pc /m/msdos> ls EFI
BOOT/ ghostbsd/ refind/
fred@fredTC93-pc /m/msdos> cd EFI/refind
fred@fredTC93-pc /m/m/E/refind> ls
BOOTX64.EFI* ICONS/ REFIND.CONF*
fred@fredTC93-pc /m/m/E/refind> ls -l
total 512
-rwxr-xr-x 1 root wheel 208776 Jan 19 2022 BOOTX64.EFI*
drwxr-xr-x 1 root wheel 16384 Jan 19 2022 ICONS/
-rwxr-xr-x 1 root wheel 31611 Jan 19 2022 REFIND.CONF*
fred@fredTC93-pc /m/m/E/refind>
fred@fredTC93-pc /m/m/E/refind> cd ..
fred@fredTC93-pc /m/m/EFI> ls
BOOT/ ghostbsd/ refind/
fred@fredTC93-pc /m/m/EFI> ls BOOT
BOOTX64.EFI* ICONS/ REFIND.CON* REFIND.CONF*
fred@fredTC93-pc /m/m/EFI> ls -la
total 160
drwxr-xr-x 1 root wheel 16384 Jan 19 2022 ./
drwxr-xr-x 1 root wheel 16384 Dec 31 1979 ../
drwxr-xr-x 1 root wheel 16384 Jan 19 2022 BOOT/
drwxr-xr-x 1 root wheel 16384 Jan 19 2022 ghostbsd/
drwxr-xr-x 1 root wheel 16384 Jan 19 2022 refind/
fred@fredTC93-pc /m/m/EFI> ls -la BOOT
total 640
drwxr-xr-x 1 root wheel 16384 Jan 19 2022 ./
drwxr-xr-x 1 root wheel 16384 Jan 19 2022 ../
-rwxr-xr-x 1 root wheel 208776 Jan 19 2022 BOOTX64.EFI*
drwxr-xr-x 1 root wheel 16384 Jan 19 2022 ICONS/
-rwxr-xr-x 1 root wheel 31654 Feb 2 2022 REFIND.CON*
-rwxr-xr-x 1 root wheel 31611 Jan 19 2022 REFIND.CONF*
fred@fredTC93-pc /m/m/E/boot> ls
BOOTX64.EFI* ICONS/ REFIND.CON* REFIND.CONF*
fred@fredTC93-pc /m/m/E/boot> cmp REFIND.CON REFIND.CONF
REFIND.CON REFIND.CONF differ: char 31546, line 652
fred@fredTC93-pc /m/m/E/boot [1]> diff REFIND.CON REFIND.CONF
652,654c652,653
< loader \EFI\Boot\bootx64-trueos.efi
< loader \EFI\Boot\BOOTX64_GHOSTBSD.efi
< icon \EFI\Boot\icons\os_ghostbsd.png
---
> loader \EFI\ghostbsd\bootx64.efi
> icon \EFI\refind\icons\os_ghostbsd.png
More to follow. This should give you some file data to compare your files with
I just linked a write up from my Google Drive. Here is the link: https://drive.google.com/file/d/1pLFXTr ... sp=sharing
Google Docs (https://drive.google.com/file/d/1pLFXTr ... sp=sharing)
Triple-Boot.doc
Fred Finster, [5/26/22 7:34 AM]
Please report back any changes or additions to the document. I have posted the grub> prompt lines to boot rEFInd and select either Linux or GhostBSD.
Fred Finster, [5/26/22 7:36 AM]
[Forwarded from Fred Finster]
Thanks for explanation and confirmation that you used that triple boot document. Others can find this triple boot pdf document in this groups files area.
Triple Boot doc from google share
https://drive.google.com/file/d/1pLFXTr ... sp=sharing
Dual boot document
https://t.me/ghostbsd/89171
Achim Wöllgens, [8/31/21 1:50 AM]
[In reply to Abdul Rahman]
[ File : Dual Boot_documentation.pdf ]
well, usually, when You prepare for ZFS file system instead of ext? as with Manjaro Linux, this works but (!) I never used it on an encrypted system, so I don t know, how rEfind as a boot manager will react to this. as follows is my step-by-step as PDF. You may try, but as I said, here (both Win 10 Home/Prof.) are w/out encryption.
Fred Finster, [5/26/22 7:34 AM]
Please report back any changes or additions to the document. I have posted the grub> prompt lines to boot rEFInd and select either Linux or GhostBSD.
Fred Finster, [5/26/22 7:36 AM]
[Forwarded from Fred Finster]
Thanks for explanation and confirmation that you used that triple boot document. Others can find this triple boot pdf document in this groups files area.
Triple Boot doc from google share
https://drive.google.com/file/d/1pLFXTr ... sp=sharing
Dual boot document
https://t.me/ghostbsd/89171
Code: Select all
grub> set root=(hd1,gpt2)
chainloader (hd1,gpt1)/efi/boot/BOOTX64-REFIND.EFI
boot
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From my running GhostBSD desktop computer ThinkCentre
fred@fredTC93-pc /boot> gpart show -l
=> 40 468862055 diskid/DISK-333457EBD0F2 GPT (224G)
40 532480 1 Ghostbsd_bootfs (260M)
532520 459218944 2 Ghostbsd_rootfs (219G)
459751464 9099264 3 swap-unirex-224 (4.3G)
468850728 11367 - free - (5.5M)
fred@fredTC93-pc /boot> gpart show
=> 40 468862055 diskid/DISK-333457EBD0F2 GPT (224G)
40 532480 1 efi (260M)
532520 459218944 2 freebsd-zfs (219G)
459751464 9099264 3 freebsd-swap (4.3G)
468850728 11367 - free - (5.5M)
fred@fredTC93-pc /boot> gpart show -l
=> 40 468862055 diskid/DISK-333457EBD0F2 GPT (224G)
40 532480 1 Ghostbsd_bootfs (260M)
532520 459218944 2 Ghostbsd_rootfs (219G)
459751464 9099264 3 swap-unirex-224 (4.3G)
468850728 11367 - free - (5.5M)
fred@fredTC93-pc /boot> gpart show
=> 40 468862055 diskid/DISK-333457EBD0F2 GPT (224G)
40 532480 1 efi (260M)
532520 459218944 2 freebsd-zfs (219G)
459751464 9099264 3 freebsd-swap (4.3G)
468850728 11367 - free - (5.5M)
fred@fredTC93-pc /boot> mount
zroot/ROOT/default on / (zfs, local, nfsv4acls)
devfs on /dev (devfs)
procfs on /proc (procfs, local)
linprocfs on /compat/linux/proc (linprocfs, local)
tmpfs on /tmp (tmpfs, local)
linsysfs on /compat/linux/sys (linsysfs, local)
fdescfs on /dev/fd (fdescfs)
zroot/usr/home on /usr/home (zfs, local, nfsv4acls)
zroot/var/tmp on /var/tmp (zfs, local, nosuid, nfsv4acls)
zroot/usr/src on /usr/src (zfs, local, nfsv4acls)
zroot/usr/ports on /usr/ports (zfs, local, nosuid, nfsv4acls)
zroot/var/crash on /var/crash (zfs, local, noexec, nosuid, nfsv4acls)
zroot/var/mail on /var/mail (zfs, local, nfsv4acls)
zroot/var/audit on /var/audit (zfs, local, noexec, nosuid, nfsv4acls)
zroot/tmp on /tmp (zfs, local, nosuid, nfsv4acls)
devfs on /compat/linux/dev (devfs)
fdescfs on /compat/linux/dev/fd (fdescfs)
tmpfs on /compat/linux/dev/shm (tmpfs, local)
fred@fredTC93-pc /boot> gpart status
Name Status Components
diskid/DISK-333457EBD0F2p1 OK diskid/DISK-333457EBD0F2
diskid/DISK-333457EBD0F2p2 OK diskid/DISK-333457EBD0F2
diskid/DISK-333457EBD0F2p3 OK diskid/DISK-333457EBD0F2
fred@fredTC93-pc /boot> ls /mnt
bsd/ FreeBSD_Arm64/ FreeBSD_Arm64s2/ ftest1/ swap_space/
bsd_fat32/ FreeBSD_Arm64s1/ FreeBSD_Arm64s2a/ msdos/
fred@fredTC93-pc /boot> ls /mnt/msdos
fred@fredTC93-pc /boot> ls -la /mnt/msdos
total 18
drwxr-xr-x 2 root wheel 2 Feb 13 2022 ./
drwxr-xr-x 11 root wheel 11 Jul 20 00:04 ../
fred@fredTC93-pc /boot> ls -la /dev/gpt /dev/gptid /dev/diskid/ /dev/label
ls: /dev/gptid: No such file or directory
ls: /dev/label: No such file or directory
/dev/diskid/:
total 2
dr-xr-xr-x 2 root wheel 512 Aug 14 23:33 ./
dr-xr-xr-x 23 root wheel 512 Aug 14 23:33 ../
crw-r----- 1 root operator 0x96 Aug 14 23:33 DISK-333457EBD0F2
crw-r----- 1 root operator 0x9f Aug 14 23:33 DISK-333457EBD0F2p1
crw-r----- 1 root operator 0xa0 Aug 14 23:33 DISK-333457EBD0F2p2
crw-r----- 1 root operator 0xa1 Aug 21 19:33 DISK-333457EBD0F2p3
/dev/gpt:
total 2
dr-xr-xr-x 2 root wheel 512 Aug 21 19:33 ./
dr-xr-xr-x 23 root wheel 512 Aug 14 23:33 ../
crw-r----- 1 root operator 0x1b1 Aug 21 19:33 swap-unirex-224
fred@fredTC93-pc /boot [1]>
fred@fredTC93-pc /boot> mount
zroot/ROOT/default on / (zfs, local, nfsv4acls)
devfs on /dev (devfs)
procfs on /proc (procfs, local)
linprocfs on /compat/linux/proc (linprocfs, local)
tmpfs on /tmp (tmpfs, local)
linsysfs on /compat/linux/sys (linsysfs, local)
fdescfs on /dev/fd (fdescfs)
zroot/usr/home on /usr/home (zfs, local, nfsv4acls)
zroot/var/tmp on /var/tmp (zfs, local, nosuid, nfsv4acls)
zroot/usr/src on /usr/src (zfs, local, nfsv4acls)
zroot/usr/ports on /usr/ports (zfs, local, nosuid, nfsv4acls)
zroot/var/crash on /var/crash (zfs, local, noexec, nosuid, nfsv4acls)
zroot/var/mail on /var/mail (zfs, local, nfsv4acls)
zroot/var/audit on /var/audit (zfs, local, noexec, nosuid, nfsv4acls)
zroot/tmp on /tmp (zfs, local, nosuid, nfsv4acls)
devfs on /compat/linux/dev (devfs)
fdescfs on /compat/linux/dev/fd (fdescfs)
tmpfs on /compat/linux/dev/shm (tmpfs, local)
fred@fredTC93-pc /boot> gpart status
Name Status Components
diskid/DISK-333457EBD0F2p1 OK diskid/DISK-333457EBD0F2
diskid/DISK-333457EBD0F2p2 OK diskid/DISK-333457EBD0F2
diskid/DISK-333457EBD0F2p3 OK diskid/DISK-333457EBD0F2
fred@fredTC93-pc /boot> ls /mnt
bsd/ FreeBSD_Arm64/ FreeBSD_Arm64s2/ ftest1/ swap_space/
bsd_fat32/ FreeBSD_Arm64s1/ FreeBSD_Arm64s2a/ msdos/
fred@fredTC93-pc /boot> ls /mnt/msdos
fred@fredTC93-pc /boot> ls -la /mnt/msdos
total 18
drwxr-xr-x 2 root wheel 2 Feb 13 2022 ./
drwxr-xr-x 11 root wheel 11 Jul 20 00:04 ../
fred@fredTC93-pc /boot> ls -la /dev/gpt /dev/gptid /dev/diskid/ /dev/label
ls: /dev/gptid: No such file or directory
ls: /dev/label: No such file or directory
/dev/diskid/:
total 2
dr-xr-xr-x 2 root wheel 512 Aug 14 23:33 ./
dr-xr-xr-x 23 root wheel 512 Aug 14 23:33 ../
crw-r----- 1 root operator 0x96 Aug 14 23:33 DISK-333457EBD0F2
crw-r----- 1 root operator 0x9f Aug 14 23:33 DISK-333457EBD0F2p1
crw-r----- 1 root operator 0xa0 Aug 14 23:33 DISK-333457EBD0F2p2
crw-r----- 1 root operator 0xa1 Aug 21 19:33 DISK-333457EBD0F2p3
/dev/gpt:
total 2
dr-xr-xr-x 2 root wheel 512 Aug 21 19:33 ./
dr-xr-xr-x 23 root wheel 512 Aug 14 23:33 ../
crw-r----- 1 root operator 0x1b1 Aug 21 19:33 swap-unirex-224
fred@fredTC93-pc /boot [1]>
mount -t msdos /dev/diskid/DISK-333457EBD0F2p1 /mnt/msdos
mount
zroot/ROOT/default on / (zfs, local, nfsv4acls)
devfs on /dev (devfs)
procfs on /proc (procfs, local)
linprocfs on /compat/linux/proc (linprocfs, local)
tmpfs on /tmp (tmpfs, local)
linsysfs on /compat/linux/sys (linsysfs, local)
fdescfs on /dev/fd (fdescfs)
zroot/usr/home on /usr/home (zfs, local, nfsv4acls)
zroot/var/tmp on /var/tmp (zfs, local, nosuid, nfsv4acls)
zroot/usr/src on /usr/src (zfs, local, nfsv4acls)
zroot/usr/ports on /usr/ports (zfs, local, nosuid, nfsv4acls)
zroot/var/crash on /var/crash (zfs, local, noexec, nosuid, nfsv4acls)
zroot/var/mail on /var/mail (zfs, local, nfsv4acls)
zroot/var/audit on /var/audit (zfs, local, noexec, nosuid, nfsv4acls)
zroot/tmp on /tmp (zfs, local, nosuid, nfsv4acls)
devfs on /compat/linux/dev (devfs)
fdescfs on /compat/linux/dev/fd (fdescfs)
tmpfs on /compat/linux/dev/shm (tmpfs, local)
/dev/diskid/DISK-333457EBD0F2p1 on /mnt/msdos (msdosfs, local)
fred@fredTC93-pc /boot> cd /mnt/msdos
fred@fredTC93-pc /m/msdos> ls
EFI/
fred@fredTC93-pc /m/msdos> ls EFI
BOOT/ ghostbsd/ refind/
fred@fredTC93-pc /m/msdos> cd EFI/refind
fred@fredTC93-pc /m/m/E/refind> ls
BOOTX64.EFI* ICONS/ REFIND.CONF*
fred@fredTC93-pc /m/m/E/refind> ls -l
total 512
-rwxr-xr-x 1 root wheel 208776 Jan 19 2022 BOOTX64.EFI*
drwxr-xr-x 1 root wheel 16384 Jan 19 2022 ICONS/
-rwxr-xr-x 1 root wheel 31611 Jan 19 2022 REFIND.CONF*
fred@fredTC93-pc /m/m/E/refind>
fred@fredTC93-pc /m/m/E/refind> cd ..
fred@fredTC93-pc /m/m/EFI> ls
BOOT/ ghostbsd/ refind/
fred@fredTC93-pc /m/m/EFI> ls BOOT
BOOTX64.EFI* ICONS/ REFIND.CON* REFIND.CONF*
fred@fredTC93-pc /m/m/EFI> ls -la
total 160
drwxr-xr-x 1 root wheel 16384 Jan 19 2022 ./
drwxr-xr-x 1 root wheel 16384 Dec 31 1979 ../
drwxr-xr-x 1 root wheel 16384 Jan 19 2022 BOOT/
drwxr-xr-x 1 root wheel 16384 Jan 19 2022 ghostbsd/
drwxr-xr-x 1 root wheel 16384 Jan 19 2022 refind/
fred@fredTC93-pc /m/m/EFI> ls -la BOOT
total 640
drwxr-xr-x 1 root wheel 16384 Jan 19 2022 ./
drwxr-xr-x 1 root wheel 16384 Jan 19 2022 ../
-rwxr-xr-x 1 root wheel 208776 Jan 19 2022 BOOTX64.EFI*
drwxr-xr-x 1 root wheel 16384 Jan 19 2022 ICONS/
-rwxr-xr-x 1 root wheel 31654 Feb 2 2022 REFIND.CON*
-rwxr-xr-x 1 root wheel 31611 Jan 19 2022 REFIND.CONF*
fred@fredTC93-pc /m/m/E/boot> ls
BOOTX64.EFI* ICONS/ REFIND.CON* REFIND.CONF*
fred@fredTC93-pc /m/m/E/boot> cmp REFIND.CON REFIND.CONF
REFIND.CON REFIND.CONF differ: char 31546, line 652
fred@fredTC93-pc /m/m/E/boot [1]> diff REFIND.CON REFIND.CONF
652,654c652,653
< loader \EFI\Boot\bootx64-trueos.efi
< loader \EFI\Boot\BOOTX64_GHOSTBSD.efi
< icon \EFI\Boot\icons\os_ghostbsd.png
---
> loader \EFI\ghostbsd\bootx64.efi
> icon \EFI\refind\icons\os_ghostbsd.png
More to follow. This should give you some file data to compare your files with
Last edited by wb7odyfred on Fri Aug 26, 2022 3:24 am, edited 2 times in total.
-
- Posts: 207
- Joined: Sat Nov 12, 2016 5:44 pm
Re: Copying GhostBSD zfs partition of external USB to built-in disk
wb7odyfred on t.me/ghostbsd telegram group. You may ask more questions and share data with GhostBSD telegram group. You may direct message Me on Telegram. Fred Finster. I am interested in the same knowledge you are pursuing here in your question forum post above.https://sourceforge.net/projects/refind/files/
sourceforge.net (https://sourceforge.net/projects/refind/files/)
rEFInd - Browse Files at SourceForge.net
An EFI boot manager utility
sudo efivar
Password:
4599d26f-1a11-49b8-b91f-858745cff824-StdDefaults
001dae89-a757-4380-bff0-5756cf65c349-BIOSUpdateNVRAMFlag
e08126e5-b93c-4f5e-8e81-6dfcf34ff88e-FirmwareUpdateCountVar
1bad711c-d451-4241-b1f3-8537812e0c70-MeBiosExtensionSetup
d719b2cb-3d3a-4596-a3bc-dad00e67656f-dbx
d719b2cb-3d3a-4596-a3bc-dad00e67656f-db
8be4df61-93ca-11d2-aa0d-00e098032b8c-KEK
8be4df61-93ca-11d2-aa0d-00e098032b8c-PK
c811fa38-42c8-4579-a9bb-60e94eddfb34-AMITSESetup
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0002
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0003
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0008
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0004
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0009
8be4df61-93ca-11d2-aa0d-00e098032b8c-BootOrder
a56074db-65fe-45f7-bd21-2d2bdd8e9652-LegacyDevOrder
77fa9abd-0359-4d32-bd60-28f4e78f784b-Kernel_SiStatus
77fa9abd-0359-4d32-bd60-28f4e78f784b-Kernel_SkuSiStatus
77fa9abd-0359-4d32-bd60-28f4e78f784b-Kernel_WinSiStatus
77fa9abd-0359-4d32-bd60-28f4e78f784b-Kernel_ATPSiStatus
77fa9abd-0359-4d32-bd60-28f4e78f784b-Kernel_DriverSiStatus
77fa9abd-0359-4d32-bd60-28f4e78f784b-Kernel_RvkSiStatus
ef7eae21-2830-4fb0-98af-11960cadbb4b-DefaultOemExBootOrder1
ef7eae21-2830-4fb0-98af-11960cadbb4b-OemExBootOrder1
ef7eae21-2830-4fb0-98af-11960cadbb4b-DefaultOemExBootOrder2
ef7eae21-2830-4fb0-98af-11960cadbb4b-OemExBootOrder2
ef7eae21-2830-4fb0-98af-11960cadbb4b-DefaultOemExBootOrder3
ef7eae21-2830-4fb0-98af-11960cadbb4b-OemExBootOrder3
ef7eae21-2830-4fb0-98af-11960cadbb4b-DefaultOemExBootOrder4
ef7eae21-2830-4fb0-98af-11960cadbb4b-OemExBootOrder4
8be4df61-93ca-11d2-aa0d-00e098032b8c-EDUSetup
8be4df61-93ca-11d2-aa0d-00e098032b8c-EDUBIOSSetup
8be4df61-93ca-11d2-aa0d-00e098032b8c-EDUCSMCtrl
9a65e656-d797-4fd6-9db8-0f0163b5c398-LastCheckSum
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-Setup
8be4df61-93ca-11d2-aa0d-00e098032b8c-PlatformLang
8be4df61-93ca-11d2-aa0d-00e098032b8c-Timeout
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-LnvKbdPowerOn
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-UsbSupport
d1405d16-7afc-4695-bb12-41459d3695a2-NetworkStackVar
560bf58a-1e0d-4d7e-953f-2980a261e031-PNP0510_0_NV
560bf58a-1e0d-4d7e-953f-2980a261e031-PNP0501_0_NV
560bf58a-1e0d-4d7e-953f-2980a261e031-PNP0501_1_NV
560bf58a-1e0d-4d7e-953f-2980a261e031-PNP0400_0_NV
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-RtcWakeData
8be4df61-93ca-11d2-aa0d-00e098032b8c-SetupDataChecksumError
01368881-c4ad-4b1d-b631-d57a8ec8db6b-MonotonicCounter
dde1bc72-d45e-4209-ab85-14462d2f5074-HobRomImage
8be4df61-93ca-11d2-aa0d-00e098032b8c-RestoreSetupDataFlag
8be4df61-93ca-11d2-aa0d-00e098032b8c-WarmResetFlag
8be4df61-93ca-11d2-aa0d-00e098032b8c-LastInNvramDefault
8be4df61-93ca-11d2-aa0d-00e098032b8c-SystemLoadDefautType
8be4df61-93ca-11d2-aa0d-00e098032b8c-ECRev1
8be4df61-93ca-11d2-aa0d-00e098032b8c-ECRev2
76c13653-2664-4bfe-a0df-eb33d18eb1db-LmRandomNumber
9e87b499-aa6a-48cc-827b-9023e7baa3a2-PPLifeTimelock
8be4df61-93ca-11d2-aa0d-00e098032b8c-TPMPresentFlag
9e87b499-aa6a-48cc-827b-9023e7baa3a2-SuppressTcgForm
f3ed95df-828e-41c7-bca0-16c41965a634-TcgInternalSyncFlag
1456cc6e-22ac-5289-33ba-2e13bbdabaee-CPUS3APICID
3d989471-cfac-46b7-9b1c-08430109402d-TxtOneTouch
8be4df61-93ca-11d2-aa0d-00e098032b8c-OA3BackDoorVariable
fa57df64-79d2-42f3-84a2-4273052dbab3-SerialNUM
8be4df61-93ca-11d2-aa0d-00e098032b8c-TpmEnableOld
8be4df61-93ca-11d2-aa0d-00e098032b8c-LastTPMCommand
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-LENEDUSUPPORT
560bf58a-1e0d-4d7e-953f-2980a261e031-SioSerialPortsLocationVar
560bf58a-1e0d-4d7e-953f-2980a261e031-PciSerialPortsLocationVar
8be4df61-93ca-11d2-aa0d-00e098032b8c-TPMSpecFlag
4b3082a3-80c6-4d7e-9cd0-583917265df1-WriteOnceStatus
e38fbebd-a50d-41e4-acfb-bc2ab7b6eca2-WmiDefaultSetupData
f9cfe057-149a-4298-8145-c87f39bd2072-WmiDefaultUsbSupport
234669a2-2432-499f-98c8-102b32202d92-WmiDefaultNetWork
4305ea64-575b-40e6-9e97-fcf844444230-WmiDefaultRtcWake
acd64e1f-6fe2-426f-a873-78fb4f50ec3e-WmiDefaultSecureBootSetup
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-STOREASSERTIDSTATUS
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-AssetIdHDPFlag
a31b27a4-cae6-48ff-8c5a-294221e6f389-PchInitPei
368cda0d-cf31-4b9b-8cf6-e7d1bfff157e-ConsoleLock
8be4df61-93ca-11d2-aa0d-00e098032b8c-OldFlagData
8be4df61-93ca-11d2-aa0d-00e098032b8c-EndofPostSet
8be4df61-93ca-11d2-aa0d-00e098032b8c-PassWordInputData
3bd3f999-a31c-4448-be85-72ae545645a2-SLD_Flag
8be4df61-93ca-11d2-aa0d-00e098032b8c-AFUPswFlag
69d88529-db90-4e0f-839b-bfc1b89ea989-TempKey
8be4df61-93ca-11d2-aa0d-00e098032b8c-ConOut
8be4df61-93ca-11d2-aa0d-00e098032b8c-ConIn
a56074db-65fe-45f7-bd21-2d2bdd8e9652-OldLegacyDevOrder
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-LastUUID
8be4df61-93ca-11d2-aa0d-00e098032b8c-Lang
8be4df61-93ca-11d2-aa0d-00e098032b8c-ATAConfigErrorFlag
8be4df61-93ca-11d2-aa0d-00e098032b8c-ChassisErrorFlag
8be4df61-93ca-11d2-aa0d-00e098032b8c-UnauthorSecDataChanged
8be4df61-93ca-11d2-aa0d-00e098032b8c-SysSecuritycrcError
8be4df61-93ca-11d2-aa0d-00e098032b8c-InvalidMailBox
8be4df61-93ca-11d2-aa0d-00e098032b8c-DMBMBootKey
e7e34560-b633-4d15-2331-550df69e1608-WIN8FLAG
8be4df61-93ea-11d2-aa0d-00e098032b8c-CssTp134
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-OemIobpTable
8be4df61-93ca-11d2-aa0d-00e098032b8c-SMIMebxResetFlag
e8eebcaa-0e83-4e32-8aeb-34129b972d7a-SetupCpuFeatures2
e8eebcaa-0e83-4e32-8aeb-34129b972d7a-NBPlatformData2
8be4df61-93ca-11d2-aa0d-00e098032b8c-Sub1LastRun
4b3082a3-80c6-4d7e-9cd0-583917265df1-SmbiosEntryPointTable
4b3082a3-80c6-4d7e-9cd0-583917265df1-SmbiosScratchBuffer
4b3082a3-80c6-4d7e-9cd0-583917265df1-MaximumTableSize
af9ffd67-ec10-488a-9dfc-6cbf5ee22c2e-AcpiGlobalVariable
e20939be-32d4-41be-a150-897f85d49829-MemoryOverwriteRequestControl
c020489e-6db2-4ef2-9aa5-ca06fc11d36a-AcpiGlobalVariable
8be4df61-93ea-11d2-aa0d-00e098032b8c-RnRAPPresent
36d08fa7-cf0b-42f5-8f14-68df73ed3740-PreviousBoot
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot000A
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot000B
9d0da369-540b-46f8-85a0-2b5f2c301e15-EfiTime
01368881-c4ad-4b1d-b631-d57a8ec8db6b-RSCInfoAddresss
8be4df61-93ca-11d2-aa0d-00e098032b8c-SignatureSupport
8be4df61-93ca-11d2-aa0d-00e098032b8c-SecureBoot
8be4df61-93ca-11d2-aa0d-00e098032b8c-SetupMode
8be4df61-93ca-11d2-aa0d-00e098032b8c-LastRestoreSetupDataFlag
8be4df61-93ca-11d2-aa0d-00e098032b8c-InRestoreSetup
8be4df61-93ca-11d2-aa0d-00e098032b8c-LastWarmResetFlag
8be4df61-93ca-11d2-aa0d-00e098032b8c-LastSystemLoadDefautType
8be4df61-93ca-11d2-aa0d-00e098032b8c-DMDMRunFlag
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-OemDevDetect
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-OemBoardId
4bafc2b4-02dc-4104-b236-d6f1b98d9e84-S3SS
01368881-c4ad-4b1d-b631-d57a8ec8db6b-FPDT_Variable
8be4df61-93ca-11d2-aa0d-00e098032b8c-SMBIOSMFG
c3af0d99-9701-42f0-81ee-1ca3aeb55a80-SMBIOSMFGTRIANGLE
560bf58a-1e0d-4d7e-953f-2980a261e031-SerialPortsEnabledVar
97ca1a5b-b760-4d1f-a54b-d19092032c90-DebuggerSerialPortsEnabledVar
8be4df61-93ca-11d2-aa0d-00e098032b8c-OsIndicationsSupported
7459a7d4-6533-4480-bba7-79e25a4443c9-DriverHealthCount
0885f288-418c-4be1-a6af-8bad61da08fe-DriverHlthEnable
8be4df61-93ca-11d2-aa0d-00e098032b8c-BIOSVer
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-UsbMassDevNum
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-UsbMassDevValid
c811fa38-42c8-4579-a9bb-60e94eddfb34-USB_POINT
8be4df61-93ca-11d2-aa0d-00e098032b8c-WMIAcpiMemAddr
d27c9999-0a00-4c3f-a84a-8f61f6e9088b-ThermalMemAddr
ca3b07c1-4fee-49f4-a2c1-e8c089b94aee-AssetIdStorageAddr
ca3b07c1-4fee-49f4-a2c1-e8c089b94aee-HddSecParameterBufferAddr
8be4df61-93ca-11d2-aa0d-00e098032b8c-SendEndofPostMsgIsTrue
8be4df61-93ca-11d2-aa0d-00e098032b8c-DMBMHOTKey
8be4df61-93ca-11d2-aa0d-00e098032b8c-ConOutDev
560bf58a-1e0d-4d7e-953f-2980a261e031-PNP0501_0_VV
560bf58a-1e0d-4d7e-953f-2980a261e031-PNP0501_1_VV
560bf58a-1e0d-4d7e-953f-2980a261e031-PNP0400_0_VV
560bf58a-1e0d-4d7e-953f-2980a261e031-PNP0510_0_VV
8be4df61-93ca-11d2-aa0d-00e098032b8c-ConInDev
8be4df61-93ca-11d2-aa0d-00e098032b8c-BootOptionSupport
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-HddFixInfoAddr
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-HddSecInfoAddr
8be4df61-93ca-11d2-aa0d-00e098032b8c-ErrOutDev
8be4df61-93ca-11d2-aa0d-00e098032b8c-ErrOut
8be4df61-93ca-11d2-aa0d-00e098032b8c-PlatformLangCodes
8be4df61-93ca-11d2-aa0d-00e098032b8c-LangCodes
8be4df61-93ca-11d2-aa0d-00e098032b8c-CurrentBootSequence
8be4df61-93ca-11d2-aa0d-00e098032b8c-ComputraceMessageFlag
8be4df61-93ea-11d2-aa0d-00e098032b8c-CmpCfgSts
8be4df61-93ca-11d2-aa0d-00e098032b8c-OemIdeSecurityData
aedda251-3428-4ec2-b2ae-3aa94fe698d7-HDPSTATUS
8be4df61-93ea-11d2-aa0d-00e098032b8c-TvtHkAction
8be4df61-93ca-11d2-aa0d-00e098032b8c-BootCurrent
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-AssetIdHDPFlagTemp
8be4df61-93ca-11d2-aa0d-00e098032b8c-HDDFlag
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot000A
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot0002
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot000B
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot0009
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot0003
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot0008
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot0004
db63592c-b8cc-44c8-918c-51f534598a5a-InLegacyBoot
cfee69ad-a0de-47a9-93a8-f63106f8ae99-LoaderPath
cfee69ad-a0de-47a9-93a8-f63106f8ae99-LoaderDev
fred@fredTC93-pc ~>
efibootmgr
efibootmgr --verbose
efibootmgr: efi variables not supported on this system. root? kldload efirt?
fred@fredTC93-pc /m/m/E/boot [1]> sudo kldload efirt
Password:
kldload: can't load efirt: module already loaded or in kernel
fred@fredTC93-pc /m/m/E/boot [1]> efibootmgr
efibootmgr: efi variables not supported on this system. root? kldload efirt?
fred@fredTC93-pc /m/m/E/boot [1]> efibootmgr --help
efibootmgr: [-aAnB -b bootnum] [-N] [-t timeout] [-T] [-o bootorder] [-O] [--verbose] [--help]
[-c -l loader [-k kernel] [-L label] [--dry-run] [-b bootnum]]
fred@fredTC93-pc /m/m/E/boot [1]> efibootmgr --dry-run
efibootmgr: efi variables not supported on this system. root? kldload efirt?
https://klarasystems.com/articles/the-f ... t-process/
sourceforge.net (https://sourceforge.net/projects/refind/files/)
rEFInd - Browse Files at SourceForge.net
An EFI boot manager utility
sudo efivar
Password:
4599d26f-1a11-49b8-b91f-858745cff824-StdDefaults
001dae89-a757-4380-bff0-5756cf65c349-BIOSUpdateNVRAMFlag
e08126e5-b93c-4f5e-8e81-6dfcf34ff88e-FirmwareUpdateCountVar
1bad711c-d451-4241-b1f3-8537812e0c70-MeBiosExtensionSetup
d719b2cb-3d3a-4596-a3bc-dad00e67656f-dbx
d719b2cb-3d3a-4596-a3bc-dad00e67656f-db
8be4df61-93ca-11d2-aa0d-00e098032b8c-KEK
8be4df61-93ca-11d2-aa0d-00e098032b8c-PK
c811fa38-42c8-4579-a9bb-60e94eddfb34-AMITSESetup
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0002
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0003
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0008
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0004
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0009
8be4df61-93ca-11d2-aa0d-00e098032b8c-BootOrder
a56074db-65fe-45f7-bd21-2d2bdd8e9652-LegacyDevOrder
77fa9abd-0359-4d32-bd60-28f4e78f784b-Kernel_SiStatus
77fa9abd-0359-4d32-bd60-28f4e78f784b-Kernel_SkuSiStatus
77fa9abd-0359-4d32-bd60-28f4e78f784b-Kernel_WinSiStatus
77fa9abd-0359-4d32-bd60-28f4e78f784b-Kernel_ATPSiStatus
77fa9abd-0359-4d32-bd60-28f4e78f784b-Kernel_DriverSiStatus
77fa9abd-0359-4d32-bd60-28f4e78f784b-Kernel_RvkSiStatus
ef7eae21-2830-4fb0-98af-11960cadbb4b-DefaultOemExBootOrder1
ef7eae21-2830-4fb0-98af-11960cadbb4b-OemExBootOrder1
ef7eae21-2830-4fb0-98af-11960cadbb4b-DefaultOemExBootOrder2
ef7eae21-2830-4fb0-98af-11960cadbb4b-OemExBootOrder2
ef7eae21-2830-4fb0-98af-11960cadbb4b-DefaultOemExBootOrder3
ef7eae21-2830-4fb0-98af-11960cadbb4b-OemExBootOrder3
ef7eae21-2830-4fb0-98af-11960cadbb4b-DefaultOemExBootOrder4
ef7eae21-2830-4fb0-98af-11960cadbb4b-OemExBootOrder4
8be4df61-93ca-11d2-aa0d-00e098032b8c-EDUSetup
8be4df61-93ca-11d2-aa0d-00e098032b8c-EDUBIOSSetup
8be4df61-93ca-11d2-aa0d-00e098032b8c-EDUCSMCtrl
9a65e656-d797-4fd6-9db8-0f0163b5c398-LastCheckSum
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-Setup
8be4df61-93ca-11d2-aa0d-00e098032b8c-PlatformLang
8be4df61-93ca-11d2-aa0d-00e098032b8c-Timeout
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-LnvKbdPowerOn
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-UsbSupport
d1405d16-7afc-4695-bb12-41459d3695a2-NetworkStackVar
560bf58a-1e0d-4d7e-953f-2980a261e031-PNP0510_0_NV
560bf58a-1e0d-4d7e-953f-2980a261e031-PNP0501_0_NV
560bf58a-1e0d-4d7e-953f-2980a261e031-PNP0501_1_NV
560bf58a-1e0d-4d7e-953f-2980a261e031-PNP0400_0_NV
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-RtcWakeData
8be4df61-93ca-11d2-aa0d-00e098032b8c-SetupDataChecksumError
01368881-c4ad-4b1d-b631-d57a8ec8db6b-MonotonicCounter
dde1bc72-d45e-4209-ab85-14462d2f5074-HobRomImage
8be4df61-93ca-11d2-aa0d-00e098032b8c-RestoreSetupDataFlag
8be4df61-93ca-11d2-aa0d-00e098032b8c-WarmResetFlag
8be4df61-93ca-11d2-aa0d-00e098032b8c-LastInNvramDefault
8be4df61-93ca-11d2-aa0d-00e098032b8c-SystemLoadDefautType
8be4df61-93ca-11d2-aa0d-00e098032b8c-ECRev1
8be4df61-93ca-11d2-aa0d-00e098032b8c-ECRev2
76c13653-2664-4bfe-a0df-eb33d18eb1db-LmRandomNumber
9e87b499-aa6a-48cc-827b-9023e7baa3a2-PPLifeTimelock
8be4df61-93ca-11d2-aa0d-00e098032b8c-TPMPresentFlag
9e87b499-aa6a-48cc-827b-9023e7baa3a2-SuppressTcgForm
f3ed95df-828e-41c7-bca0-16c41965a634-TcgInternalSyncFlag
1456cc6e-22ac-5289-33ba-2e13bbdabaee-CPUS3APICID
3d989471-cfac-46b7-9b1c-08430109402d-TxtOneTouch
8be4df61-93ca-11d2-aa0d-00e098032b8c-OA3BackDoorVariable
fa57df64-79d2-42f3-84a2-4273052dbab3-SerialNUM
8be4df61-93ca-11d2-aa0d-00e098032b8c-TpmEnableOld
8be4df61-93ca-11d2-aa0d-00e098032b8c-LastTPMCommand
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-LENEDUSUPPORT
560bf58a-1e0d-4d7e-953f-2980a261e031-SioSerialPortsLocationVar
560bf58a-1e0d-4d7e-953f-2980a261e031-PciSerialPortsLocationVar
8be4df61-93ca-11d2-aa0d-00e098032b8c-TPMSpecFlag
4b3082a3-80c6-4d7e-9cd0-583917265df1-WriteOnceStatus
e38fbebd-a50d-41e4-acfb-bc2ab7b6eca2-WmiDefaultSetupData
f9cfe057-149a-4298-8145-c87f39bd2072-WmiDefaultUsbSupport
234669a2-2432-499f-98c8-102b32202d92-WmiDefaultNetWork
4305ea64-575b-40e6-9e97-fcf844444230-WmiDefaultRtcWake
acd64e1f-6fe2-426f-a873-78fb4f50ec3e-WmiDefaultSecureBootSetup
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-STOREASSERTIDSTATUS
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-AssetIdHDPFlag
a31b27a4-cae6-48ff-8c5a-294221e6f389-PchInitPei
368cda0d-cf31-4b9b-8cf6-e7d1bfff157e-ConsoleLock
8be4df61-93ca-11d2-aa0d-00e098032b8c-OldFlagData
8be4df61-93ca-11d2-aa0d-00e098032b8c-EndofPostSet
8be4df61-93ca-11d2-aa0d-00e098032b8c-PassWordInputData
3bd3f999-a31c-4448-be85-72ae545645a2-SLD_Flag
8be4df61-93ca-11d2-aa0d-00e098032b8c-AFUPswFlag
69d88529-db90-4e0f-839b-bfc1b89ea989-TempKey
8be4df61-93ca-11d2-aa0d-00e098032b8c-ConOut
8be4df61-93ca-11d2-aa0d-00e098032b8c-ConIn
a56074db-65fe-45f7-bd21-2d2bdd8e9652-OldLegacyDevOrder
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-LastUUID
8be4df61-93ca-11d2-aa0d-00e098032b8c-Lang
8be4df61-93ca-11d2-aa0d-00e098032b8c-ATAConfigErrorFlag
8be4df61-93ca-11d2-aa0d-00e098032b8c-ChassisErrorFlag
8be4df61-93ca-11d2-aa0d-00e098032b8c-UnauthorSecDataChanged
8be4df61-93ca-11d2-aa0d-00e098032b8c-SysSecuritycrcError
8be4df61-93ca-11d2-aa0d-00e098032b8c-InvalidMailBox
8be4df61-93ca-11d2-aa0d-00e098032b8c-DMBMBootKey
e7e34560-b633-4d15-2331-550df69e1608-WIN8FLAG
8be4df61-93ea-11d2-aa0d-00e098032b8c-CssTp134
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-OemIobpTable
8be4df61-93ca-11d2-aa0d-00e098032b8c-SMIMebxResetFlag
e8eebcaa-0e83-4e32-8aeb-34129b972d7a-SetupCpuFeatures2
e8eebcaa-0e83-4e32-8aeb-34129b972d7a-NBPlatformData2
8be4df61-93ca-11d2-aa0d-00e098032b8c-Sub1LastRun
4b3082a3-80c6-4d7e-9cd0-583917265df1-SmbiosEntryPointTable
4b3082a3-80c6-4d7e-9cd0-583917265df1-SmbiosScratchBuffer
4b3082a3-80c6-4d7e-9cd0-583917265df1-MaximumTableSize
af9ffd67-ec10-488a-9dfc-6cbf5ee22c2e-AcpiGlobalVariable
e20939be-32d4-41be-a150-897f85d49829-MemoryOverwriteRequestControl
c020489e-6db2-4ef2-9aa5-ca06fc11d36a-AcpiGlobalVariable
8be4df61-93ea-11d2-aa0d-00e098032b8c-RnRAPPresent
36d08fa7-cf0b-42f5-8f14-68df73ed3740-PreviousBoot
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot000A
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot000B
9d0da369-540b-46f8-85a0-2b5f2c301e15-EfiTime
01368881-c4ad-4b1d-b631-d57a8ec8db6b-RSCInfoAddresss
8be4df61-93ca-11d2-aa0d-00e098032b8c-SignatureSupport
8be4df61-93ca-11d2-aa0d-00e098032b8c-SecureBoot
8be4df61-93ca-11d2-aa0d-00e098032b8c-SetupMode
8be4df61-93ca-11d2-aa0d-00e098032b8c-LastRestoreSetupDataFlag
8be4df61-93ca-11d2-aa0d-00e098032b8c-InRestoreSetup
8be4df61-93ca-11d2-aa0d-00e098032b8c-LastWarmResetFlag
8be4df61-93ca-11d2-aa0d-00e098032b8c-LastSystemLoadDefautType
8be4df61-93ca-11d2-aa0d-00e098032b8c-DMDMRunFlag
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-OemDevDetect
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-OemBoardId
4bafc2b4-02dc-4104-b236-d6f1b98d9e84-S3SS
01368881-c4ad-4b1d-b631-d57a8ec8db6b-FPDT_Variable
8be4df61-93ca-11d2-aa0d-00e098032b8c-SMBIOSMFG
c3af0d99-9701-42f0-81ee-1ca3aeb55a80-SMBIOSMFGTRIANGLE
560bf58a-1e0d-4d7e-953f-2980a261e031-SerialPortsEnabledVar
97ca1a5b-b760-4d1f-a54b-d19092032c90-DebuggerSerialPortsEnabledVar
8be4df61-93ca-11d2-aa0d-00e098032b8c-OsIndicationsSupported
7459a7d4-6533-4480-bba7-79e25a4443c9-DriverHealthCount
0885f288-418c-4be1-a6af-8bad61da08fe-DriverHlthEnable
8be4df61-93ca-11d2-aa0d-00e098032b8c-BIOSVer
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-UsbMassDevNum
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-UsbMassDevValid
c811fa38-42c8-4579-a9bb-60e94eddfb34-USB_POINT
8be4df61-93ca-11d2-aa0d-00e098032b8c-WMIAcpiMemAddr
d27c9999-0a00-4c3f-a84a-8f61f6e9088b-ThermalMemAddr
ca3b07c1-4fee-49f4-a2c1-e8c089b94aee-AssetIdStorageAddr
ca3b07c1-4fee-49f4-a2c1-e8c089b94aee-HddSecParameterBufferAddr
8be4df61-93ca-11d2-aa0d-00e098032b8c-SendEndofPostMsgIsTrue
8be4df61-93ca-11d2-aa0d-00e098032b8c-DMBMHOTKey
8be4df61-93ca-11d2-aa0d-00e098032b8c-ConOutDev
560bf58a-1e0d-4d7e-953f-2980a261e031-PNP0501_0_VV
560bf58a-1e0d-4d7e-953f-2980a261e031-PNP0501_1_VV
560bf58a-1e0d-4d7e-953f-2980a261e031-PNP0400_0_VV
560bf58a-1e0d-4d7e-953f-2980a261e031-PNP0510_0_VV
8be4df61-93ca-11d2-aa0d-00e098032b8c-ConInDev
8be4df61-93ca-11d2-aa0d-00e098032b8c-BootOptionSupport
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-HddFixInfoAddr
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-HddSecInfoAddr
8be4df61-93ca-11d2-aa0d-00e098032b8c-ErrOutDev
8be4df61-93ca-11d2-aa0d-00e098032b8c-ErrOut
8be4df61-93ca-11d2-aa0d-00e098032b8c-PlatformLangCodes
8be4df61-93ca-11d2-aa0d-00e098032b8c-LangCodes
8be4df61-93ca-11d2-aa0d-00e098032b8c-CurrentBootSequence
8be4df61-93ca-11d2-aa0d-00e098032b8c-ComputraceMessageFlag
8be4df61-93ea-11d2-aa0d-00e098032b8c-CmpCfgSts
8be4df61-93ca-11d2-aa0d-00e098032b8c-OemIdeSecurityData
aedda251-3428-4ec2-b2ae-3aa94fe698d7-HDPSTATUS
8be4df61-93ea-11d2-aa0d-00e098032b8c-TvtHkAction
8be4df61-93ca-11d2-aa0d-00e098032b8c-BootCurrent
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-AssetIdHDPFlagTemp
8be4df61-93ca-11d2-aa0d-00e098032b8c-HDDFlag
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot000A
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot0002
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot000B
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot0009
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot0003
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot0008
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot0004
db63592c-b8cc-44c8-918c-51f534598a5a-InLegacyBoot
cfee69ad-a0de-47a9-93a8-f63106f8ae99-LoaderPath
cfee69ad-a0de-47a9-93a8-f63106f8ae99-LoaderDev
fred@fredTC93-pc ~>
efibootmgr
efibootmgr --verbose
efibootmgr: efi variables not supported on this system. root? kldload efirt?
fred@fredTC93-pc /m/m/E/boot [1]> sudo kldload efirt
Password:
kldload: can't load efirt: module already loaded or in kernel
fred@fredTC93-pc /m/m/E/boot [1]> efibootmgr
efibootmgr: efi variables not supported on this system. root? kldload efirt?
fred@fredTC93-pc /m/m/E/boot [1]> efibootmgr --help
efibootmgr: [-aAnB -b bootnum] [-N] [-t timeout] [-T] [-o bootorder] [-O] [--verbose] [--help]
[-c -l loader [-k kernel] [-L label] [--dry-run] [-b bootnum]]
fred@fredTC93-pc /m/m/E/boot [1]> efibootmgr --dry-run
efibootmgr: efi variables not supported on this system. root? kldload efirt?
https://klarasystems.com/articles/the-f ... t-process/
-
- Posts: 207
- Joined: Sat Nov 12, 2016 5:44 pm
Re: Copying GhostBSD zfs partition of external USB to built-in disk
https://forums.freebsd.org/threads/free ... oot.81120/
menuentry "FreeBSD" {
insmod ufs2
root=(hd0,gpt9)
chainloader /boot/loader_4th.efi
}
https://wiki.ghostbsd.org/index.php//usr/sbin/ efivar
https://www.freebsd.org/cgi/man.cgi?que ... ormat=html
https://forums.ghostbsd.org/viewtopic.php?t=1265
I have not used MBR for a long time.
A proper MBR boot will look like that:
menuentry "GhostBSD" {
insmod zfs
set root=(hd2,2,a)
kfreebsd /boot/loader
}
The only thing I do not know if it works for ZFS.
FreeBSD is the only one providing native support for efibootmgr(8) in base (linked relative and very well written FBSD manpage). Any derivative should have it too.
https://www.freebsd.org/cgi/man.cgi?que ... ormat=html
efibootmgr -v
efibootmgr: efi variables not supported on this system. root? kldload efirt?
menuentry "FreeBSD" {
insmod ufs2
root=(hd0,gpt9)
chainloader /boot/loader_4th.efi
}
https://wiki.ghostbsd.org/index.php//usr/sbin/ efivar
https://www.freebsd.org/cgi/man.cgi?que ... ormat=html
https://forums.ghostbsd.org/viewtopic.php?t=1265
I have not used MBR for a long time.
A proper MBR boot will look like that:
menuentry "GhostBSD" {
insmod zfs
set root=(hd2,2,a)
kfreebsd /boot/loader
}
The only thing I do not know if it works for ZFS.
FreeBSD is the only one providing native support for efibootmgr(8) in base (linked relative and very well written FBSD manpage). Any derivative should have it too.
https://www.freebsd.org/cgi/man.cgi?que ... ormat=html
efibootmgr -v
efibootmgr: efi variables not supported on this system. root? kldload efirt?
-
- Posts: 207
- Joined: Sat Nov 12, 2016 5:44 pm
Re:sudo efibootmgr -v output
Code: Select all
sudo efibootmgr -v
Password:
Boot to FW : false
BootCurrent: 000a
Timeout : 2 seconds
BootOrder : 000A, 0002, 000B, 0009, 0003, 0008, 0004
+Boot000A* SATA SSD 4103 BBS(HD,,0x0)
PciRoot(0x0)/Pci(0x1d,0x0)/USB(0x1,0x0)/USB(0x6,0x0)
VenHw(2d6447ef-3bc9-41a0-ac19-4d51d01b4ce6,3300330033003400350037004500420044003000460032000000)
Boot0002* IBA GE Slot 00C8 v1550 BBS(Network,,0x0)
VenHw(1db184ae-81f5-4e72-8544-2bab0c2cac5c,001900020000)
VenHw(2d6447ef-3bc9-41a0-ac19-4d51d01b4ce6,490042004100200047004500200053006c006f007400200030003000430038002000760031003500350030000000)
Boot000B* UEFI: (FAT)SATA SSD 4103 PciRoot(0x0)/Pci(0x1d,0x0)/USB(0x1,0x0)/USB(0x6,0x0)/HD(1,GPT,7d0e6dcf-7926-11ec-b6e6-0021ccd45dec,0x28,0x82000)
VenHw(2d6447ef-3bc9-41a0-ac19-4d51d01b4ce6,3300330033003400350037004500420044003000460032000000)
Boot0009* Windows Boot Manager VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
HD(2,MBR,0x4caa2019,0xaf800,0x1dc43000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)
Boot0003* Generic Usb Device VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
Boot0008* Windows Boot Manager VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
HD(2,MBR,0x3a0b0af5,0xaf800,0x1dc43000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)
Boot0004* CD/DVD Device VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
Unreferenced Variables:
Code: Select all
sudo efibootmgr -O
Boot to FW : false
BootCurrent: 000a
Timeout : 2 seconds
BootOrder : 000A, 0002, 000B, 0009, 0003, 0008, 0004
+Boot000A* SATA SSD 4103
Boot0002* IBA GE Slot 00C8 v1550
Boot000B* UEFI: (FAT)SATA SSD 4103
Boot0009* Windows Boot Manager
Boot0003* Generic Usb Device
Boot0008* Windows Boot Manager
Boot0004* CD/DVD Device
Re: Copying GhostBSD zfs partition of external USB to built-in disk
Thanks Fred.
I have NO problem in invoking rEFind from ada0. When I power up my PC, rEFInd menu screen immediately appears, and just a few seconds later, Windows 10 starts. If I touch some key(for example right arrow key) during the rEFind menu on the screen, auto boot of Windows 10 will be blocked, and I can choose any icon of the rEFind menu. This is because number 4 of the blow:
and the PC stops here. How can I manage this?
NaoMASA
Uuuum, it seems that I should have explained my situation in more detail.wb7odyfred wrote: ↑Fri Aug 26, 2022 2:25 am (snip)This is how when you land in grub, to boot rEFIND boot manager and then select which one O/S you want to boot.Code: Select all
grub> set root=(hd1,gpt2) chainloader (hd1,gpt1)/efi/boot/BOOTX64-REFIND.EFI boot
(snip)
I have NO problem in invoking rEFind from ada0. When I power up my PC, rEFInd menu screen immediately appears, and just a few seconds later, Windows 10 starts. If I touch some key(for example right arrow key) during the rEFind menu on the screen, auto boot of Windows 10 will be blocked, and I can choose any icon of the rEFind menu. This is because number 4 of the blow:
My real problem occurs in the next step. Choosing the GhotsBSD icon and hit [Enter], I will get something like:MASA wrote: ↑Thu Aug 25, 2022 8:50 am (snip)
What I did so far:
1. Copied da0p2(zfs, GhostBSD 22.08.06) to ada0p13 by "zfs send -R zroot@snapshot | zfs recv -F NEWPOOLNAME" procedure.
2. zpool set bootfs="NEWPOOLNAME/ROOT/default" NEWPOOLNAME.
3. Copied EFI/ghostbsd, EFI/refind directories of da0p1 into EFI/ of efi partition on ada0(ada0p4).
4 Copied EFI/BOOT/BOOTX64.EFI, EFI/BOOT/ICONS, EFI/BOOT/REFIND.CONF into EFI/Boot of efi partiton on ada0(ada0p4).
(I always use "-o longnames" option in mounting efi partitions.)
(snip)
Code: Select all
Consoles: EFI console
Reading loader env vars from /efi/freebsd/loader.env
Setting currdev to disk0p4:
FreeBSD/amd64 EFI loader, Revision 1.1
(snip)
ERROR: cannot open /boot/lua/loader.lua: no such file or directory.
Type '?' for a list of commands, 'help' for more detailed help.
OK
I know how to rewrite this for UEFI/ZFS case, but using grub is really NOT tempting. GhostBSD 22.08.06 version does not include grub, so using grub in this case is, I think, NOT a self-contained solution.wb7odyfred wrote: ↑Fri Aug 26, 2022 2:54 am https://forums.freebsd.org/threads/free ... oot.81120/
(snip)
menuentry "GhostBSD" {
insmod zfs
set root=(hd2,2,a)
kfreebsd /boot/loader
}
The only thing I do not know if it works for ZFS.
(snip)
NaoMASA
Re: Copying GhostBSD zfs partition of external USB to built-in disk
With some discussion on another forum, I found an answer.
In addition to 1-4,
5. Add the following menuentry in REFIND.CONF.
That's it!
In addition to 1-4,
5. Add the following menuentry in REFIND.CONF.
Code: Select all
menuentry "GhostBSD on Internal disk" {
icon /EFI/Boot/ICONS/os_ghostbsd.png
loader /EFI/ghostbsd/BOOTX64.EFI
options "rootdev=zfs:NEWPOOLNAME/ROOT/default:"
}
MASA wrote: ↑Thu Aug 25, 2022 8:50 am I installed 22.08.06 version into an empty external USB disk. No problem encountered. And I copied the zfs partition of the USB to a partition of the built-in hard disk of my PC. How can I boot ghostbsd of just copied zfs on the built-in disk?
What I did so far:
1. Copied da0p2(zfs, GhostBSD 22.08.06) to ada0p13 by "zfs send -R zroot@snapshot | zfs recv -F NEWPOOLNAME" procedure.
2. zpool set bootfs="NEWPOOLNAME/ROOT/default" NEWPOOLNAME.
3. Copied EFI/ghostbsd, EFI/refind directories of da0p1 into EFI/ of efi partition on ada0(ada0p4).
4 Copied EFI/BOOT/BOOTX64.EFI, EFI/BOOT/ICONS, EFI/BOOT/REFIND.CONF into EFI/Boot of efi partiton on ada0(ada0p4).
(I always use "-o longnames" option in mounting efi partitions.)
Do I have to reconstruct EFI/Boot/ghostbsd.efi or rewrite EFI/Boot/REFIND.CONF?
Note that the built-in disk has Windows 10 partition and OLD freebsd partitons, and I have no problem in booting these from rEFInd menu.
A New commer of GhostBSD, quit new to rEFInd.
naoMASA Maruyama
[email protected]