Project

General

Profile

Bug #533

Updated by Daniel Curtis almost 10 years ago

I recently decided to install pfSense on an old i386 machine. The setup used the installer disc to install on a 40GB hard drive.  

 I began the installer by: 
 # Boot from pfSense Live Install Disc 
 # When prompted I pressed *I* to start the installer 
 # When the installer menu came up I chose *Quick and Easy Setup* 

 The problem I came across happened during the install process with the following error: 
 > Execution of the command 
 > /sbin/fdisk -v -f /tmp/new.fdisk ad0 
 > FAILED with a return code of 1. 

 h3. Resizing the partition to 30GB 

 I found that the current pfSense 2.1.5 installer fails to install on partitions larger than 30GB. To work around the error, I rebooted the pfSense installer disc and instead of booting the installer setup, I allowed the allowed it to boot until the prompt for configuring VLANs, I just chose *N* for this, because I just needed access to the shell. 

 # When the numbered prompt appeared, I pressed 
 <pre> 
 8 
 </pre> 
 # When the shell appeared, I ran the following: 
 <pre> 
 gpart show ad0 
 </pre> 
 # This will display the hard drive and partitions, next I resized the partition to 30GB: 
 <pre> 
 gpart -i 1 -s 30GB ad0 
 </pre> 
 # I then exited the shell: 
 <pre> 
 exit 
 </pre> 
 # Then reran the installer: 
 <pre> 
 99 
 </pre> 
 # Next I chose a *Custom Install* 
 # I *+skipped+* the *formatting step* 
 # I also *+skipped+* the *partitioning step* 
 # I chose *Accept and create bootblocks* 
 # The same error came up while installing again, however I *+skipped+* the *error* 
 # I then chose *Accept and create subpartitions* 
 # And then selected the *Symmetric Multi Processing* kernel  
 # And finally I *rebooted* 

 This workaround managed to solve this problem for me.

Back