LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-12-2016, 10:08 AM   #1
NoStressHQ
Member
 
Registered: Apr 2010
Location: Geneva - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware 14.2 - 32/64bit
Posts: 609

Rep: Reputation: 221Reputation: 221Reputation: 221
Exclamation USB installer - isohybrid seek error


Hi all,

First time I try to use an USB stick to install Slackware (we don't have optical drive anymore at work )... So I used what's explained in /isolinux/README.TXT but I got this error on isohybrid:
Code:
isohybrid: Warning: more than 1024 cylinders: 2289
isohybrid: Not all BIOSes will be able to boot this device
isohybrid: /tmp/Slackware64-14.2.iso: seek error - 8: Invalid argument
I just used the same commands as in the README, but "batched" 'em into a BASH script:
Code:
#!/usr/bin/env bash
###############################################################################
set -Cue

readonly MAKE_ISO=1
readonly BURN_STICK=1
readonly ISO_TGT_DIR='/tmp'
readonly ISO_FILENAME='Slackware64-14.2'
readonly REPO_ROOT_DIR='/repo/mirrors/slackware/slackware64-14.2'

readonly USB_STICK='/dev/sdb'

readonly ISO_PATH="${ISO_TGT_DIR}/${ISO_FILENAME}.iso"

if (( MAKE_ISO )) ; then
    [[ -f "$ISO_PATH" ]] && rm "$ISO_PATH" || :
    cd "$REPO_ROOT_DIR" \
	&& mkisofs -o "$ISO_PATH" \
		   -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 \
		   -eltorito-alt-boot -no-emul-boot -eltorito-platform 0xEF \
		   -eltorito-boot isolinux/efiboot.img \
		   -m 'source' \
		   -V "SlackDVD" . \
	&& isohybrid -u "$ISO_PATH"
fi
    
if (( BURN_STICK )) ; then
    echo " * Flashing USB Drive..."
    dd "if=$ISO_PATH" "of=$USB_STICK" bs=1M
fi
So it's very simple... I'm wondering what I did wrong... I saw on the internet that the "seek error" appeared on 32bit system, but I'm running it from a Slack64 14.2 install into a VM (no multilib). So it's not supposed to be related to the 32bit overflow bug.

Any idea ? Did I miss something obvious ? Is it a yet unfound bug ?

Cheers

Garry.
 
Old 07-12-2016, 11:28 AM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
If those instructions are in the README, then it is outdated. Slackware ISOs have already been prepped with isohybrid since 14.1. You should just need to dd the image to your usb drive and then you're good to go.

Code:
dd if=/location/to/slackware.iso of=/dev/sdb bs=1M
(NOTE: Obviously, replace /dev/sdb with your usb drive)
 
1 members found this post helpful.
Old 07-12-2016, 11:33 AM   #3
emidevices
Member
 
Registered: May 2016
Location: In a village of La Mancha
Distribution: Slackware, Devuan, NetBSD
Posts: 62

Rep: Reputation: Disabled
Slackware 14.2 ISO is already isohybrid, so you just have to copy it to a USB wiht dd.
Example (replace /dev/sdX with the device name for your USB stick):
Code:
dd if=/tmp/slackware64-14.2.iso of=/dev/sdX bs=1M
 
Old 07-12-2016, 11:43 AM   #4
NoStressHQ
Member
 
Registered: Apr 2010
Location: Geneva - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware 14.2 - 32/64bit
Posts: 609

Original Poster
Rep: Reputation: 221Reputation: 221Reputation: 221
Quote:
Originally Posted by bassmadrigal View Post
If those instructions are in the README, then it is outdated.
Thanks ! Yeah the README is "bugged" . Shame on me, I should have just tried instead of staying stucked because of this error message.

So if the README could be fixed, it would avoid other people to be mislead as I was.

Thanks again.

Garry.
 
Old 07-12-2016, 11:55 AM   #5
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by NoStressHQ View Post
Thanks ! Yeah the README is "bugged" . Shame on me, I should have just tried instead of staying stucked because of this error message.
I know it's little consolation now, but it is mentioned in the Slackware wiki:

http://docs.slackware.com/slackware:install

Quote:
Starting with the 14.1 release, Slackware ISO images (both the ones available online as well as the discs sent out from the Slackware store) have been processed using isohybrid. This allows them to be written to a USB stick, which can then be booted and used as the install source.
Quote:
Originally Posted by NoStressHQ View Post
So if the README could be fixed, it would avoid other people to be mislead as I was.
I don't know if Pat will make changes to those files once a stable release has been pushed, but I do know a few issues with the documentation for 14.2 have been identified.
 
  


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
Current: mkisofs/isohybrid versus p7zip and engrampa burdi01 Slackware 12 05-29-2016 01:54 PM
Is there a usb-pendrive (ISO-hybrid) for ANTIX with classical Installer (debian/installer)? patrick295767 Linux - Distributions 1 01-21-2016 05:48 PM
Faster USB boot disk with isohybrid disturbed1 Slackware 6 02-18-2011 05:48 AM
How does debian installer seek ISO image? gat3 Debian 2 07-04-2010 11:53 PM
usb installer on thinkpad r61 - "boot error" abrouwers Slackware 2 05-14-2009 04:37 PM

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

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