Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 23 Nov 2014, 00:00
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Howto edit initrd.gz?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
Hacao


Joined: 10 Aug 2005
Posts: 225
Location: Saigon, Vietnam

PostPosted: Mon 25 May 2009, 23:40    Post subject:  Howto edit initrd.gz?  

Hi !

I want to edit initrd.gz for netbook.

Extract it here:

Code:
gunzip -c initrd.gz > initrd
mkdir /mnt/loop

mount -o loop initrd /mnt/loop


This mount not work: must specify the filesystem type

What's wrong?

Thanks,

_________________
Hacao Linux 2009 CE released !

Hacao.com English & Vietnamese !
Back to top
View user's profile Send private message Visit poster's website 
Bruce B


Joined: 18 May 2005
Posts: 11131
Location: The Peoples Republic of California

PostPosted: Tue 26 May 2009, 00:26    Post subject:  

Perform commands starting in directory
containing initrd.gz


extract

mkdir initdir
cd initdir
zcat ../initrd.gz | cpio -i -d



compress

cd initdir
find . | cpio -o -H newc | gzip -9 > ../initrd.gz

_________________
New! Puppy Linux Links Page
Back to top
View user's profile Send private message 
Hacao


Joined: 10 Aug 2005
Posts: 225
Location: Saigon, Vietnam

PostPosted: Tue 26 May 2009, 05:48    Post subject:  

Bruce B wrote:
Perform commands starting in directory
containing initrd.gz


extract

mkdir initdir
cd initdir
zcat ../initrd.gz | cpio -i -d



compress

cd initdir
find . | cpio -o -H newc | gzip -9 > ../initrd.gz


Thanks,

_________________
Hacao Linux 2009 CE released !

Hacao.com English & Vietnamese !
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0426s ][ Queries: 12 (0.0041s) ][ GZIP on ]