Jan Leow's Blog Page

SliTaz Rolling Core GRUB2 menu entry

SliTaz Linux is really small! As a super lightweight Linux distro, the compressed ISO form takes up about 50MB. It was mentioned in the SliTaz website that the decompressed root file system will take up 100MB. A quick check with my install, the storage used up so far was about 60MB.

There are a number of SliTaz ISO image flavours to choose. However for my case, I had success with the rolling core version. I didn’t have much luck with the 5-in-1 core.

Installation is rather easy. Extract and copy the entire ISO content into a folder in your Linux partition. I named my folder as “slitaz”. The partition that I used is shared with the various super lightweight linux distro. So it wise to copy the content into a folder to separate the various distro for multi boot.

The GRUB2 menu entry as follows:

menuentry 'SliTaz Rolling Core'{
    linux (hd0,5)/slitaz/boot/vmlinuz-3.16.55-slitaz rw root=/dev/null gfxpayload=text set kmap=us LANG=en_US.UTF-8 timezone=Etc/GMT+8 autologin rootdelay=10
    initrd (hd0,5)/slitaz/boot/rootfs.gz
} 

Modify where necessary for the entry (hd0,5) which refers to 1st hard disk in partition number 5. So if you copied it to the 2nd hard disk in partition number 3, then change it to (hd1,3).

A few additional commands were added on to the above menuentry so that the boot process would go directly to the desktop without having to select the keyboard layout, language settings and timezone. So change those to suit your preferences.

My settings were:
kmap=us for US keyboard layout
LANG=en_US.UTF-8
timezone=Etc/GMT+8

Additionally, take note the version for vmlinuz matches your downloaded version. In my case it was vmlinuz-3.16.55-slitaz

Key in to the 40_custom file in your main Linux distro, where the file is located in /etc/grub.d/40_custom
Update grub.cfg by typing “update-grub” in the terminal console. Once the update is done, reboot and see if it will boot!

Cheers!

Back to GRUB2 Menu Entry Manually Set Up For Non-Detected Linux and Other OS

No comments: