LinuxQuestions.org
Help answer threads with 0 replies.
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 03-13-2014, 05:56 PM   #1
ethanol
LQ Newbie
 
Registered: Jul 2013
Posts: 15

Rep: Reputation: Disabled
How to safely partition a newly built Windows 7 to run mint 16 alongside it


I need step by step instructions for partitioning a newly built Windows 7 looking to install mint 16 to run alongside the Windows. I tried it last night and ended up wiping my windows partition. my computer has 300gigs. I want to allocate 100 gigs to mint 16 and the rest to Windows. how can I do it safely?
 
Old 03-13-2014, 06:12 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,848

Rep: Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823
Having done exactly this in the last week, I think you missed something in the install. The "Installation type" defaults to wiping the disk - you need to select the "Something else" radio button - this allows you to manually partition and assign mount-points. Personally I prefer to always pre-define partitions prior to install - in my case this includes Windows.

If you already have Win7 insalled, use its Disk Manager to reduce it by the 100 Gig - leave it unallocated. Then in the Mint install you'll need to define a "Linux" partition of say 98 Gig and a swap partition of the rest. The swap should be auto-recognised, but you'll need to select the new Linux partition and mount it at "/" (no quotes - / is the root of the filesystem, and needs to be assigned).
After that just follow the prompts.
 
Old 03-13-2014, 06:15 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,872

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
Take a look at the link below which gives pretty detailed instructions on this topic. If you selected "Install Alongside" that is basically crossing your fingers and hoping for the best. You don't see much of what is happening so have no idea what went wrong. I'd concur with syg00 advising to select the Something Else option. The link below shows most of the steps for this type of installation:

http://itsfoss.com/guide-install-lin...-boot-windows/
 
Old 03-13-2014, 07:59 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,409

Rep: Reputation: 2208Reputation: 2208Reputation: 2208Reputation: 2208Reputation: 2208Reputation: 2208Reputation: 2208Reputation: 2208Reputation: 2208Reputation: 2208Reputation: 2208
Kind of a tricky phrase safely.


Could you use a virtual machine instead of a dual boot? I'd think that is more safe.
 
Old 03-13-2014, 08:07 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,367
Blog Entries: 12

Rep: Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752
Jefro has a point. Whenever you muck about with the partitions, you run the risk of something's going awry. Crucial files should be backed up first.

That being said, I installed Mint for dual boot beside Windows 7, using the Mint installer to resize the Windows partition and create free space for Windows to use, and it worked flawlessly.
 
Old 03-13-2014, 08:23 PM   #6
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Too late most likely
Quote:
I tried it last night and ended up wiping my windows partition.
Is mint installed?
Quote:
I want to allocate 100 gigs to mint 16 and the rest to Windows. how can I do it safely?
If not you can resize windows partition.
 
Old 03-13-2014, 08:45 PM   #7
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 810

Rep: Reputation: 264Reputation: 264Reputation: 264
I would suggest resizing the partition in Windows rather than trying to do it during the install. To do that:

1. In the start menu, right-click My Computer
2. select "manage"
3. On the left, select "Disk Management" (under "Storage")
4. Find the block marked "C:" and right-click on it
5. Select "Shrink Volume..."
6. Wait. It might take a few minutes.
7. Enter the amount that you want to shrink. Note that this is in MEGABYTES, not gigabytes. 1 GB = 1024 MB, so 100 GB should be 102400 MB.
8. Wait. This could take a few minutes.
9. You should now see a new box marked as "Unallocated"

Now shut down Windows and boot from your installation media. I'm not familiar with Mint, but Google and/or YouTube can take you from here.

Good luck!
 
Old 03-13-2014, 10:23 PM   #8
Fred Caro
Member
 
Registered: May 2007
Posts: 999

Rep: Reputation: 166Reputation: 166
ethanol,
asuming that shrinking a mounted partition is safe, then use the internal Windows controls. You could use Gparted to do this, from a Gparted cd. I'm not sure that Mint gives an install to 'unallocated' option, Debian does. Mint, I think, works from the assumption that you have not pre-shrunk your partition, hence the 'install alongside' option which will probably only cope with one partition to shrink and reallocate space to.
You could try:
1. a Windows shrink of an installed win version
2. reboot to see if it still works
3. boot from Linux install disk and see if install to 'unallocated' comes up
4. if it does n't, go to the custom type partitoning option and add one more partition for all of linux and one for,say, 2GB of swap.

