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 - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-02-2015, 12:44 AM   #1
d9esco
LQ Newbie
 
Registered: Aug 2015
Posts: 12

Rep: Reputation: Disabled
Dual Boot Flash Drive with Windows and Linux


Im trying to create a dual bootable flash drive in linux. Im going to use GParted to create a single extended partition then Ill use Disks to write images to each extended partition. I hope I could see both OSs to choose from when I choose to boot from my flash drive. Will this work or is there another method? I just want 2 live OSs on a single drive I can boot into without having to change which is primary.
 
Old 09-02-2015, 12:55 AM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
What flash drive?
 
Old 09-02-2015, 02:30 AM   #3
d9esco
LQ Newbie
 
Registered: Aug 2015
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Keruskerfuerst View Post
What flash drive?
PNY USB 2.0
the method I described didn't work and when I try to partition the flash drive and create a bootable disk one of the partitions will allow me to burn the ISO to create a bootable drive and it's the first partition the problem is the only way I can get somboot into the USB Drive the first operating system will load and it won't give me any options when I boot into the USB Drive the first operating system will load and it won't give me any options for the second partition so how could I burn two different operating systems on the same flash drive
 
Old 09-02-2015, 07:33 AM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,508

Rep: Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491
I'm wondering why you want an Extended partition?
Do you want the Linux as a Live CD? If so you need to install Grub/Grub2 to the flash drive, then create a grub.cfg entry. The link below has some info on that if you want to boot an iso directly. You only need one partition for this method. It would help if you indicated which of the hundreds of Linux distributions you want.

https://help.ubuntu.com/community/Grub2/ISOBoot

As an actual install? You would just install as you would to an internal hard drive and install the bootloader to the mbr of that drive .

How are you 'burning' the iso? Using the method discussed in the link above you would simply copy the iso to the partition on the flash drive.
You mention windows. Do you want windows on the flash drive also? Which windows version? Windows can't be installed directly to a usb drive but you can put the extracted installation iso on a flash drive and boot it but that doesn't seem like what you want.

Quote:
windows setup does
not support configuration or installation to a disk connected through usb or IEEE 1394 ports
You could probably get more help if you were more specific on what you actually want to accomplish.
 
Old 09-02-2015, 12:15 PM   #5
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
I tend to treat bootable USB sticks as HDDs. And do semi-normal partitioning and install grub into the MBR of said storage device. Grub doesn't seem to like being in the MBR of them with complaints about the size of the MBR. So as a precaution I create an unused first primary partition that is small. Various ways to get there with any live bootable linux. And probably with most distro installers that let you choose where you put the installation. It's not that daunting once you've done it a couple times. Backup or disconnect the windows drive the first time around just in case, or merely out of paranoia.
 
Old 09-02-2015, 05:21 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
I remove the internal hard drive. Then just use the normal installers to create a dual boot usb.

You put a loader like Grub on the flash drive to select which distro you want.

Last edited by jefro; 09-02-2015 at 09:05 PM.
 
Old 09-02-2015, 05:25 PM   #7
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Windows isn't a live OS. While you might be able to install it on a USB flash drive (though yancek's quote isn't encouraging), you won't be able to plug this flash drive into any other computer without facing a multitude of driver problems, Windows reactivation, etc.
 
1 members found this post helpful.
Old 09-02-2015, 07:41 PM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,508

Rep: Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491
I'm not really sure what the OP wants. He indicates he wants "2 live OSs" which should be pretty simple with Linux systems. As indicated above, there is not such thing as a windows 'Live CD' and the OP mentions that in the thread title. If it includes windows, I can see problems with that as mentioned above in addition to possible licensing problems.

Creating a bootable installation medium from a windows iso file extracted and copied to a flash drive works and will boot with Grub Legacy or Grub2. Tried it with windows 10 after coming across a site explaining it and it did boot and begin the install. That's when I got the message above about being unable to install to usb, I didn't have room on the internal drives.

Last edited by yancek; 09-02-2015 at 07:44 PM.
 
  


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
Dual boot to flash drive waddles Slackware 9 02-24-2013 02:58 PM
Dual boot with Windows RAID and Linux drive combination DemiSheep Linux - General 0 01-07-2011 05:50 PM
again-dual boot windows XP, 1st drive-linux Mepis 8.0 2nd drive marvinudy Linux - Newbie 2 06-09-2009 09:51 AM
Why won't Windows recognise my Linux drive on a dual boot system? paulBottomley Linux - Newbie 6 06-18-2007 05:12 PM
Replacing floppy with flash drive for dual boot jogger Linux - General 1 03-22-2005 10:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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