LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-28-2009, 10:24 PM   #1
firedraik
LQ Newbie
 
Registered: Nov 2009
Posts: 3

Rep: Reputation: 0
Is it possible to dual-boot Windows and Linux on one computer?


I have been trying to get a Linksys WUSB600N adapter to work for awhile now. I am thinking of dual-booting my computer to run Windows for the sake of getting it working, as I have tried many solutions and none of them have worked (some have even locked up my computer). So, as evidenced in my title, I'm wondering if it is possible to get two different operating systems to work on a single hard drive, and if so, how do I do it? I apologize if this had been asked before, or if this is the wrong place, but I really couldn't find anywhere else to go.
 
Old 11-28-2009, 10:49 PM   #2
xode
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.0; FC4; FC8; SUSE 10.3; SUSE 12.1; SUSE 13.2
Posts: 638
Blog Entries: 1

Rep: Reputation: 52
It definitely is possible to dual boot but I have never done it because it is so clumsy. You probably want to install as the first operating system whichever one will allow you to create multiple partitions on the hard drive and that will also allow you to change the bootup menu as needed to boot up either the windows or linux partition(s).

Running one operating system in a virtual machine under the other one works much better for me. My overwhelming preference is running windows in the virtual machine under linux. But, given your situation, why not run linux in a virtual machine under windows?
 
Old 11-28-2009, 10:57 PM   #3
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Hi, Welcome to LQ!

LQ has a fantastic search function that may save you time waiting for an answer to a popular question.

With over 3 million posts to search it's possible the answer has been given.

Ah, you're right, plenty of times.

If you have linux installed, well, it could be tough.

Window$ likes to be installed on the first partition of the first HD.

If like me, you have more than one HD, simply make a partition for windows, about 12Gb should do it.

Then I detached my other drives(, to be sure, to be sure)!

And installed window$ on the spare partition. (sdb1)

Once window$ is installed reboot and configure as usual.

Shutdown and re-connect the power for your other drive and then boot linux and go to the boot manager and configure lilo/grub to see the windows partition.

Warning, this is a hazardous method, and you risk losing your data.

I have found that running the linux install/rescue is a better way to get window$ on the grub menu.

Anyhow, see how you go.

Have you thought about using a live cd, like mepis or knoppix to see what is configured and how?

You can easily copy the files across.....

Regards Glenn
 
Old 11-28-2009, 10:58 PM   #4
Jim Bengtson
Member
 
Registered: Feb 2009
Location: Iowa
Distribution: Ubuntu 9.10
Posts: 164

Rep: Reputation: 38
Quote:
Originally Posted by firedraik View Post
I have been trying to get a Linksys WUSB600N adapter to work for awhile now. I am thinking of dual-booting my computer to run Windows for the sake of getting it working, as I have tried many solutions and none of them have worked (some have even locked up my computer). So, as evidenced in my title, I'm wondering if it is possible to get two different operating systems to work on a single hard drive, and if so, how do I do it? I apologize if this had been asked before, or if this is the wrong place, but I really couldn't find anywhere else to go.
I'm doing that now. I installed a second hard drive, so that I'd have more room for Linux, but you don't have to. When you install Linux, many distributions (Ubuntu and openSuse for sure) check to see how much drive space is available and detect if there's already another OS (such as Windows) installed. It then gives you the option to overwrite the existing OS, or install in dual-boot mode. The limitation is that both OS's have to share the available hard drive space.
 
Old 11-29-2009, 12:52 AM   #5
lupgaru
Member
 
Registered: Jun 2008
Location: Hecker Settlement, Southwest Louisiana, USA
Distribution: Mainly Ubuntu but several others.
Posts: 50

Rep: Reputation: 19
I've done dual boot's several times on the same hard drive and Windows does need to be installed first, test out your Linksys and then try a live CD of your choice. That will give you the chance to see if the Linksys USB works before you install alongside Windows. The grub loader will give you the choice of Linux first and Windows last on boot. Worked great for me, hope it works for you.
One thing I've found is that if you use XP and un-install Linux later,(fixmbr then delete Linux partions), XP will not expand out to re-occupy the disc space. Vista will. I now do my dual boots with Vista and change Linux distros when I want. The reason I do this as to not affect the recovery partition in many systems in the chance it may be needed later.
Good Luck
 
Old 11-29-2009, 07:02 AM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
Yes, it is possible. Here's the procedure (for XP Pro):

1: Disable page file. Right click My Computer => Properties => Advanced => Performance: Settings => Advanced => Virtual memory: Change => check No paging file => click Set => OK => OK => OK

2: Reboot.

3: Defragment. More than once, if necessary

4: Resize. Use partitioning software on any live Linux CD or DVD. Leave unallocated space. Use actual installation CD or DVD to create and format Linux partitions.

5: Restore page file.

6: Reboot with whatever distro and install with lilo or GRUB in the MBR.

