[SOLVED] mirror-slackware-current.sh to just 14.2 not creating a bootable DVD.iso
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
mirror-slackware-current.sh to just 14.2 not creating a bootable DVD.iso
mirror-slackware-current.sh config changed to just download 14.2 not current.
When it finishes it creates a DVD.iso. I burned it to a usb stcik rebooted to see if it works. No go, it is not a bootable. I only see a flash of the usb stick starting it then it skips it then goes into the grub on my laptop.
I had the script redo the DVD.iso tried again, still fails. with not boot for an install.
I formate SUB Stick try again, still no go. I downloaded a different Linux Distro burn that to the USB Stick and it works. So it is not the USB Stick.
does this script only work creating a boot able iso only for current 14.2? that is the only thing I can think why it is not working. Just checking.
As I understand it Eric's script is designed to create a Slackware-current ISO.
yes it is also designed to download/mirror and create an iso in whatever ver slack one wants. but that is in question
if it can create a bootable iso current, then I do not see why that same process it uses to create a bootable iso would differ for just 14.2 NON current.
that is the question.
I'll let it hang out in here maybe he'll see it - same me some change on an Email to him.
By default, I don't believe it is set to run isohybrid on the .iso. You can manually run it (isohybrid /location/to/slackware64-14.2.iso), use HYBRID=1 when running the script (you can manually edit the script or use it in a conf file if you don't want to pass it every time), or pass the -u option when running the script.
Indeed, by default the script does not generate a hybrid ISO, therefore dd-ing the ISO to a USB stick will yield a stick that won't boot into the installer.
Try the help function: "./mirror-slackware-current.sh -h" and it will show you how to generate a separate configuration file:
Code:
./mirror-slackware-current.sh -w
And then open the new mirror-slackware-current.conf file in an editor. The separate configuration file allows you to keep the actual script un-modified so that you can download newer versions of the script when it becomes available (the command "./mirror-slackware-current -c" will check online if a newer version is available).
Then search this text in the .conf file, and change the "0' to a "1":
Code:
# If you want a 'hybrid' ISO image which can be copied directly to a USB stick
# to create a bootable USB media, set HYBRID to '1'.
# Corresponds to the '-u' option.
HYBRID=0
Or else use the "-u" parameter to the script to achieve the same (create a hybrid ISO).
Indeed, by default the script does not generate a hybrid ISO, therefore dd-ing the ISO to a USB stick will yield a stick that won't boot into the installer.
Try the help function: "./mirror-slackware-current.sh -h" and it will show you how to generate a separate configuration file:
Code:
./mirror-slackware-current.sh -w
And then open the new mirror-slackware-current.conf file in an editor. The separate configuration file allows you to keep the actual script un-modified so that you can download newer versions of the script when it becomes available (the command "./mirror-slackware-current -c" will check online if a newer version is available).
Then search this text in the .conf file, and change the "0' to a "1":
Code:
# If you want a 'hybrid' ISO image which can be copied directly to a USB stick
# to create a bootable USB media, set HYBRID to '1'.
# Corresponds to the '-u' option.
HYBRID=0
Or else use the "-u" parameter to the script to achieve the same (create a hybrid ISO).
Thanks that I am already using a conf file -- I should have read it further down.
Now I got to reset my brain, set assumption to lower setting so it is not going off as much.
Quote:
receiving incremental file list
sent 1,191 bytes received 280,078 bytes 80,362.57 bytes/sec
total size is 8,112,508,897 speedup is 28,842.53
Fri Apr 28 09:40:13 CDT 2017 [2628]: Done mirroring slackware64-14.2 (exit code 0).
Fri Apr 28 09:40:13 CDT 2017 [2628]: Creating DVD ISO image for slackware64-14.2...
Fri Apr 28 09:42:42 CDT 2017 [2628]: Creating hybrid ISO.
isohybrid: Warning: more than 1024 cylinders: 3889
isohybrid: Not all BIOSes will be able to boot this device
Fri Apr 28 09:43:24 CDT 2017 [2628]: DVD ISO created (exit code 0) ...
Fri Apr 28 09:43:24 CDT 2017 [2628]: Computing MD5 checksums of the ISO's (time consuming).
Fri Apr 28 09:43:32 CDT 2017 [2628]: Resulting ISO files:
-rw-r--r-- 1 userx users 4077912064 Apr 28 09:43 /media/slack-mirror/slackware64-14.2-iso/slackware64-14.2-install-dvd.iso
Fri Apr 28 09:43:32 CDT 2017 [2628]: Done!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.