LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (http://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   creating live cd the easy way (http://www.linuxquestions.org/questions/linux-distributions-5/creating-live-cd-the-easy-way-756952/)

umarzuki 09-22-2009 05:24 AM

creating live cd the easy way
 
i had try build-helper but it seems hard to make a live cd with mplayer with all codes, firefox with flash and java plugins.

anyone had any simple solution? Geexbox does not have web browser and i can't browse cd/dvd with it.

i need to make/get a small distro that can be loaded into ram so i can use the dvd drive to play dvds.

umarzuki 09-22-2009 08:26 PM

in case anyone wondering, puppy linux have flash enabled browser and video player that supports .avi with small footprint.

j1alu 10-09-2009 02:13 PM

Quote:

Originally Posted by umarzuki (Post 3692637)
i had try build-helper but it seems hard to make a live cd with mplayer with all codes, firefox with flash and java plugins.

anyone had any simple solution? Geexbox does not have web browser and i can't browse cd/dvd with it.

i need to make/get a small distro that can be loaded into ram so i can use the dvd drive to play dvds.

i dont know about loading a disto into ram, but the most easy/simple method for me is:
creating a small partition (10GB plus/minus; perhaps in virtualbox).
installing debian
configuring it the way i want it
installing live-helper or remastersys
running
Code:

lh_config --bootstrap copy --debian-installer live
lh_build

or
Code:

remastersys -backup
the command for remastersys might look a bit different. heres the page:
http://www.geekconnection.org/remast...ersystool.html

Result in both cases is an installable copy of your configured installation (which you now may delete again :-) )

(you need enough space, as the whole shebang is getting copied to unpack the squash-filesystem. about 3 times as big as your final installation should be sufficient).

----
you couldnt simpy install a distro on an usb-stick? that way you would have got the cd/dvd-rom availiable too.

linus72 10-09-2009 02:37 PM

sorry to be semi-off-topic
but, j1alu; does this code

Code:

lh_config --bootstrap copy --debian-installer live
lh_build

build a livecd as with remastersys or what does it do??
thanks

j1alu 10-09-2009 03:14 PM

Quote:

Originally Posted by linus72 (Post 3713760)
sorry to be semi-off-topic
but, j1alu; does this code

Code:

lh_config --bootstrap copy --debian-installer live
lh_build

build a livecd as with remastersys or what does it do??
thanks

as far i know: yes, it does the same.
( a live cd which may be installed, but you gotta choose when booting, installing/adding a graphical installer is a different thing)

"--bootstrap copy" copies your installation
"--debian-installer" live adds the debian installer.
you might even add an lh_config option like:
Code:

-b usb-hdd
and put the resulting iso on an usb-stick:
Code:

dd if=debian-live-sid-i386-standard.img of=$USBDRV
live-helper is an amazing tool, but if youre not into it atm it might get confusing. Therefor,as i said, all as far i know.
(if youre fine with remastersys *i* can see no reason/advantage to make use of live-helper instead.)

btw: you could give some info bout the "loading into ram"-thing.
pleaaase :-)
greetings

linus72 10-09-2009 05:02 PM

OH
thanks buddy

now, to umarzuki

Debian live, or grml too are both smallish and both can use the bootoption
"toram"
for debian live/grml you just add the bootcode

Code:

toram=grml.squashfs
or for debian,

Code:

toram=filesystem.squashfs
a good puppy, is
browserlinux puppy
has flash and firefox 353
http://www.browserlinux.com/

as you know, puppy has a toram feature as well
to restore save its

Code:

pfix=copy
to ignore saves its

Code:

pfix=ram
both go toram

puppy can save back to same partition it boots from
debianlive/grml must have a 2nd partition
to have persistency

j1alu; I'm gonna try it you know
I wanted to use remastersys on squeeze/sid install
however, it bonks out and says squashfs-modules are not available for squeeze/sid
is that true??

if live-helper can do the same job
that would be great:)

j1alu 10-09-2009 07:43 PM

Quote:

j1alu; I'm gonna try it you know
I wanted to use remastersys on squeeze/sid install
however, it bonks out and says squashfs-modules are not available for squeeze/sid
is that true??

if live-helper can do the same job
that would be great
thing is the following: im much of a noob, i read a how-to or a docu and give it a try. So: if it doesnt work im screwed.
To make it short:
im running on sid and checked for squashfs-modules and theyre availiable, but i aint got them installed at all.
I got live-helper installed and thats it...
now that i write i come to think: in the newer kernels (2.6.30***) the squashfs-support might be compiled into the kernel... and thats why there might be problems (if using it with older kernels like lenny..).
For a while i had debian-lenny installed for the only purpose to run live-helper, but these problems are gone now ( i kept lenny as he`s such a cool guy :-) )
I just tried if live-helper would work to make an image of antiX after configuring it, and it did work
(but i think antix has got its own tools to get that result and im not sure if i didnt screw it completely: it booted and i could install it, who knows what will happen in the long run...)

Its a "go or no-go" for me. atm i aint got problems. Your mileage may vary, just give it a try :-)
(there are several how-tos over at forums.debian...search for live in the how-to section.)

im gonna look in your ram-explanations, sounds cool (like the rest of the stuff you do) but im pretty spare on time atm.


All times are GMT -5. The time now is 09:31 AM.