Printable Version of Topic
Click here to view this topic in its original format |
Dingetje's Forum > Tips & Tricks > Howto make FREESCO 03x boot from CD |
Posted by: dingetje Dec 23 2003, 02:33 PM | ||||||||||||||||||||||||||||||||||||
This is how I make Freesco bootable from cdrom. It's partially based on Deoren's how-to (thanks Deoren!) but mostly it was alot of googling and trial and error. The Freesco box that I used has Freesco 032 and Win98 running on /dev/hdb1 and the cdrom is on /dev/hdc. Yours might be different. Things you'll need:
Next, you need to install a kernel that has cdrom support (i usually use #5 from lightnings kernel-1.3-lightning package). now, install any packages that you want (mc...) When you're finished, put your Knoppix cd in the drive and reboot. I type in "knoppix 2" at the boot prompt so it doesn't boot to the desktop. mount your Freesco drive
setup our working environment
copy the ramdisk to our working environment (and rename it)
unzip it
mount it as a loop device so we can modify it
now we have to edit /mnt/hdb1/freesco/oldram/etc/rc (I use "mc") change line #42 from "bd Mounting -t umsdos" to "bd Mounting -t iso9660" comment out line #53 (umssync -g 99 -u 99 -r 99 -v- boot /dev/null) save the file and exit If you want to add files to the ramdisk, now's the time to do it but I suggest making it bigger though first.
format the new ramdisk
mount it
copy everything from the old ramdisk to the new one
unmount both of them
gzip the new ramdisk
move it to the "router" directory and rename it as "ramdisk.cd"
Now we need to make the isolinux directory to hold the boot files
Now we need to locate the "isolinux.bin" file (included in Knoppix)
I used Knoppix 3.2 and found isolinux.bin at "/usr/lib/isolinux/isolinux.bin" copy it to the isolinux directory you just created
now we need to make a isolinux.cfg file in /mnt/hdb1/isolinux here's what it needs to have
now we make the bootable iso image
since I don't have a burner in my Freesco box, I reboot into win98 and copy c:\freesco.iso to a shared folder and copy it to another computer to burn it but you could also reboot into your hard drive install of Freesco and copy the iso image to your ftp folder. Tom |
Posted by: dingetje Mar 4 2004, 03:33 PM |
Here's the original thread on the official forum: http://forums.freesco.org/support/index.php?act=ST&f=6&t=9824 A few things have been added to this thread, one of which is an automated script to make an ISO using a bootable Knoppix CD and your own harddisk based FREESCO. Check it out! good work tom! ![]() |
Posted by: dingetje Apr 15 2004, 10:01 AM |
http://comms.mine.nu/freescopics/index.php?act=SF&f=3 is even more about the FREESCO CD Project. |
Posted by: Guest May 19 2004, 07:41 PM |
Interesting how to. Couple of questions: 1) using part of this method, could one create a Freesco image that runs from the ext2 filesystem? One of the steps involves editing a boot script that tells what file system is being mounted, after all (edited from umsdos to iso9660), and the newly created ramdisk is formatted ext2fs. If one changed that iso9660 to ext2 and then, after having copied the whole ramdisk over to ram2, renamed /router/ramdisk to /router/ramdisk.old and ram2 to /router/ramdisk, the wouldn't one have Freesco running in an ext2 (ramdisk) on the next reboot? 2) making this CD, one could use Freesco - in either UML or some emulator like Bochs or Vmware - as a firewall that runs within another Linux distro, correct? James |
Posted by: Guest May 19 2004, 07:47 PM |
Oops. Forgot a 3rd question: 3) what's the size of the ramdisk? Does 128000 mean 12MB, 128MB? The zeroes tend to get me confused. James |
Posted by: dingetje Jun 7 2004, 07:48 PM |
Guest (who ever you are), I suggest you post your questions on the forum that is hosting the CD howto. Sorry I cannot help you further. If you're interrested in running FREESCO on a virtual PC, check out the official forum at http://www.freesco.org/support-forum/ because there are some Bochs images (made by tom) to be downloaded for a FREESCO 03x box. Do a search for Bochs and ye shall find. |
Posted by: dingetje Feb 17 2006, 01:17 PM |
http://www.freesco.org/support-forum200607/index.php?showtopic=12178 |