Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: alexo on November 10, 2015, 05:21:37 AM

Title: a file to save bootcodes
Post by: alexo on November 10, 2015, 05:21:37 AM
Hello,
my question demonsters I'm a newbye in the very sense of the word.

I've read a paragraph of corebook about bootcodes, and if I'm not wrong, they should be given from command line at boot time.
Now te question is: is there a file to edit and permanently save on disk the bootcodes once for every reboot?
I need to set the timezone and show the extension loading.

Thank you
Title: Re: a file to save bootcodes
Post by: tcl-newbie on November 10, 2015, 05:38:09 AM
Hello,

if you're looking for a file to edit the bootcode, look at your root partition.

In my case:

/mnt/sda1/tce/boot/extlinux/extlinux.conf

If you're using grub a bootloader the file is called menu.lst.

you can also search it

sudo find / -name extlinux.conf    resp.

sudo find / -name menu.lst

See chapter 10 in the core book.


I hope it helps a bit!

Cheers
Title: Re: a file to save bootcodes
Post by: alexo on November 10, 2015, 08:39:23 AM
tcl-newbie:

I read chapter 10, but I had not understand how to edit the bootloader file.
Me too have extlinux.conf. Thanks to your advise I edited it appending my bootloader options and all works fine.

thank you
Title: Re: a file to save bootcodes
Post by: Rich on November 10, 2015, 09:48:49 AM
Hi tcl-newbie
... /mnt/sda1/tce/boot/extlinux/extlinux.conf

If you're using grub a bootloader the file is called menu.lst.

you can also search it

sudo find / -name extlinux.conf    resp.

sudo find / -name menu.lst ...

Depending on your setup, a search like that can take a long time. For example, if you have any network drives mounted,
it will also search through all of them. If you have a general idea of where the item you are searching for should be,
specifying a partial path will avoid needlessly searching the entire directory tree. In this instance, your search is for one
of the files used by the boot loader. Even though you don't know where it's located, you know it must be on a persistent
storage device, so you could narrow your search like this:
Code: [Select]
sudo find /mnt/sda1 -name extlinux.conf