Tiny Core Base > TCB Tips & Tricks

tiny core grub2 install

(1/1)

zmaster:
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: ---sudo grub-install --boot-directory=/mnt/sda1/boot /dev/sda
--- End code ---


--- Code: ---sudo touch /mnt/sda1/boot/grub/grub.cfg
--- End code ---


--- Code: ---sudo leafpad /mnt/sda1/boot/grub/grub.cfg
--- End code ---

5. In leafpad add lines:

--- Quote ---menuentry "Tiny Core Linux" {
set root="(hd0,msdos1)"
linux /tce/boot/vmlinuz
initrd /tce/boot/core.gz
}
--- End quote ---

coreplayer2:
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

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

Navigation

[0] Message Index

Go to full version