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.
This is probably yet another tedious topic about installing Slackware (14.1 in this case) on to a computer, from a USB flash drive.
Looking through some of the help files on t'internet, I noted a comment saying that Slackware 14.1 .iso is pre-processed using isolinux so it can be written directly to a usb stick for instance.
Other sources, give a more elaborated (and probably how it should be done if you need to understand things) approach using files such as usbboot.img, extracting iso or using a package tree and other things. These seem related to earlier releases however.
In the past with other distros, I have been able to 'dd' the .iso to the formatted usb device and just boot and install.
Please will someone clear up my mind-melt and confirm if it is possible to write the slack14.1 .iso to the usb (e.g dd if=slack.iso of=/dev/sdb etc..), put the stick in the machine and install from it ?
Or, is it still the more elaborated affair in which case what is the statement about Slack 14.1 and the pre-processed with isolinux etc ?
A few links - the first one seems incomplete and mentions syslinux but not what you do with it before writing the .iso .
Slackware ISOs are not post-processes, that's right.
Type this:
Code:
isohybrid -h 255 -s 63 /path/to/the/ISO
Are you sure?
Because in one of the links I posted (from docs.slackware.com) is the following:
"..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 ..."
No I am not sure, I didn't check recently. Just try to dd the ISO image directly then.
PS But then, the files /isolinux/README.TXT in the file trees of Slackware version 14.1 have not been updated to reflect that change as they still state:
Quote:
As an additional step, the ISO image may be processed to make it bootable
when written to a USB stick. This processing will not impact the ISO's
ability to boot from DVD media. Use the following command to do this:
isohybrid /tmp/slackware-dvd.iso
PPS In, case you wonder, setting the number of heads to 255 and the number of sectors to 63 (maximum allowed in both cases) is just to prevent having more than 1024 cylinders, not allowed by old BIOS.
Last edited by Didier Spaier; 01-23-2015 at 11:08 AM.
Reason: PPS added.
Well, I just checked and the file slackware-14.1-install-dvd.iso _is_ pre-processed, so I assume that you can't boot off your USB installer for another reason.
Is it 32-bit or a 64-bit edition?
Did you check the integrity of the ISO with md5sum?
Are you sure that your firmware (BIOS or UEFI) is properly set up to boot off an USB drive?
I remind that in case of an UEFI firmware set to boot off an UEFI equipped device only, you should use a 64-bit Slackware 14.1
Last edited by Didier Spaier; 01-23-2015 at 01:08 PM.
PPS In, case you wonder, setting the number of heads to 255 and the number of sectors to 63 (maximum allowed in both cases) is just to prevent having more than 1024 cylinders, not allowed by old BIOS.
A little off-topic, but isn't that concern only for BIOSes older than 1998? Is this still an issue?
As suggested above, I have verified the Slack 14.1 iso with md5sum after download.
I have tried to install the Slack iso on various machines. The iso is documented on slackware as having been prepared with isolinux so it can be installed directly off a USB flash stick (well that's how I understand it).
It was written to the USB stick using 'dd'. The stick was previously cleared with cfdisk to a partition of type 'b', made bootable and formatted with 'mkfs.vfat -F 32' just to reset it so to speak. Then 'dd' was issued to write it using dd if=slack.iso of=/dev/sd(x) bs=1M .
It failed to boot to install from 3 different machines (one intel, one amd etc all with different specs).
So, I downloaded a Mageia iso and repeated all the above steps. This worked fine.
I'm not sure what to conclude just yet, so I will try download a different Slack iso and try.
I'm curious about the system (both hardware and system software) that the OP is working from. Seems like mostly guess work trying to figure out the error message.
EDIT:
I must have been typing when you posted your last. What was the system that gave the cylinders error?
Oh dear, I must apologise for wasting time on this!
I am a first class idiot.
I mounted the iso as a loop device to see what was in it. It turned out to be the source DVD iso !!! arrghhh
I had renamed the files I had downloaded (to make it shorter) and had not realised I was using the wrong one. I am sorry. How embarrassing and deserve to be mocked :-) Feel free.
The stick was previously cleared with cfdisk to a partition of type 'b', made bootable and formatted with 'mkfs.vfat -F 32' just to reset it so to speak. Then 'dd' was issued to write it using dd if=slack.iso of=/dev/sd(x) bs=1M
It is completely useless to partition the USB stick with cfdisk and create a file system in this case. My guess is when using the dd command you wrongly wrote to a partition (the one you created) instead of the device itself.
Instead, plug in your USB stick then issue following command (I show also its output in my system):
Code:
~$ lsblk -o name,size,type,model,fstype,mountpoint
NAME SIZE TYPE MODEL FSTYPE MOUNTPOINT
sda 931,5G disk WDC WD10JPVX-22J
├─sda1 800G part ext4 /archives
└─sda2 25G part ext4 /64-14.1
sdb 111,8G disk KINGSTON SMS200S
├─sdb1 100M part ntfs
├─sdb2 43,3G part ntfs
└─sdb3 68,4G part ext4 /
sdc 7,6G disk
└─sdc1 7,6G part ext2
sr0 1024M rom DVDRAM GT50N
~$
I check that my USB stick is /sdc: it has the right size and is bears the type "disk", not "part". So I issue following command:
Code:
dd if=slack.iso of=/dev/sdc bs=4M; sync
Replace /dev/sdc with the actual name of your device but not for instance /dev/sdc1.
PS I didn't see your last post before posting. Maybe this can help others.
Last edited by Didier Spaier; 01-24-2015 at 10:16 AM.
Reason: Added the MODEL field in the lsblk command.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.