> 
> A kernel, newly made or otherwise, is a file like any other file, and
> you can save it and restore it with cp or dd or cat or tar or cpio.
> Make sure you know where your kernel is.  If you don't mess with the
> Makefile, make zImage makes /usr/src/linux/arch/i386/boot/zImage, at
> least on a x86 system :-).
> 
> If by save to disk you mean floppy, it is best to make a filesystem on
> the floppy, mount it, and copy the kernel image to it as a named file,
> which keeps track of the attributes and size of the source,
> rather than copying to the floppy as a raw device, which doesn't.

cd /usr/src/linux
make zdisk

Thats much easier.

However regarding the senders comments on Re-installing linux under
different situations, a particular kernel has the root device hard cored in,
that means if you make a kernel on a machine that has /dev/hda1 mounted as
"/" (root filesystem) then it will fail to boot a system which has its "/"
mounted on any other device, that is of course unless you change the boot
paramater with 'rdev' man rdev and rdev -h for more information.

> 
> Lawson
>         >< Microsoft free environment
> 
> This mail client runs on Wine.  Your mileage may vary.
> 
> 
> On Thu, 29 Jul 1999, Jim Woyach wrote:
> 
> > Can someone tell me how to save a  newly built kernal to disk 
> > I have to reinstall linux under different situations and I don't want
> to
> > rebuild the kernal each time. I tried saving  /boot vmlinuz to disk
> then
> > copying it back after the reload but it didn't work. I've still got the
> > original kernal. Any help would be appreciated.
> > 
> > TIA
> > 
> > Jim Woyach
> > Engineering Assistant
> > Monolith Corporation
> > [EMAIL PROTECTED]
> > Phone 919-878-1900  
> > Fax 919-878-8844
> > 
> 
> 
> 
> 
> ___________________________________________________________________
> Get the Internet just the way you want it.
> Free software, free e-mail, and free Internet access for a month!
> Try Juno Web: http://dl.www.juno.com/dynoget/tagj.
> 


-- 
Regards Richard.
[EMAIL PROTECTED]

Reply via email to