에너지
[Raspberry Pi] Change booting image and remove log
hyeok0724.kim@gmail.com
2019. 10. 23. 16:01
반응형
Writed on 23 OCT 2019
Device: Raspberry Pi 3
Raspbian Version: 2019-09-26-raspbian-buster-full.zip
1. Remove Rainbow Picture
- Add commend last line in the file OR use sh that is add commend automatically



2. Remove kernal boot log
- Edit pix.script file and cmdline.txt OR use sed that replace text automatically




sudo sed -i "s/message_sprite = Sprite();/#message_sprite = Sprite();/g" $file
sudo sed -i "s/message_sprite.SetPosition/#message_sprite.SetPosition/g" $file
sudo sed -i "s/my_image /#my_image /g" $file
sudo sed -i "s/message_sprite.SetImage(my_image);/#message_sprite.SetImage(my_image);/g" $file
|
3. Delete strawbarry Image that come out of booting
- Edit cmdline.txt file OR use sh to add text automatically
1
2
3
4
5
|
src2="splash quiet plymouth.ignore-serial-consoles logo.nologo vt.global_cursor_default=0"
sudo sh -c " echo \"$src1 $src2\" > /boot/cmdline.txt"
|
4. Change Booting Image
- Named splash.png you want image copies on this directory
Reference
반응형