-
Newbie question on remastering
Hi all!
I was able to successfully remaster knoppix 3.1 using the general remastering howto.
2 questions:
1. How do you mount boot.img to be able to edit the script inside it (I was able to use mount -o loop boot.img /mnt/test but I can't edit the script)
2. How can I change the default knoppix logo inside boot.img? How do I make one?
Thank you very much!
-
Senior Member
registered user
I had a little trouble with that too. I wasn;t able to save any changes. then I figured out a way to do it. There's a file inside boot.img called logo.png or maybe it was logo16.png.... which is not used for anything, so cp logo16.png .. (move it up one level). There is 0 free space to work with in boot.img, and that's why you have to do this in order to be able to make any changes.
You should be able to edit boot.msg and syslinux.cfg now.
The logo:
Now you can:
mv your bmp logo into the mounted, decompressed boot.img
name it logo16.bmp
bmptoppm <logo16.bmp >logo16.ppm
ppmtolss16 <logo16.ppm >logo.16
Or if its a png file:
name it logo16.png
pngtoppm <logo16.png >logo16.ppm
ppmtolss16 <logo16.ppm >logo.16
You don't want it to be much bigger than 50kb. It has to be 640x480 or even 640x400, and 16 colors.
rm your logo- logo16.png or logo16.bmp
When done, move the original logo16.png back into the mounted dir where boot.img is. It will not be able to put the whole file in there since you've changed the contents, but will put as much of this file in as will fit in order to fill the space and get back to the boot.img original size.
Similar Threads
-
By ryanpq in forum Customising & Remastering
Replies: 1
Last Post: 11-27-2004, 03:29 PM
-
By freeballer in forum Customising & Remastering
Replies: 3
Last Post: 11-17-2003, 10:48 PM
-
By Drago in forum General Support
Replies: 2
Last Post: 10-21-2003, 10:10 PM
-
By spite in forum Customising & Remastering
Replies: 2
Last Post: 10-07-2003, 02:53 PM
-
By merc in forum Customising & Remastering
Replies: 3
Last Post: 05-23-2003, 11:00 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Lenovo ThinkPad L13 Yoga Touch Laptop 13.3” Core i5 8GB RAM 256GB SSD Win 11 Pro
$239.99

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50

Lenovo ThinkPad E14 Gen 2 Laptop 14” HD Ryzen 5 16GB RAM 512GB SSD Win 11 Pro
$334.99

Lenovo ThinkPad E14 Gen 3 Laptop 14” FHD AMD Ryzen 5 16GB RAM 512GB SSD Win 11
$374.99

Lenovo Legion 5 Gaming 15.1" WQXGA OLED 165Hz Core i9-14900HX 16GB 1TB RTX 5070
$1469.00

LENOVO THINKPAD T14 GEN 2i CORE I7-11165G7 2.8GHZ 16GB 256 SSD WCAM WI1 CORD
$245.00

Lenovo ThinkPad T14 Gen 1 14" AMD Ryzen 5 16GB 256GB SSD
$219.99

Lenovo ThinkPad X13 Gen 1 i5-10310U 16GB 512GB SSD Touch Win 11 Pro Good
$222.99

Lenovo ThinkPad T14s Laptop 14” Laptop Core i5 8GB RAM 256GB SSD Windows 11 Pro
$249.99

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50