LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-28-2008, 07:21 AM   #1
somepalli
LQ Newbie
 
Registered: Jan 2008
Posts: 8

Rep: Reputation: 0
Question Slackware live CD Creation Error!!!


Hi!!

I Tried to create the Slackware live CD

From The following Link i tried the Creation Of live cd

http://www.linuxpackages.net/howto.php?page=livecd&title=livecd+HOWTO

For creating I did the following Procedure.

I compiled the kernel 2.4.33.3

After that i created a directory named as livecd in the /root

In the livecd directory I created the three directories named as following

I.live
II.kernels
III.isolinux


After that i created the initrd image in the /boot by using following command

mkinitrd -c -k 2.4.33.3 -m reiserfs

then its created the initrd.gz

In The above three folders i copied different ones as following

I.live

I copied linux kernel 2.4.33.3 in this.

II. kernels

In this i copied the image from the /boot named as bzImage


III.In isolinux

1. I copied initrd.gz which one i created in the /boot
2. I copied the isolinux.bin from the /usr/src/isolinux/
3. I created the empty file iso.sort
4. I created the another file name as isolinux.cfg


The isolinux.cfg file have the following statement


default /kernels/bzImage initrd=initrd.gz load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=20000 rw root=/dev/ram SLACK_KERNEL=bzImage vga=normal prompt 0


By using Following Step i make the iso

i go to the cd /root/livecd from here i entered the following command


mkisofs -o /root/livecd.iso -R -J -hide-rr-moved -v -d -N -no-emul-boot -boot-load-size 32 -boot-info-table -sort isolinux/iso.sort -b isolinux/isolinux.bin -c isolinux/isolinux.boot .

After that i tested the livecd by using qemu

qemu -cdrom live.iso -boot d

After that when it is booting i got the following at end

freeing unused kernel memory:124k freed
/bin/sh: can't open prompt
kernel panic: Attempted to kill init!
 
Old 03-28-2008, 09:50 AM   #2
sid77
LQ Newbie
 
Registered: Mar 2008
Distribution: Slackintosh 12.1/current Slackware 13.0 Slackware64 13.0
Posts: 19

Rep: Reputation: 0
urgh, that how to is quite "primitive"... why don't you try with linux-live?
it's the technology behind the slax livecd, see: http://www.linux-live.org/
 
Old 03-29-2008, 02:00 AM   #3
somepalli
LQ Newbie
 
Registered: Jan 2008
Posts: 8

Original Poster
Rep: Reputation: 0
thank u...
 
Old 03-29-2008, 03:00 AM   #4
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Your problem was that you just created a 'normal' initrd for booting from a hard disk. Any initrd for a LiveCD is much larger and way more complex -all the 'magic' is done by the initrd and clever use of file-system and mounting features.
You could study the old slackware way of having a LiveCD by downloading an old version of CD#2 (like for slackware-9.1) which included the 'Live' feature. The Slackware way was quite different from what most other live distros did and do. The Slax way is more conventional and modern. Still, to study up on what is really being done, the best way is to acquire several LiveCD's like slax, Slackware, Knoppix and Puppy or Damnsmall, mount the CD's and copy the initrd over to hard disk where you can then decompress them and then mount them with a loop device and see inside. Very educational if you are interested. If you just want to use a LiveCD and not build your own version, Slax or Puppy are probably your best bet.
 
  


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
LVM snapshot creation error haertig Linux - Software 1 01-30-2006 09:14 PM
creation of live cd for my own distribution sailu_mvn Fedora - Installation 1 11-29-2004 11:18 PM
xf86config creation error CraigA Linux - Software 1 08-14-2001 04:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:46 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