On Friday 28 May 2010 16:35:30 I wrote:
>[...]
> Both images do not boot at all.  All I see is the Verifying DMI Pool Data
> stanza from the BIOS and that's it.  No boot loader no nothing; serial is
> quiet (I even switched off the redirection of the BIOS POST to the serial
> device).
> 
> After trying almost everything (LBA and CHS mode, writing the image both in
> my cardreader and from a Linux booted from an USB stick), I finally tried
> m0n0 1.34 and pfSense-1.2.2-Embedded.  Both boot successfully from the CF
> card (didn't try the harddisk but I guess it should work, too).  Oh, the
> pfSense-2.0 image on the 4 GB CF card almost booted on my WRAP (apart from
> the point where it breaks as described in the Wiki, but at least I saw
> some traces of the boot loader), so the image was flashed fine.
>[...]

I finally made that thing boot, with the help from [3].  I had to install a 
FreeBSD on the internal harddrive (not as easy as it sounds without a CD-ROM, 
but the FreeBSD 8 memstick image [4] helped).

Afterwards I was able to mount /dev/ad1s1a and copy /boot to /tmp.  After that 
a `fdisk -B -b /tmp/boot/boot0 /dev/ad2` was needed and after a reboot 
everything worked.

fdisk did spit out a lot of warnings (see below), but in the end it worked 
anyway.  Is this some special case or could the official images be fixed up 
somehow so that they boot more reliably?

> [r...@dummybsd ~]# fdisk -B -b /tmp/boot/boot0 /dev/ad2
> ******* Working on device /dev/ad2 *******
> parameters extracted from in-core disklabel are:
> cylinders=31045 heads=16 sectors/track=63 (1008 blks/cyl)
> 
> Figures below won't work with BIOS for partitions not in cyl 1
> parameters to be used for BIOS calculations are:
> cylinders=31045 heads=16 sectors/track=63 (1008 blks/cyl)
> 
> Media sector size is 512
> Warning: BIOS sector numbering starts with sector 1
> Information from DOS bootblock is:
> The data for partition 1 is:
> sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
> 
>     start 63, size 3861585 (1885 Meg), flag 80 (active)
>       
>       beg: cyl 0/ head 1/ sector 1;
>       end: cyl 758/ head 15/ sector 63
> 
> The data for partition 2 is:
> sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
> 
>     start 3861711, size 3861585 (1885 Meg), flag 0
>       
>       beg: cyl 759/ head 1/ sector 1;
>       end: cyl 493/ head 15/ sector 63
> 
> The data for partition 3 is:
> sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
> 
>     start 7723296, size 102816 (50 Meg), flag 0
>       
>       beg: cyl 494/ head 0/ sector 1;
>       end: cyl 595/ head 15/ sector 63
> 
> The data for partition 4 is:
> <UNUSED>
> Do you want to change the boot code? [n]
> We haven't changed the partition table yet.  This is your last chance.
> parameters extracted from in-core disklabel are:
> cylinders=31045 heads=16 sectors/track=63 (1008 blks/cyl)
> 
> Figures below won't work with BIOS for partitions not in cyl 1
> parameters to be used for BIOS calculations are:
> cylinders=31045 heads=16 sectors/track=63 (1008 blks/cyl)
> 
> Information from DOS bootblock is:
> 1: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
> 
>     start 63, size 3861585 (1885 Meg), flag 80 (active)
>       
>       beg: cyl 0/ head 1/ sector 1;
>       end: cyl 758/ head 15/ sector 63
> 
> 2: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
> 
>     start 3861711, size 3861585 (1885 Meg), flag 0
>       
>       beg: cyl 759/ head 1/ sector 1;
>       end: cyl 493/ head 15/ sector 63
> 
> 3: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
> 
>     start 7723296, size 102816 (50 Meg), flag 0
>       
>       beg: cyl 494/ head 0/ sector 1;
>       end: cyl 595/ head 15/ sector 63
> 
> 4: <UNUSED>
> Should we write new partition table? [n] fdisk: Class not found

Cheers,
Malte


[3]http://doc.pfsense.org/index.php/Boot_Troubleshooting
[4]ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/8.0/8.0-RELEASE-
i386-memstick.img

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Commercial support available - https://portal.pfsense.org

Reply via email to