[ previous ] [ next ] [ threads ]
 
 From:  Falcor <falcor at netassassin dot com>
 To:  Mohamed Badri <mohamed at netbadri dot com>
 Cc:  m0n0wall dash dev at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall-dev] Create monowall iso image
 Date:  Thu, 22 Apr 2004 13:18:17 -0500
Here is how I do it:

 From create to publish:

1.) mount the CF/SD image file using mount /dev/ad8 /mnt/CF  (Note you 
will need to do /dev/makedev [ad# of your card] if you havent... since 
you are using a CD rom just mount the CD.)
2.) cp the .gz files off of the original image to some temp directory so 
you can work on them... e.g. /tmp/m0n0wall
3.) vconfig vn0 [filename and path, e.g. /tmp/m0n0wall/mfsroot]
4.) mount /dev/vn0 /mnt/[what ever you want]
5.) make your changes and such....
6.) umount /dev/vn0
7.) vconfig -u vn0

now simply copy them back to your CF card which is still mounted.  

You can modify this to work with the raw image by change step 1.

E.g.
Switch the CF process to this:
1.) copy the iso that you got from the website to some location on your 
drive.
2.) Moun the image using the same vconfig / mount process I outlined 
before.  Then extract the gz files and follow steps 2 - 7 from above.. 
this time of course copying the new gz files back to the original iso.


Or......


http://m0n0.ch/wall/hack/

That will give you info (specifally in the Root File System) for 
creating your own bootable ISO.  Remember these directoins are for a CF 
card, so you will need the formatting info for your CD.

Mohamed Badri wrote:

>Hello,
>I already sent this email to user list, 
>but I thing i could get the response here.
>thanks.
>
>Selon Mohamed Badri <mohamed at netbadri dot com>:
>
>  
>
>>Does anyone know how to create the monowall cd image ?
>>
>>I use the following line :
>>
>>mkisofs -U -R -b boot/cdboot -no-emul-boot -c boot/boot.catalog -o
>>./monowall_test.iso ./iso
>>
>>but this image don't boot on a pc.
>>
>>I use vmware to test my rootfs.
>>vmware is configured to boot directly from iso file.
>>
>>thanks.
>>
>>---------------------------
>>    
>>
>
>
>
>---------------------------
>http://webmail.netbadri.com
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: m0n0wall dash dev dash unsubscribe at lists dot m0n0 dot ch
>For additional commands, e-mail: m0n0wall dash dev dash help at lists dot m0n0 dot ch
>
>  
>