Hi!
I am trying to build up a 57GB SSD drive on an older amd64 machine with 2GB RAM from scratch with gpart where I would like to have UFS+SUJ file system on root and home partitions. But when coming to specifying that partition 2 should be mounted as / and partition 4 as /home I am coming to a halt. This including specifying that freebsd-ufs should be with +SUJ.
I have been plowing through gpart(8) and mount(8), but have not been able to find any solution. I have also done some web searches without any luck.
1. I started with a completely blank disk where I first created a GPT table with:
2. I then proceeded following the examples in gpart(8) adding the boot partition (partition 1):
3. Then proceeding with installing the bootstrap code with:
4. Intended / partition (partition 2) with:
5. SWAP partition (partition 3) with:
6. Intended /home partition (partition 4) with:
It's the first time I am doing something like this and I think it's kind of "cool" actually doing it without any desktop gui and would really like to learn how this is done, but as mentioned I am at this point stuck when it comes to specifying +SUJ and the / and /home mount points (and I guess very possibly other things that I am not aware of yet also
).
Any help and guidance would be very much appreciated.
Thanks
I am trying to build up a 57GB SSD drive on an older amd64 machine with 2GB RAM from scratch with gpart where I would like to have UFS+SUJ file system on root and home partitions. But when coming to specifying that partition 2 should be mounted as / and partition 4 as /home I am coming to a halt. This including specifying that freebsd-ufs should be with +SUJ.
I have been plowing through gpart(8) and mount(8), but have not been able to find any solution. I have also done some web searches without any luck.
1. I started with a completely blank disk where I first created a GPT table with:
gpart create -s gpt ada02. I then proceeded following the examples in gpart(8) adding the boot partition (partition 1):
gpart add -b 40 -s 88 -t freebsd-boot ada03. Then proceeding with installing the bootstrap code with:
gpart bootcode -p /boot/gptboot -i 1 ada04. Intended / partition (partition 2) with:
gpart add -s 20025M -t freebsd-ufs ada05. SWAP partition (partition 3) with:
gpart add -t freebsd-swap -s 4146M ada06. Intended /home partition (partition 4) with:
gpart add -s 33067M -t freebsd-ufs ada0It's the first time I am doing something like this and I think it's kind of "cool" actually doing it without any desktop gui and would really like to learn how this is done, but as mentioned I am at this point stuck when it comes to specifying +SUJ and the / and /home mount points (and I guess very possibly other things that I am not aware of yet also
Any help and guidance would be very much appreciated.
Thanks