Successful Install on Watchguard Firebox X700!
-
Hmm, I've not actually done this myself on this box but according to the very first post of this now ridiculously long thread:
@jmcentire:8. Couldn't mount drive(since installed on different machine), so it asks what you want to mount enter: ufs:ad2s1a
The internal IDE connector is the secondary and assuming your drive is configured as master (or cable select) it is assigned as ad2 by FreeBSD. Edit: I'm actually a little vague on this! ::)
Steve
I thought the same thing, and actually tried quite a few combination of numbers to be safe… same result : / ad0, ad1, ad2, etc. hdd is also selected as master, and I forgot to mention I have the CF removed right now.
-
I loaded the hdd into another computer to possibly modify fstab as I had seen in another thread. Here is a pic of the output, it looks like stephenw10 and I were on the right track, no idea why it won't mount. Any other ideas?
-
The console output before the report of the mount failure might be informative. For example, there might be a report of disk errors.
-
The console output before the report of the mount failure might be informative. For example, there might be a report of disk errors.
Here is the full bootup and me entering "?", as well as "ufs:ad2s1a" Thanks!
-
The startup shows no signs of recognising your hard disk, which makes me wonder what the system was booting from.
Here's an extract from a pfSense startup showing detection of ad0 (hard disk) on disk channel ata0 on controller atapci0:
isa0: <isa bus="">on isab0
atapci0: <via 8235="" udma133="" controller="">port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xed00-0xed0f at device 17.1 on pci0
ata0: <ata channel="">at channel 0 on atapci0
ata0: [ITHREAD]
ata1: <ata channel="">at channel 1 on atapci0
ata1: [ITHREAD]
pci0: <multimedia, audio="">at device 17.5 (no driver attached)
vr0: <via 10="" vt6102="" rhine="" ii="" 100basetx="">port 0xe800-0xe8ff mem 0xef004000-0xef0040ff irq 11 at device 18.0 on pci0
vr0: Quirks: 0x0
vr0: Revision: 0x74
miibus1: <mii bus="">on vr0
ukphy0: <generic ieee="" 802.3u="" media="" interface="">PHY 1 on miibus1
ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow
vr0: [ITHREAD]
acpi_tz0: <thermal zone="">on acpi0
atrtc0: <at realtime="" clock="">port 0x70-0x73 irq 8 on acpi0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
atpic: Mismatched config for IRQ4: trigger edge, polarity low
uart0: [FILTER]
uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
atpic: Mismatched config for IRQ3: trigger edge, polarity low
uart1: [FILTER]
pmtimer0 on isa0
sc0: <system console="">at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <generic isa="" vga="">at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
atkbdc0: <keyboard controller="" (i8042)="">at port 0x60,0x64 on isa0
atkbd0: <at keyboard="">irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
ppc0: parallel port not found.
acpi_throttle0: <acpi cpu="" throttling="">on cpu0
Timecounter "TSC" frequency 797736152 Hz quality 800
Timecounters tick every 1.000 msec
IPsec: Initialized Security Association Processing.
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 480Mbps High Speed USB v2.0
ad0: DMA limited to UDMA33, device found non-ATA66 cable
ad0: 955MB <transcend 20071207="">at ata0-master UDMA33
ugen0.1: <via>at usbus0
uhub0: <via 1="" 9="" uhci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr="">on usbus0
ugen1.1: <via>at usbus1
uhub1: <via 1="" 9="" uhci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr="">on usbus1
ugen2.1: <via>at usbus2
uhub2: <via 1="" 9="" uhci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr="">on usbus2
ugen3.1: <via>at usbus3
uhub3: <via 1="" 9="" ehci="" root="" hub,="" class="" 0,="" rev="" 2.00="" 1.00,="" addr="">on usbus3
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub3: 6 ports with 6 removable, self powered
ugen3.2: <ralink>at usbus3
run0: <1.0> on usbus3
run0: MAC/BBP RT3070 (rev 0x0201), RF RT3020 (MIMO 1T1R), address c8:3a:35:c4:ee:f3
run0: firmware RT2870 loaded
Trying to mount root from ufs:/dev/ad0s1a</ralink></via></via></via></via></via></via></via></via></transcend></acpi></at></keyboard></generic></system></at></thermal></generic></mii></via></multimedia,></ata></ata></via></isa>I'm a little surprised your startup didn't report any USB devices, but maybe the BIOS disabled USB devices on the grounds they couldn't be used in that box.
There is a boot variable that can be added to /boot/loader.conf.local (or specified to the FreeBSD boot loader to pause a little before looking for the boot device. The variable is kern.cam.boot_delay and it takes a value in milliSeconds, thus kern.cam.boot_delay=10000 will pause 10 seconds.
First time you will need to specify the variable and value at boot time, then you can edit /boot/loader.conf.local so that it will be picked up automatically on subsequent boots. (Or you can boot the hard drive on another system, then edit /boot/loader.conf.local.)
At the FreeBSD boot loader startup (options 1-7 listed), type 6 to get the loader prompt, then at the prompt type the line
kern.cam.boot_delay=10000
then at the next prompt type
boot
and see if that makes a difference.
-
Hmm, yes that's a little odd, not detecting a drive.
A problem I have seen, though it may not apply here, is that sometimes when you install on an old drive the boot slice can be offset by a previous install. However you can see the two slices appear correctly as s1a and s1b on your other machine. :-\
Steve
-
The startup shows no signs of recognising your hard disk, which makes me wonder what the system was booting from.
I'm a little surprised your startup didn't report any USB devices, but maybe the BIOS disabled USB devices on the grounds they couldn't be used in that box.
There is a boot variable that can be added to /boot/loader.conf.local (or specified to the FreeBSD boot loader to pause a little before looking for the boot device. The variable is kern.cam.boot_delay and it takes a value in milliSeconds, thus kern.cam.boot_delay=10000 will pause 10 seconds.
First time you will need to specify the variable and value at boot time, then you can edit /boot/loader.conf.local so that it will be picked up automatically on subsequent boots. (Or you can boot the hard drive on another system, then edit /boot/loader.conf.local.)
At the FreeBSD boot loader startup (options 1-7 listed), type 6 to get the loader prompt, then at the prompt type the line
kern.cam.boot_delay=10000
then at the next prompt type
boot
and see if that makes a difference.
I'll try updating the boot delay tonight, I think its current value is 3 seconds (3000), maybe some extra time will help? X700 doesn't have any USB ports that I know of, which is probably why they don't show up. I'm just stumped as to how it can load pfsense off the hdd, yet not find it by any other means??? I updated the "loader.conf" in my other computer last night to see if that would resolve the issue and still nothing. I'll play more tonight.. Thanks!
-
Hello all !
I welcome Yours. I'm new user pfsense forum. I'm from Poland and I send You greetings.
I found on the Internet this forum and I liked the idea of pfSense on the WG X700 platform. I bought him, I have him (x700) and I want install pfSense on him.I read forum but I have problem with installation. Do you can help me ? I need instruction "step by step". I want install pfsense on the HDD 40GB with old laptop (ATA 44pin).
I need your help. Thanks.
Pawel
-
Hello all !
I welcome Yours. I'm new user pfsense forum. I'm from Poland and I send You greetings.
I found on the Internet this forum and I liked the idea of pfSense on the WG X700 platform. I bought him, I have him (x700) and I want install pfSense on him.I read forum but I have problem with installation. Do you can help me ? I need instruction "step by step". I want install pfsense on the HDD 40GB with old laptop (ATA 44pin).
I need your help. Thanks.
Pawel
I forgot ask question: do i can install immediately 2.0.1 version ? If yes, the what exactly ?
Pawel
-
Hi,
The easiest way to do this is to install from the CD on the HD while it's in the laptop and then transfer it to the firebox. When you first boot you will see the mountroot> prompt and you'll have to enter the mount point for root. Then edit the fstab to correct this error on subsequent boots.
Use the i386 iso image of 2.0.1 to do this, e.g: http://mirror.qubenet.net/mirror/pfsense/downloads/pfSense-2.0.1-RELEASE-i386.iso.gzIt's easier to use a CF card and the nanoBSD image.
Steve
-
Hi,
The easiest way to do this is to install from the CD on the HD while it's in the laptop and then transfer it to the firebox. When you first boot you will see the mountroot> prompt and you'll have to enter the mount point for root. Then edit the fstab to correct this error on subsequent boots.
Use the i386 iso image of 2.0.1 to do this, e.g: http://mirror.qubenet.net/mirror/pfsense/downloads/pfSense-2.0.1-RELEASE-i386.iso.gzIt's easier to use a CF card and the nanoBSD image.
Steve
Thanks Steve !
I go to check it.Pawel
-
Steve !
I have problem with console. I remove CF card from X700. On my HDD (40GB from old laptop with ATA interface) I installed pfSense. Installed I make on USB port on my laptop and converter USB-ATA (dedicated for laptop HDD). Installation is OK!. When I connected HDD from X700 and open console terminal (9600-8-n-1-hardware) I have empty screen. When I connect CF, console is live :-) When I make bug ? Maybe I must switched some jumper on the board ?Pawel
-
OK ! I see on my terminal :
mountroot>
:-))))
-
Type ? at that prompt to see what drives are available.
Assuming your laptop drive is set as master then the correct entry should be:ufs:ad2s1a
Also if you did the standard 'full' install you will have to tell it to use the serial port for the console at some point. This can be done in the webgui if you boot fully in the laptop first.
Steve
-
Type ? at that prompt to see what drives are available.
Assuming your laptop drive is set as master then the correct entry should be:ufs:ad2s1a
Also if you did the standard 'full' install you will have to tell it to use the serial port for the console at some point. This can be done in the webgui if you boot fully in the laptop first.
Steve
It's all right. My disk mounted, but is problem:
init: can't exec getty '/usr/libexec/getty' for port /dev/ttyv0: No such file or directory
:/
Do You have any idea ? I go to read forum. :-)
Pawel
-
Type ? at that prompt to see what drives are available.
Assuming your laptop drive is set as master then the correct entry should be:ufs:ad2s1a
Also if you did the standard 'full' install you will have to tell it to use the serial port for the console at some point. This can be done in the webgui if you boot fully in the laptop first.
Steve
It's all right. My disk mounted, but is problem:
init: can't exec getty '/usr/libexec/getty' for port /dev/ttyv0: No such file or directory
:/
Do You have any idea ? I go to read forum. :-)
Pawel
it's such communicat:
Bootup complete.
rm: /booting : No such file or directory
init: can't exec getty '/usr/libexec/getty' for port /dev/ttyv0: No such file or directoryMaybe is problem with bootloader ?
-
it's such communicat:
Bootup complete.
rm: /booting : No such file or directory
init: can't exec getty '/usr/libexec/getty' for port /dev/ttyv0: No such file or directoryMaybe is problem with bootloader ?
Hello Steve !
I read about this problem on Internet and think maybe problem is with support for disk driver. I find this article in network: http://lists.freebsd.org/pipermail/freebsd-bugs/2007-April/023225.html . What do you think ?
Pawel
-
I don't that is the problem. It's a patch to support SATA drives on FreeBSD 6.2. pfSense 2.0.1 is based on FreeBSD 8.1 and the x700 doesn't have any SATA interfaces anyway.
What have you done so far exactly?Steve
-
I don't that is the problem. It's a patch to support SATA drives on FreeBSD 6.2. pfSense 2.0.1 is based on FreeBSD 8.1 and the x700 doesn't have any SATA interfaces anyway.
What have you done so far exactly?Steve
Hi Steve !
Nothing . I have problem with pfSense installation on X700 and I seek solution.
Pawel
-
Steve !
I have an idea. Maybe must I do installing pfSense on the CF card and running X700 with CF card and HDD. Only I don't know, can I move system pfSense from CF card –>on HDD? It's possible ?
Maybe I should change completely method and start from scratch? New install ? I should seek new (different) HDD ?I don't know why it just happened to me... It don't can be very hard. ;)
Log from my console:
miibus5: <mii bus=""> on re5 rlphy5: <realtek internal="" media="" interface=""> PHY 0 on miibus5 rlphy5: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto re5: [FILTER] isab0: <pci-isa bridge=""> at device 31.0 on pci0 isa0: <isa bus=""> on isab0 atapci0: <intel ich2="" udma100="" controller=""> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 31.1 on pci0 ata0: <ata 0="" channel=""> on atapci0 ata0: [ITHREAD] ata1: <ata 1="" channel=""> on atapci0 ata1: [ITHREAD] cpu0 on motherboard pmtimer0 on isa0 unknown: <pnp0c01> can't assign resources (memory) atrtc0: <at realtime="" clock=""> at port 0x70-0x71 irq 8 pnpid PNP0b00 on isa0 atkbdc0: <keyboard controller="" (i8042)=""> at port 0x60,0x64 irq 1 pnpid PNP0303 on isa0 atkbd0: <at keyboard=""> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] uart0: <16550 or compatible> at port 0x3f8-0x3ff irq 4 flags 0x10 pnpid PNP0501 on isa0 uart0: [FILTER] uart0: console (9600,n,8,1) ppc0: <ecp parallel="" printer="" port=""> at port 0x378-0x37f,0x778-0x77a irq 7 drq 3 pnpid PNP0401 on isa0 ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/16 bytes threshold ppc0: [ITHREAD] ppbus0: <parallel port="" bus=""> on ppc0 plip0: <plip network="" interface=""> on ppbus0 plip0: [ITHREAD] lpt0: <printer> on ppbus0 lpt0: [ITHREAD] lpt0: Interrupt-driven port ppi0: <parallel i="" o=""> on ppbus0 orm0: <isa option="" rom=""> at iomem 0xe0000-0xe0fff pnpid ORM0000 on isa0 unknown: <pnp0c01> can't assign resources (memory) RTC BIOS diagnostic error 20 <config_unit>Timecounter "TSC" frequency 1202731218 Hz quality 800 Timecounters tick every 1.000 msec IPsec: Initialized Security Association Processing. ata1: DMA limited to UDMA33, controller found non-ATA66 cable ad2: 38154MB <hts541040g9at00 mb2ia60a=""> at ata1-master UDMA33 GEOM: ad2: partition 1 does not start on a track boundary. GEOM: ad2: partition 1 does not end on a track boundary. GEOM: ad2s1: geometry does not match label (255h,63s != 16h,255s). Trying to mount root from ufs:/dev/da0s1a ROOT MOUNT ERROR: If you have invalid mount options, reboot, and first try the following from the loader prompt: set vfs.root.mountfrom.options=rw and then remove invalid mount options from /etc/fstab. Loader variables: vfs.root.mountfrom=ufs:/dev/da0s1a vfs.root.mountfrom.options=rw Manual root filesystem specification: <fstype>:<device> Mount <device> using filesystem <fstype> eg. ufs:/dev/da0s1a eg. cd9660:/dev/acd0 This is equivalent to: mount -t cd9660 /dev/acd0 / ? List valid disk boot devices <empty line=""> Abort manual input mountroot> ufs:ad2s1a Trying to mount root from ufs:ad2s1a WARNING: / was not properly dismounted Configuring crash dumps... No suitable dump device was found. Mounting filesystems... WARNING: R/W mount of / denied. Filesystem is not clean - run fsck mount: /dev/ad2s1a : Operation not permitted ** /dev/ad2s1a ** Last Mounted on / ** Root file system ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 1074 files, 36866 used, 10117329 free (161 frags, 1264646 blocks, 0.0% fragmentation) ***** FILE SYSTEM MARKED CLEAN ***** Can't stat /dev/da0s1b: No such file or directory Can't stat /dev/da0s1b: No such file or directory mount: /dev/da0s1b : No such file or directory readlink: not found grep: not found /etc/rc: /usr/sbin/pwd_mkdb: not found /etc/rc: /usr/bin/cut: not found /etc/rc: /usr/bin/grep: not found /etc/rc: /usr/bin/grep: not found /etc/rc: /usr/bin/wc: not found /etc/rc: /usr/bin/grep: not found /etc/rc: /usr/bin/cut: not found [: : bad number ___ ___/ f \ / p \___/ Sense \___/ \ \___/ Welcome to 2.0.1-RELEASE on the 'pfSense' platform ... /etc/rc: /usr/bin/grep: not found /etc/rc: /usr/bin/cut: not found Dump device does not exist. Savecore not run. Creating symlinks...ln: /tmp/tmp: No such file or directory mkdir: /tmp: No such file or directory chmod: /tmp/uploadbar: No such file or directory .grep: not found wc: not found awk: not found [: : bad number grep: not found wc: not found awk: not found [: : bad number /etc/rc: /usr/sbin/clog: not found /etc/rc: /usr/sbin/clog: not found /etc/rc: /usr/sbin/clog: not found /etc/rc: /usr/sbin/clog: not found /etc/rc: /usr/sbin/clog: not found /etc/rc: /usr/sbin/clog: not found /etc/rc: /usr/sbin/clog: not found /etc/rc: /usr/sbin/clog: not found /etc/rc: /usr/sbin/clog: not found /etc/rc: /usr/sbin/clog: not found /etc/rc: /usr/sbin/clog: not found /etc/rc: /usr/sbin/clog: not found /etc/rc: /usr/sbin/clog: not found /etc/rc: /usr/sbin/clog: not found /etc/rc: /usr/sbin/clog: not found /etc/rc: /usr/sbin/clog: not found /etc/rc: /usr/sbin/clog: not found chmod: /var/log/*.log: No such file or directory ./etc/rc: /usr/bin/grep: not found /etc/rc: /usr/bin/wc: not found /etc/rc: /usr/bin/cut: not found .ldconfig: warning: /usr/lib: No such file or directory ldconfig: warning: /usr/local/lib: No such file or directory done. /etc/rc: /usr/bin/awk: not found [: -lt: unexpected operator /etc/rc: /usr/bin/cap_mkdb: not found /etc/rc: cannot create /tmp/php_errors.txt: No such file or directory /etc/rc: /usr/local/bin/php: not found /etc/rc: /usr/bin/nice: not found Launching the init system.../etc/rc: /usr/bin/touch: not found /etc/rc: /etc/rc.bootup: not found Starting CRON... cd: can't cd to /tmp done. /etc/rc: /etc/rc.start_packages: not found /etc/rc: /usr/local/bin/minicron: not found /etc/rc: /usr/local/bin/minicron: not found /etc/rc: /usr/local/bin/minicron: not found chmod: /tmp/.: No such file or directory Bootup complete rm: /booting: No such file or directory /etc/rc: /usr/local/bin/beep.sh: not found rm: /tmp/config.cache: No such file or directory Oct 29 11:41:25 init: can't exec getty '/usr/libexec/getty' for port /dev/ttyu0: No such file orOct 29 11:41:25 init: can't exec getty '/usr/libexec/getty' for port /dev/ttyv0: No such file or directory Oct 29 11:41:56 init: can't exec getty '/usr/libexec/getty' for port /dev/ttyu0: No such file orOct 29 11:41:56 init: can't exec getty '/usr/libexec/getty' for port /dev/ttyv0: No such file or directory Oct 29 11:42:26 init: can't exec getty '/usr/libexec/getty' for port /dev/ttyu0: No such file orOct 29 11:42:26 init: can't exec getty '/usr/libexec/getty' for port /dev/ttyv0: No such file or directory Oct 29 11:42:56 init: can't exec getty '/usr/libexec/getty' for port /dev/ttyu0: No such file or directory orOct 29 11:42:56 init: can't exec getty '/usr/libexec/getty' for port /dev/ttyv0: No such file or directory Oct 29 11:43:26 init: can't exec getty '/usr/libexec/getty' for port /dev/ttyu0: No such file or directory Oct 29 11:43:26 init: can't exec getty '/usr/libexec/getty' for port /dev/ttyv0: No such file or directory Oct 29 11:43:56 init: can't exec getty '/usr/libexec/getty' for port /dev/ttyu0: No such file or directory Oct 29 11:43:56 init: can't exec getty '/usr/libexec/getty' for port /dev/ttyv0: No such file or directory Oct 29 11:44:26 init: can't exec getty '/usr/libexec/getty' for port /dev/ttyu0: No such file or directory Oct 29 11:44:26 init: can't exec getty '/usr/libexec/getty' for port /dev/ttyv0: No such file or directory Oct 29 11:44:56 init: can't exec getty '/usr/libexec/getty' for port /dev/ttyu0: No such file or directory Oct 29 11:44:56 init: can't exec getty '/usr/libexec/getty' for port /dev/ttyv0: No such file or directory Oct 29 11:45:26 init: can't exec getty '/usr/libexec/getty' for port /dev/ttyu0: No such file or directory Oct 29 11:45:26 init: can't exec getty '/usr/libexec/getty' for port /dev/ttyv0: No such file or directory Oct 29 11:45:56 init: can't exec getty '/usr/libexec/getty' for port /dev/ttyu0: No such file or directory Oct 29 11:45:57 init: can't exec getty '/usr/libexec/getty' for port /dev/ttyv0: No such file or directory Oct 29 11:46:27 init: can't exec getty '/usr/libexec/getty' for port /dev/ttyu0: No such file or directory Oct 29 11:46:27 init: can't exec getty '/usr/libexec/getty' for port /dev/ttyv0: No such file or directory Oct 29 11:46:57 init: can't exec getty '/usr/libexec/getty' for port /dev/ttyu0: No such file or directory Oct 29 11:46:57 init: can't exec getty '/usr/libexec/getty' for port /dev/ttyv0: No such file or directory Oct 29 11:47:27 init: can't exec getty '/usr/libexec/getty' for port /dev/ttyu0: No such file or directory Oct 29 11:47:27 init: can't exec getty '/usr/libexec/getty' for port /dev/ttyv0: No such file or directory Oct 29 11:47:57 init: can't exec getty '/usr/libexec/getty' for port /dev/ttyu0: No such file or directory Oct 29 11:47:57 init: can't exec getty '/usr/libexec/getty' for port /dev/ttyv0: No such file or directory [/code] Pawel</empty></fstype></device></device></fstype></hts541040g9at00></config_unit></pnp0c01></isa></parallel></printer></plip></parallel></ecp></at></keyboard></at></pnp0c01></ata></ata></intel></isa></pci-isa></realtek></mii>