[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bootdisk
- To: Erez Doron <erez(at-nospam)savan.com>
- Subject: Re: bootdisk
- From: Adi Stav <stav(at-nospam)actcom.co.il>
- Date: Wed, 3 Jan 2001 22:02:30 +0200
- Cc: linux-il(at-nospam)linux.org.il
- Delivered-To: linux.org.il-linux-il@linux.org.il
- In-Reply-To: <3A53456D.C9376FA8@savan.com>; from erez@savan.com on Wed, Jan 03, 2001 at 05:29:49PM +0200
- Mail-Followup-To: Erez Doron <erez@savan.com>, linux-il@linux.org.il
- References: <3A53456D.C9376FA8@savan.com>
- Sender: Adi Stav <adi(at-nospam)fred.stav>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
- User-Agent: Mutt/1.2.5i
On Wed, Jan 03, 2001 at 05:29:49PM +0200, Erez Doron wrote:
> hi
>
> I've installed a new computer with raid and lvm-root
>
> I'm trying to create a backup boot methos ( i.e. boot via floppy/ies or
> cd )
>
> my root ( compressed ) and the kernel image together are about
> 1700kbytes
> so i can not make it a single-boot diskete
> ( funny, but if i compile my utils as static, so i do not need libc.so ,
> it takes less
> disk space befor compression, but more after ... )
>
> i tried making it 1 root + 1 boot but:
>
> if i write root=/dev/vg0/root ( lvm root ) it will not prmbpt/load the
> ramdisk ...
> if i write root=/dev/fd0 it will not know that it needs to load
> /dev/vg0/root as root
> ( either write it under lilo, or use rdev )
>
> i tried making a single 2880 image and boot via cd. but because i do not
> really have
> a 2880 floppy, i made it as ram disk but lilo does not want to install
> itself on ramdisk.
> and working with rdev, gave me the same problems as above
>
> any idea ?
Several things you can do:
1. There are many, many bootdisks projects on Freshmeat. Take one,
adjust to your needs, post the result on Freshmeat, rince, repeat
:)
2. Check out "busybox" to save space on a boot disk (Debian use it on
their installation and rescue disks). It combines simplified
versions many necessary utilities into one, saving a lot of space
at the price of convenience.
3. Consider using initrd.
ObRTFM: Check out the Linux documentation for kernel parameters in the
Linux source documentation directory. I found it very helpful.
Especially the ramdisk and initrd parameters.
- Adi Stav
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il