From: Marble Head <Marble.Head@nospam.guacamole.com>
Subject: Re: SuSE 6.4 Rescue System CD
Date: 2000/11/09 [thread overview]
Message-ID: <3A0B0BC2.FB5EC880@nospam.guacamole.com> (raw)
In-Reply-To: 8uerm1$elq$1@pulp.srv.ualberta.ca
Thank you very much.
I don't think I'll be able to get to it until early next week, but this looks
like very useful information, and hopefully things will go relatively
smoothly. :-)
Michal Jaegermann wrote:
> Marble Head (Marble.Head@nospam.guacamole.com) wrote:
> : My experience with other "rescue" images is:
> : They all have tar, they all have dd, but none of them have dump/restore.
>
> If you want your customized rescue disk it is pretty easy to construct
> one using 'busybox' - http://busybox.lineo.com/. Yes, this does compile
> on Alpha although I did not try yet the latest version. There is no
> dump/restore among tools included there but they are simple to add.
>
> Here is a recipe for a simple boot/ramdisk floppy pair. You create
> a kernel for your hardware which supports exactly what you want without
> loading any modules and has a bigger default ram disk size - 8 Megs
> should be ample but you may go for a bigger one if you really want
> and have memory. You use your kernel as a replacement for one on
> a boot floppy; that one from Red Hat will do just fine and it is
> a normal ext2 file system on it so you can mount it and read and write
> over it to your heart contents. You may want 'init' of your own.
>
> You create a basic system using busybox stuff compiled with _shared_
> libraries and you use that to populate your ramdisk image. How do do
> that is described in 'ramdisk.txt' file from a kernel documentation and
> busybox also has documentation which explains how to set 'init' and
> associated things. You also add to this image (only those required by
> your binaries) _stripped_ shared libraries and few extra utilities you
> want. Should be enogh of space for 'bash', although you can live with a
> simpler shell provided in 'busybox', and still a number of extra
> utilities on your own (fdisk, dump, restore, ... ). After that you
> unmount that image, compress with gzip and 'cat' resulting file to
> /dev/fd0 with a future ramdisk floppy in it. Barring bad sectors on
> floppies (happens quite frequently and retry with another floppy if this
> is the case) you should end up with a pair of floppies which can do any
> rescue job. Just boot with "load_ramdisk=1".
>
> It should be clear that such pair can be also used to break into any
> machine (not even running Linux at all) on which it can be used. But
> this is consistent with an old adage "if your computer is not physically
> secure then it is not secure - period".
>
> Making even richer environment on a ramdisk with a help of a CD
> is left as an exercise to the reader. :-)
>
> Michal
next prev parent reply other threads:[~2000-11-09 5:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-07 5:00 SuSE 6.4 Rescue System CD Marble Head
2000-11-08 7:20 ` J�rgen Schr�der
2000-11-08 5:00 ` Marble Head
2000-11-09 5:00 ` J�rgen Schr�der
2000-11-09 5:00 ` Marble Head
2000-11-09 5:00 ` Michal Jaegermann
2000-11-09 5:00 ` Marble Head [this message]
2000-11-10 5:00 ` Michal Jaegermann
2000-11-14 5:00 ` Anas Nashif
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox