LinuxQuestions.org
Visit Jeremy's Blog.
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-23-2021, 08:39 AM   #1
timsoft
Member
 
Registered: Oct 2004
Location: scotland
Distribution: slackware 15.0 64bit, 14.2 64 and 32bit and arm, ubuntu and rasbian
Posts: 550

Rep: Reputation: 157Reputation: 157
Question makeing a current iso using 14.2 missing xorriso


[Log in to get rid of this advertisement]
Hi, I thought it was about time i tried current on something as 15.0 is due, and reading the isolinux/README.TXT it gives an example of how to create an iso when you have the directory tree. Unfortunately it uses xorriso which is not in 14.2 or on slackbuilds. I tried installing xorriso from current intself onto 14.2 in order to create the iso, but it complains about libreadline.so.8 being missing, and I tried adjusting the creation command by replacing
Code:
xorriso -as mkisofs
with just
Code:
mkisofs
but it complains about one of the options. ( -isohybrid-mbr ).

Can anynoe point me to the recommonded way of creating a "current" iso from a "14.2" installation?
thanks.
 
Old 06-23-2021, 08:54 AM   #2
chris.willing
Senior Member
 
Registered: Jun 2014
Location: Sydney, Australia
Distribution: Slackware,LFS
Posts: 1,048

Rep: Reputation: 771Reputation: 771Reputation: 771Reputation: 771Reputation: 771Reputation: 771Reputation: 771
I didn't know there was a new version for 15.0, so still using my old version - modeled on the iso/README.TXT of many releases ago:

Code:
 mkisofs -o /storage/iso/slackware/slackware64-current-$(date +"%Y%m%d").iso \
-R -J -A "Slackware64 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 ./testing \
-m ./source \
-V "Slack64-current-DVD" .
chris
 
Old 06-23-2021, 09:13 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: Slackware®
Posts: 14,100
Blog Entries: 48

Rep: Reputation: 3304Reputation: 3304Reputation: 3304Reputation: 3304Reputation: 3304Reputation: 3304Reputation: 3304Reputation: 3304Reputation: 3304Reputation: 3304Reputation: 3304
Member Response

Hi,

I use mirror-slackware-current.sh by configuring the mirror-slackware-current.conf or just pass 'i' to the script. From mirror-slackware-current.sh
Code:
# If you want to skip the rsync stage entirely, and just want to build
# ISO image(s) from your local tree, then set ISOONLY="yes"
# (or use '-i' parameter with the script)
ISOONLY=${ISOONLY:-"no"}
Plus be sure to select your media type with the conf file or pass this to the script
Code:
# You can set the ISO variable using the '-o <iso_type>' switch too.
Hope this helps.
Have fun and enjoy Slackware!
 
Old 06-23-2021, 09:16 AM   #4
timsoft
Member
 
Registered: Oct 2004
Location: scotland
Distribution: slackware 15.0 64bit, 14.2 64 and 32bit and arm, ubuntu and rasbian
Posts: 550

Original Poster
Rep: Reputation: 157Reputation: 157
thanks chris. that looks just the same as the 14.2 version ( with a -m testing \ option added)
I'll give it a go, and of course I can create one using xorriso once I have current installed on something.

I wonder what the functionality difference is. All that isohybrid stuff and the efiboot stuff. I probably need that if I am trying to boot of uefi bios with compat mode disabled. have you had any problems booting from uefi bioses with the (older) mkisofs method?.
It might be worth me getting xorriso source and pat's slackbuild and building it on 14.2 so I can do it in one step.
 
Old 06-23-2021, 09:36 AM   #5
chris.willing
Senior Member
 
Registered: Jun 2014
Location: Sydney, Australia
Distribution: Slackware,LFS
Posts: 1,048

Rep: Reputation: 771Reputation: 771Reputation: 771Reputation: 771Reputation: 771Reputation: 771Reputation: 771
Quote:
Originally Posted by timsoft View Post
have you had any problems booting from uefi bioses with the (older) mkisofs method?.
No problems with the last three new installations using UEFI bios.

chris
 
Old 06-23-2021, 09:49 AM   #6
timsoft
Member
 
Registered: Oct 2004
Location: scotland
Distribution: slackware 15.0 64bit, 14.2 64 and 32bit and arm, ubuntu and rasbian
Posts: 550

Original Poster
Rep: Reputation: 157Reputation: 157
thanks onebuck, It looks like alien's script includes the isohbrd stuff. now to figure out where best to stick it.
...
on second thoughts, I took the current xorriso source and slackbuild and created xorriso package on 14.2, then installed it, which let me run the script as per the readme. I did spot 3 warnings where it failed to add
/extra/java
/isolinux/sbootmgr/RAWRITE13.EXE
/slackware64/PACKAGES.TXT
with the message cannot add $NAME to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
where $NAME was one of the above files.

I assume these three warnings are common for everyone else creating iso's of current?

Last edited by timsoft; 06-23-2021 at 09:49 AM. Reason: fix typo
 
