WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to modify the boot logo  (Read 6135 times)

Offline Meekdai

  • Newbie
  • *
  • Posts: 14
How to modify the boot logo
« on: January 09, 2022, 10:37:55 PM »
Hi,
I want to display a custom logo during startup until the app is running. Is there a tutorial reference?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11618
Re: How to modify the boot logo
« Reply #1 on: January 09, 2022, 11:36:35 PM »
Hi Meekdai
Welcome to the forum.

Is this of any use:
http://forum.tinycorelinux.net/index.php/topic,24622.0.html
« Last Edit: January 10, 2022, 10:12:32 PM by Rich »

Offline Meekdai

  • Newbie
  • *
  • Posts: 14
Re: How to modify the boot logo
« Reply #2 on: January 10, 2022, 09:38:07 PM »
Hi Rich
I did that exactly as you reply #6 , But "Save  coreSplash.gz  in the same directory your  core.gz  is." failed, because the filesystem is read only, I can not modify it.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11618
Re: How to modify the boot logo
« Reply #3 on: January 10, 2022, 10:11:40 PM »
Hi Meekdai
Where did you copy your  core.gz  file from?

Offline Meekdai

  • Newbie
  • *
  • Posts: 14
Re: How to modify the boot logo
« Reply #4 on: January 10, 2022, 10:31:25 PM »
Hi Rich
core.gz file is from "/mnt/sda/boot/core.gz"

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11618
Re: How to modify the boot logo
« Reply #5 on: January 10, 2022, 10:34:11 PM »
Hi Meekdai
Are you booting from a CD?
Or are you booting the  .iso  file?

Offline Meekdai

  • Newbie
  • *
  • Posts: 14
Re: How to modify the boot logo
« Reply #6 on: January 10, 2022, 10:44:28 PM »
Hi Rich
I try it in Windows Hyper-V with .iso file and try my old pc with usb disk. Have the same problem.
Am I misunderstood somewhere?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11618
Re: How to modify the boot logo
« Reply #7 on: January 10, 2022, 11:08:47 PM »
Hi Meekdai
ISOs are read only file systems. They need to be unpacked, modified, and repacked if you want to change
their contents. The easiest way to do this would be to make a bootable USB thumb drive.

Boot one of the  CorePlus  ISOs and select the first entry in the boot menu.
Use the  tc-install  application to make a bootable thumb drive. If you hover over the icons at the bottom
of the screen, they will display their names. Click on the  TC-install  icon.

Boot that thumb drive and you'll be able to make and save changes.

Offline Meekdai

  • Newbie
  • *
  • Posts: 14
Re: How to modify the boot logo
« Reply #8 on: January 11, 2022, 03:35:29 AM »
Thanks Rich
I successfully make a bootable USB thumb drive and my syslinux.cfg
Code: [Select]
DEFAULT /boot/vmlinuz initrd=/boot/core.gz loglevel=3 cde vga=895 logo.nologo=1 console=/dev/nullNow splash screen is modify successfully. But the effect is not perfect.There are something else in splash screen.

I saw a video online and that's what I want.  https://www.youtube.com/watch?v=seps-326oGg
Is TC can do fast and clean like the Toradex?

    [EDIT]: Added code tags.  Rich
« Last Edit: January 11, 2022, 09:50:14 AM by Rich »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11618
Re: How to modify the boot logo
« Reply #9 on: January 11, 2022, 09:51:33 AM »
Hi Meekdai
Please use  Code Tags  when posting commands and responses seen in a terminal. To use  Code Tags  click on the  #  icon
above the reply box and paste your text between the  Code Tags  as shown in this example:

Quote
[code][   36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[   36.176536] pcm512x 1-004d: Failed to get supplies: -517
[   36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517[/code]

It will appear like this in your post:
Code: [Select]
[   36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[   36.176536] pcm512x 1-004d: Failed to get supplies: -517
[   36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517

Code Tags  serve as visual markers between what you are trying to say and the information you are posting. They also preserve
spacing so column aligned data displays properly. Code tags also automatically add horizontal and or vertical scrollbars
to accommodate long lines and listings.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11618
Re: How to modify the boot logo
« Reply #10 on: January 11, 2022, 10:18:08 AM »
Hi Meekdai
...
Code: [Select]
DEFAULT /boot/vmlinuz initrd=/boot/core.gz loglevel=3 cde vga=895 logo.nologo=1 console=/dev/null ...
I can see you did not use the  tc-install  application  I recommended. That application  would never have added
that  cde  boot code.

Also, if you are going to modify  core.gz , rename it so it is clear that it is not the original file we released.

Quote
... But the effect is not perfect.There are something else in splash screen. ...
Well, we have a few choices here:
1. You can move your head so it's not blocking the screen and maybe I can see it from here.   ???
2. I could try guessing what that  "something else"  is.  ::)
3. You could describe or include a picture of what that  "something else"  is.  ;)

Offline Meekdai

  • Newbie
  • *
  • Posts: 14
Re: How to modify the boot logo
« Reply #11 on: January 11, 2022, 08:49:45 PM »
Hi rich
Apologies for my not very standard English. Code Tags are great, I'll use them later.
The following is a video of one end of the boot that I recorded, which can better feedback some problems.
http://music.meekdai.com/temporary/splash.mp4
The link of the video is best copied to the browser, otherwise it cannot be viewed

1、Exist log print
2、my logo(picture earth) redraw and offset a position
3、The whole process takes 16 seconds

« Last Edit: January 11, 2022, 08:53:37 PM by Meekdai »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11618
Re: How to modify the boot logo
« Reply #12 on: January 11, 2022, 09:42:33 PM »
Hi Meekda
If you add:the following line to your  syslinux.cfg  file:
Code: [Select]
Console 0it might suppress some of those  syslinux  messages.

I don't know why the image gets shifted.

Offline Meekdai

  • Newbie
  • *
  • Posts: 14
Re: How to modify the boot logo
« Reply #13 on: January 11, 2022, 10:10:06 PM »
Hi rich
I did that and it worked. The log:
Code: [Select]
Loading /boot/vmlinuz......
Loading /boot/core-e.gz..................ready
are disappeared,but this
Code: [Select]
Start booting from USB device..

SYSLINUX 4.07 EDD 2013-07-25 Copyright (C) 1994-2013 H. Peter Anvin et al
are still exist




Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11618
Re: How to modify the boot logo
« Reply #14 on: January 11, 2022, 10:25:08 PM »
Hi Meekda
Unless you want to start modifying the source code and recompiling syslinux, I don't think you can get rid of
those messages.