|
||||||||||
Hrmm, I'm not sure about that boot error, is it possible that the soekris isn't set to boot off of CF? As for zeroing out, yes, fill it with zeroes. In linux land, and this assumes that your CF shows up as /dev/sda. This should work in FreeBSD as well, assuming it has a /dev/zero this takes a bit: dd if=/dev/zero of=/dev/sda You can speed it up and not blank the last "sector" with this, which should be fine: dd if=/dev/zero of=/dev/sda bs=16k After it's blank you can go about writing the image as usual at a minimum I blank this way for most CF installs, which usually blows away any MBR and enough partition information that any subsequent blocks will be discarded if found or wrote over. dd if=/dev/zero of=/dev/sda bs=512 count=64 Troels Månsson Kaspersen wrote: > krt wrote: >> I had little luck until I zero'd out the image beforehand and found >> the right flash cards. I've a few 256 and lower cards that anything >> but my cameras just don't like. I've not come across any 512's >> though, so I've been sticking with those. >> >> What does the Soekris do when you try to boot it? Can you show us the >> terminal output of where it errors or it's last actions? >> >> >> Troels Månsson Kaspersen wrote: >>> Hi everyone, >>> >>> I've been trying to boot m0n0wall on a Soekris 4501 from a Compact >>> Flash card. >>> >>> I've tried copying the image onto the CF card using both gunzip/dd on >>> linux and physdiskwrite on Windows XP assuming that the problem was >>> here. >>> >>> But by accident I rebooted my computer (configured to boot from USB >>> device) and it ended up booting FreeBSD from the CF card placed in my >>> USB cardwriter. >>> >>> I've tried 4 different CF cards (16M, 128M, 2x256M), older, new and >>> beta version of the m0n0wall image, upgrading the BIOS of the Soekris >>> unit to the newest version. >>> >>> I've tried looking in the archives for a solution but did not find one. >>> >>> >>> What am I doing wrong? >>> >>> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: m0n0wall dash unsubscribe at lists dot m0n0 dot ch >>> For additional commands, e-mail: m0n0wall dash help at lists dot m0n0 dot ch >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: m0n0wall dash unsubscribe at lists dot m0n0 dot ch >> For additional commands, e-mail: m0n0wall dash help at lists dot m0n0 dot ch >> >> > The output from Soekris says: > > comBIOS ver. 1.29 20070204 Copyright (C) 2000-2005 Soekris Engineering. > > net45xx > > 0064 Mbyte Memory CPU 80486 133 Mhz > > Pri Mas SanDisk SDCFB-16 LBA 490-2-32 15 Mbyte > > Slot Vend Dev ClassRev Cmd Stat CL LT HT Base1 Base2 Int > ------------------------------------------------------------------- > 0:00:0 1022 3000 06000000 0006 2280 00 00 00 00000000 00000000 > 0:18:0 100B 0020 02000000 0107 0290 00 3F 00 0000E001 A0000000 10 > 0:19:0 100B 0020 02000000 0107 0290 00 3F 00 0000E101 A0001000 11 > 0:20:0 100B 0020 02000000 0107 0290 00 3F 00 0000E201 A0002000 05 > > 1 Seconds to automatic boot. Press Ctrl-P for entering Monitor. > Boot error > > > > When you say zero'ed out. Is that filling out the image with zeroes so > that it fit's the size of the CF? And if so could you tell me in > principle how I do it? > |