Hi. I want to add a new partition to my hard drive. In the installation process I let there be 150 GB memory for this.
So far I have been using
At first I tried adding -t freebsd-ufs but since invalid argument I went with freebsd.
Now I wonder why
The thing is that I thought I'd remake it and make it a little bigger (up to 120 GB) instead but now
I have with great carefulness tried different commands trying to delete ada0s2 and add a new one but with no avail at all. Have been going through the manual for
Please halp.
- - - michael_hackson
So far I have been using
Code:
sudo gpart add -t freebsd -s 100G ada0
ada0s2 added
sudo gpart show
=> 63 625142385 ada0 MBR (298G)
63 1 - free - (512B)
64 314572800 1 freebsd [active] (150G)
314572864 209715200 2 freebsd (100G)
524288064 100854384 - free - (48G)
=> 0 314572800 ada0s1 BSD (150G)
0 306184192 1 freebsd-ufs (146G)
306184192 8388607 2 freebsd-swap (4.0G)
314572799 1 - free - (512B)
At first I tried adding -t freebsd-ufs but since invalid argument I went with freebsd.
Now I wonder why
gpart
is not displaying ada0s2. I have checked and found /dev/ada0s2 so it's somewhat added to the system.The thing is that I thought I'd remake it and make it a little bigger (up to 120 GB) instead but now
gpart
can't find the geom ada0s2. I missed to label/index it as well making it even harder to target.I have with great carefulness tried different commands trying to delete ada0s2 and add a new one but with no avail at all. Have been going through the manual for
gpart
4 times as well as for geom but I can't get my head around it. (I have had a hard time understanding hard drive disks altogether.)Please halp.
- - - michael_hackson