Solved Doesn't boot after removing another SSD that doesn't have FreeBSD installed on it

When I physically remove the second harddrive (that has Fedora installed) my FreeBSD system doesnt boot and gets stuck here

uhub2: 6 ports with 6 removable, self powered
Root mount waiting for: usbus0 usbus1
uhub3: 8 ports with 8 removable, self powered
ugen0.3: <UPEK Biometric Coprocessor> at usbuse
ugen1.3: <Qualcomm Incorporated Qualcomm Gobi 2000> at usbus1
ugen8.4: <Broadcom Corp Broadcom Bluetooth Device> at usbus0
ugen0.5: <Chicony Electronics Co., Ltd. Integrated Camera> at usbuse
mountroot: waiting for device /dev/ada1p2...
Mounting from ufs:/dev/adalp2 failed with error 19.

Loader variables:
vfs.root.mountfrom=ufs:/dev/ada1p2
vfs.root.mountfrom.options=Fu

Manual root filesystem specification:
<fstype>:<device> [options]
Mount <device> using filesystem <fstype>
and with the specified (optional) option list.
eg. ufs:/dev/dabs1a zfs:zroot/R0OT/default cd9660:/dev/cd0 ro (which is equivalent to: mount -t cd9660 -o ro /dev/cdo /)

? List valid disk boot devices
. Yield 1 second (for background tasks)
<empty line> Abort manual input

mountroot>

My disks (Gpart show)
=> 34 250069613 ada0 GPT (119G)
34 2014 - free - (1.0M)
2048 2048 1 bios-boot (1.0M)
4096 2097152 2 !bc13c2ff-59e6-4262-a352-b275fd6f7172 (1.0G)
2101248 247967744 3 linux-data (118G)
250068992 655 - free - (328K)

=> 34 250069613 diskid/DISK-X0HS10IGTJOZ GPT (119G)
34 2014 - free - (1.0M)
2048 2048 1 bios-boot (1.0M)
4096 2097152 2 !bc13c2ff-59e6-4262-a352-b275fd6f7172 (1.0G)
2101248 247967744 3 linux-data (118G)
250068992 655 - free - (328K)

=> 40 1953525095 ada1 GPT (932G)
40 1024 1 freebsd-boot [bootme] (512K)
1064 1946156032 2 freebsd-ufs (928G)
1946157096 7368032 3 freebsd-swap (3.5G)
1953525128 7 - free - (3.5K)

This currently is not a problem. I just want to know the solution to this problem if for some reason the disk dies or gets replaced and I want to know what to do to fix it in the future.
 
Yes, you installed with the root device specified by device number, which was 1 but became 0 when you removed the other disk which was first in order.
 
Back
Top