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 Fri 31 Oct 2014, 02:38
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 Posts_count  
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_website 
Bruce B


Joined: 18 May 2005
Posts: 11130
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_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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