[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [Re: netboot.img & Davicomm integrated ethernet ]
- From: "Leonard den Ottolander" <leonardjo hetnet nl>
- To: Jason Boerner <JasonBoerner netscape net>
- Cc: redhat-install-list redhat com
- Subject: Re: [Re: netboot.img & Davicomm integrated ethernet ]
- Date: Sun, 4 Jun 2000 16:09:52 +0200
Hi Jason!
> Everytime I delete files from the 2.2* directory my newly compressed
> modules.cpio.gz shrinks in size. However the resulting initrd file does NOT!
Take care here. The initrd file you edit will not shrink or grow (it's a file
system image). What is important is that the gzipped initrd is not to big!
> Is this what you were getting at with the dd if=/dev/zero message? I've only
> used dd for backups so I'm not sure I fully understand where you are going
> with that...
As you can expect, the zero device produces only zeros. Catting these zeros
over old (deleted) files will make the file system image more compressable
(more redundant).
Since you don't have any trouble with the modules.cgz, you don't have to use
this trick with the files it contains, but you could try it on the old
modules.cgz in the initrd.img. Assuming this old image is still mounted on
/mnt/loop0 you do:
dd if=/dev/zero of=/mnt/loop0/modules.cgz bs=1 count={size of old
modules.cgz}
You have now completely erased the contents of the old modules.cgz, and you
can copy the new one over it. Now the initrd should be more compressable and
the resulting initrd.img should fit on the floppy again.
Now let's hope the installation accepts the newly added module(s).
Good luck!
Leonard.
P.S. I guess you already noticed, but under 9) (pcitable) where I speak of
braces of course I mean quotes.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]