LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 11-30-2010, 11:04 PM   #1
yasaswisrikanth
LQ Newbie
 
Registered: Nov 2010
Location: India
Distribution: Linuxmint
Posts: 15

Rep: Reputation: 0
Question How to make a live cd?


Hello everyone.
I am trying to make a livecd. I have found information on "http://linux-live.org".

I have downloaded the aufs,squashfs,livescripts from there.
I am trying to compile the kernel on my own and include it.


The requirements included in the website are:

* Your distro must use kernel 2.6.24 or higher (in order to use sqlzma patch)

* all the following things must be compiled directly into kernel:
(these options are usually compiled so you shouldn't have problems)
- ext2 (CONFIG_EXT2_FS=y)
- tmpfs (CONFIG_TMPFS=y)
- ramdisk (CONFIG_BLK_DEV_RAM=y)
- initrd (CONFIG_BLK_DEV_INITRD=y)
- a cdrom driver, if you boot from CD-ROM

* all the following things must be compiled in the kernel or must be
available at least as a kernel modules (.ko):
- loop (else mount -o loop won't work)
- isofs (if you will boot your live distro from CDROM)
- ehci-hcd, ohci-hcd, uhci-hcd, usb-storage (if you will boot your live distro from USB)

* all these modules must be available:
- aufs.ko
- squashfs.ko (plus sqlzma.ko and unlzma.ko)

Make sure that your modules don't contain debug info, so it can fit
a 6MB initrd image. If you need debugging, change .config file
in linux live scripts and set it to to create bigger initrd.

* Your distro must have /usr/bin/chroot or /usr/sbin/chroot
* Your distro must have /bin/init or /sbin/init

* if you compiled squashfs tools manually, you should replace
./tools/mksquashfs and ./tools/unsquashfs by your own binaries

How can I compile the individual components?
And finally how to combine them?
How to include the modules :
- aufs.ko
- squashfs.ko (plus sqlzma.ko and unlzma.ko)

Thanks in advance
 
Old 11-30-2010, 11:22 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
You appear to be using Linux Mint. You may have an application to create a live CD. Search the software package manager for something like "live". You'd be surprised at the things that are available.
 
  


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
I wanna make a live slackware live cd. Please help cyto Slackware 7 08-04-2011 02:23 AM
every live distro make make screen out of frequency clhona Linux - Hardware 2 02-14-2007 01:46 AM
i want to make a live CD bigalexe Linux - General 6 11-18-2006 04:08 PM
how to make Live CD ! hitesh_linux Linux - General 3 09-09-2004 10:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:12 AM.

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