Re: LNX-BBC-NET (bbc 2.1 hacked into a netboot) - network rescue floppy

"Steven L. Fountain" <[email protected]>
Newsgroups gmane.linux.bbc.general
Message-ID <[email protected]>
Thank you -- I'll probably follow up on this mailing list w/an updated
version with all future lnx-bbc releases .. Sorry about not using the
cloop, it's just that this release begs to become a simple starting
platform for other things and requires being updated with greater ease.
(not to you exactly per se..) So for the time being the network boot
method is for machines with a good chunk of memory in present standing.
Memory is cheap.

The pain in the ass is making the initial ramdisk.

#1: Gauging your ramdisk size based on whatever machine you currently
have booted.. df.. your root device should use a little under whatever you
are going to set the ramdisk size to minus your space for customization.

#2: If you wanted to say make a 128 M ram disk (1024*128)..
   AA) You would need two machines.. one to boot into the environment,
       and another to make the image on and to copy the files into.
    1) You have to boot your kernel with ramdisk_size=131072
    2) You mke2fs -m 0 /dev/ram0 on bootup, then
    3) mount /dev/ram0 /mnt
    4) rsync all the files ( excluding /proc,/dev ) from your booted host
       to this machine
    5) mkdir -p /mnt/proc /mnt/dev
    6) umount /mnt
    7) dd if=/dev/ram0 of=root
    8) gzip -9 root   ( takes awhile )

..slf

Steven L. Fountain [system( architect, programmer, admin )]
DSC Ops Research Group .. http://dreamscape.org
925-895-1500(C) - defending the silicon valley - on-call


On Wed, 25 Jun 2003, Sam Phillips wrote:

 SP>On Thu, Jun 19, 2003 at 06:46:18PM -0700, Steven L. Fountain wrote:
 SP>> This is LNX-BBC-NET 2.1 and you can get it from the following two links:
 SP>> 	theinfo	http://dreamscape.org/code/lnx-bbc-net.txt
 SP>> 	bootdir	http://dreamscape.org/lnx-bbc-net.tgz
 SP>>
 SP>> Some machines don't have CD's, but this is a very useful distribution
 SP>> method too. Enjoy.
 SP>
 SP>Very cool.  I was working on something like this last year, glad to see
 SP>that someone got it all together.
 SP>
 SP>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.