FreeBSD (pfSense) -- Can't boot after install
My original thread is at http://forum.pfsense.org/index.php/topic,29849.0.html, but I am trying to see if I can "load-balance" and try to get help from multiple locations through a broader publicity.
Here is the problem:
Computer starts.
Boot menu with "F1 FreeBSD" and a prompt for a shortcut key shows up (you either wait a couple seconds or hit F1).
The next line after the boot prompt is a non-rotating "|" or "\" (it will start out as - and rotate clockwise to said position, then never move again); pressing CTRL+ALT+DEL results in instant reboot.
What's wrong? I have tried many things.
Any suggestions? Also, I have tried to mount the partition, but Partition Magic from UBCD v5.0.2 (not sure how outdated Partition Magic on that is) ends up giving me an error about unknown filesystem and stuff; pfSense uses a UFS2 filesystem.
Comments
-
It sounds like the error message that you are receiving is a kernel panic that is stopping the rotating character and boot cycle. I have not used pfSense and don't know the installation procedures but a kernel panic is the result of installing conflicting drivers or missing kernel files, I would recommend installing psSense in a virtual machine a few time to better understand what it is doing.
You can probably have some luck reading the filesystem from a BSD based livecd, I found a project that is working on one at http://livecd.sourceforge.net/download.php0 -
mfillpot wrote:
Going to try the LiveCD once it finishes downloading and I burn it to a CD.It sounds like the error message that you are receiving is a kernel panic that is stopping the rotating character and boot cycle. I have not used pfSense and don't know the installation procedures but a kernel panic is the result of installing conflicting drivers or missing kernel files, I would recommend installing psSense in a virtual machine a few time to better understand what it is doing.
You can probably have some luck reading the filesystem from a BSD based livecd, I found a project that is working on one at http://livecd.sourceforge.net/download.php
In other news, I noticed the other day (when paying more attention) that there is a gibberish line during the reboot sequence immediately following the pfSense installation:
When I try to fsck using FreeBSD LiveCD v4.6:
[LiveCD] /dev # fsck -f ad0a
ad0: rejecting BSD label: raw partition offset != slice offset
ad0: start 63, end 156301487, size 156301425
ad0c: start 0, end 156301424, size 156301425
ad0: cannot find label (fixlabel: raw partition offset != slice offset)
ad0s1: rejecting BSD label: raw partition offset != slice offset
ad0s1: start 63, end 156301487, size 156301425
ad0s1c: start 0, end 156301424, size 156301425
ad0s1: cannot find label (fixlabel: raw partition offset != slice offset)
Can't open ad0a: Invalid argument
[LiveCD] /dev #0 -
It says that it cannot open or read the first partition of the first hard drive. Most likely your choice of filesystems was not set in the ramdisk image that is used to boot the OS. Did you select to use the default filesystem type on installation or did you choose a non-default filesystem?0
-
mfillpot wrote:
I don't recall having the ability of selecting the filesystem type. Let me check again later today..It says that it cannot open or read the first partition of the first hard drive. Most likely your choice of filesystems was not set in the ramdisk image that is used to boot the OS. Did you select to use the default filesystem type on installation or did you choose a non-default filesystem?0 -
BlueToast wrote:
Well...mfillpot wrote:
I don't recall having the ability of selecting the filesystem type. Let me check again later today..It says that it cannot open or read the first partition of the first hard drive. Most likely your choice of filesystems was not set in the ramdisk image that is used to boot the OS. Did you select to use the default filesystem type on installation or did you choose a non-default filesystem?
pfSense and I.. I'm like.. FFFFFFFFFFFFFFFFFFFFFFFFFFFFU-
pfSense must be like..
(although maybe it is also having a super secret kernel panic for retarded reasons and doing the same thing I am)
Quickly read up at http://forum.pfsense.org/index.php/topic,29849.msg156495.html#msg156495 and the post that follows.
I think pfSense is FreeBSD-only.0 -
You are correct about pdSense, it is a FreeBSD based product that does not have any affiliation with Linux other than the fact it is unix-like. Unfortunately I am not fully versed in FreeBSD and think the last error messages you received are too vague to get any instructions from.
If you wish to continue trying to use pfSense the BSD gues will be your best help, hopefully some can chime in on this thread.
Or if you wish to give up on that attempt there are plently of good Linux based firewall distros you can use or you can install a generic Linux based distro and we can help you configure the firewall through an iptables script.0 -
Problem solved! FreeBSD didn't like large capacities for /.
Source: http://hardforum.com/showpost.php?p=1036454153&postcount=10
They are disabled.YeOldeStonecat wrote: »Using the IDE only....check
Burning at slowest....check
Hmmm....can you go into the BIOS and disable the onboard SATA ports? Just to ensure that they're out of the way?
Everything below are BIOS defaults unless otherwise stated.- Advanced
- CPU Configuration
- Ratio CMOS Settings: 255
- HyperThreading: Enabled
- IDE Configuration
- IDE Legacy COnfiguration: P-ATA Only
- S-ATA Running Enhanced Mode: No (default is Yes)
- P-ATA Channel Selection: Both
- Only if S-ATA Running Enhanced Mode is not No -- S-ATA Ports Definition: P0-3rd./P1-4th.
- Only if S-ATA Running Enhanced Mode is not No -- Configure S-ATA as RAID: No
- Channel 0 Master: Hard Disk
- Type: Auto
- LBA/Large Mode: Auto
- Block (Multi-Sector Transfer): Auto
- PIO Mode: Auto
- DMA Mode: Auto
- S.M.A.R.T.: Auto
- 32Bit Data Transfer: Disabled
- Channel 1 Slave: ATAPI CDROM
- Type: Auto
- PIO Mode: Auto
- DMA Mode: Auto
- Hard Disk Write Protect: Disabled
- IDE Detect Time Out (sec): 15 (default is 35)
- ATA(PI) 80Pin Cable Detection: Host & Device
- Floppy Configuration
- Floppy A: Disabled (default is 1.44 MB 31/2")
- Floppy B: Disabled
- SuperIO Configuration
- OnBoard Floppy Controller: Disabled (default is Enabled)
- Serial Port1 Address: Disabled (default is 3F8/IRQ4)
- Serial Port2 Address: Disabled (default is 2F8/IRQ3)
- Only if Serial Port2 Address is not Disabled -- Serial Port2 Mode: Normal
- Parallel Port Address: Disabled (default is)
- ACPI Configuration
- ACPI Aware O/S: Yes
- Advanced ACPI Configuration
- ACPI 2.0 Features: Yes (default is No)
- ACPI APIC support: Enabled
- AMI OEMB table: Enabled
- Headless mode: Disabled
- WOL S4&S5 Support: Enabled
- Power Button Instant Off: Disabled (default is Enabled)
- After Power Failure: Always Off
- Event Log Configuration
- Remote Access Configuration
- Remote Access: Disabled (default is SMDC)
- USB Configuration
- USB Function: Disabled (default is 4 USB Ports)
- Only if USB Function is not Disabled -- Legacy USB Support: Enabled
- Only if USB Function is not Disabled -- USB 2.0 Controller: Enabled
- Only if USB 2.0 Controller is not Disabled -- USB 2.0 Controller Mode: HiSpeed
- USB Mass Storage Device Configuration
- USB Mass Storage Reset Delay: 20 sec
- OnBoard Devices Configuration
- Onboard ATI Video: Enabled
- Onbaord 82551 LAN: Enabled
- Remote Boot OS by 82551: Disabled
- Onboard 82546 DualPort LAN: Enabled
- Remote Boot OS by 82546: Disabled
- Hardware Monitor
- Auto-Control Fan's Speed: Disabled
- Chassis Instrusion Detect: Disabled
- Back Plan Fan Speed
- CPU Configuration
- PCIPnP
- Plug & Play O/S: Yes
- PCI Latency Timer: 64
- Allocate IRQ to PCI VGA: Yes
- Palette Snooping: Disabled
- PCI IDE BusMaster: Enabled
- IRQ3: Available
- IRQ4: Available
- IRQ5: Available
- IRQ7: Available
- IRQ9: Available
- IRQ10: Available
- IRQ11: Available
- IRQ14: Available
- IRQ15: Available
- DMA Channel 0: Available
- DMA Channel 1: Available
- DMA Channel 3: Available
- DMA Channel 5: Available
- DMA Channel 6: Available
- DMA Channel 7: Available
- Reserved Memory Size: Disabled
- Extended BIOS Data Area: Enabled
- Boot
- Boot Settings Configuration
- Quick Boot: Enabled (default is Disabled)
- Quiet Boot: Disabled
- AddOn ROM Display Mode: Force BIOS
- Bootup Num-Lock: On
- PS/2 Mouse Support: Auto
- Wait for 'F1' If Error: Enabled
- Hit 'DEL' Message Display: Enabled
- Interrupt 19 Capture: Enabled
- Primary Display Device: Auto
- Boot Device Priority
- 1st Boot Device: PM-WDC WD1600AAJB-00J3A0
- 2nd Boot Device: SS-ATAPI-CD ROM-DRIVE-56MAX
- Hard Disk Drives
- ATAPI CDROM Drives
- Boot Settings Configuration
- Security
- Boot Sector Virus Protection: Disabled
- Chipset
- Intel E7500/E7501 North Bridge Configuration
- Chipset Memory Remap Feature: Enabled
- CAS Latency: Auto
- South Bridge Configuration
- MPS Revision: 1.4
- Intel PCI-64 Hub 2 Configuration
- PCI Bus Frequency: Auto
- Clock Gen. Spread Spectrum: Disabled
- Intel E7500/E7501 North Bridge Configuration
Now, before I wrote this up and was actually preparing to write this up, I attempted to install pfSense through Advanced/Expert installation. Through this, I formatted and partitioned the harddisk, and set / to be 1024M and swap to be 8192M (this I did differently from all other installs, although I have tried partitioning the harddisk as 16GB before but without changing these values for / and swap here). This time it actually fully successfully booted into pfSense without a problem.
I am going to try this again but partitioned to 100% (it worked like this in previous paragraph) with 16GB on / instead of 1GB, and 8GB on swap. I am also going to enable 32Bit Data Transfer on the harddrive. (EDIT: Added a third one as storage to be * (remaining capacity of primary partition).) Success.
Trial 2: partitioned 100%, / to be 32GB, swap to be 8GB, storage to be *, BIOS settings unchanged from first trial... Success
Trial 3: partitioned 100%, / to be 64GB, swap to be 8GB, storage to be *... Failure
FreeBSD must have a thing about large capacities.0 - Advanced
Categories
- All Categories
- 175 LFX Mentorship
- 175 LFX Mentorship: Linux Kernel
- 745 Linux Foundation IT Professional Programs
- 372 Cloud Engineer IT Professional Program
- 168 Advanced Cloud Engineer IT Professional Program
- 73 DevOps IT Professional Program - Discontinued
- 3 DevOps & GitOps IT Professional Program
- 98 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- AI & ML Training
- Blockchain & Decentralized Identity Training
- 1 Cloud & Containers Training
- Cybersecurity Training
- DevOps & Site-Reliability Training
- Linux Kernel Development Training
- Networking Training
- Open Source Best Practice Training
- System Administration Training
- System Engineering Training
- Web & Application Development Training
- 2 LFD103-JP クラス フォーラム
- 4 LFD210-CN Class Forum
- 764 LFD259 Class Forum
- 681 LFS101 Class Forum
- 2 LFS158-JP クラス フォーラム
- 162 LFS207 Class Forum
- 3 LFS207-DE-Klassenforum
- 4 LFS207-JP クラス フォーラム
- 61 LFS241 Class Forum
- 52 LFS242 Class Forum
- 42 LFS243 Class Forum
- 19 LFS244 Class Forum
- 4 LFS250-JP クラス フォーラム
- 166 LFS253 Class Forum
- 1.4K LFS258 Class Forum
- 792 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 87 Storage
- 768 Linux Distributions
- 81 Debian
- 67 Fedora
- 22 Linux Mint
- 13 Mageia
- 24 openSUSE
- 150 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 465 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 78 Network Management
- 101 System Management
- 46 Web Management
- 106 Mobile Computing
- 18 Android
- 73 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 392 Off Topic
- 121 Introductions
- 181 Small Talk
- 29 Study Material
- 946 Programming and Development
- 310 Kernel Development
- 618 Software Development
- 978 Software
- 370 Applications
- 182 Command Line
- 5 Compiling/Installing
- 68 Games
- 317 Installation
- Archived
- 2 LFD140 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)