LinuxQuestions.org
Review your favorite Linux distribution.
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 01-14-2010, 08:59 AM   #1
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Utility to Create Bootable Flash Drive


I've looked all over the place for the utility that will create a bootable flash drive. Can anybody tell me what the name of it is?
 
Old 01-14-2010, 09:14 AM   #2
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Unetbootin is the best known
http://unetbootin.sourceforge.net/

there are others specific to their distro
including

liveusb-creator which is Fedora
https://fedorahosted.org/liveusb-creator/

there's this new one
http://www.linuxliveusb.com/

and ubuntu's
https://wiki.ubuntu.com/LiveUsbPendrivePersistent

and this
http://en.wikipedia.org/wiki/List_of...ve_USB_systems

and Pendrivelinux has stuff
http://www.pendrivelinux.com/

what distro(s) were you gonna put on it?
 
Old 01-14-2010, 09:16 AM   #3
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Original Poster
Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Uh, Slackware 13.0 -- I'm looking for the utility that runs during setup that makes a bootable flash drive.
 
Old 01-14-2010, 09:30 AM   #4
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 930

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
From the installation CD/DVD... slackware-13.0/usb-and-pxe-installers/README_USB.TXT

Quote:
Transfering the usbboot.img file to a USB device
------------------------------------------------

In order to create a bootable USB stick with the Slackware installer on it,
copy the 'usbboot.img' file to a USB stick as follows:

(1) In a Linux terminal if you're in X, or just from the console, change
directory to where the file 'usbboot.img' is located - you may have to
mount your Slackware CDROM or DVD first.
(2) Insert a USB stick that is going to become your Slackware installer.
Note that all data the stick contains will be erased in the next steps!
You need to find out the device name for this USB stick. Sometimes it
helps to run the command 'rescan-scsi-bus' if the USB stick is not
being detected right away.
On systems without SCSI or SATA disks, the USB stick will usually be
assigned '/dev/sda' as the device name. If '/dev/sda' already is your
SCSI or SATA hard drive, then '/dev/sdb' would become the device name
for the USB stick. Be very convinced that you know which device name
represents your stick before you advance to the next step!
(3) Transfer the image file to the USB stick using the 'dd' program. In the
example command line below, I am assuming that the USB stick is known as
'/dev/sdx'.

dd if=usbboot.img of=/dev/sdx bs=512

Be careful about the device name for your USB stick! The above 'dd'
command will wipe out any existing data on the device, so you had better
be sure that it is not the SATA hard disk you're targeting!
 
Old 01-14-2010, 10:10 AM   #5
DonnieP
Member
 
Registered: Jan 2008
Location: Richmond, VA USA
Distribution: Slackware
Posts: 144

Rep: Reputation: 29
This blog post gives some additional explanation:
http://alien.slackbook.org/blog/inst...b-thumb-drive/

If you're trying to create a Slackware installer on the flash drive then you're taken care of. If you're trying to actually install Slackware to a flash drive then you just partition and specify that drive during the install process (wherever you run the installer from).
 
Old 01-14-2010, 10:26 AM   #6
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Original Poster
Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Nah, I'm trying to make a "bootstick" (not an installer). The Slackware installer asks if you want to make a USB bootstick (so you can boot the thing if the MBR gets screwed up somehow or other). I've installed Win7 64-bit then reinstalled Slackware 64-bit, ran Lilo and I can boot Slackware just fine but Win7 fails with a message about the BOOTMGR missing -- the fix for that seems to be to use the Win7 install disk to repair the MBR and I'm afraid that when I do that I won't be able to get Slackware booted again without a lot of grief. So, what I need, is a USB bootstick that will boot me into my existing Slackware partition if Win7 screws thing up during the "fix."
 
Old 01-14-2010, 10:38 AM   #7
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
The script to create that is not available in the installed distro, IIRC. You have to extract it from the installer initrd.
 
Old 01-14-2010, 12:48 PM   #8
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224
/var/log/setup/setup.80.make-bootdisk

All of the setup scripts from the installer are stored here.
 
Old 01-14-2010, 01:11 PM   #9
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Ah so, you are correct.
 
Old 01-14-2010, 01:16 PM   #10
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Original Poster
Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Quote:
Originally Posted by disturbed1 View Post
/var/log/setup/setup.80.make-bootdisk

All of the setup scripts from the installer are stored here.
Ah-ha! Couldn't remember where that stuff lives.

Thank you.
 
Old 01-14-2010, 01:23 PM   #11
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224
You can also re-run any of the setup scripts with pkgtool. Choose the Setup option, then it's for script in $ADM_DIR/setup/setup.* ; do
 
Old 01-14-2010, 01:28 PM   #12
AGer
Member
 
Registered: Oct 2007
Distribution: Slackware current
Posts: 136
Blog Entries: 22

Rep: Reputation: 19
Quote:
Originally Posted by tronayne View Post
I've installed Win7 64-bit then reinstalled Slackware 64-bit, ran Lilo and I can boot Slackware just fine but Win7 fails with a message about the BOOTMGR missing -- the fix for that seems to be to use the Win7 install disk to repair the MBR
As far as I understand, the missing BOOTMGR error message is reported after the boot record is done, so the problem must be different.

It is a bit strange that you do not emphasize the fact that BOOTMGR is in place. Do you see the hidden Boot folder in the Windows 7 boot partition?

Just in case there is no Boot, did you allow Windows 7 to use a whole disk on installation?
 
  


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
Create bootable Flash Drive, Install Debian, Acer Aspire One jason_m Linux - General 1 09-12-2009 01:37 PM
How to put drdflash.img my flash utility and bios file onto a bootable floppy? Oakems Linux - Software 4 03-25-2009 05:28 PM
Trying to create a bootable USB flash drive to install RHEL (4 or 5) on servers scholldr Linux - General 2 05-05-2008 07:39 AM
cannot create bootable compact flash kpachopoulos Linux - General 3 12-26-2006 06:15 AM
How to create bootable USB flash drive EStester Linux - Enterprise 7 05-19-2005 06:35 PM

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

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