On rebooting check for a grub page giving the option for Windoze. If it goes straight to linux check for a win partition with fdisk -l in a terminal, should still be there. Then update your linux and reboot. If still no grub options run update-grub as sudo, ie, 'sudo update-grub'
hopefully you should see an option to boot win whatever.
Fred.
 
Old 03-13-2014, 11:18 PM   #9
d0gg1e
LQ Newbie
 
Registered: Mar 2014
Posts: 6

Rep: Reputation: Disabled
Got to agree with Fred. The Gparted CD is your friend and a safer option to resizing a partiton.

Assuming (a bad idea I know) that Windows is the only partition and there is no 'Acer recovery' partition it would be a case of:

Boot the Gparted Live CD.
Resize the Windows partition (/dev/sda1 most likely) to 200GB.
Apply changes.
In the new Unallocated area create a new partition of 98GB - ext4.
And also a final partition of 2GB - linux-swap.
Apply changes.

The drive will now be:

/dev/sda1 - 200GB - ntfs
/dev/sda2 - 98GB - ext4
/dev/sda3 - 2GB - linux-swap

Exit Gparted, reboot, and boot Linux Mint and install using the "Something else" option and point to /dev/sda2 as the partition to install to.

As with anything that involves altering partitions backup anything important should anything go wrong, and as it is a laptop make sure it is plugged in to a power source just so the battery dying doesn't become an issue.
 
Old 03-14-2014, 04:59 PM   #10
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,409

Rep: Reputation: 2208Reputation: 2208Reputation: 2208Reputation: 2208Reputation: 2208Reputation: 2208Reputation: 2208Reputation: 2208Reputation: 2208Reputation: 2208Reputation: 2208
Opps, didn't read the part about messing it up already.
 
Old 03-15-2014, 12:17 AM   #11
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
Originally Posted by jefro View Post
Opps, didn't read the part about messing it up already.
That's what I got from op. They can either use testdisk to recover data or restore to factory & lose data.

Last edited by EDDY1; 03-15-2014 at 12:22 AM.
 
Old 03-15-2014, 02:59 AM   #12
ethanol
LQ Newbie
 
Registered: Jul 2013
Posts: 15

Original Poster
Rep: Reputation: Disabled
Thanks to everyone for contributing. I read all the postings used the information, and now successfully running mint 16 alongside windows. Thanks again
 
Old 03-15-2014, 02:45 PM   #13
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Can you please post the solution &mark thread as solved?
 
Old 03-15-2014, 03:08 PM   #14
ethanol
LQ Newbie
 
Registered: Jul 2013
Posts: 15

Original Poster
Rep: Reputation: Disabled
Problem solved!
I used Windows to partition the hard drive during the fresh installation/ reinstallation by assigning 100 Gigabytes for linux. I thes to Linux. After successfully installing Windows, I did a back up. I then went on to install Mint 16 by only working with the separate 100Gig partition. Created the swap and home, by resizing the same 100gig partion, then installed Mint. it works perfectly. Thanks again.
 
  


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
Installing Linux Mint or Ubuntu Alongside Windows monojeffrey Linux - Desktop 4 08-02-2013 11:20 PM
Installed Linux alongside Windows, created partition but it's not being used LinuxNewbieTYLT Linux - Newbie 9 11-04-2012 05:36 AM
Installing Windows 7 alongside Mint? Or is there another solution to this? CrazyGuy158 Linux - General 2 02-25-2012 06:31 PM
How to run Fedora alongside Microsoft Windows simonozzielinuxuser40m Linux - Software 2 05-14-2011 05:49 AM
[SOLVED] Ubuntu 11.04 installed alongside Windows 7 resized partition now cannot access either Stuck109 Linux - Newbie 22 05-05-2011 01:50 AM


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