| Suse/Novell This Forum is for the discussion of Suse Linux. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-09-2011, 12:35 PM
|
#1
|
|
LQ Newbie
Registered: Jul 2011
Location: Mtl, Canadda
Distribution: OpenSuse 11.4 & Ubuntu unity
Posts: 7
Rep: 
|
How do I mount a live compressed file system for reading & writing from a liveCD/DVD
Hello,
On the OpenSUSE 11.4 Linux DVD, there are compressed filesystem images for the live version for KDE or Gnome for example, but they have no extension, but they are clearly an image file due to their sizes( compressed filesystem images for the live version before deciding to install ) !!
I was wondering, How do I mount these compressed filesystem images, after I copy the ISO content of the DVD on my system .... I want to edit some files or packages and make some changes, like if I want to customize a live version of gnome for example ! ... ( I know you might be tempted to tell me to use KIWI etc to customize etc ..... ) ... but I want to be able to mount the compressed file system image, then edit it for reading and writing while it is in a subdirectory on its own ... i want to open it ! ... is there a way to do this ??? ... these type of files have no extension ...
Please help ... can someone give me a command so i can open this compressed filesystem image then to edit for read & write ... before I roll it back again ..... If and when I succeed .... what should I watch out for ? ... will the same compressed file image but slightly modified work again ???? ... please advise ! any cues on this will be much appreciated !
thank you
Don
|
|
|
|
07-09-2011, 12:44 PM
|
#2
|
|
Moderator
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 12,167
|
Most, if not all, of those compressed files are not filesystems, but cpio-archives (somewhat similar to a tar-ball). You have to decompress and de-cpio them, then alter the files, cpio them again and then compress again.
|
|
|
0 members found this post helpful.
|
07-09-2011, 11:31 PM
|
#3
|
|
LQ Newbie
Registered: Jul 2011
Location: Mtl, Canadda
Distribution: OpenSuse 11.4 & Ubuntu unity
Posts: 7
Original Poster
Rep: 
|
Quote:
Originally Posted by TobiSGD
Most, if not all, of those compressed files are not filesystems, but cpio-archives (somewhat similar to a tar-ball). You have to decompress and de-cpio them, then alter the files, cpio them again and then compress again.
|
I am afraid that the files I am referring to are not cpio-archive files.
they do not have cpio extension, they don't have extension at all !
I made a little research on cpio ... and I don't think it's it !
here are some clues that made me draw this conclusion :
first : on this OpenSuse 11.4 DVD, there are 2 other files, like the config.kde.isoclient & the config.gnome.isoclient files
for example, the config.kde.isoclient file contains the following :
IMAGE=/dev/ram1;openSUSE-kde-11.4-livecd-kde.i686;2.8.0
UNIONFS_CONFIG=/dev/ram1,/dev/loop1,clicfs
and the files that I am referring to in my first question above are on the DVD & named as:
openSUSE-kde-11.4-livecd-kde-read-only.i686-2.8.0
openSUSE-kde-11.4-livecd-gnome-read-only.i686-2.8.0
with no extension and they weigh about 665 MiB each
????
If you truely believe they are cpio files .... give me an example of a command line to extract or open one of them for read & write ... plz ... and I will let you know if it works ! ??? ...
thank you
Don
Last edited by Don-X; 07-09-2011 at 11:33 PM.
|
|
|
|
07-10-2011, 07:40 AM
|
#4
|
|
Moderator
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 12,167
|
Quote:
Originally Posted by Don-X
they do not have cpio extension, they don't have extension at all !
|
You are aware that Linux is not dependent on file-extensions, like Windows is?
you can easily test if they are cpio-files with the file-command, like
Code:
file openSUSE-kde-11.4-livecd-kde-read-only.i686-2.8.0
|
|
|
|
07-10-2011, 09:19 AM
|
#5
|
|
LQ Newbie
Registered: Jul 2011
Location: Mtl, Canadda
Distribution: OpenSuse 11.4 & Ubuntu unity
Posts: 7
Original Poster
Rep: 
|
Quote:
Originally Posted by TobiSGD
You are aware that Linux is not dependent on file-extensions, like Windows is?
you can easily test if they are cpio-files with the file-command, like
Code:
file openSUSE-kde-11.4-livecd-kde-read-only.i686-2.8.0
|
I am aware that linux is not so extension dependent like windows is ... but ... Thanks for the tip & reminder ! ...
here are some more info :
... after doing a custom build, with suse studio.. I ended up with a file just like the one I told you about ! ...
locally, with the help of KIWI ... ended up with one just like it too ... !
old suse distros ( like the 10.0 named SUSE OSS ) did not have these big files .. back then ... they were using archive type files !
so it was easy to customize the CD/DVDs and do what I wished to do ... but now .... since the 11.0 versions
these files are on all live CDs or DVDs.
so .. I want to use another approach .... can you help me with finding a command to open up one of these files so I can experiment ..and eventually .. possibly ..really do what I am trying to do !
by doing the file command, the response I got is :
" data " ... that's all !
I took your suggestion with the "file" command in my custom_image directory and this is what I got !
donald@linux-vzxf:/tmp/custom_image> file Boyo-Linux-1.01-live-iso-read-only.i686-2.5.2
Boyo-Linux-1.01-live-iso-read-only.i686-2.5.2: data
I get the same result with openSUSE-kde-11.4-livecd-kde-read-only.i686-2.8.0
it says : data
that's it !
???
|
|
|
|
07-10-2011, 09:21 AM
|
#6
|
|
Moderator
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 12,167
|
I am currently downloading a openSuse DVD to have a look at those files. Will post back my results later.
|
|
|
|
07-12-2011, 05:39 PM
|
#7
|
|
LQ Newbie
Registered: Jul 2011
Location: Mtl, Canadda
Distribution: OpenSuse 11.4 & Ubuntu unity
Posts: 7
Original Poster
Rep: 
|
Quote:
Originally Posted by TobiSGD
I am currently downloading a openSuse DVD to have a look at those files. Will post back my results later.
|
Hello TobiSGD,
I want to thank you for your initiative ! ...
Did you notice what I was referring to ... what do you make of them ... Aren't these files somekind of unionfs/squashfs scheme files ??? ... or something else ?? ..
|
|
|
|
07-12-2011, 05:50 PM
|
#8
|
|
Moderator
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 12,167
|
Sorry for not posting earlier, I was busy. Where did you find those files? I downloaded the standard openSuse 11.4 DVD and didn't find them on there. Currently downloading the KDE live-CD to have a look at that.
|
|
|
|
07-13-2011, 05:20 PM
|
#9
|
|
Moderator
Registered: Aug 2002
Posts: 10,691
|
A quick google found:
http://desire.sk/simple/node/5
Looks like some useful information and it looks like it is still relevant.
|
|
|
1 members found this post helpful.
|
07-14-2011, 09:16 PM
|
#10
|
|
LQ Newbie
Registered: Jul 2011
Location: Mtl, Canadda
Distribution: OpenSuse 11.4 & Ubuntu unity
Posts: 7
Original Poster
Rep: 
|
Quote:
Originally Posted by michaelk
|
Michaelk my friend ! ... I believe you found what I was looking for ! ... thanks a bunch .. with clicfs it might just works .. like the link suggest ! .. this is it ! ... I will post back to share !
Don
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:58 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|