Bug #533
Problem Installing pfSense Failed With a Return Code of 1
Status:
Closed
Priority:
High
Assignee:
Category:
Firewall/Router
Target version:
Description
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.
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
8
- When the shell appeared, I ran the following:
gpart show ad0
- This will display the hard drive and partitions, next I resized the partition to 30GB:
gpart -i 1 -s 30GB ad0
- I then exited the shell:
exit
- Then reran the installer:
99
- 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.
Updated by Daniel Curtis almost 10 years ago
- Description updated (diff)
- Status changed from New to In Progress
- Estimated time set to 1.00 h
Updated by Daniel Curtis almost 10 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100