I don't really know how to use the dos2unix program but I used a text editor
in ubuntu to edit leaf.cfg and syslinux.cfg
I changed the "fd0u1680" part to "hda1" in both files.
I also added hdsupp in the lrp list in the leaf.cfg file.  Is this right?


Anyway, the firewall is actually booting from the flash drive now.  I had
failed to run "syslinux -s c:" after formatting the flash drive in dos.

However, it is crashing during the boot up.

These are the last visible lines on the screen after crashing:


insmod: unresolved symbol ide_unregister_module
insmod: unresolved symbol cdrom_media_changed
-
"12 more insmod's, similar to the others, I omitted for brevity's sake"
-
insmod: unresolved symbol ide_add_setting
Using /boot/lib/modules/ide-detect.o
insmod: unresolved symbol ideprobe_init_module
insmod: unresolved symbol ideprobe_cleanup module
Using /boot/lib/modules/isofs.o
LINUXRC: Mounting a 6M TMPFS filesystem...
LINUXRC: PKGPATH is empty or unset. can not install packages.
LINUXRC: LRP= is empty or unset. can not install packages.
.: 285: Can't open /var/lib/lrpkg/root.dev.own
Kernel panic: Attempted to kill init!




Andrew



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eric Spakman
Sent: Tuesday, September 19, 2006 2:29 PM
To: Andrew Nance
Cc: leaf-user@lists.sourceforge.net
Subject: Re: [leaf-user] booting from flash ide drive

Hello Andrew,

> Thanks for the advice.
>
>
> I installed the (dos formatted, bootable) flash drive to my windows xp
> computer and extracted the files from the windows executable directly to
> the flash drive.
>
> I then replaced the original initrd.lrp with the renamed, ide one onto
> the flash drive. I copied hdsupp.lrp to the flash drive.
>
>
> Now, it is my understanding that I just need to modify syslinux.cfg and
> leaf.cfg to point to hda1.  Do I need to use a program like dos2unix
> and/or unix2dos?  If so, can someone tell me exactly how?
>
To be on the safe size I would indeed use dos2unix or a decent editor
which understands unix lf.

> Then install the flash drive into the firewall, set the bios to boot from
>  it, and power up?  Is that it?
>
You have to install syslinux on the flashdrive, but I think you did by
reading the above.

> The man pages say to not do auto settings in bios for the flash drive,
> but when I went to my bios it was set to use LBA.  Did you guys change
> your bios to something in particular?
>
I use a pcengines WRAP board which defaults to CHS, I never tried LBA. But
if the manpage say not to use auto settings, I would use CHS to be sure.

> Andrew
>
Eric

>
>
> -----Original Message-----
> From: Erich Titl [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 19, 2006 2:30 AM
> To: Andrew Nance
> Cc: leaf-user@lists.sourceforge.net
> Subject: Re: [leaf-user] booting from flash ide drive
>
>
> Hi
>
>
> Andrew Nance wrote:
>
>> Hi all,
>>
>>
>> I am trying get my 2.4.2 Bering uClibc firewall to boot from a 32 MB
>> flash ide module. The computer is a DELL Pentium 3 machine with 3 nics.
>>
>>
>> I have been trying to follow theses directions:
>> http://leaf.sourceforge.net/doc/bk02ch11s03.html
>> and http://leaf.sourceforge.net/doc/bk02ch11s05.html
>>
>>
>> I am getting stuck trying to replace the extracted disk's initrd.lrp
>> (286
>> kB) with initrd_ide_cd.lrp (which is 387 kB). My floppy is too full to
>> replace the file.
>
> You want to place those files on the DOM. One way to do it is to attach
> it to your linux host and load all necessary files to it. then put it to
> your router and boot from it. I modified an old system to have the IDE
> connector on the front panel for this purpose :-)
>
> Another way, boot from CD or floppy, partition and format the DOM, copy
> everything needed and boot.
>
> Remember, once booted from the floppy, it is not needed anymore, you can
> take another one to copy files from.
>
> cheers
>
> Erich
>
>
>
> -------------------------------------------------------------------------
>  Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your opinions on IT & business topics through brief surveys -- and earn
> cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>  ------------------------------------------------------------------------
>  leaf-user mailing list: leaf-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/leaf-user
> Support Request -- http://leaf-project.org/
>
>



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to