<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>LMDE on Wimpy's World</title><link>https://blog.wimpys.world/tags/lmde/</link><description>Recent content in LMDE on Wimpy's World</description><generator>Hugo -- gohugo.io</generator><language>en-gb</language><managingEditor>martin@wimpress.com (Martin Wimpress)</managingEditor><webMaster>martin@wimpress.com (Martin Wimpress)</webMaster><lastBuildDate>Wed, 28 Aug 2013 20:10:09 +0000</lastBuildDate><atom:link href="https://blog.wimpys.world/tags/lmde/rss.xml" rel="self" type="application/rss+xml"/><item><title>Linux Mint LMDE on Hybrid Disk Laptop</title><link>https://blog.wimpys.world/posts/linux-mint-lmde-on-hybrid-disk-laptop/</link><pubDate>Wed, 28 Aug 2013 20:10:09 +0000</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/linux-mint-lmde-on-hybrid-disk-laptop/</guid><description>&lt;p&gt;I have an old Thinkpad T43p that I am trying to extend the life of. So I recently
fitted a cheap 60GB IDE Solid State Drive (SSD) and put a 320GB SATA Hard Disk
Drive (HDD) in the Ultrabay. This is not a true hybrid disk, but the principles
are similar. The root partition will go on the SDD (for performance) and the
home partition will be located on the HDD (for capacity).&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ve been running &lt;a href="http://www.archlinux.org"&gt;Arch Linux&lt;/a&gt; on the T43p and the SDD
improves system responsiveness and boot time considerably, especially when using
&lt;a href="http://en.wikipedia.org/wiki/F2FS"&gt;F2FS&lt;/a&gt; or
&lt;a href="https://btrfs.wiki.kernel.org/index.php/Main_Page"&gt;btrfs&lt;/a&gt; (with LZO
compression and SSD mount options) on the root filesystem.&lt;/p&gt;
&lt;p&gt;I am also testing &lt;a href="http://www.linuxmint.com/download_lmde.php"&gt;Linux Mint Debian Edition&lt;/a&gt; (LMDE)
with the &lt;a href="http://mate-desktop.org/"&gt;MATE Desktop&lt;/a&gt; desktop to determine if this
is a suitable operating system for my family to use. It appears they find
&lt;a href="http://www.gnome.org/gnome-3/"&gt;GNOME 3&lt;/a&gt; confusing and would prefer a familiar
desktop experience.&lt;/p&gt;
&lt;p&gt;While testing LMDE 201203 I ran into a few issues, so I&amp;rsquo;ve decided to capture
my notes here for future reference.&lt;/p&gt;
&lt;h1 id="fix-the-installer"&gt;Fix the installer&lt;/h1&gt;
&lt;p&gt;In order to install LMDE using partitions on multiple drives you must
use the ADVANCED USER install mode. However, the ADVANCED USER install mode
has a bug that prevents the installer from completing, so that needs to be
fixed first.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo nano /usr/lib/live-installer/frontend/gtk_interface.py
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Find the following on line 1765.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-python" data-lang="python"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="bp"&gt;self&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;wTree&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;get_widget&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;button_next&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;show&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;After it add the following line, making sure the indentation is correct.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-python" data-lang="python"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="bp"&gt;self&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;wTree&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;get_widget&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;button_next&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;set_sensitive&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h1 id="installing-lmde"&gt;Installing LMDE&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;Double click the &lt;code&gt;Install Linux Mint&lt;/code&gt; icon on the desktop.&lt;/li&gt;
&lt;li&gt;Select your &lt;em&gt;Language&lt;/em&gt; and click &lt;code&gt;Forward&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Select your &lt;em&gt;Timezone&lt;/em&gt; and click &lt;code&gt;Forward&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Select your &lt;em&gt;Keyboard layout&lt;/em&gt; and click &lt;code&gt;Forward&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Enter your &lt;em&gt;User info&lt;/em&gt; and click &lt;code&gt;Forward&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;From the &lt;em&gt;Hard drive&lt;/em&gt; window Select &lt;code&gt;Manually mount partitions (ADVANCED USERS ONLY)&lt;/code&gt; and click &lt;code&gt;Forward&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The &lt;em&gt;Please make sure you wish to manually manage partitions&lt;/em&gt; window will
appear. On my system the SSD is detected on &lt;code&gt;/dev/sda&lt;/code&gt; and the HDD is detected
on &lt;code&gt;/dev/sdb&lt;/code&gt;. Start &lt;code&gt;GParted&lt;/code&gt; and partition and format the drives as follows.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; /dev/sda1
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; Size: 256MiB
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; Create as: Primary Partition
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; File system: ext4
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; Label: boot
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; /dev/sda2
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; Size: 2048MiB (or the size you prefer)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; Create as: Primary Partition
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; File system: linux-swap
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; Label: swap
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; /dev/sda3
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; Size: Remainder
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; Create as: Primary Partition
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; File system: btrfs
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; Label: root
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; /dev/sdb1
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; Size: All
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; Create as: Primary Partition
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; File system: ext4
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; Label: home
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Apply the changes and close GParted.&lt;/p&gt;
&lt;p&gt;I use ext4 for the &lt;code&gt;/boot&lt;/code&gt; partition because GRUB can&amp;rsquo;t currently boot from btrfs
in LMDE. I use ext4 for &lt;code&gt;/home&lt;/code&gt; because it offers the best performance on rotational
drives on my Thinkpad T43p. I use btrfs on the &lt;code&gt;/root&lt;/code&gt; partition because performs
best (by some margin) on solid state drives in my Thinkpad T43p.&lt;/p&gt;
&lt;p&gt;The filesystems need mounting under &lt;code&gt;/target&lt;/code&gt; so the installer can install the
OS. Open a Terminal and do the following.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo mkdir /target
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo mount -t btrfs -o &lt;span class="nv"&gt;compress&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;lzo,ssd /dev/disk/by-label/root /target
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo mkdir /target/&lt;span class="o"&gt;{&lt;/span&gt;boot,home&lt;span class="o"&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo mount -t ext4 /dev/disk/by-label/boot /target/boot
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo mount -t ext4 /dev/disk/by-label/home /target/home
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Return to the Linux Mint Debian Installer.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Click &lt;code&gt;Forward&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;From the &lt;em&gt;Advanced options&lt;/em&gt; check &lt;code&gt;Install GRUB&lt;/code&gt; and select &lt;code&gt;/dev/sda&lt;/code&gt;. Click &lt;code&gt;Forward&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Confirm the &lt;em&gt;Summary&lt;/em&gt; is correct and click &lt;code&gt;Install&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Time for a cup of tea while the install runs. A pop-up, titled &lt;em&gt;Installation
Paused&lt;/em&gt;, will appear. Click &lt;code&gt;OK&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id="create-targetetcfstab"&gt;Create &lt;code&gt;/target/etc/fstab&lt;/code&gt;&lt;/h2&gt;
&lt;p&gt;Do as the installer says and create &lt;code&gt;/target/etc/fstab&lt;/code&gt;. Open a Terminal.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo nano /target/etc/fstab
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The following &lt;code&gt;fstab&lt;/code&gt; works for my T43p.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;# /etc/fstab: static file system information.
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;#
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;# &amp;lt;file system&amp;gt; &amp;lt;mount point&amp;gt; &amp;lt;type&amp;gt; &amp;lt;options&amp;gt; &amp;lt;dump&amp;gt; &amp;lt;pass&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;proc /proc proc defaults 0 0
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;LABEL=root / btrfs defaults,noatime,compress=lzo,ssd 0 1
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;LABEL=boot /boot ext4 defaults,noatime 0 2
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;LABEL=home /home ext4 defaults,relatime 0 2
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;LABEL=swap none swap sw 0 0
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="upgrade-mate-16-and-remove-legacy-mate-14-packages"&gt;Upgrade MATE 1.6 and remove legacy MATE 1.4 packages&lt;/h2&gt;
&lt;p&gt;MATE 1.6 has been released for LMDE 201203 so it is a good idea to upgrade
and remove legacy packages before the first boot to ensure a clean
configuration. Open a Terminal.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo chroot /target
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;apt-get update
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;apt-get install apt-show-versions
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;apt-get dist-upgrade
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Some MATE 1.4 packages will be left behind that are no longer required. The
following can help identify them.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;apt-show-versions &lt;span class="p"&gt;|&lt;/span&gt; grep 1&lt;span class="se"&gt;\.&lt;/span&gt;4&lt;span class="se"&gt;\.&lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;0-9&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="se"&gt;\-&lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;0-9&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="se"&gt;\+&lt;/span&gt;wheezy &lt;span class="p"&gt;|&lt;/span&gt; cut -f1 -d&lt;span class="s1"&gt;&amp;#39; &amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Purge the old MATE 1.4 packages.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nv"&gt;PKGS&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sb"&gt;`&lt;/span&gt;apt-show-versions &lt;span class="p"&gt;|&lt;/span&gt; grep 1&lt;span class="se"&gt;\.&lt;/span&gt;4&lt;span class="se"&gt;\.&lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;0-9&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="se"&gt;\-&lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;0-9&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="se"&gt;\+&lt;/span&gt;wheezy &lt;span class="p"&gt;|&lt;/span&gt; cut -f1 -d&lt;span class="s1"&gt;&amp;#39; &amp;#39;&lt;/span&gt;&lt;span class="sb"&gt;`&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;apt-get purge &lt;span class="si"&gt;${&lt;/span&gt;&lt;span class="nv"&gt;PKGS&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Exit the &lt;code&gt;chroot&lt;/code&gt;.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;exit&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="finish-the-install"&gt;Finish the install&lt;/h2&gt;
&lt;p&gt;Return to the Linux Mint Debian Installer.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Click &lt;code&gt;Forward&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Some final installation steps will now complete.&lt;/li&gt;
&lt;li&gt;A pop-up, titled &lt;em&gt;Installation finished&lt;/em&gt;, will appear. Click &lt;code&gt;Yes&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Your computer will reboot and start LMDE.&lt;/p&gt;
&lt;h4 id="references"&gt;References&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://forums.linuxmint.com/viewtopic.php?f=189&amp;amp;t=129381"&gt;http://forums.linuxmint.com/viewtopic.php?f=189&amp;amp;t=129381&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://forums.linuxmint.com/viewtopic.php?f=185&amp;amp;t=143547"&gt;http://forums.linuxmint.com/viewtopic.php?f=185&amp;amp;t=143547&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><summary>Installing Linux Mint Debian Edition (LMDE) on a Laptop with Hybrid Disk</summary></item></channel></rss>