Tiny Core Linux

Tiny Core Base => TCB Tips & Tricks => Topic started by: zmaster on February 09, 2017, 03:22:42 AM

Title: tiny core grub2 install
Post by: zmaster on February 09, 2017, 03:22:42 AM
1. Start App Browser
2. Select grub2 and install it "on boot"
3. Select leafpad and install it "on demand"
4. Open terminal and exec:
Code: [Select]
sudo grub-install --boot-directory=/mnt/sda1/boot /dev/sda
Code: [Select]
sudo touch /mnt/sda1/boot/grub/grub.cfg
Code: [Select]
sudo leafpad /mnt/sda1/boot/grub/grub.cfg
5. In leafpad add lines:
Quote
menuentry "Tiny Core Linux" {
set root="(hd0,msdos1)"
linux /tce/boot/vmlinuz
initrd /tce/boot/core.gz
}
Title: Re: tiny core grub2 install
Post by: coreplayer2 on February 09, 2017, 10:47:39 AM
Hi zmaster

You'll usually find instructions for an extension in it's "info" file, 
eg: http://tinycorelinux.net/7.x/x86/tcz/grub2.tcz.info (http://tinycorelinux.net/7.x/x86/tcz/grub2.tcz.info)

Obviously choice is yours, but I wouldn't put grub2 in "Onboot.lst" for an extension you'll use maybe once a year or two.
typically onboot is for frequently used extensions
Maybe
1. Start App Browser
2. Select grub2 and install it "Download and Load"
3. Select leafpad and install it "onboot"
is a better choice??

good luck