LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-12-2007, 09:58 PM   #1
tecnalb
LQ Newbie
 
Registered: Oct 2007
Posts: 12

Rep: Reputation: 0
LiveCD can it be modified?


Has anyone played with LiveCD? Can the F8 LiveCD be modifed, I'm looking for anyone who may have an understanding of this. I've tried to add a plugin or two, but can't get it to boot afterwards. Any help would be great.
 
Old 12-12-2007, 10:37 PM   #2
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
LiveCDs usually use part of your system memory (a RAM disk) to create writable parts of the filesystem. Typically the /home area is held in a RAM disk, and a few other places like /tmp. When a LiveCD uses RAM in this way it is volatile - i.e. it will be reset when the machine is rebooted.

The actual CD is not modified. Sometimes a LiveCD may be configured to allow a user to save settings to a USB key or a file on a hard disk. This has the advantage over a RAM disk that it is non-volatile - user settings will persist after a reboot.

More recently a few LiveCDs have been using a thing called UnionFS to allow the illusion of updating files on the CD itself, although again, this needs some external storage medium. AFAIK, this is still not very common.
 
Old 12-13-2007, 01:18 AM   #3
indeliblestamp
Member
 
Registered: Feb 2006
Distribution: Fedora
Posts: 341
Blog Entries: 3

Rep: Reputation: 40
Maybe not exactly what you're looking for, but instead of using a LiveCD, you might want to consider using a LiveUSB. I got a 1GB USB stick recently for a friend who needed a good compiler+dev environment and was stuck with a Vista laptop.
I installed Slax on it. Since its on a USB instead of a CD ROM, any changes you make are compressed and saved to it, and reappear again on the next boot. (I put a randomly changing set of wallpapers, customised keybindings in KDE, and added packages like abiword, emacs and gcc). Slax is good fun!
 
Old 12-13-2007, 07:08 AM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
I haven't tried it myself, but this could be what you're looking for:

http://littlesvr.ca/isomaster/
 
Old 12-13-2007, 03:48 PM   #5
tecnalb
LQ Newbie
 
Registered: Oct 2007
Posts: 12

Original Poster
Rep: Reputation: 0
Hey, thanks for the input, as it's more than I've gotten Let me be a little more descriptive in what I am doing, or trying to do. I have search quite a bit for info... and there is not much to have as of yet. Here is what I've done so far:

I have built a USB key with F8 LiveCD and it works pretty good. The LiveCd is nice, but there is no java support or, in my case, support for a small thin client plugin(preconfigured) that I need. Instead of having to load this plugin each time, I want to take and modify the LiveCD (not a total remix I guess) and add java and this plugin.

In case you have not dissected the LiveCD, it contains a squashfs filesystem called squashfs.img. Inside that is another squashfs filesystem called ext3fs.img. You can mount each, mount -o loop blah blah, and gain read only access to these file systems.

What I have so far... I have mounted the USB and copied off the squashfs.img and the mounted and copied ext3fs.img from there. I then mounted that, and copied the file system to a directory. I have tried JUST adding a directory just to see if it can be saved and viewed. Then I ran mksquashfs <directory> ext3fs.img and then did the same again, mksquashfs ext3fs.img squashfs.img. When mounted, these look just like the original BUT Since it changes the image, during the boot process I get the following:

VFS: Can't find ext3 filesystem on dev dm-0

So, to try to narrow down the part that was failing, I copied the original ext3fs.img to my HDD and the the homemade one back and verified it failed. Then I copied the original one back to the USB key, tried to boot, and it booted. So I have come to the conclusion its has to do with something that I am doing wrong, or omitting, to build a new image with squashfs.

So if anyone has tried any of this, or knows so gotchas, give me a yell. I'm still working with it.
 
Old 12-13-2007, 03:49 PM   #6
tecnalb
LQ Newbie
 
Registered: Oct 2007
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by arungoodboy View Post
Maybe not exactly what you're looking for, but instead of using a LiveCD, you might want to consider using a LiveUSB. I got a 1GB USB stick recently for a friend who needed a good compiler+dev environment and was stuck with a Vista laptop.
I installed Slax on it. Since its on a USB instead of a CD ROM, any changes you make are compressed and saved to it, and reappear again on the next boot. (I put a randomly changing set of wallpapers, customised keybindings in KDE, and added packages like abiword, emacs and gcc). Slax is good fun!
I have done this and it works BUT the LiveCD will detect and configure a display where as I have not figured how to get this setup to do the same. I would go this route if I could get the components to detect and confgure during boot like the LiveCd does...
 
  


Reply



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
files modified ? sachin1361 Linux - Enterprise 1 03-13-2007 03:11 AM
Can wtmp be modified? ivanatora Linux - Security 2 12-05-2005 11:23 PM
have livecd of 'Linux Gentoo' how do i get past the "livecd root #" command line? randell6564 Linux - Distributions 11 11-20-2005 12:31 PM
Powernow-k8, can it modified? DualQuad Fedora 2 10-08-2005 01:49 PM
Pure or modified? melinda_sayang Slackware 16 05-10-2004 09:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:34 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
Open Source Consulting | Domain Registration