These are Rough Notes for how I install Linux Mint 17 Xfce on a multi-drive Desktop/Tower system using 2 drives. (Using 3 or more drives is very straight forward, once the below is understood.) As I continue to Install Mint 17 using LVM, the information in these notes will continue to expanded and evolve.
$ sudo vgchange -a y $ sudo umount /dev/mapper/lts14-root $ sudo umount /dev/mapper/lts14-home
… then skip down to Run the Linux Mint 17 Installer
$ sudo fdisk -l # ensure the 2 drives to use are sda, sdb
GParted → to create the /boot & Physical LVM partitions
ext2
Primary Partition (to be used by /boot … “bootlvm” is the suggested Label)lvm2 pv
partition using the remainder of the drive space. (pv01
is a suggested Label for this.)unformatted
Primary Partition (empty space, so all lvm pv are the same)lvm2 pv
partition using the remainder of the drive space. (pv02
is a suggested Label for this.)Terminal Commands → to create the LVM volumes
The below is assuming that at least two 160GB hard drives are used for this. Also, with how LVM works, leaving any remaining space unused – to permit resizing (enlarging) LVM Volumes as needed, creating other “purpose specific” Logical Volumes, etc.– is very desirable.
$ sudo -i # fdisk -l # confirm to use /dev/sda2 /dev/sdb2 # vgcreate lts14 /dev/sda2 /dev/sdb2 # lvcreate -i2 -I4 -L32G -n root lts14 # 2 drive, 4k stipe, 32GB # lvcreate -i2 -I4 -L8G -n swap lts14 # 2 drive, 4k stipe, 8GB # lvcreate -i2 -I4 -L250G -n home lts14 # 2 drive, 4k stipe, 250GB # ls /dev/mapper # should output the below
control lts14-home lts14-root lts14-swap
# mkfs -t ext4 /dev/mapper/lts14-root # mkfs -t ext4 /dev/mapper/lts14-home # mkswap /dev/mapper/lts14-swap # exit $ exit
sudo apt-get install squid-deb-proxy-client
… Make certain “-client” is at the end of the above command! (Don't install a 2nd .deb proxy server!)
/dev/sda1
→ Change… → Use as: Ext2
w/ Mount Point: /boot
/dev/mapper/lts14-root
→ Change… → Use as: Ext4
w/ Mount Point: /
/dev/mapper/lts14-swap
→ Change… → Use as: swap area/dev/mapper/lts14-home
→ Change… → Use as: Ext4
w/ Mount Point: /home
/dev/sda
lts14-home
is UNCHECKED to preserve the user files– including any per-user system/program configuration files– during the reinstall.
Now continue with the After 1st Boot Configuration of Mint 17 Xfce from the Mint 17 Xfce: Production Workstation Install notes.