Purpose Let’s make a root(/) partition except /boot directory be btrfs. btrfs supports a copy-on-write functionality. For the reason of excepting /boot partition, the Ubuntu document warns against including Grub into btrfs partition. … As of 11.04, it is possible to use only btrfs file systems with the caveat that grub ‘MUST NOT’ be installed to the boot sector of the btrfs volume containing /boot. (link) As a result, I decided to make the /boot partition be separated from the root(/) partition.
Problem Make a boot partition be separated from the root partition without re-installation. Environment Ubuntu 10.04.04 Live USB (Burned with UNetbootin) Grub legacy Solution Basically refer to link. The site mentions two methods: Easy way and Manual way. Firstly, I tried _Easy way_ but failed because of some problems in a tool, boot-repair. I recommend to follow Manual way and the following explanations are also related to that way.
1. Backup for Grub2 settings $ sudo cp /etc/default/grub /etc/default/grub.old $ sudo cp -R /etc/grub.d /etc/grub.d.old $ sudo cp -R /boot/grub /boot/grub.old 2. Remove Grub2 $ sudo apt-get purge grub2 grub-pc 3. Install Grub Legacy $ sudo apt-get install grub 4. Update Grub settings $ sudo update-grub $ sudo grub-install /dev/sdX *sdX should be matched your machine state. Usually, it is /dev/sda. 5. Block the update of Grub Legacy $ echo “grub hold” | sudo dpkg --set-selections
To get the source code of current Linux kernel, $ sudo apt-get source linux-image-$(uname -r) Reference: Ubuntu wiki: BuildYourOwnKernel
Intro. I decided to use gollum wiki, because of following reasons. Bitbucket wiki supports poor searching functionality. Gollum gives us a nice view and a convenient navigating functionality. Gollum is easy to install, and light-weight. Gollum supports pure markdown language. I tried to install gollum in two different system: Ubuntu 14.04 and CentOS 6.5. There was no special problem when installing in Ubuntu, but there were in CentOS.
1. Purpose To install btrfs-prog on Ubuntu 10.04 from the source. 2. Reference btrfs wiki page: wiki 3. Problems 3.1. Install autogen for ./autogen.sh sudo apt-get install autoconf _3.2. E_rrors during ./configure Error message of «No package found» errors are like below. ... checking for mv... /bin/mv checking for a sed that does not truncate output... /bin/sed checking for EXT2FS... configure: error: Package requirements (ext2fs) were not met: No package 'ext2fs' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.
Prerequisite Install fish shell (site and git) Method 1 Install oh-my-shell (git). Change theme. Agnoster and Bobthefish themes are quite useful. Method 2 Install Powerline (git). It requires fish shell version over 2.1.
Problem I made a Live bootable USB of Ubuntu 10.04.04 with Startup Disk Creator which was basically installed on my Mint 17 (distro. based on Ubuntu 14.04) machine. But, booting was failed. It was waiting permanently on startup screen. [caption id=«» align=«aligncenter» width=«1024»]Waiting permanently on startup screen[/caption] Solution I used another program _UNetbootin_ which successfully booted Ubuntu 10.04.04. You can find the tool here. Tip To make a live USB that can maintain some changes, set «Space used to preserve files across reboots (Ubuntu only)» as a positive value.
Problem With Numix theme, desktop icon font color is dark. It is hard to read icon label when I changed my desktop background (wallpaper) to a dark one. Solution Refer to the link. Briefly speaking, change the file, «/usr/share/themes/Numix/gtk-3.0/apps/gnome-applications.css», as below. Replace «nautilus» with «nemo».
Problem Overlayroot is not working with my custom kernel. You can figure out the error message from /dev/.initramfs/overlayroot.log $ cat /dev/.initramfs/overlayroot.log builtin set cfgdisk='disabled' swap=0 recurse=0 debug=0 dir=/overlay device= mode=tmpfs [warning]: configuring overlayroot with mode=tmpfs opts='recurse=0' per /dev/disk/by-uuid/54bccbc9-642f-432a-ac58-e131b14babb9/etc/overlayroot.conf [failure]: missing kernel module overlayfs Solution Replace the name of kernel module: «overlayfs» to «overlay». You need to modify two script files: /usr/share/initramfs-tools/hooks/overlayroot and /usr/share/initramfs-tools/scripts/init-bottom/overlayroot. Refer to the following two scripts.