OKUJI Yoshinori wrote:
> 
> From: Dave Cinege <[EMAIL PROTECTED]>
> Subject: [PATCH] Multiple initrd files.
> Date: Sun, 28 Jan 2001 01:19:14 -0500
> 
> > What do you think about this? To implement this the 'right way' (allowing
> > continuous loading accross multiple entries) would require recoding
> > load_initrd() entirly.
> 
> No, that's quite easy. See the patch attached to this message. It's a
> just "three minutes" hack.

Actually I'm not sure about your patch.  : >

I'm loading files right inline (effectively cat'ing them together in memory),
so its not possible to calculate the total image size until
they are all loaded. From what I could tell this creates an offset problem, as
the first file could be 10K and the next file could be 2MB. (And a 10K file is
placed differently then a 2.01MB one, no?) This is why I said I thought it had
to be rewritten since I didn't think any of the lower part of initrd_load()
could take place until grub_read() read it all.(???)

IE my test bed for this

initrd.img == 1.1MB

dd if=initrd.img bs=1 count=10000 >initrd.1
dd if=initrd.img bs=1 skip=10000  >initrd.2

initrd /initrd.1,/initrd.2

This works fine with my patch. Would your's be ok?

Dave

-- 
"Nobody will ever be safe until the last cop is dead."
                NH Rep. Tom Alciere - (My new Hero)

_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub

Reply via email to