LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 02-23-2013, 07:41 PM   #1
waddles
Member
 
Registered: Sep 2012
Posts: 373

Rep: Reputation: 0
Dual boot to flash drive


I had a flash drive at one point in my dim past but cannot recall if I had put Slack on it or Windoz. Anyway I would like to create a test bed for Linuxes on a flash drive and be able to dual boot to it. My question is is it possible to create partitions on the flash drive and treat it as another hard drive and then install Slackware/Fedora/Zenwalk/whatever on it and then dual boot to it using lilo? I have dual booted using lilo with Slackware and Windoz and to other Linuxes.

Last edited by waddles; 02-23-2013 at 07:49 PM.
 
Old 02-23-2013, 08:53 PM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
A USB flash drive, at least on modern hardware, is more or less indistinguishable from a traditional HDD. If your BIOS can see it as a bootable device, then you can partition it and setup the bootloader on it however you like.
 
1 members found this post helpful.
Old 02-23-2013, 08:56 PM   #3
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,435

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
http://www.linuxquestions.org/questi...how-to-919708/

PS - I lack religion but Matthew 7:7 springs to mind.
 
Old 02-23-2013, 09:25 PM   #4
waddles
Member
 
Registered: Sep 2012
Posts: 373

Original Poster
Rep: Reputation: 0
I have Slackware installed on my hard drive so I am wondering if it is necessary that the BIOS needs to have provision to boot to a USB since Lilo will be interceding? If so is there a work around as my desktop does not have USB boot capability?
 
Old 02-23-2013, 09:43 PM   #5
waddles
Member
 
Registered: Sep 2012
Posts: 373

Original Poster
Rep: Reputation: 0
If my bios does not have a USB boot option am I dead in the water for trying to install Linuxes in the partitions and for dual booting? Is there a work around that substitutes cdrom/floppy/etc. for a USB boot?
Sorry for the duplication of the query. The original did not show up as usual and I had slid off to check my LQ.

Last edited by waddles; 02-23-2013 at 09:45 PM.
 
Old 02-23-2013, 11:46 PM   #6
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,244

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Quote:
Originally Posted by allend View Post
http://www.linuxquestions.org/questi...how-to-919708/

PS - I lack religion but Matthew 7:7 springs to mind.
I have absolutely no religion but Matthew (Matthieu en Franšais) happens to be the first name of my second son.

Now you made me rethink, I am probably missing "mount -o bind" the /proc partition before chroot, that may be why I had warnings running lilo? I'll try that again to check.

Last edited by Didier Spaier; 02-23-2013 at 11:52 PM.
 
Old 02-23-2013, 11:51 PM   #7
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,244

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
@waddles: Your BIOS doesn't need to have USB boot enabled to install lilo on the flash drive, but of course that will be necessary for the target computer to boot the USB key.
 
Old 02-24-2013, 02:04 AM   #8
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,755

Rep: Reputation: 466Reputation: 466Reputation: 466Reputation: 466Reputation: 466
You can boot to a root on USB without any problems as long as the kernel (and initrd, if any) are copied to the hard drive. This is especially easy if you have a small separate partition for /boot. Just copy kernel to /boot, create an entry in lilo.conf for the installation, run lilo and you're done.
 
Old 02-24-2013, 01:50 PM   #9
dwblas
Member
 
Registered: Jun 2011
Posts: 54

Rep: Reputation: Disabled
If you want to just boot from the USB drive, i.e. not from the MBR to the usb drive, burn PLOP to a CD and boot from the CD. PLOP will then allow you to boot from any device on/in the computer. We have one old Del with old BIOS and if anything goes wrong I use PLOP to boot a rescue USB.
 
2 members found this post helpful.
Old 02-24-2013, 02:58 PM   #10
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 4,004

Rep: Reputation: 624Reputation: 624Reputation: 624Reputation: 624Reputation: 624Reputation: 624
Quote:
Originally Posted by MS3FGX View Post
A USB flash drive, at least on modern hardware, is more or less indistinguishable from a traditional HDD. If your BIOS can see it as a bootable device, then you can partition it and setup the bootloader on it however you like.
keep in mind that installing to a hard drive (including usb drives) will not function like a live distribution. if you try to boot it up on a totally different pc it probably wont detect the hardware correctly.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Is using a flash drive as an editable hard drive, not just a boot disk possible? silntdoogood Linux - General 18 09-19-2010 08:17 PM
Dual boot Dual Drive Ubuntu Jaunty & XP - Advice on Best Way? Paul Langdon Linux - Newbie 4 05-28-2009 05:11 AM
Dual Drive/ Dual Boot > Open Solaris 2008.05 + Windows XP SP2 starwarp2000 General 2 07-14-2008 06:01 AM
Replacing floppy with flash drive for dual boot jogger Linux - General 1 03-22-2005 10:53 AM


All times are GMT -5. The time now is 07:15 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration