LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-11-2022, 03:55 PM   #1
dalgrim
Member
 
Registered: Nov 2014
Location: Michigan, USA
Distribution: slackware14.1 x64
Posts: 37

Rep: Reputation: Disabled
USB flashdrive made from Slackware15.iso will not boot


I'm trying to install Slackware15 on a new computer. I've downloaded the .iso and wrote it to a USB stick. The system will not boot from it.
Things I've done: used Rufus and BalenaEtcher to write the USB in DD and HybridISO mode. Neither are bootable.
I've wrote usbimg.sys to a different usb drive and that at least loads elilo but pressing enter only displays loading kernel huge.s.....done , loading intitrd img .....done and then it hangs there, forever.
I downloaded a ubuntu iso to a third usb flash drive and it boots just fine. What am I missing? How do I make the slackeware 15 usb stick bootable?

Note I don't have a working slackware system right now so I can't follow alienbob's instructions either.

-Brian
 
Old 07-11-2022, 04:40 PM   #2
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,810

Rep: Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447
Hello dalgrim and welcome to Slackware. I wonder is your PC new enough to support UEFI boot or Legacy MBR only? With that in mind are you using an F-Key to display boot order menu? ... and are you selecting UEFI USB if you have UEFI support or is this MBR-only?

IIRC Balenca, maybe Rufus too and certainly "isomaster" (both Windows and Linux versions) will check iso files and display if a boot sector is properly included.
 
Old 07-11-2022, 04:49 PM   #3
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,439

Rep: Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185
Hi,
Don't know if it will help, but I always use this command without any issue:
Code:
dd status=progress if=<YOUR_ISO>.iso of=/dev/sdX bs=4M
 
Old 07-11-2022, 05:04 PM   #4
dalgrim
Member
 
Registered: Nov 2014
Location: Michigan, USA
Distribution: slackware14.1 x64
Posts: 37

Original Poster
Rep: Reputation: Disabled
I'm sorry, I completely forgot to give hardware info:
AMD Ryzen 5 5600G
MSI B550 Pro-VDH (latest bios ver)
32GB GSKILL RAM 3200
1TB m.2 Samsung nvme 980 pro

Marav The usb drive is being created per the .iso. It's just that the ISO doesn't show as bootable. All the files are there.

enorbet, how what I check the boot sector of that usb?
 
Old 07-11-2022, 05:10 PM   #5
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,439

Rep: Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185
Quote:
Originally Posted by dalgrim View Post
I'm sorry, I completely forgot to give hardware info:
AMD Ryzen 5 5600G
MSI B550 Pro-VDH (latest bios ver)
32GB GSKILL RAM 3200
1TB m.2 Samsung nvme 980 pro
And your USB stick ?
 
Old 07-11-2022, 05:26 PM   #6
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,047

Rep: Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260
From what describes the OP, the Slackware flash drive does boot, then the discussing regarding bootsectors is probably meaningless.

The issues are on the next stage: the bootloader starts, loads the kernel and initrd, then the system hangs up.

I suggest to OP to prepare and try to boot a SlakLive, which is the live variant of latest Slackware-current:

https://docs.slackware.com/slackware:liveslak

Could happen that Slackware 15.0 to be already too old for the modern hardware of OP.

Additionally, the SlakLive has an unique support for booting under SecureBoot. Slackware itself hasn't.

Last edited by ZhaoLin1457; 07-11-2022 at 05:38 PM.
 
Old 07-11-2022, 06:19 PM   #7
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,593

Rep: Reputation: 3457Reputation: 3457Reputation: 3457Reputation: 3457Reputation: 3457Reputation: 3457Reputation: 3457Reputation: 3457Reputation: 3457Reputation: 3457Reputation: 3457
Quote:
Originally Posted by ZhaoLin1457 View Post
From what describes the OP, the Slackware flash drive does boot, then the discussing regarding bootsectors is probably meaningless.

The issues are on the next stage: the bootloader starts, loads the kernel and initrd, then the system hangs up.

I suggest to OP to prepare and try to boot a SlakLive, which is the live variant of latest Slackware-current:

https://docs.slackware.com/slackware:liveslak

Could happen that Slackware 15.0 to be already too old for the modern hardware of OP.

Additionally, the SlakLive has an unique support for booting under SecureBoot. Slackware itself hasn't.
Regarding OP's problem, I would note that I have 3 motherboards Asrock B75M-DASH which cannot boot in the CMS/legacy BIOS mode the Slackware, be it installation kit, liveSlak or my USB hard drives with full installs of Slackware.

The thing is that they behaves just like OP happens to see - the bootloader loading the kernel and initrd, then hangs.

BUT, they work well in the EFI boot mode. That's WHY I suggest to OP to ensure that he uses the EFI boot, not the CSM/legacy BIOS mode. This way there are better chances to boot.

Last edited by LuckyCyborg; 07-11-2022 at 06:24 PM.
 
1 members found this post helpful.
Old 07-11-2022, 06:22 PM   #8
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,810

Rep: Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447
It's hard to tell exactly what started to boot since the only mention is that usbimg.sys was written to a different USB drive. We can guess that initrd and kernel were there but we don't yet know. Also, only an MBR boot worked at all and we don't know if OP's PC supports UEFI or if his PC autoboots removable drives first, if OP used Booty Order Menu, or if Secure Boot, etc are enabled or not. It would be good to know such details.

