WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: bootcode question  (Read 2807 times)

Offline emninger

  • Sr. Member
  • ****
  • Posts: 267
bootcode question
« on: January 11, 2016, 06:42:35 PM »
While i did a little check-up with Control Panel > System Stats > boot i discovered i have
Code: [Select]
BOOT_IMAGE=/tce/boot/vmlinuz
BOOT_IMAGE=/tce/boot/vmlinuz
in the end. It's redundant, isn't it? Checking my extlinux.conf, i see i have
Code: [Select]
Kernel tce/boot/vmlinuz
and at the end of the APPEND line
Code: [Select]
BOOT_IMAGE=/tce/boot/vmlinuz

Should/can i delete one? And which one, in case?

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: bootcode question
« Reply #1 on: January 11, 2016, 07:04:16 PM »
Please show the complete config file contents

Offline emninger

  • Sr. Member
  • ****
  • Posts: 267
Re: bootcode question
« Reply #2 on: January 12, 2016, 01:23:04 AM »
extlinux.conf
Code: [Select]
DEFAULT core
LABEL core
KERNEL /tce/boot/vmlinuz
APPEND initrd=/tce/boot/core.gz quiet lang=de_DE kmap=de waitusb=10:UUID="3b305a3c-d95b-4f80-b1fa-b7baaf7db06f" tce=UUID="3b305a3c-d95b-4f80-b1fa-b7baaf7db06f" restore=UUID="3b305a3c-d95b-4f80-b1fa-b7baaf7db06f" home=UUID="3b305a3c-d95b-4f80-b1fa-b7baaf7db06f" opt=UUID="3b305a3c-d95b-4f80-b1fa-b7baaf7db06f" local=UUID="3b305a3c-d95b-4f80-b1fa-b7baaf7db06f" tz=CET-1CEST,M3.5.0,M10.5.0/3 blacklist=b43,ssb,bcma swapfile=sda1 nozswap bkg=beudanne.jpg desktop=fluxbox noautologin BOOT_IMAGE=/tce/boot/vmlinuz

Control Panel > System Stats > boot
Code: [Select]
initrd=/tce/boot/core.gz
quiet
lang=de_DE
kmap=de
waitusb=10:UUID="3b305a3c-d95b-4f80-b1fa-b7baaf7db06f"
tce=UUID="3b305a3c-d95b-4f80-b1fa-b7baaf7db06f"
restore=UUID="3b305a3c-d95b-4f80-b1fa-b7baaf7db06f"
home=UUID="3b305a3c-d95b-4f80-b1fa-b7baaf7db06f"
opt=UUID="3b305a3c-d95b-4f80-b1fa-b7baaf7db06f"
local=UUID="3b305a3c-d95b-4f80-b1fa-b7baaf7db06f"
tz=CET-1CEST,M3.5.0,M10.5.0/3
blacklist=b43,ssb,bcma
swapfile=sda1
nozswap
bkg=beudanne.jpg
desktop=fluxbox
noautologin
BOOT_IMAGE=/tce/boot/vmlinuz
BOOT_IMAGE=/tce/boot/vmlinuz

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: bootcode question
« Reply #3 on: January 12, 2016, 01:30:04 AM »
This is the culprit at the end of the append commandline

BOOT_IMAGE=/tce/boot/vmlinuz



Also I think we've mention before about the unnecessary restore= and local=  right..?

  :-X

Offline emninger

  • Sr. Member
  • ****
  • Posts: 267
Re: bootcode question
« Reply #4 on: January 12, 2016, 04:40:25 AM »
Thanks for the pointer.

restore= is unnecessary as well?
I knew for local= - but i'm afraid to ruin something (the last time a took it away many personal settings were killed; but, probably i had changed something else as well).

Footnote: A safe backup would give me a "mydata" backup which, in case of trouble i could rename and use as mydata?

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: bootcode question
« Reply #5 on: January 12, 2016, 05:30:56 AM »
Footnote: A safe backup would give me a "mydata" backup which, in case of trouble i could rename and use as mydata?
Surely the book or wiki describes it better. IIRC safe backup moves mydata.tgz to mydatabk.tgz then updates mydata.tgz. If you run into trouble with mydata.tgz (corrupt or messed up settings), move or delete it, move mydatabk.tgz to mydata.tgz, reboot and all good again. Backup is just a tool, you can create your own mydata backups manually (eg. mydata.tgz.old1, mydata.tgz.old2) and restore as desired. There's also a safebackup boot code: http://distro.ibiblio.org/tinycorelinux/faq.html#bootcodes.