LinuxQuestions.org
Review your favorite Linux distribution.
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 06-30-2011, 01:57 AM   #1
Lexus45
Member
 
Registered: Jan 2010
Distribution: Debian, Centos, Ubuntu, Slackware
Posts: 361
Blog Entries: 3

Rep: Reputation: 48
Creating bootable Slackware installation image


Hi all.

I've edited default tagfiles and want to install Slackware with the help of them.

- I mounted the .iso image,
- copyed the file structure to another directory (to have write access) - /tmp/iso/
- changed the default tagfiles with mine
- created a new .iso - mkisofs -r -o slackware-13.37.iso /tmp/iso/

But it is not bootable.


What is the best way to make it bootable?

Regards,
Lexus45
 
Old 06-30-2011, 03:08 AM   #2
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 519

Rep: Reputation: 142Reputation: 142
Check the README file in the isolinux subdirectory.
It shows you how to create a bootable DVD iso (or a set of CD iso's if you prefer)

Last edited by piratesmack; 06-30-2011 at 03:19 AM.
 
1 members found this post helpful.
Old 06-30-2011, 03:39 AM   #3
0men
Member
 
Registered: Mar 2011
Location: Brisbane
Distribution: Windows 10, Red Hat, Debian
Posts: 183

Rep: Reputation: 22
Say what !!??

So you want to make a bootable Slackware Dvd?
Download the DVD image.
Right click on the .iso image and then select (open with braserio) ?? i think thats it.. been a long time since i used ubuntu.

Simple as that isnt it ?

Youtube has heaps of tutorials on how to create .iso images especially if your using ubuntu !
 
0 members found this post helpful.
Old 06-30-2011, 01:53 PM   #4
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Long ago I wrote a simple shell script to create Slackware DVDs. I use a local mirror, but you have done the same by copying the DVD contents to /tmp. You can modify the script as you need. I think the basic mkisofs syntax you seek is here:

Code:
mkisofs -o $DVDPATH/Slackware${TYPE}-$VERSION/$ISONAME \
      -R -J -A "Slackware Install" \
      -hide-rr-moved \
      -v -d -N \
      -no-emul-boot -boot-load-size 4 -boot-info-table \
      -sort isolinux/iso.sort \
      -b isolinux/isolinux.bin \
      -c isolinux/isolinux.boot \
      -m pasture \
      -m patches \
      -m testing \
      -V "Slackware${TYPE}-${VERSION} DVD" .
 
Old 06-30-2011, 03:44 PM   #5
SeRi@lDiE
Member
 
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 547
Blog Entries: 7

Rep: Reputation: 55
Quote:
Originally Posted by 0men View Post
Say what !!??

So you want to make a bootable Slackware Dvd?
Download the DVD image.
Right click on the .iso image and then select (open with braserio) ?? i think thats it.. been a long time since i used ubuntu.

Simple as that isnt it ?

Youtube has heaps of tutorials on how to create .iso images especially if your using ubuntu !
dude. Relax Smoke/Drink and chill the week end is almost there well for me it started to day! muahahaha :P
If your read hes post carefully he made some modification to the interns of the iso so he wants to recreate a bootable iso

Lexus45,

Here is something to get you started.

http://www.cyberciti.biz/faq/creatin...x-bootable-cd/

Good Luck.

Note:

If your issue is resolved please give credit where is due and marked solved.

Take care!
 
Old 07-01-2011, 02:17 AM   #6
rouvas
Member
 
Registered: Aug 2006
Location: Greece
Distribution: Slackware.12.2
Posts: 104
Blog Entries: 3

Rep: Reputation: 21
@Woodsman
In your (linked) script you "source /etc/shell-colors"
Could you also post this?
 
Old 07-01-2011, 03:17 AM   #7
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,645

Rep: Reputation: 146Reputation: 146
http://humanreadable.nfshost.com/files/shell-colors
 
Old 07-01-2011, 03:24 AM   #8
Lexus45
Member
 
Registered: Jan 2010
Distribution: Debian, Centos, Ubuntu, Slackware
Posts: 361

Original Poster
Blog Entries: 3

Rep: Reputation: 48
Woodsman, thank you for the reply, I've already tried the same command (after reading isolinux/README.TXT), but it didn't work it just told me to use "genisoimage" command. But I haven't tried yet.

I tried this (from README.TXT):
Code:
mkisofs -o /tmp/slackware-install-1.iso \
  -R -J -A "Slackware Install 1" \
  -hide-rr-moved \
  -v -d -N \
  -no-emul-boot -boot-load-size 4 -boot-info-table \
  -sort isolinux/iso.sort \
  -b isolinux/isolinux.bin \
  -c isolinux/isolinux.boot \
  -V "SlackCD1"
SeRi@lDiE, thanks for "defence" :-D I can not find "boot.iso" file anywhere inside the Slackware iso-image.

Never created isos in Linux, shame on me

PS: I've heard about some freeware Win-compatible program, using which we can edit the files inside .iso on the fly, and that it works fine under Wine. But it's not he unix-way

Last edited by Lexus45; 07-01-2011 at 03:39 AM.
 
Old 07-01-2011, 10:42 AM   #9
rouvas
Member
 
Registered: Aug 2006
Location: Greece
Distribution: Slackware.12.2
Posts: 104
Blog Entries: 3

Rep: Reputation: 21
@titopoquito: thanks for all the colors!
 
Old 07-01-2011, 10:49 AM   #10
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hello Lexus45,

as you know, the directories "kernels" and "isolinux" have to be in their place! did you check this?
when you run the script (which is provided in the README of the isolinux-directory) you're workingdirectory is the the one where both directories are.

Markus
 
Old 07-04-2011, 04:56 AM   #11
Lexus45
Member
 
Registered: Jan 2010
Distribution: Debian, Centos, Ubuntu, Slackware
Posts: 361

Original Poster
Blog Entries: 3

Rep: Reputation: 48
That's what I have
Code:
lexus@reinstein:/tmp/1337$ mkisofs -o /tmp/slackware-install-1.iso -R -J -A "Slackware Install Tagfile 1" -hide-rr-moved -v -d -N -no-emul-boot -boot-load-size 4 -boot-info-table -sort isolinux/iso.sort -b isolinux/isolinux.bin -c isolinux/isolinux.boot -V "SlackCD1"
Warning: creating filesystem that does not conform to ISO-9660.
I: -input-charset not specified, using utf-8 (detected in locale settings)
genisoimage 1.1.10 (Linux)
genisoimage: Missing pathspec.
Usage: genisoimage [options] -o file directory ...

Use genisoimage -help
to get a list of valid options.

Report problems to debburn-devel@lists.alioth.debian.org.
And this is the /tmp/1337/ directory:
Code:
lexus@reinstein:/tmp/1337$ ls -l
итого 12
drwxr-xr-x 3 lexus lexus 4096 2011-04-24 03:57 isolinux
drwxr-xr-x 6 lexus lexus 4096 2011-04-13 02:36 kernels
drwxr-xr-x 6 lexus lexus 4096 2011-07-04 15:45 slackware

Last edited by Lexus45; 07-04-2011 at 05:00 AM.
 
Old 07-04-2011, 05:02 AM   #12
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
CD to the folder with the extracted content, then use the already given command, but add a single dot at the end, so that it looks like this
Code:
mkisofs -o /tmp/slackware-install-1.iso -R -J -A "Slackware Install Tagfile 1" -hide-rr-moved -v -d -N -no-emul-boot -boot-load-size 4 -boot-info-table -sort isolinux/iso.sort -b isolinux/isolinux.bin -c isolinux/isolinux.boot -V "SlackCD1" .
 
Old 07-04-2011, 05:10 AM   #13
Lexus45
Member
 
Registered: Jan 2010
Distribution: Debian, Centos, Ubuntu, Slackware
Posts: 361

Original Poster
Blog Entries: 3

Rep: Reputation: 48
Quote:
Originally Posted by TobiSGD View Post
CD to the folder with the extracted content, then use the already given command, but add a single dot at the end, so that it looks like this
Code:
mkisofs -o /tmp/slackware-install-1.iso -R -J -A "Slackware Install Tagfile 1" -hide-rr-moved -v -d -N -no-emul-boot -boot-load-size 4 -boot-info-table -sort isolinux/iso.sort -b isolinux/isolinux.bin -c isolinux/isolinux.boot -V "SlackCD1" .
Oh...
The dot... TobiSGD, thank you for an advice!

Thanks to all who hepled me!

Last edited by Lexus45; 07-04-2011 at 05:12 AM.
 
Old 06-10-2012, 04:19 AM   #14
Editor
LQ Newbie
 
Registered: May 2012
Posts: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
CD to the folder with the extracted content, then use the already given command, but add a single dot at the end, so that it looks like this
Code:
mkisofs -o /tmp/slackware-install-1.iso -R -J -A "Slackware Install Tagfile 1" -hide-rr-moved -v -d -N -no-emul-boot -boot-load-size 4 -boot-info-table -sort isolinux/iso.sort -b isolinux/isolinux.bin -c isolinux/isolinux.boot -V "SlackCD1" .
I have been sitting for the past TWO days trying to write this disk. I kid you not. And I have possibly tried EVERY combination of commands I could find from all over the web...

Perhaps the README file could kindly in future specify the F*****G DOT IS ALSO PART OF THE SCRIPT!!

You know? Just so us newbies also have some idea.

Later alligators.
 
Old 06-10-2012, 08:59 AM   #15
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Quote:
Originally Posted by Editor View Post
...
Perhaps the README file could kindly in future specify the F*****G DOT IS ALSO PART OF THE SCRIPT!!

You know? Just so us newbies also have some idea.
...
The dot is of course part of the command because it tells you where the iso-image should be built.

You should consider reading the manpages for a command in future. In this case
Code:
man mkisofs
Markus
 
  


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
Creating a bootable DOS floppy disk image sfxpt General 8 05-31-2010 09:50 AM
Creating bootable ISO image tekmann33 Linux - Newbie 9 06-04-2009 02:23 PM
Creating a bootable XP image from a CD conormacaoidh Linux - General 1 03-19-2009 01:50 PM
creating bootable image floppy nikhil_shindepatil Linux - Newbie 3 09-06-2007 12:59 PM
Creating bootable image of FC-4 on external HDD quest.science Fedora 1 01-30-2007 05:02 AM

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

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