It’s just yulistic!

Linux

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

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.

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.

Problem I want to access remote machine without typing password. Term. Remote machine: target machine to which I want to access through ssh. Local machine: local machine from which I try to access to the remote machine. Solution In a word, We can do it by using public-private key. Private key should be in local machine and it must not be exposed (keep it secret). Public key will be in remote machine not to prompt password in every ssh access.

Purpose Let’s do ssh login without being prompted to enter the password. From client, generate key with the following command. $ ssh-keygen Type enter, without setting a passphrase. From client, copy the generated key to the server. $ ssh-copy-id yulistic@123.456.789.123 Login to the server without entering your password. Tip. You can copy public key to remote server manually. In the local machine, by appending the key of local machine (content of file: _~/.