Hey Dan: You should be able to mount your initrd.img after you decompress it:
cp /tftpboot/initrd.img /tmp cd /tmp mv initrd.img initrd.img.z gunzip initrd.img.z mount -o loop initrd.img /mnt Then you can modify the files to your hearts content. After you're done: umount /mnt gzip -9 initrd.img mv initrd.img.gz initrd.img And you're done. Probably are easier steps than outlined here, but it works ;-) Cheers, Bernard > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Daniel Widyono > Sent: Friday, July 08, 2005 12:59 > To: [email protected] > Subject: [Sisuite-users] FAQ question > > In FAQ "How do I edit files on the initrd?" step 5 states: > > cp -a /mnt/tmp/* /tmp/initrd.new > > During this step, however, I get a lot of errors thusly: > > cp: will not create hard link `/tmp/initrd.new/proc' to > directory `/tmp/initrd.new/bin/.svn/tmp/prop-base' > > There are 26 such errors, and all end with > `/tmp/initrd.new/bin/.svn/tmp/prop-base'. > > How do I create the entire filesystem with /proc, /root, > /tmp, /var/run, > etc.? I'm doing this in an attempt to modify rcS to DHCP via > eth0 instead of > eth1 (don't know why it's using eth1, I haven't plugged eth1 > into anything). > > Regards, > Dan W. > > > ------------------------------------------------------- > This SF.Net email is sponsored by the 'Do More With Dual!' > webinar happening > July 14 at 8am PDT/11am EDT. We invite you to explore the > latest in dual > core and dual graphics technology at this free one hour event > hosted by HP, > AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar > _______________________________________________ > Sisuite-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sisuite-users > ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Sisuite-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sisuite-users
