LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] failing to build install floppy

[ILUG] failing to build install floppy

Conor Daly conor.daly at oceanfree.net
Wed May 1 11:33:42 IST 2002


Trying to add a module to the radhat bootnet.img boot floppy.  
I  did the following...

mkdir /mnt/img
mkdir /mnt/img/bootnet
mkdir /mnt/img/initrd
cd /mnt/img
mount -o loop bootnet.img /mnt/img/bootnet
gunzip -c bootnet/initrd.img > initrd.img
mount -o loop initrd.img initrd
gunzip -c initrd/modules/modules.cgz | cpio -i

and I get a directory 2.4.7-10BOOT containing a bunch of modules.  I add
the desired module to that directory, removing another one to make space,
modify initrd/modules/module-info to include the new driver and rebuild 
the image using

find 2.4.7-10BOOT | grep .o | cpio -o | gzip -9 > initrd/modules/modules.cgz
umount initrd
gzip -c -9 initrd.img > bootnet/initrd.img
umount bootnet

I dd that to floppy and reboot but I get messages like 

going to insmod eexpress.o (path is NULL)
error 2 reading header: cpio: Bad magic

for your info. initrd/modules/modules.cgz is a compressed cpio archive
containing all the modules required for the boot floppy.  Any thoughts on
what I'm doing wrong?

Thanks,

Conor
-- 
Conor Daly <conor.daly at oceanfree.net>

Domestic Sysadmin :-)
---------------------
Faenor.cod.ie
 10:33pm  up 9 days,  4:12,  0 users,  load average: 0.21, 0.05, 0.01
Hobbiton.cod.ie
  9:34pm  up 7 days, 12:00,  1 user,  load average: 0.31, 0.17, 0.11




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell