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: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: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:mfillpot wrote: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=10YeOldeStonecat 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
- 167 LFX Mentorship
- 219 LFX Mentorship: Linux Kernel
- 801 Linux Foundation IT Professional Programs
- 357 Cloud Engineer IT Professional Program
- 181 Advanced Cloud Engineer IT Professional Program
- 83 DevOps Engineer IT Professional Program
- 149 Cloud Native Developer IT Professional Program
- 112 Express Training Courses
- 138 Express Courses - Discussion Forum
- 6.2K Training Courses
- 48 LFC110 Class Forum - Discontinued
- 17 LFC131 Class Forum
- 35 LFD102 Class Forum
- 227 LFD103 Class Forum
- 19 LFD110 Class Forum
- 39 LFD121 Class Forum
- 15 LFD133 Class Forum
- 7 LFD134 Class Forum
- 17 LFD137 Class Forum
- 63 LFD201 Class Forum
- 3 LFD210 Class Forum
- 5 LFD210-CN Class Forum
- 2 LFD213 Class Forum - Discontinued
- 128 LFD232 Class Forum - Discontinued
- 1 LFD233 Class Forum
- 2 LFD237 Class Forum
- 23 LFD254 Class Forum
- 697 LFD259 Class Forum
- 109 LFD272 Class Forum
- 3 LFD272-JP クラス フォーラム
- 10 LFD273 Class Forum
- 154 LFS101 Class Forum
- 1 LFS111 Class Forum
- 1 LFS112 Class Forum
- 1 LFS116 Class Forum
- 1 LFS118 Class Forum
- LFS120 Class Forum
- 7 LFS142 Class Forum
- 7 LFS144 Class Forum
- 3 LFS145 Class Forum
- 1 LFS146 Class Forum
- 3 LFS147 Class Forum
- 1 LFS148 Class Forum
- 15 LFS151 Class Forum
- 1 LFS157 Class Forum
- 34 LFS158 Class Forum
- 8 LFS162 Class Forum
- 1 LFS166 Class Forum
- 1 LFS167 Class Forum
- 3 LFS170 Class Forum
- 2 LFS171 Class Forum
- 1 LFS178 Class Forum
- 1 LFS180 Class Forum
- 1 LFS182 Class Forum
- 1 LFS183 Class Forum
- 29 LFS200 Class Forum
- 736 LFS201 Class Forum - Discontinued
- 2 LFS201-JP クラス フォーラム
- 14 LFS203 Class Forum
- 102 LFS207 Class Forum
- 1 LFS207-DE-Klassenforum
- 1 LFS207-JP クラス フォーラム
- 301 LFS211 Class Forum
- 55 LFS216 Class Forum
- 48 LFS241 Class Forum
- 48 LFS242 Class Forum
- 37 LFS243 Class Forum
- 15 LFS244 Class Forum
- LFS245 Class Forum
- LFS246 Class Forum
- 50 LFS250 Class Forum
- 1 LFS250-JP クラス フォーラム
- LFS251 Class Forum
- 155 LFS253 Class Forum
- LFS254 Class Forum
- LFS255 Class Forum
- 5 LFS256 Class Forum
- 1 LFS257 Class Forum
- 1.3K LFS258 Class Forum
- 10 LFS258-JP クラス フォーラム
- 121 LFS260 Class Forum
- 159 LFS261 Class Forum
- 41 LFS262 Class Forum
- 82 LFS263 Class Forum - Discontinued
- 15 LFS264 Class Forum - Discontinued
- 11 LFS266 Class Forum - Discontinued
- 20 LFS267 Class Forum
- 25 LFS268 Class Forum
- 31 LFS269 Class Forum
- 1 LFS270 Class Forum
- 199 LFS272 Class Forum
- 1 LFS272-JP クラス フォーラム
- LFS274 Class Forum
- 3 LFS281 Class Forum
- 10 LFW111 Class Forum
- 261 LFW211 Class Forum
- 182 LFW212 Class Forum
- 13 SKF100 Class Forum
- 1 SKF200 Class Forum
- 1 SKF201 Class Forum
- 782 Hardware
- 198 Drivers
- 68 I/O Devices
- 37 Monitors
- 96 Multimedia
- 174 Networking
- 91 Printers & Scanners
- 83 Storage
- 758 Linux Distributions
- 80 Debian
- 67 Fedora
- 15 Linux Mint
- 13 Mageia
- 23 openSUSE
- 143 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 348 Ubuntu
- 461 Linux System Administration
- 39 Cloud Computing
- 70 Command Line/Scripting
- Github systems admin projects
- 90 Linux Security
- 77 Network Management
- 101 System Management
- 46 Web Management
- 64 Mobile Computing
- 17 Android
- 34 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 371 Off Topic
- 114 Introductions
- 174 Small Talk
- 19 Study Material
- 806 Programming and Development
- 304 Kernel Development
- 204 Software Development
- 1.8K Software
- 211 Applications
- 180 Command Line
- 3 Compiling/Installing
- 405 Games
- 309 Installation
- 97 All In Program
- 97 All In 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)