Re: [pfSense Support] Installed 1.2.3 on Soekris 5501-70 - 8G CF card - expand the slice and filesystem?

2010-11-19 Thread Gé Weijers



I installed the image to the CF card using dd in Linux with 16k block size.  It 
fired right up and I was able to configure it over
the serial port.  I would like to resize the slice and growfs if possible.  I 
would have installed the 8g image if there was one... 
I have done this in Linux many times.  Is this possible with the embedded 
version of pfsense?  I haven't done much configuration on
the box so I could image the CF card again if needed.


You probably can resize the partitions using 'gparted' on a Linux machine, 
but then you have to mess with the BSD disk labels on the first two 
partitions, and then use 'growfs'. I don't think it's worth it, it'll be a 
steep learning curve if you have little experience with BSD. The first two 
partitions are never written to, except during a firmware update, so why 
grow them?


If you make a backup of your configuration through the GUI (one XML 
file) you have zero risk of losing anything, just reflash and restore if 
something breaks.


BTW: try 'fdisk /dev/ad0'. /dev/ufs/pfsense0 refers to the first 
partition, so it won't have an MBR. /dev/ad0 is the first physical device 
on my Alix board (same processor, same chipset).


Gé
-
To unsubscribe, e-mail: support-unsubscr...@pfsense.com
For additional commands, e-mail: support-h...@pfsense.com

Commercial support available - https://portal.pfsense.org

[pfSense Support] Installed 1.2.3 on Soekris 5501-70 - 8G CF card - expand the slice and filesystem?

2010-11-17 Thread Mark Street
*** Working on device /dev/ufs/pfsense0 *** 
parameters extracted from in-core disklabel are: 
cylinders=3830 heads=16 sectors/track=63 (1008 blks/cyl) 

Hi, 

I just installed the embedded pfsense 1.2.3 - 4g image onto an 8G Sandisk Ultra 
CF card for my new Soekris 5501-70. 

I installed the image to the CF card using dd in Linux with 16k block size. It 
fired right up and I was able to configure it over the serial port. I would 
like to resize the slice and growfs if possible. I would have installed the 8g 
image if there was one... I have done this in Linux many times. Is this 
possible with the embedded version of pfsense? I haven't done much 
configuration on the box so I could image the CF card again if needed. 

fdisk seems to have problems displaying the partition information. Output from 
fdisk below 

Figures below won't work with BIOS for partitions not in cyl 1 
parameters to be used for BIOS calculations are: 
cylinders=3830 heads=16 sectors/track=63 (1008 blks/cyl) 

fdisk: invalid fdisk partition table found 
Media sector size is 512 
Warning: BIOS sector numbering starts with sector 1 
Information from DOS bootblock is: 
The data for partition 1 is: 
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) 
start 63, size 3860577 (1885 Meg), flag 80 (active) 
beg: cyl 0/ head 1/ sector 1; 
end: cyl 757/ head 15/ sector 63 

Thanks, 

-- 
Mark Street, D.C., RHCE 
Chief Technology Officer 
Alliance Medical Center 
(707) 433-5494