Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-01-2010, 12:04 AM   #1
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 "".

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)
- 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 12-01-2010, 12:22 AM   #2
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 334Reputation: 334Reputation: 334Reputation: 334
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.


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

All times are GMT -5. The time now is 11:00 PM.

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