LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-09-2015, 09:35 AM   #1
AltWorld
LQ Newbie
 
Registered: Jun 2015
Posts: 8

Rep: Reputation: Disabled
Dual Booting Win7 and Ubuntu


This question has probably been asked before but I can't seem to find the correct answer.

I plan on having both Ubuntu and Win7 on my machine and I was wondering if GRUB is installed with Ubunutu's installation, and if it does will it overwrite my original boot loader (I prefer GRUB's bootloader), and another question I have is upon installation, will I be able to edit my partition and choose the partition Ubuntu is installed on? Also info on how to edit the partition (in win7) Ubuntu is going on BEFORE I install Ubuntu? And links to guides would be greatly appreciated. I don't care if I edit the partition in Ubuntu or Win7 but I would prefer if I could edit my partitions on win7 before install. Don't know If I'm able too if Win7 is running though. And is it safe to have win7 and ubuntu on the same partition or is that a no no.
 
Old 11-09-2015, 10:22 AM   #2
NGIB
Member
 
Registered: Sep 2013
Location: Sumter SC, USA
Distribution: MX, Lubuntu
Posts: 449

Rep: Reputation: Disabled
Install Windows.

Install Ubuntu.

Put GRUB on the MBR of the drive.

Since Windows is installed first it is always on the first partition and normally Windows sets up 2 partitions of its own. If necessary, use Windows to shrink it's own partition to make space for Ubuntu. If Windows won't shrink enough, you can shrink it more from the Ubuntu live media prior to install.

Windows will not make Linux partitions, all you can create is empty space Linux can use.

3 of my 4 laptops have this exact setup, the 4th dual boots with Debian Jessie...

Last edited by NGIB; 11-09-2015 at 10:23 AM.
 
1 members found this post helpful.
Old 11-09-2015, 11:25 AM   #3
AltWorld
LQ Newbie
 
Registered: Jun 2015
Posts: 8

Original Poster
Rep: Reputation: Disabled
Alright,that answers my question but how would you go about putting GRUB on MBR, I assumed GRUB was placed on the Master Boot Record automatically.

Last edited by AltWorld; 11-09-2015 at 11:46 AM.
 
Old 11-09-2015, 01:07 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,827

Rep: Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842
Quote:
assumed GRUB was placed on the Master Boot Record automatically.
That's the default and if you are using MBR rather than UEFI/GPT (which is likely with windows 7) that should work and it will ovewrite the windows code in the MBR.

Quote:
another question I have is upon installation, will I be able to edit my partition and choose the partition Ubuntu is installed on?
Yes, if you use the manual installation method which in Ubuntu is called "Something Else" and you should see that at the beginning of the install.

Not sure what you mean by "edit" partitions on windows. Usually it is best to just leave unallocated space and install and create your partitions that way. You will need to format the partitions using a Linux filesystem and the default for Ubuntu is ext4. You should be able to create the partitions from windows but you will not be able to format them and that is necessary.

If you make any changes in windows such as resizing (shrinking) its partition, reboot to windows and run chkdsk just to be safe.

You can't install Ubuntu and windows on the same partition unless you use virtual software or if you use WUBI. WUBI installs Ubuntu inside windows as a program and according to their site, was created simply as a means for people to test it. Also, it is no longer supported or recommended.
 
1 members found this post helpful.
Old 11-09-2015, 03:08 PM   #5
AltWorld
LQ Newbie
 
Registered: Jun 2015
Posts: 8

Original Poster
Rep: Reputation: Disabled
That literally answered all my questions thank you. Marking as solved.
 
Old 11-09-2015, 03:41 PM   #6
AltWorld
LQ Newbie
 
Registered: Jun 2015
Posts: 8

Original Poster
Rep: Reputation: Disabled
So after making a partition for Ubuntu, I should be able to use just that partition for it's installation, and Windows wont be touched? I just made a new drive.
Attached Thumbnails
Click image for larger version

Name:	dskmngmnt.png
Views:	17
Size:	124.2 KB
ID:	20010  
 
Old 11-10-2015, 08:07 AM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,827

Rep: Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842
Quote:
So after making a partition for Ubuntu, I should be able to use just that partition for it's installation, and Windows wont be touched? I just made a new drive.
Yes, maybe if you do it right. You will likely need to check by partition size. Is the partition you are referring to is the one labelled "U" in windows? Anyhow, when you boot the Ubuntu installer it will not show with the letter "U" but rather as something like sda3 or sda4 so you will need to check the size in the partition to make sure you get the right one. You should be able to do all this using the Something Else option. If you want a swap partition, you have no place to put it as you seem to have used all the disk space with this partition?

Also as stated previously, you need to change the partition filesystem from the current ntfs to a Linux filesystem during the install.

Last edited by yancek; 11-10-2015 at 08:09 AM.
 
Old 11-10-2015, 08:51 AM   #8
AltWorld
LQ Newbie
 
Registered: Jun 2015
Posts: 8

Original Poster
Rep: Reputation: Disabled
Forgot to post that I figured it out last night I deleted the u: partition, put the space back on c: and made a partition in the Linux file system. That was a lot easier for me to do.
 
  


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
Help Dual Booting win7 and Kali DustinC86 Linux - Newbie 7 01-11-2017 07:00 PM
Dual Booting Win7 and Ubuntu AltWorld Linux - Software 1 11-09-2015 10:17 AM
dual boot--win7 and ubuntu 12.04 -ubuntu not booting ppm2000 Linux - Newbie 11 05-28-2012 02:18 AM
Dual booting w/Win7 64 bit? Fred Forsythe Linux - Newbie 3 03-15-2012 05:48 PM
Dual booting Win7 and Debian dsplayer14 Debian 5 02-04-2012 08:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:46 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration