WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: a file to save bootcodes  (Read 1717 times)

Offline alexo

  • Jr. Member
  • **
  • Posts: 97
a file to save bootcodes
« 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
« Last Edit: November 10, 2015, 05:34:48 AM by alexo »

Offline tcl-newbie

  • Newbie
  • *
  • Posts: 5
Re: a file to save bootcodes
« Reply #1 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
« Last Edit: November 10, 2015, 06:11:00 AM by tcl-newbie »

Offline alexo

  • Jr. Member
  • **
  • Posts: 97
Re: a file to save bootcodes
« Reply #2 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

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11623
Re: a file to save bootcodes
« Reply #3 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