Solved No /boot directory

unInstance

New Member

Reaction score: 1
Messages: 12

ls /boot
Code:
/boot

ll /boot
Code:
lrwxr-xr-x    1    root    wheel    13 Nov     1    05:37 /boot@ -> bootpool/boot

I am running FreeBSD 12.1 in VirtualBox 6.1.0 without EFI.
 
OP
unInstance

unInstance

New Member

Reaction score: 1
Messages: 12

Code:
NAME                 USED  AVAIL  REFER  MOUNTPOINT
zroot               3.90G  5.31G    88K  /zroot
zroot/ROOT          1.32G  5.31G    88K  none
zroot/ROOT/default  1.32G  5.31G  1.32G  /
zroot/tmp             88K  5.31G    88K  /tmp
zroot/usr           2.57G  5.31G    88K  /usr
zroot/usr/home       128K  5.31G   128K  /usr/home
zroot/usr/ports     1.88G  5.31G  1.88G  /usr/ports
zroot/usr/src        704M  5.31G   704M  /usr/src
zroot/var            580K  5.31G    88K  /var
zroot/var/audit       88K  5.31G    88K  /var/audit
zroot/var/crash       88K  5.31G    88K  /var/crash
zroot/var/log        140K  5.31G   140K  /var/log
zroot/var/mail        88K  5.31G    88K  /var/mail
zroot/var/tmp         88K  5.31G    88K  /var/tmp
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 11,250
Messages: 37,426

Did you remove the bootpool?
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 11,250
Messages: 37,426

Something's missing and I'm just wondering where it is. Can you post the output from gpart show?
 
OP
unInstance

unInstance

New Member

Reaction score: 1
Messages: 12

Code:
=>      63  33554369  ada0  MBR  (16G)
        63         1        - free -  (512B)
        64  33554368     1  freebsd  [active]  (16G)

=>       0  33554368  ada0s1  BSD  (16G)
         0   4194304       1  freebsd-zfs  (2.0G)
   4194304   8388608       2  freebsd-swap  (4.0G)
  12582912  20971456       4  freebsd-zfs  (10G)
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 11,250
Messages: 37,426

That 2GB partition is where the bootpool probably is. I'm wondering why it doesn't show up with a zfs list. What does zfs import show?
 
OP
unInstance

unInstance

New Member

Reaction score: 1
Messages: 12

Code:
uninstance@uninstance-vb:~ % zfs import
unrecognized command 'import'
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 11,250
Messages: 37,426

Oops, sorry, I meant zpool import.
 
OP
unInstance

unInstance

New Member

Reaction score: 1
Messages: 12

Code:
   pool: bootpool
     id: 11334815970963524383
  state: ONLINE
 action: The pool can be imported using its name or numeric identifier.
 config:

        bootpool    ONLINE
          ada0s1a   ONLINE
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 11,250
Messages: 37,426

Ah, there it is. Run zpool import bootpool, then zfs mount -a. That should bring it back. No idea why it's been exported though.
 
Top