Dual Boot installation advice

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
gleneagles
Level 1
Level 1
Posts: 10
Joined: Tue Feb 27, 2018 10:27 am

Dual Boot installation advice

Post by gleneagles »

I previously installed a dual boot system, windows 7 & Linux mint on to a new SSD without any problems however I soon ran out of space on Linux despite deleting programs and messing about with Gparted so 2 questions as I am starting from scratch with a new install on to a new ovo 860 250 Gb.
A HDD will be used to store most programs & files.

1. When installing windows from a windows 7 disk how can I ensure that windows does not take up all the space, so I could reserve say 30 Gb for linux mint.
2. Using a mint iso what option should I select when it asks install mint but keep windows or do something else.

If I go into disk management in windows it will give me a option of creating a new partition would Linux use this new partition or create another one as that is the last thing I want to do.

I Have searched through numerous windows sites but can find no answer to how to create saved space during a windows install.
My aim is to avoid running out of space for Linux.
User avatar
AndyMH
Level 13
Level 13
Posts: 4749
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Dual Boot installation advice

Post by AndyMH »

From memory win7 will take up all the disk space when you install. So, after installing win open up control panel

control panel > admin tools > computer management > storage > disk management

right click on C: and shrink volume.

you will want about 30GB for mint (others may give you a better answer here). If win complains that you can't shrink as much as you want then back to control panel...

system > click on the change settings icon (middle right) > then select the advanced tab > click on settings > gives you a window labelled performance options > select the advanced tab > virtual memory > change - uncheck the 'automatically manage ...' if set and make the paging file size = 0. Again from memory win creates its page file at the end or close to the end of the partition and thus limits the amount you can shrink the partition.

Then go back to disk management and have another go at reducing the size of drive C:

A new NTFS partition from windows is no good for linux, it wants free space on the drive to install into (and create a partition formatted with ext4).

When you install mint select 'something else' so you can tell it to use the free space and not overwrite win.

Once you are up and running with mint, install gparted and mess around with partitions with that rather than using win - a lot easier.

Back in my windows days, I always partitioned my HDD, C: and D:, C: was programs, D: was data. First started with mint as dual boot and mounted D: as home/andy/data so I had access to my data from either win or mint. I've now dumped dual boot and run win7 (need excel for work) in virtualbox. Your next step??
Homebrew i5-8400+GTX1080 Cinnamon 19.0, 3 x Thinkpad T430 Cinnamon 19.0, i7-3632 , i5-3320, i5-3210, Thinkpad T60 19.0 Mate
deepakdeshp
Level 18
Level 18
Posts: 8354
Joined: Sun Aug 09, 2015 10:00 am

Re: Dual Boot installation advice

Post by deepakdeshp »

I've now dumped dual boot and run win7 (need excel for work) in virtualbox. Your next step??
Doesn't Libre office work for you? Why MS office only?
Please discuss.
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help, and keeps the forum clean.
Regards,
Deepak

I am using Mint 20 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB
Mattyboy
Level 6
Level 6
Posts: 1193
Joined: Thu Mar 26, 2015 2:17 pm

Re: Dual Boot installation advice

Post by Mattyboy »

Good advise above.

My own personal opinion is to set up a partition table before installing anything. The reasons behind this is because, in Windows, shrinking the drive 'after the fact' has limitations due to Windows throwing files all over the place. It can limit the shrink size available. Very irritating when dealing with limited space to begin with.

In addition to above I would recommend that after booting the Windows install media you run the DISKPART and CLEAN command from command prompt before even starting the install ( do an online search for instructions ). This will refresh the drive back to 'factory' ( please note if using an SSD DO NOT run the CLEAN ALL command, this is different to CLEAN ).

Once you have a a clean drive continue with the installation selecting the 'advanced option'. Here you can create a new partition for Windows. Do so and then point the installer to that partition and proceed.

Now that Windows is installed proceed to install Linux on the remaining partition. The installer will format that partition. Let it do a 'vanilla' install. Don't do separate boot, root and home unless you want to start dealing with logical partition tables. Keep it simple.

After Linux has installed you won't be able to see the boot option for Windows in Grub until after you have run

Code: Select all

sudo update-grub
from the terminal and re-booted.

Before even starting check the machines bio's/UEFI and look for the option ( if it has it ) 'Legacy boot' and turn it on.
User avatar
michael louwe
Level 10
Level 10
Posts: 3295
Joined: Sun Sep 11, 2016 11:18 pm

Re: Dual Boot installation advice

Post by michael louwe »

@ gleneagles, .......
gleneagles wrote:...
.
Bear in mind that Legacy BIOS mode should use MBR or ms-dos disks, ie not GPT disks = check the new Samsung Evo 860 250GB SSD's disk mode, eg boot the Live LM 18.x USB/DVD and go to Accessories, >Disk >SSD. To convert GPT to ms-dos disk mode, use the built-in GParted program, ie >Create New Partition Table >ms-dos >Apply.
....... ms-dos/MBR disks are limited to 4 Primary partitions = the Swap and Home partitions should be Logical or Extended partitions(= Root is Primary partition).

If using the automatic "Install LM alongside Windows" method, you do not need to shrink the Win 7 system partition or set aside a free partition for the install of LM 18.x. You only need to do so if you use the manual "Something else" install method.
....... By default, the former automatic method will auto-create an LM 18.x system of about 20GB, ie the / or Root and Swap partitions(= no Home partition). But during the install, you will be given the option to increase the default 20GB size by moving the slider on the colorful Partition table, subject to the maximum available free space on the Win 7 system partition. The Grub boot loader will also be auto-installed on the internal hard-drive or /sda.

viewtopic.php?f=42&t=122276 ("Something else" install - manual partitioning Tutorial for Legacy BIOS mode and MBR/ms-dos disks)
User avatar
AndyMH
Level 13
Level 13
Posts: 4749
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Dual Boot installation advice

Post by AndyMH »

Why excel?
  • 1. I have no choice, it's what the customer uses. I also use some add-ons such as @Risk which only work with Excel. In the same way, I'm stuck with IE for some things because my employer's payroll and MIS will only work with IE. Hence I run win7 in a VM.

    2. I've been using Excel for 30 years, virtually since it came out and put things like SuperCalc and Lotus123 in the shade. Not of a mind to learn something new.

    3. It's rather good.
Homebrew i5-8400+GTX1080 Cinnamon 19.0, 3 x Thinkpad T430 Cinnamon 19.0, i7-3632 , i5-3320, i5-3210, Thinkpad T60 19.0 Mate
gleneagles
Level 1
Level 1
Posts: 10
Joined: Tue Feb 27, 2018 10:27 am

Re: Dual Boot installation advice

Post by gleneagles »

Many thanks for the helpful responses, followed the advice given and everything went ok.
Post Reply

Return to “Newbie Questions”