7: Reboot, and hope for the best.
 
Old 11-29-2009, 05:19 PM   #7
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
the Windows installer program will expect to have the first partition, and be able to write to the mbr.

Windows works fine from any other partition, it's just the installer that requires "mono-theism", for want of a better term.

Regards Glenn

Good instructions BrianL!
 
Old 11-29-2009, 05:30 PM   #8
jiobo
Member
 
Registered: Nov 2008
Posts: 180

Rep: Reputation: 36
You can dual boot no problem. Install Linux and use the GRUB bootloader. The manual explains how to configure the bootloader file grub.conf to dual boot from a menu.
 
Old 12-01-2009, 11:04 AM   #9
firedraik
LQ Newbie
 
Registered: Nov 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Smile

Thanks guys. I'll see if it works.
 
Old 12-01-2009, 03:16 PM   #10
kenuiowa
LQ Newbie
 
Registered: Dec 2009
Posts: 1

Rep: Reputation: 0
Yes. Starting with Windows and adding Debian Linux

Yes, my system has both Windows and Debian Linux. If you already have Windows on your systems, try Googling "Dual booting Windows and Debian" Almost any of the results will work. You partition the disk in Windows, and then install Debian on the partition. Just don't install Debian over Windows, that's fairly easy to avoid. The basic procedure with probably work with other Linux operating systems. One other thing, I have lots of disk space and lot of RAM and 4 processors.

kenuiowa
 
Old 12-01-2009, 03:41 PM   #11
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Quote:
Originally Posted by firedraik View Post
I am thinking of dual-booting my computer to run Windows
You strongly implied you already have Linux installed. But you didn't say it clearly.

Quote:
I'm wondering if it is possible to get two different operating systems to work on a single hard drive, and if so, how do I do it?
It is easier if you install Windows first and then install Linux. But I think you already have Linux installed. I think you would prefer to get it working installing Windows second (rather than destroy your current Linux, install Windows and reinstall Linux). I'm pretty sure it can be done, but most of us haven't even tried it that way, especially with current versions of Windows (I have managed it with XP and older).

I assume you have a bootable Linux liveCD. These things are even trickier without that.

1) You need to have enough unpartitioned space for Windows and you must have a spare entry for a primary partition, meaning you must have no more that three total primary and extended partitions. It is OK to have several logical partitions inside the extended.

If your partitioning doesn't fit the requirements now, you'll need to boot the liveCD to resize and move partitions.

2) Install Windows. Every Windows installer I have seen gives the option whether you use the whole disk wiping out Linux or whether you just use the space that was left unpartitioned. I can't be certain every Windows installer offers that choice. Read prompts carefully.

3) Installing windows will overwrite the MBR code so that even if Linux isn't destroyed you can't boot it. The cleaner solution is to boot the liveCD and redo the Grub setup, reconnecting the part of grub in your Linux partition to the MBR. Then Windows is installed but no longer bootable.

Assuming your Linux distribution uses Grub (rather than Grub2) there are lots of threads here at LQ giving examples of how to edit the /boot/grub/menu.lst file to chainload Windows.
 
Old 12-02-2009, 04:22 PM   #12
firedraik
LQ Newbie
 
Registered: Nov 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Smile

I've got enough information, so thanks everyone. And yes, I do already have Linux installed on my computer, it's just that I cannot install the adapter for some reason ( WUSB600N, just for clarity again).
 
Old 12-02-2009, 04:36 PM   #13
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
Ah, I didn't realise you had linux installed already. I should have read your original post more carefully.
 
Old 12-02-2009, 04:44 PM   #14
Super9LinuxWow
LQ Newbie
 
Registered: Dec 2009
Location: Texas
Distribution: OpenSuse
Posts: 5

Rep: Reputation: 0
Is it possible to dual-boot Windows and Linux on one computer?

OpenSuse can be dual booted in windows. I did it with windows vista. First you should modify your BIOS to boot up from the CD/DVD-Rom Dirve. Insert the open OpenSuse DVD and reboot your system. OpenSuse will shrink your drive and partition it for Linux. Good Luck.
 
  


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
Windows XP and CentOS dual boot problem on a laptop computer filippa Linux - Newbie 5 06-13-2008 07:49 AM
Why dose my internet work in windows but not in opensuse 10.2 on a dual boot computer jennylschofield Linux - Wireless Networking 6 04-21-2007 11:11 PM
on a windows xp / suse 10.1 dual boot computer (but seperate hd) can a virus jump OS bwskas Linux - Security 1 09-19-2006 08:30 PM
Transfering hard drive w/ linux from separate computer to dual boot with Windows comp SonicGT Linux - Newbie 1 03-18-2006 02:56 PM
how to do a dual boot (Windows on portable HDD) linux on computer HDD izquierdista Linux - General 5 01-28-2006 09:50 AM

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

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