Difference between revisions of "Dual Boot Linux and Linux"

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search
m
m
Line 8: Line 8:
 
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]].
 
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.
+
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.
  sudo dd if=./linuxmint-19.2-cinnamon-64bit.iso of=/dev/sdc bs=4M status=progress conv=fdatasync
+
fdisk -l
''Be advised, using dd is very slow and status=progress doesn't seem show anything.''
+
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.
 
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.

Revision as of 22:24, 27 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.

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 256MB, then create four logical partitions.

  1. Create a swap partition equal to your RAM size but no less than 4GB
  2. Create ext4 root / for the first distribution
  3. Create ext4 root / for the second distribution
  4. 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 256MB, 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.

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