I'd like to have FreeBSD even while travelling so I'm trying to install FreeBSD on usb stick.
I tried to boot from CD and install from FTP on usb stick. This works but with 2 issues:
1. Despite I have a line in /etc/fstab:
root cannot be found on boot and I have to mount it manually in loader prompt. Then everything goes well.
2. /tmp and /var are on the stick so lots of writing occurs that is not good for this kind of media.
I also tried this but there is a mess with fstab in that "howto": it drops me to single user mode and asks to correct fstab that is indeed unusual:
I prefer first option but I suspect that something wrong with that (looking normal) fstab too because trying to boot my another machine I'm getting something like: "no boot" "no ufs".
Did somebody successfully installed FreeBSD on usb-stick with swap, /tmp and /var on local HDD or in memory?
I tried to boot from CD and install from FTP on usb stick. This works but with 2 issues:
1. Despite I have a line in /etc/fstab:
Code:
/dev/da0s1a / ufs rw 1 1
2. /tmp and /var are on the stick so lots of writing occurs that is not good for this kind of media.
I also tried this but there is a mess with fstab in that "howto": it drops me to single user mode and asks to correct fstab that is indeed unusual:
Code:
# Device Mountpoint FStype Options Dump Pass#
/dev/ufs/FreeBSDonUSB / ufs rw,noatime 1 1
md /tmp mfs rw,-s16M,nosuid,noatime 0 0
md /var/run mfs rw,-s4M,nosuid,noatime 0 0
md /var/log mfs rw,-s16M,nosuid,noatime 0 0
/dev/acd0 /cdrom cd9660 ro,noauto,nosuid 0 0
/proc /proc procfs rw,noauto 0 0
/tmp /var/tmp nullfs rw 0 0
I prefer first option but I suspect that something wrong with that (looking normal) fstab too because trying to boot my another machine I'm getting something like: "no boot" "no ufs".
Did somebody successfully installed FreeBSD on usb-stick with swap, /tmp and /var on local HDD or in memory?