Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: OT: initrd help, I've looked and I've looked.< Next Oldest | Next Newest >
iconoclastus Offline





Group: Members
Posts: 6
Joined: Dec. 2004
Posted: Dec. 18 2004,08:13 QUOTE

Hello,

I have looked for about an hour, and I have found lots of people talking about it, but nothing about how to do it.

Right now I am modifying a few things in a program called 'Offline Password Editor", a boot up disk that stores the root file system in initrd.gz.  I was able to pull the file system out by coping it to a floppy from within the program itself, however, after modifying everything that I wanted changed, I am at a loss on how to make the initrd file that is inside the initrd.gz.

Could someone point me to some information on this, as I can't find anything from google explaining it.

Thanks,
Michelle


--------------
"The first sign of a nervous breakdown is when you start thinking your work is terribly important."
- Milo Bloom

"Defer not till tomorrow to be wise, tomorrow's sun to thee may never rise."
- William Congreve
Back to top
Profile PM 
iconoclastus Offline





Group: Members
Posts: 6
Joined: Dec. 2004
Posted: Dec. 18 2004,09:35 QUOTE

Hello again.

Okay, apparently I needed to refine my google search a little more.  I found my answer.

If anyone was wondering the same thing I was, here is what you do:
Code Sample

dd if=/dev/zero of=~/initrd count=2500 bs=1024
losetup /dev/loop0 ~/initrd
mke2fs /dev/loop0
mkdir /mnt/loop0
mount /dev/loop0 /mnt/loop0
cp -a initrd/* /mnt/loop0
umount /dev/loop0
losetup -d /dev/loop0


--Michelle


--------------
"The first sign of a nervous breakdown is when you start thinking your work is terribly important."
- Milo Bloom

"Defer not till tomorrow to be wise, tomorrow's sun to thee may never rise."
- William Congreve
Back to top
Profile PM 
1 replies since Dec. 18 2004,08:13 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: OT: initrd help

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code