LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-16-2008, 12:39 AM   #1
kkpal
Member
 
Registered: Oct 2007
Posts: 101

Rep: Reputation: 15
Thumbs up How to modify squashfs file ?


hi all

I want to reduce the size of pup_214.sfs. For that I mount pup_214.sfs and copy all the contents of mount directory(/mnt/test) in to a new directory(/mnt/test1) and unmount mounted directory. Then I create chroot environment and make a new pup_214.sfs file.
I used this command:
"mksquashfs archive/ etc/ mnt/ root/ usr/ bin/ grafburn-0.9.pet.specs proc/ sbin/ var/ dev/ lib/ tmp/ /pup_214.sfs"

and I also tried this command :
"mksquashfs archive/ etc/ mnt/ root/ usr/ bin/ grafburn-0.9.pet.specs proc/ sbin/ var/ dev/ lib/ tmp/ /pup_214.sfs -all-root"

But system is not booting. it shows error:
"Kernel panic - not syncing : Attempted to kill init!"
What I did wrong?
How to create new pup_214.sfs file using older one?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot delete or modify the file k0nsole.c Linux - General 7 06-25-2007 09:07 PM
How to modify a file? kornerr Programming 4 08-08-2005 09:08 AM
modify /etc/network file 08260068 Linux - Newbie 1 03-11-2005 04:47 PM
modify file access & modify timestamps i2itstud Linux - General 1 05-20-2003 03:34 AM
want to modify xf86config file gonus Linux - Hardware 1 11-07-2002 10:04 PM


All times are GMT -5. The time now is 07:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration