Installing FreeBSD on Pendirve

Hello i tried installing free BSD on my 64GB pendrive. I used ZFS and it installed but after booting from it on my laptop it couldn't find root partition I think I gave up for few days (I'm kinda new to Free BSD) because I didn't know how to fix this. Maybe someone have any solution. Thank you for your time.
 
Maybe explain how you installed it.... and precisely what msg do you see saying that the root partition could not be found.
 
Maybe explain how you installed it.... and precisely what msg do you see saying that the root partition could not be found.
I used virtual box to install it, bassicallt i booted into instalation and when choosing instalation media (i used ZFS) i clicked my pendrive. I don't really have the exact message anymore because I formated my pendrive but it wanted me to Mount root partition or disc i think and when I listen aivable discs it didn't show any discs that I recognized.
 
Make heavy use of labels. USB sticks have a tendency to "move around", during the installer it probably was da1 (because the installer was at da0). But on the laptop it probably got assigned da0. See what the problem is?

You can circumvent this issue by using labels on the partitions and referring to those labels instead of "hard" device references. Then it's not going to matter if the disk itself is da0, da1 or da99.
 
It would be easier to do like I did for my setup (but it's a real USB hard drive in enclosure, not a USB thumb), install FreeBSD directly from the computer and do not use VirtualBox (you can also use another computer, I did it not to mess up with my internal hard drive)
You can also use NomadBSD (nice but preloaded with lots of pkg).

Of course, like you, if I add (prior to boot) any USB drive, USB DVD player or even a chinese audio volume controller (don't know why), the bootup process crashes asking for root partition.
 
Make heavy use of labels. USB sticks have a tendency to "move around", during the installer it probably was da1 (because the installer was at da0). But on the laptop it probably got assigned da0. See what the problem is?

Exactly the issue in this post from Vermaden's latest Valuable News, immediately following this thread in New posts just now ;-)

[edit] Suggest a command for it, among the types of labels?
[edit#2] It's primarily what's in /etc/fstab that matters, right?
 
Exactly the issue in this post from Vermaden's latest Valuable News, immediately following this thread in New posts just now ;-)

[edit] Suggest a command for it, among the types of labels?
[edit#2] It's primarily what's in /etc/fstab that matters, right?
It would be easier to do like I did for my setup (but it's a real USB hard drive in enclosure, not a USB thumb), install FreeBSD directly from the computer and do not use VirtualBox (you can also use another computer, I did it not to mess up with my internal hard drive)
You can also use NomadBSD (nice but preloaded with lots of pkg).

Of course, like you, if I add (prior to boot) any USB drive, USB DVD player or even a chinese audio volume controller (don't know why), the bootup process crashes asking for root partition.
Make heavy use of labels. USB sticks have a tendency to "move around", during the installer it probably was da1 (because the installer was at da0). But on the laptop it probably got assigned da0. See what the problem is?

You can circumvent this issue by using labels on the partitions and referring to those labels instead of "hard" device references. Then it's not going to matter if the disk itself is da0, da1 or da99.
Thank you guys i now know why it is like that and how to fix that. You helped me a lot. Also I wish you all the best in the new year!
 
Back
Top