From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,728439e75d68b87 X-Google-Attributes: gid111c93,public From: Marble Head Subject: Re: SuSE 6.4 Rescue System CD Date: 2000/11/09 Message-ID: <3A0B0BC2.FB5EC880@nospam.guacamole.com>#1/1 X-Deja-AN: 691757895 Content-Transfer-Encoding: 7bit References: <3A088B42.C200282F@nospam.guacamole.com> <8uause$417$1@surz18.uni-marburg.de> <3A0994C5.17F0F441@nospam.guacamole.com> <8udtjd$p2h$1@surz18.uni-marburg.de> <3A0AC66E.7B6330EC@nospam.guacamole.com> <8uerm1$elq$1@pulp.srv.ualberta.ca> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@nose.shr.dec.com X-Trace: nose.shr.dec.com 973802437 1353095 16.129.14.83 (9 Nov 2000 20:40:37 GMT) Organization: Organization? Yes, please. Mime-Version: 1.0 NNTP-Posting-Date: 9 Nov 2000 20:40:37 GMT Newsgroups: comp.os.linux.alpha 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