[SOLVED] How to Partition Win 7 HDD for Linux Mint 17 install
Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Shrink the partition using windows but leave it as free space. linux uses its own filesystems and you will create them when installing mint.
When you install mint you need to select something else when you get to the installation type step. To make things simple I suggest creating two partitions, / and swap. Make swap at least the same size as your memory size.
Shrink the partition using windows but leave it as free space. linux uses its own filesystems and you will create them when installing mint.
When you install mint you need to select something else when you get to the installation type step. To make things simple I suggest creating two partitions, / and swap. Make swap at least the same size as your memory size.
The posted link was to show how to create partitions in the installer for dual booting which I assumed is what you wanted. Selecting use the entire disk will completely reformat the disk and erase windows and no need to shrink windows.
Whichever option you choose, back up any crucial files on that Windows box to external media.
Using the entire disk will blow away your Windows files completely; if you choose to shrink a partition for dual-booting, you still should make back-ups, because, whenever you resize partitions, there's a chance something will go wrong. If usually doesn't, but careful beats careless every time.
My very-frank (but also very-strong) advice to you is: "buy an external hard-disk drive ... USB or Firewire connected ... and use that, instead." Surely, your computer will be recent-enough to be able to boot the system from an external device.
External drives, on recent-vintage hardware (especially when using Firewire), are able to support an operating system easily. And now, every OS has just what it likes to see: "a device unto itself."
Of course, if you like, you can also use a virtual-machine monitor: VMWare (commercial, which I use because I'm a lazy b*stard), or VirtualBox. Once again, point the virtual machine to the external device.
All of the PITA's (Pain In The Ass!) associated with partitioning ... (which is "so-o-o 20th Century," anyway) ... disappear in a very-merciful puff of smoke.
The posted link was to show how to create partitions in the installer for dual booting which I assumed is what you wanted. Selecting use the entire disk will completely reformat the disk and erase windows and no need to shrink windows.
Thanks for this info.
the instructions I have from technet say right click the single volume I have in Win 7 then choose "shrink volume". I assume this is what I should do. I am not prepared to erase Win at this time.
My very-frank (but also very-strong) advice to you is: "buy an external hard-disk drive ... USB or Firewire connected ... and use that, instead." Surely, your computer will be recent-enough to be able to boot the system from an external device.
External drives, on recent-vintage hardware (especially when using Firewire), are able to support an operating system easily. And now, every OS has just what it likes to see: "a device unto itself."
....
My goal is to only work with LM. I hesitate because I save alot of files and I wonder where they would go if operating LM from an external disk. Would they be saved to the internal HDD of my laptop or to the external HDD? Then if we are just using an external HDD, does all the space on the internal just sit there empty?
Shrinking the volume looks pretty simple. Then if LM partitions the volume etc for you, that does not look like a problem.
I installed Mint 17.1 a few months ago and like it. (YMMV)
Recommendation: Backup your data files before doing anything else. At least some are irreplaceable, like baby pictures.
How many partitions do you have on your hard disk under windows? If the win OS and all your data files are in one partition that fills all the whole disk except for a windows recovery partition, then the Mint installation program on your live DVD will do all the partitioning and formatting for you. Just choose the install Linux beside windows option instead of the use whole disk or use custom options. If you have a partition for windows and another partition for your data, then you have to do your own partitioning. If this is your first Linux installation, then it makes a lot of sense to use an external disk for practice, even if you wind up doing a dual boot on your internal HDD.
Quote:
Then if we are just using an external HDD, does all the space on the internal just sit there empty?
Files are saved where you want to put them. Space on the internal drive either sits empty or you make a new partition with a linux file system. Ext 4 seems to be the file system of choice, now.
Windows automatically mounts partitions with FAT xx and NTFS file systems. Linux requires manual mounting -- just right click on a partition in the file manager and select "mount". I have had some problems saving a linux file to an NTFS partition and then trying to open it with Windows 7, though there was no problem under windows XP. Best to save a linux file to a partition with a linux file system or a flash drive with a FAT xx file system.
By the way, if you haven't done so already, you ought to boot the Mint DVD and play around with the operating system before actually installing it. Files you generate can be saved to a flash drive.
Okay, so this will be a pretty standard dual boot system on a single hard drive.
Linux Mint 17.1 install does not know what to do with unallocated disk space. You have to tell it what to do manually. I assume that Mint 17.2 is no better.
You must burn the iso file to a DVD (done already) before installing Mint to your hard disk. Standard operating procedure is to boot from the DVD and run the installation program that is on the DVD. After that, the DVD is stored away. If all goes well, it will never be used again.
You have already resized the Windows NTFS partition. From here, you have two choices. The first is to use a partition editor to resize the windows partition to take up the full drive. Then run the Mint install program on the DVD. This is the faster and simpler method. The second is to use a partition editor to manually put a swap partition and a linux root (/) partition in the presently unallocated disk space. Then run the Mint install program. This gives you the most control over partition size and placement.
I recommend resizing the Windows partition to fill the drive. But both ways work.
I am not familiar with partition editors that run under Windows. I usually use gparted. It is a partition editor that runs under Linux. I would be quite surprised if it is not on the Mint DVD. Boot the DVD and hunt around for it in the menu if you decide to use it.
I read the itsfoss.com link from an earlier post in this thread. It is excellent. However, if you resized the Windows partition back to the full drive, you would choose the "install Linux Mint beside them" option in step 4. In the next screen, you use a slider to select the desired sizes of the Windows partition and the Linux allocation. Then the install program automatically resizes the Windows partition and divides the Linux allocation into a swap and a root (/) partition. If you manually installed the swap and / partitions, you would choose the "something else" option in step 4.
As I recall, installing Mint 17.1 on my laptop took around 30-40 minutes. YMMV.
Okay, so this will be a pretty standard dual boot system on a single hard drive.
Linux Mint 17.1 install does not know what to do with unallocated disk space. You have to tell it what to do manually. I assume that Mint 17.2 is no better.
You must burn the iso file to a DVD (done already) before installing Mint to your hard disk. Standard operating procedure is to boot from the DVD and run the installation program that is on the DVD. After that, the DVD is stored away. If all goes well, it will never be used again.
You have already resized the Windows NTFS partition. From here, you have two choices. The first is to use a partition editor to resize the windows partition to take up the full drive. Then run the Mint install program on the DVD. This is the faster and simpler method. The second is to use a partition editor to manually put a swap partition and a linux root (/) partition in the presently unallocated disk space. Then run the Mint install program. This gives you the most control over partition size and placement.
I recommend resizing the Windows partition to fill the drive. But both ways work.
I am not familiar with partition editors that run under Windows. I usually use gparted. It is a partition editor that runs under Linux. I would be quite surprised if it is not on the Mint DVD. Boot the DVD and hunt around for it in the menu if you decide to use it.
I read the itsfoss.com link from an earlier post in this thread. It is excellent. However, if you resized the Windows partition back to the full drive, you would choose the "install Linux Mint beside them" option in step 4. In the next screen, you use a slider to select the desired sizes of the Windows partition and the Linux allocation. Then the install program automatically resizes the Windows partition and divides the Linux allocation into a swap and a root (/) partition. If you manually installed the swap and / partitions, you would choose the "something else" option in step 4.
I am being advised not to do the manual install, but the install alongside option.
It looks like I wasted my time shrinking the windows partition. This is what being too hasty results in. In order to install alongside and I have go back in and expand the partition back to the whole drive?
I will read through the linked articles and wait for any more responses then do that.
No you did not waste your time shrinking the Windows partition. That is what you wanted to do. Unfortunately I have no Windows partition to play with and walk you through it, but I can give you a rough guide.
Click "Something else" Make note of your Windows partition ID(s) (/dev/sdaX, probably /dev/sda1 for starers), It's the NTFS partition. Note as well as any EFI partitions. Go back to where it asked you what you wanted to do.
Click Install alongside Windows.
Before committing anything, the Mint installer will tell you what it's doing, as far as creating new partitions and formatting and such. Make sure that the Windows and EFI partitions are not listed anywhere, and confirm.
You're ready to install, now go do it!
Quote:
Originally Posted by green ice
My goal is to only work with LM. I hesitate because I save alot of files and I wonder where they would go if operating LM from an external disk. Would they be saved to the internal HDD of my laptop or to the external HDD? Then if we are just using an external HDD, does all the space on the internal just sit there empty?
The files you save under Mint will be by default saved to your home partition, wherever you should decide to place that - either on the internal or external. Most applications have options for default paths, so you can always change that as well - run Linux from an external drive, yet save to the internal drive.
Last edited by goumba; 08-15-2015 at 03:47 PM.
Reason: Addressed another post.
No you did not waste your time shrinking the Windows partition. That is what you wanted to do. Unfortunately I have no Windows partition to play with and walk you through it, but I can give you a rough guide.
Click "Something else" Make note of your Windows partition ID(s) (/dev/sdaX, probably /dev/sda1 for starers), It's the NTFS partition. Note as well as any EFI partitions. Go back to where it asked you what you wanted to do.
Click Install alongside Windows.
Before committing anything, the Mint installer will tell you what it's doing, as far as creating new partitions and formatting and such. Make sure that the Windows and EFI partitions are not listed anywhere, and confirm.
....
You are advising I use both methods?
Reading at least 2 different install guides I have this game plan so far:
1. run gparted from the liveDVD
2. give about 112 GB to LM,
using 3 additional logical drives (still don't know what logical means outside of a philosophical context).
20 gb for /
80 gb for /home
12 gb for swap (This is because the "itsfoss" article said give swap 2x RAM. my ram is 6 gb).
/ will be id'd by the installer as sda2 after reboot
/home will be id'd by the installer as sda3 after reboot
swap will be id'd by the installer as sda4 after reboot
then he says use "something else" during the install phase. When it prompts, select
sda2 as /
sda3 as /home
sda4 as swap
The writer who lays out this method uses "something else" completely. I think you are using "something else" only to identify the partitions. Then we back out of something else and use install alongside.
Using the "Something Else" option will give you more control and you will have more input for the installation. I'm not sure you can use both Something Else and Install Alongside, never tried it although I suppose you could go back after you start Something Else. Can't think of any good reason to do that as you can get drive/partition information with GParted which is on the Mint install DVD. Just type gparted in a terminal and it will open.
You indicate you have windows 7 and want to keep it. If that is the case, I would expect the windows partitions to be at least sda1 and sda2. You can find which partitions are windows with GParted.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.