Old 06-23-2021, 10:24 AM   #7
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: Slackware®
Posts: 14,100
Blog Entries: 48

Rep: Reputation: 3304Reputation: 3304Reputation: 3304Reputation: 3304Reputation: 3304Reputation: 3304Reputation: 3304Reputation: 3304Reputation: 3304Reputation: 3304Reputation: 3304
Member Response

Hi,

Your welcome!

I do suggest that you look at the script and configure file for more options. Alien documents his scripts well so you can easily follow and understand. Both mirror-slackware-current.sh and mirror-slackware-current.conf are document so a user can use them constructively. You can create your mirror-slackware-current.conf by passing -w to the script mirror-slackware-current.sh.
Hope this helps.
 
Old 06-23-2021, 11:00 AM   #8
timsoft
Member
 
Registered: Oct 2004
Location: scotland
Distribution: slackware 15.0 64bit, 14.2 64 and 32bit and arm, ubuntu and rasbian
Posts: 550

Original Poster
Rep: Reputation: 157Reputation: 157
Yes, I had a look at his script. It is way more flexible than my own, well documented, as you said, and does the iso stuff as well, including splitting things into cd-sized images if needed. It is also self updating, so might be considered as the full kitchen sink of a script!. I wouldn't be surprised if it made coffee. while syncing. :-) .
My own sync script is much more basic, at only 12 lines including the help. I think if Alien's script was included in slackware itself, it would get more use. I use his libreoffice and vlc builds and appreciate all his work with slackware, but I think i'll stick with my little rsync script for now.

thanks for the pointer though. It will help others that are also interested. With sbo submissions closed for a few weeks now, hopefully it won't be long before 15 gets to release.
 
Old 06-24-2021, 10:00 AM   #9
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: Slackware®
Posts: 14,100
Blog Entries: 48

Rep: Reputation: 3304Reputation: 3304Reputation: 3304Reputation: 3304Reputation: 3304Reputation: 3304Reputation: 3304Reputation: 3304Reputation: 3304Reputation: 3304Reputation: 3304
Member Response

Hi,

From http://www.slackware.com/~alien/

Quote:
Some useful scripts I wrote (the mirror-slackware-current.sh is probably the most well-known of them).
You can get useful tools from this site; http://www.slackware.com/~alien/
Quote:
Stuff that may be of interest to you:
  • My slackbuild repository (RSS feed) as well as a separate repository (RSS feed) for packages with patent issues.
  • My ktown repository where I maintain packages for the bleeding edge of KDE's Plasma desktop environment.
  • My presentation at T-Dose 2009 about the history of Slackware Development (and here is a video of that presentation).
  • Some useful scripts I wrote (the mirror-slackware-current.sh is probably the most well-known of them).
  • A set of multilib packages for Slackware64. After installing these on Slackware64, you will be able to run, and compile, 32-bit programs. Read the (online) README before installing!!
  • My liveslak scripts to build an ISO file containing the Slackware Live Edition; see also my blog article and the online documentation.
    Get ISO's for Slackware Live Edition here.
  • My scripts, patches and instructions to build an image file for the USB equivalent of the bootable Slackware CD/DVD. This installer can fit on a flash key ( also called a pendrive) of 256 MB or bigger - you get more packages on a bigger pendrive.
    This is different from Slackware's 'USB installer' in the 'usb-and-pxe-installers' directory. That 'USB installer' uses a small image to boot from a USB stick. It contains no packages and therefore needs to install those from a DVD, CDROM set or NFS server.
    My usbinstall scripts on the other hand, create an image which contains Slackware packages as well, so that you no longer need that DVD/CDROM/NFS. Copy the image to a big enough USB stick, and carry it around with you. Install Slackware wherever you want.
  • A mini ISO image of about 40MB (I created these for several versions of Slackware) which you can burn to a creditcard-sized CDROM to boot, and install packages from an NFS server or local hard disk.
  • A git repository where I keep a history of my stuff.
  • A SlackBuild script generator: Alien's SlackBuild Toolkit
  • A Slackware adaptation of the Easy Firewall Generator for IPTables
  • My Mar 2019 resume
Alien is a very resourceful Slackware team member. I really appreciate all that he does for us! I recommend that Slackware users do subscribe to his blog. Always helpful!
Hope this helps.
 
  


Reply

Tags
14.2, slackware -current, xorriso



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
[SOLVED] No mkisofs in -current - instead there is xorriso - mirror-slackware-current.sh will work? igadoter Slackware 18 01-24-2021 03:45 PM
xorriso: copy folders and their files from hard-drive via sr0 onto dvd-iso. wayne1937 Linux - General 3 01-30-2020 12:21 PM
[SOLVED] xorriso for backups on optical media JZL240I-U Linux - Software 8 05-31-2019 10:30 AM
[SOLVED] xorriso: how to build an iso image file jr_bob_dobbs Linux - Software 5 08-05-2017 09:02 AM

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

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