LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Booting From USB Stick Failed (https://www.linuxquestions.org/questions/slackware-14/booting-from-usb-stick-failed-4175644640/)

narke 12-20-2018 05:34 AM

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

ponce 12-20-2018 05:44 AM

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.

colorpurple21859 12-20-2018 05:58 AM

another option to create the usb is rufus in windows https://rufus.ie/en_IE.html

igadoter 12-20-2018 06:14 AM

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.

narke 12-20-2018 06:54 AM

Quote:

Originally Posted by igadoter (Post 5939348)
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!


All times are GMT -5. The time now is 02:01 PM.