@Dalgrim - AFAIK The boot sector of the USB is created along with the partition type and file system. The boot device I was referring to that can be checked by IsoMaster and possibly Balenca and Rufus, is that encoded on the iso.

First thing I would do is access Boot Order Menu to see if BOTH UEFI and MBR entries exist for the USB drive.
 
Old 07-11-2022, 06:29 PM   #9
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,393

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
Are you using 64bit or 32bit iso? Secure boot, fast boot disabled in bios/firmware settings?

Last edited by colorpurple21859; 07-11-2022 at 06:31 PM.
 
Old 07-11-2022, 06:37 PM   #10
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,593

Rep: Reputation: 3457Reputation: 3457Reputation: 3457Reputation: 3457Reputation: 3457Reputation: 3457Reputation: 3457Reputation: 3457Reputation: 3457Reputation: 3457Reputation: 3457
Quote:
Originally Posted by colorpurple21859 View Post
Are you using 64bit or 32bit iso? Secure boot, fast boot disabled in bios/firmware settings?
Good question!

Because the Slackware 32bit will NOT boot in the EFI mode, and IF happens the motherboard to have also CSM/legacy BIOS boot issues, the OP has no solutions to boot properly the Slackware installation kit.

Unless he borrows the Ubuntu bootloader and do some Boot-Fu, by booting Ubuntu stick and manually loading the kernel (with its parameters) and initrd from Slackware installation driver.

Last edited by LuckyCyborg; 07-11-2022 at 06:44 PM.
 
Old 07-11-2022, 09:43 PM   #11
dalgrim
Member
 
Registered: Nov 2014
Location: Michigan, USA
Distribution: slackware14.1 x64
Posts: 37

Original Poster
Rep: Reputation: Disabled
The slackware15 x64 iso flash drive does NOT boot. It isn't even a boot option. It does not boot when written with DD or with hybridISO (Rufus).
I manually wrote a different usb drive with usbimg.sys. That one boots, but hangs.
Secureboot is off, fast boot disabled, UEFI mode is on. Legacy off.

USB sicks I've tried 16GB USB3 PNY, 64GB usb3 PNY, 8GB Sansdisk. All same problem, the system does not even detect them as a boot device. The systems DOES detect a ubuntu iso burned to that same flash drive, or a windows10 ISO on a usb flash drive.
I've tried multiple usb ports no change.

I'll try the live Slack version and see if that changes anything.
 
Old 07-12-2022, 06:27 AM   #12
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: Slackware®
Posts: 13,927
Blog Entries: 45

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Member Response

Hi,

I just read on Eric's blog;
Quote:
Download Slackware Live Edition

You can find a set of new ISOs based on liveslak on my own servers: download.liveslak.org/latest/ in the Netherlands, or the US host us.liveslak.org/latest/ .
Note: all 64bit versions support Secure Boot.
Some people report that the ISO images won’t boot when copied (using ‘cp’ or ‘dd’ for instance) to a USB stick but they all boot properly if you use the ‘iso2usb.sh‘ script provided with liveslak to transfer the ISO content to a USB stick. Of course, this will give you nice persistent storage of all your modifications with optional data encryption, ideal for a secure on-the-road Slackware environment.
You can look here; https://us.liveslak.org/latest/ Be sure to read the banner.

EDIT: You might find helpful information here; https://docs.slackware.com/slackware...ters_explained

Hope this helps.
Have fun & enjoy Slackware!

Last edited by onebuck; 07-12-2022 at 06:31 AM. Reason: add link
 
Old 07-12-2022, 06:59 AM   #13
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,593

Rep: Reputation: 3457Reputation: 3457Reputation: 3457Reputation: 3457Reputation: 3457Reputation: 3457Reputation: 3457Reputation: 3457Reputation: 3457Reputation: 3457Reputation: 3457
BTW, there is a guy who hit the same issue of OP - system hangs after loading the kernel and initrd, and looks like he even found a workaround:

https://www.linuxquestions.org/quest...re-4175671086/
 
Old 07-12-2022, 07:27 AM   #14
dalgrim
Member
 
Registered: Nov 2014
Location: Michigan, USA
Distribution: slackware14.1 x64
Posts: 37

Original Poster
Rep: Reputation: Disabled
Success

Well it was a roundabout thing but here is what I did:
1) redownloaded the .iso, just in case.
2) booted to slackware live
3) DD the iso to a usb flash drive
4) rebooted and this time it worked.

I'm not sure why but my guess is the ISO wasn't writing correctly from windows I think it was in MBR instead of GPT/UEFI, This would prevent UEFI from booting it but would allow the files to be seen once mounted. (in a nutshell: This is what was happening)

Thank you to everyone for all the help and suggestions.

-Brian
 
2 members found this post helpful.
Old 07-12-2022, 10:59 AM   #15
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,810

Rep: Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447
Congratz Dalgrim!
 
  


Reply

Tags
flash drive, install, usb



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
apache-cassandra does not run on Slackware15.0 opentek Slackware 2 04-30-2022 05:56 PM
eth0 is not avilable after installing slackware14.2 or slackware15 as KVM guest phanthaihuan Slackware - Installation 2 04-03-2022 02:43 PM
[SOLVED] How to partition 4TB disk to dual boot slackware15 + win7 chud1950 Slackware - Installation 11 02-23-2022 03:59 AM
made my own usb flashdrive and nervous about bootin it up phrankie Linux - Newbie 6 10-21-2015 05:54 PM

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

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