Difference between revisions of "Dual Boot Linux and Linux"
m |
m |
||
Line 27: | Line 27: | ||
Here is the schema I used for a machine with a 500GB drive that will be LAN connected to a network with a NAS device: | Here is the schema I used for a machine with a 500GB drive that will be LAN connected to a network with a NAS device: | ||
− | Install Grub2 on the MBR. | + | <s>Install Grub2 on the MBR.</s> ''We are going to use GPT (GUID Partition Table) so there's no Master Boot Record.'' |
After the installation is completed then reboot and check to make sure it is well. | After the installation is completed then reboot and check to make sure it is well. |
Revision as of 14:48, 28 August 2019
This is a demonstration of establishing a desktop system running two or more linux installations. For the example we shall install two installations of Linux Mint of different versions.
- Version 19.2 will be installed because user wishes to have the latest softwares and gaming
- Version 18.3 will be installed for compatibility with productivity software user requires for work
The primary installation will be the 19.2.
A note on downloading: In the past I obtain the ISO from bittorrent using the torrent link provided by linuxmint.com, however, the 19.2 ISO from torrent would not pass verification integrity check. Downloading from one of the university links provided a quality ISO. Oddly, even though the hash checksum key matched, the ISO from torrent would not pass the integrity check, failing with 1 corrupt file. DO NOT DOWNLOAD ISO FROM TORRENT.
Create the bootable media: The easiest way to install Linux Mint is with a USB flash drive. Linux mint includes software called "USB Image Writer" that you can use to write the ISO to the flash media. You can use a program called Etcher on Windows, or refer to our guide Bootable USB flash drive utilities.
Tip: Create a bootable USB drive from the command prompt with dd. (some examples below). Find out the name of the flash drive using the 'lsblk' command. Make sure the USB flash drive is recognized by fdisk as a block device and be sure to manually umount it if it automatically mounted when inserted.
fdisk -l umount /dev/sdc sudo dd if=./linuxmint-19.2-cinnamon-64bit.iso of=/dev/sdc bs=4M status=progress oflag=sync
Boot from the Linux Mint 19.2 installation flash drive and integrity check the installation media via the boot menu. If there are any errors then do not proceed to install. Wipe the flash media and attempt to copy the iso over again.
Do not allow the installer to automatically configure the drive partitioning. Manually create an extended partition using nearly the entire disk less 512MB, then create four logical partitions. You can use fdisk or Create your Dual Boot Linux Mint Partition With GParted.
- Create a swap partition equal to your RAM size but no less than 4GB (I made it 16GB)
- Create ext4 root / for the first distribution
- Create ext4 root / for the second distribution
- Create ext4 /share which will be a common place both distributions can see. Maybe you won't need this to be very big, depending on whether or not your machine is LAN connected. I will be LAN connected so my share partition does not need to be very big.
Consider the remaining space (RS) after subtracting the space you reserved for swap, /share and the 512MB, divide that by two, ( Distro = RS/2 ) to determine how much space for each of the two distributions.
Here is the schema I used for a machine with a 500GB drive that will be LAN connected to a network with a NAS device:
Install Grub2 on the MBR. We are going to use GPT (GUID Partition Table) so there's no Master Boot Record.
After the installation is completed then reboot and check to make sure it is well.
Insert the USB drive for the second installation and reboot.
Installation of the second linux again do not let it auto partition the disk. Do not install Grub2. Mount / (root), swap and /share.
- Both installations will use the same swap partition and will both share the /share partition
Related
- Kubuntu and Ubuntu Linux Distribution Reference
- Dual Boot Linux and Linux
- Bootable USB flash drive utilities