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 12-20-2018, 05:34 AM   #1
narke
Member
 
Registered: Apr 2010
Posts: 197

Rep: Reputation: 5
Question Booting From USB Stick Failed


Hi,

I want to install Slackware 14.2 on a new laptop w/o CDROM. Then I was following the method described in ftp://ftp.slackware.com/pub/slackwar...README_USB.TXT to boot from USB stick. I 'dd' the USB image file into my USB stick and let the BIOS boot from the USB. I saw the boot screen really entered the Linux boot procedure, I can see 'boot:' and 'Loading xxx' printed on my screen, but very soon the screen went black and the laptop continued to boot my Windows installed in the first partition.

What's the problem it met? How do I archive to boot from USB stick?

Thanks
woody
 
Old 12-20-2018, 05:44 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,110

Rep: Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180
have you tried also the second method described in that document?

Code:
Create a bootable USB stick non-destructively
---------------------------------------------

    If you do not want to sacrifice a USB thumb drive for this (note that
dumping the image file on the USB stick will destroy all data already
present on the stick), there is a solution: Slackware also ships with a
script usbimg2disk.sh since the 13.0 release (actually, it is the file
/usb-and-pxe-installers/usbimg2disk.sh ).  This script extracts the content
from the 'usbboot.img' image file and uses this to transform a regular USB
thumb drive into a bootable Slackware installer non-destructively (i.e. any
existing files on the stick will not be touched).  The only requirement is,
that there is at least 30 MB of available free space on the stick.

    The usbimg2disk.sh script is also convenient if your computer refuses to
boot from a USB stick loaded with the usbboot.img file. The BIOS of some
computers will not understand the format of the default Slackware USB
image. Using the usbimg2disk.sh script, you create an alternative bootable
USB stick that will be recognized by your computers BIOS.
you can format your usb stick with an empty vfat (fat32) partition and check if using that script works fine in your case.
 
Old 12-20-2018, 05:58 AM   #3
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,368

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
another option to create the usb is rufus in windows https://rufus.ie/en_IE.html
 
Old 12-20-2018, 06:14 AM   #4
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Maybe you are messing two different things. Boot from usb installed system - there is such procedure to create boot-stick - just external boot system device. Boot loader is installed on pendrive Say you can do this if you don't want to overwrite MBR or there is no other possibility to boot. Other thing is install system from pendrive. Of course you will still be able to boot installed system with help of this installation pendrive by providing during boot proces correct path to root device. From your descritpion looks like pendrive is broken or dd procedure failed - image was written with errors. Reformat pendrive under Wn to look for possible errors. This is convenient way to dd'ed iso image
Code:
$ dd if=Slackware_14.2.iso of=/dev/sdb bs=4M
mark that iso has to be hybrid-iso. You can verify this with 'file' command.
 
1 members found this post helpful.
Old 12-20-2018, 06:54 AM   #5
narke
Member
 
Registered: Apr 2010
Posts: 197

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by igadoter View Post
Maybe you are messing two different things. Boot from usb installed system - there is such procedure to create boot-stick - just external boot system device. Boot loader is installed on pendrive Say you can do this if you don't want to overwrite MBR or there is no other possibility to boot. Other thing is install system from pendrive. Of course you will still be able to boot installed system with help of this installation pendrive by providing during boot proces correct path to root device. From your descritpion looks like pendrive is broken or dd procedure failed - image was written with errors. Reformat pendrive under Wn to look for possible errors. This is convenient way to dd'ed iso image
Code:
$ dd if=Slackware_14.2.iso of=/dev/sdb bs=4M
mark that iso has to be hybrid-iso. You can verify this with 'file' command.
Many thanks! Understood, I just dd the whole iso and it worked!
 
  


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
LXer: Android on a Stick, or how to install Android-x86 on a USB stick LXer Syndicated Linux News 0 03-28-2015 05:10 AM
Mounting a bootable USB stick makes the stick non-bootable PeterSteele Red Hat 6 03-15-2013 01:44 PM
Hauppauge wintv-hvr h006 - dvb-t tuner - usb-stick - hybrid tv stick Xeratul Linux - Hardware 5 12-23-2012 09:47 AM
LXer: Installing "Sugar on a stick" (Strawberry Release) On A USB Stick LXer Syndicated Linux News 0 08-04-2009 03:50 PM
mount/umount usb stick - PQI Intelligent Stick 2.0 sandbag Linux - Software 5 05-06-2005 11:12 AM

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

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