When you start Debian Linux after you installed Debian with UEFI bhyve on FreeBSD and rebooted FreeBSD, you will get the error message as follows: BdsDex: failed to load Boot0001 "UEFI BHYVE SATA DISK BHYVE-OABE-20A5-E582" from PciRoot(0x0)/Pci (0x2, 0x0)/Stat(0x0,0xFFFF,0x0) : Not Found Description It will try other way to start system, but it will failed finally. At the last, it will come to UEFI Shell . How to access the Debian Guest VM? 1. Enter exit get out of the UEFI Shell (you will come to BHYVE panel) 2. Choose Boot Maintenance Manager 3. (In the Boot Maintenace Manager ) Choose Boot From File 4. (In File Explorer) NO VOLUME LABEL, [PciRoot(0x0)/ Pci()] press Enter 5. (Still in the File Explorer) Choose <EFI> 6. (Still in the File Explorer) Choose debian 7. (Still in the File Explorer) Choose grubx64.efi 8. Then you will get into the system How can you fix it: 1) Get access inside your Debian Guest VM. 2) as root: cd /boot/efi/ 3) mkdir -p EFI/BOOT
1 Search and Install Samba # pkg search samba # pkg install samba413 2 Adding user on FreeBSD # adduser Username: samba1 3 Samba Configuration Creating a directory to share or note an existing directory that you would like shared. Change "samba1" to your user. # mkdir /smbshare # chown samba1 /smbshare # vim /usr/local/etc/smb4.conf Adding the text to the file smb4.conf (again, change "samba1" to your user). [global] workgroup = WORKGROUP server string = Samba Server Version %v netbios name = ExampleMachine wins support = Yes security = user passdb backend = tdbsam # Example: share /smbshare accessible only to "samba1" user [src] path = /smbshare valid users = samba1 writable = yes browsable = yes read only = no guest ok = no public = no create mask = 0666 directory mask = 0755 4 Add user to samba We need to create a specific samba user. This can be the same user as your system user, but still must be done to allow samba to have its own user. Note th
Comments
Post a Comment