LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-05-2013, 10:47 PM   #1
ilesterg
Member
 
Registered: Jul 2012
Location: München
Distribution: Debian, CentOS/RHEL
Posts: 587

Rep: Reputation: 72
Talking Dual boot Linux and Windows


Hi,

How is everyone?

I am planning to buy a new laptop, and I want to dual boot Windows 7 and Linux. For Windows, I'll buy a Windows 7 install CD, and would get Linux to a USB stick (Ubuntu).

Here are my requirements:
1. I would like to have 4 separate partition for my Windows, Ubuntu, swap space, storage.
2. Windows should not be able to see the swap space and Ubuntu partition (I won't mind if Linux can see the Windows partition)
3. Both OS should be able to read/write to the storage partition

My concern is that, which of these 2 OS will I install first? (this is under the assumption that my hardware can install both methods, cd and usb install).

Thanks all!
 
Old 09-06-2013, 12:16 AM   #2
Jamesfredette
LQ Newbie
 
Registered: Aug 2013
Posts: 12

Rep: Reputation: Disabled
just better search for those models in market i am sure u would get a better option for your queries
 
Old 09-06-2013, 12:23 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,940

Rep: Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324
first windows, create its root partition and the common storage.
next linux and create its root and swap.
windows will not use by default the swap and ext* partitions.
 
1 members found this post helpful.
Old 09-06-2013, 12:25 AM   #4
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
@Jamesfredette, I do not understand.

@ilesterg, it shouldn't matter, since Linux will live on the USB Stick presumably along with its bootloader.

However, it is probably easier to setup the swap and other partitions during the Linux install. Then let windows do its thing.

Edit:
realised I may have read it wrong..
the USB is just for installation media.

If Linux is going on the hdd..
Windows first, then Linux

Last edited by Firerat; 09-06-2013 at 12:27 AM.
 
1 members found this post helpful.
Old 09-06-2013, 12:25 AM   #5
eklavya
Member
 
Registered: Mar 2013
Posts: 636

Rep: Reputation: 142Reputation: 142
If you install Windows after Linux then Windows almost always overwrites the MBR (Master Boot Record)

www.youtube.com/watch?v=S8K7Daoy9nc‎
may be this is not the best video but you can get many useful in the right pane with clear instruction and practical.
 
1 members found this post helpful.
Old 09-06-2013, 12:29 AM   #6
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
Oh, consider using GPT instead of MBR to partition

MBR has a 4 partition limit ( unless you use extended partitions )

GPT has a lot more flexibility , and can go beyond 2TB
 
Old 09-06-2013, 01:42 AM   #7
ilesterg
Member
 
Registered: Jul 2012
Location: München
Distribution: Debian, CentOS/RHEL
Posts: 587

Original Poster
Rep: Reputation: 72
Great! MBR and GPT came out.

So, I was thinking that I might want to create another partition in the future, so I might want to use GPT instead of MBR. If so, would Linux and Windows both support GPT?

But, given that I only want 4 partitions, I think the 3 of you agree that it would be best to do Windows then Linux.


Cheers!
 
Old 09-06-2013, 04:33 AM   #8
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
Linux will have no problem with GPT, and as far as I know Windows7 will be happy....

Then again,. after a quick search I'm not certain, some say yes, some no.

However,
http://www.techpowerup.com/forums/sh....php?p=2942595
provides a walk through for win7 and GPT

Windows is not something I deal with much
 
Old 09-06-2013, 09:28 AM   #9
karim.ouda
Member
 
Registered: Jun 2013
Posts: 41

Rep: Reputation: 3
I will go with Firerat, use GPT.

First install Windows then Linux.
 
Old 09-06-2013, 10:14 AM   #10
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
It depends on the Windows version and architecture you want to use if GPT is an option. In general, Windows 7 understands GPT, but only the 64 bit versions can boot from it, and only if you use UEFI instead of the legacy BIOS option.
So it may be easier to use MBR if you don't want to hassle with UEFI boot.
 
Old 09-06-2013, 12:07 PM   #11
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Windows thinks it's the only game in town, and will usually nuke any existing Linux installation if installed after Linux.

Linux will respect an existing Windwos installation, and ask you if you want to install Linux alongside Windows or replace Windows.

The moral of this story? Always install Windows first, because it is the stupider and more egotistical of the two operating systems.
 
1 members found this post helpful.
Old 09-07-2013, 06:06 PM   #12
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by haertig View Post
Windows thinks it's the only game in town, and will usually nuke any existing Linux installation if installed after Linux.
Unless you remove the Linux partitions during the install Windows will not touch any installed OS, it will only replace the bootloader.
 
Old 09-07-2013, 08:06 PM   #13
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Quote:
Originally Posted by TobiSGD View Post
Unless you remove the Linux partitions during the install Windows will not touch any installed OS, it will only replace the bootloader.
Which is what I meant, but I no doubt stately it poorly.

If you had a bootable Linux installation in place and then installed Windows, you would no longer have a Linux as a boot-time option. Windows doesn't overwrite the Linux partition(s), but considers them "useless", therefore removing references to them from the boot setup. You can of course repair the damage Windows did to the boot process, assuming you know what it did (as most people here would), but to a newbie it would appear that Linux is gone.

However you look at it, Windows does not play well with other operating systems and cuts them out of the picture at boot time, leaving only itself as the sole boot option, albeit not by overwriting those Linux partition(s).
 
Old 09-07-2013, 10:08 PM   #14
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,349
Blog Entries: 28

Rep: Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147
Linux can boot quite happily from an extended partition. I'm doing just that on my dual-boot Win7/Mageia computer. The extended partition issue is irrelevant

My understanding is that Windows cannot read from Linux file systems, such as ext3 and ext4. It would see the partitions, but could not read the files.
 
Old 09-08-2013, 08:01 PM   #15
ilesterg
Member
 
Registered: Jul 2012
Location: München
Distribution: Debian, CentOS/RHEL
Posts: 587

Original Poster
Rep: Reputation: 72
Quote:
Originally Posted by haertig View Post
Windows thinks it's the only game in town, and will usually nuke any existing Linux installation if installed after Linux.
Very well said.

Quote:
Originally Posted by frankbell View Post

My understanding is that Windows cannot read from Linux file systems, such as ext3 and ext4. It would see the partitions, but could not read the files.
Yep, from my understanding, this would help with my requirement2.

Thanks all for your kindness. I'll now mark this thread as solved.
 
  


Reply

Tags
dual boot, linux, ubuntu, windows, windows 7



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
Ubuntu Linux & Windows 7 - Dual Boot or just use Windows in a Virtual Machine? spinnerette Linux - Newbie 29 06-29-2013 08:19 AM
LXer: Windows Update doesn't like my Linux-Windows dual-boot system LXer Syndicated Linux News 1 07-22-2011 05:20 PM
Dual linux boot and dual windows boot together? Stuart36 Linux - General 8 05-01-2007 11:53 PM
How do I dual boot Linux and Windows XP from Windows boot file andyri Linux - Newbie 4 08-04-2004 10:09 PM

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

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