LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-14-2012, 08:59 AM   #1
cod_liver_0il
Member
 
Registered: Apr 2012
Location: India
Distribution: Slackware, FreeBSD
Posts: 48

Rep: Reputation: Disabled
Trying to create a live slack iso


hi i'm trying to create a slackware live iso but having trouble.i am following this tutorial http://www.linuxpackages.net/howto.p...e=livecd+HOWTO ...but when i edit isolinux/isolinux.cfg to use the hugesmp.s kernel it keeps looking for bare.i which i can't see..i am trying this with slackware 13.37

my isolinux.cfg is looks like this
http://paste.pocoo.org/show/581330/

any help would be great.
 
Old 04-14-2012, 02:30 PM   #2
Erik_FL
Member
 
Registered: Sep 2005
Location: Boynton Beach, FL
Distribution: Slackware
Posts: 821

Rep: Reputation: 258Reputation: 258Reputation: 258
The editing of the file looks OK to me.

The problem is likely due to something else. Are you sure that you are editing the same copy of "isolinux.cfg" actually being used to create the CD? Did you run "mkisofs" again after editing the file?

Look at the ISO image with 7-zip, or look on the CD that you burned. Type out the contents of "isolinux.cfg" on the CD. Make sure that the text in it matches your editing.
 
Old 04-14-2012, 05:36 PM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
When I worked with Isolinux some time ago i had a similar problem. When editing the isolinux.cfg my editor (vim) created a backup copy of that file named isolinux.cfg~ in the same directory. For some reason unknown to me this file was used, not the edited file. After I deleted that file Isolinux worked as intended.
 
Old 04-14-2012, 07:11 PM   #4
Erik_FL
Member
 
Registered: Sep 2005
Location: Boynton Beach, FL
Distribution: Slackware
Posts: 821

Rep: Reputation: 258Reputation: 258Reputation: 258
Quote:
Originally Posted by TobiSGD View Post
When I worked with Isolinux some time ago i had a similar problem. When editing the isolinux.cfg my editor (vim) created a backup copy of that file named isolinux.cfg~ in the same directory. For some reason unknown to me this file was used, not the edited file. After I deleted that file Isolinux worked as intended.
That may be because Isolinux does not support anything except plain ISO 9660 file names. The "~" character is not allowed in plain ISO 9660 file names. The "mkisofs" program probably truncates the "~" off the end of the backup file when converting file names. That only applies to the few files that Isolinux loads, and not the operating system being booted from CD. I seem to remember having a similar problem when making my own boot CD using GRUB. The "menu.lst~" file was replacing my "menu.lst".
 
1 members found this post helpful.
Old 04-14-2012, 07:45 PM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Thanks for the explanation, that makes sense.
 
Old 04-15-2012, 02:39 AM   #6
cod_liver_0il
Member
 
Registered: Apr 2012
Location: India
Distribution: Slackware, FreeBSD
Posts: 48

Original Poster
Rep: Reputation: Disabled
TobiSGD, i deleted the isolinux.cfg~, i also use vim and it seemed to stop looking for bare.i but now it says ... Could not find kernel image: /kernels/hugesmp.s .Yeah Erik_FL i ran mkisofs after. i copied everything from slackware cd1 /kernels to my /livecd/kernels so don't know where it's going wrong.
 
Old 04-15-2012, 05:47 AM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
If you simply copied the whole /kernels directory the correct path would be /kernels/hugesmp.s/bzImage, if I am not wrong.
 
Old 04-15-2012, 09:39 PM   #8
cod_liver_0il
Member
 
Registered: Apr 2012
Location: India
Distribution: Slackware, FreeBSD
Posts: 48

Original Poster
Rep: Reputation: Disabled
TobiSGD, i have now give the full path /kernels/hugesmp.s/bzImage but it behaving like an installation cd, like i would normally boot from slackware cd 1 to install

any ideas?
 
Old 04-15-2012, 09:49 PM   #9
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Are you using the initrd.img from the setup CD? It contains the whole setup routine. I just had a look at that Tutorial. You realize that it is more than 10 years old? Also, it states that you need the initrd.img from a Slackware Live-CD.
I doubt that this tutorial will work without that image, otherwise you would have to create your own customized initrd that mounts the CD and switches the root-fs to that CD.
 
Old 04-15-2012, 09:55 PM   #10
cod_liver_0il
Member
 
Registered: Apr 2012
Location: India
Distribution: Slackware, FreeBSD
Posts: 48

Original Poster
Rep: Reputation: Disabled
yeah TobiSGD, the tutorial is old, but i couldn't find a newer one, where would i find a live initrd.img?

thanks
 
Old 04-15-2012, 10:05 PM   #11
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
I think this type of creating Live-CDs is gone for years, even a fairly minimal install nowadays wouldn't fit on a CD, so I think that this type of initrd isn't available for newer versions of Slackware. Nowadays Live-CDs use squashfs to compress their filesystem and some type of union filesystem to make changes possible.
I currently also am researching how to create Slackware Live-CDs, but most documentation is outdated and tools either not available anymore or outdated. If I find a solution I will post it back here.
 
Old 04-15-2012, 10:09 PM   #12
cod_liver_0il
Member
 
Registered: Apr 2012
Location: India
Distribution: Slackware, FreeBSD
Posts: 48

Original Poster
Rep: Reputation: Disabled
Thanks TobiSGD, i'll continue trying to get live iso working..hope to hear from your results
 
Old 04-16-2012, 03:33 PM   #13
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Member response

Hi,

I think it would be easier to use Cooking Up Some Slack (CUSS) for Distribution. LQ Post 'Cooking Up Some Slack (or CUSS) explains how to make your own SlackwareŽ-based distribution.' Additional read if you want to use SlackwareŽ 12.1 or >.

I understand your desire for a LiveCD but you can garner useful information from CUSS.

Plus you can look at LiveCD Salix. Salix is a GNU/Linux distribution based on Slackware. Look at how Salix generates/creates environment or inner working of scripts.

HTH!
 
Old 04-17-2012, 10:42 AM   #14
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by onebuck View Post
Plus you can look at LiveCD Salix. Salix is a GNU/Linux distribution based on Slackware. Look at how Salix generates/creates environment or inner working of scripts.
Well, I would do that, but the Salix Live scripts are not online anymore or the links in their documentation are outdated.
 
Old 04-17-2012, 12:17 PM   #15
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Member response

Hi,

Just download the ISO of choice and then mount the ISO to look at everything.
 
1 members found this post helpful.
  


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
How can i create a pxe server with live cd and live cd iso files baronobeefdip Linux - Server 15 04-20-2012 05:02 PM
HOWTO create a LiveCD/DVD/USB from a desktop not from a live.iso lleb Linux - Software 10 03-27-2012 11:30 AM
Extract ISO to HD, create ISO from Extractions, Boot ISO LemensTS Linux - Software 1 12-28-2010 01:10 PM
Unetbootin doesn't readily create Live USB from downloaded ISO PaulFXH Linux - Software 7 09-21-2010 12:58 AM
Mount ISO as specific device (ie: /dev/sda1) with GRUB2 to boot KNOPPIX live cd iso BLuFeNiX Linux - General 2 12-23-2009 01:31 AM

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

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