· KLDP.org · KLDP.net · KLDP Wiki · KLDP BBS ·
Docbook Sgml/Bootsplash-HOWTO

You are not allowed to 'fullsearch'


Bootsplash HOWTO. ¸®´ª½º Äֿܼ¡ ¹è°æ ±×¸²À» ¶ç¿ìÀÚ.

Bootsplash HOWTO. ¸®´ª½º Äֿܼ¡ ¹è°æ ±×¸²À» ¶ç¿ìÀÚ.

ÀÌÀçÈ«

            
          

¸®´ª½º Äֿܼ¡ ¹è°æ ±×¸²À» ¶ç¿ìÀÚ.

고친 과정
고침 0.12003-10-2고친이 pyrasis
ÃÖÃÊ ÀÛ¼º

1. ¼­¹®

¿äÁò ¹èÆ÷ÆÇ(2002~2003³â)Àº ¼³Ä¡ÇÏ¸é ¸®´ª½º ÄÜ¼Ö È­¸é¿¡ ¹è°æ ±×¸²ÀÌ ¶ß´Â °ÍÀ» º¼ ¼ö ÀÖ½À´Ï´Ù. ´ëÇ¥ÀûÀ¸·Î ¼ö¼¼ ¸®´ª½º¸¦ ¿¹·Î µé ¼ö ÀÖ½À´Ï´Ù. ÀÌ ¹®¼­¿¡¼­´Â µ¥ºñ¾È ¸®´ª½º ȤÀº bootsplash(¹è°æ±×¸²)ÀÌ Ã³À½ºÎÅÍ ¼³Á¤ÀÌ µÇ¾îÀÖÁö ¾ÊÀº ¹èÆ÷ÆÇ¿¡ ¼³Á¤ÇÒ ¼ö ÀÖµµ·Ï ÀÛ¼ºÇÏ¿´½À´Ï´Ù.


1.1. ÀúÀÛ±Ç Á¤º¸

Copyright (C) 2003 ÀÌÀçÈ«

ÀÌ ¹®¼­´Â GNU Free Documentation License ¹öÀü 1.1 ȤÀº ÀÚÀ¯ ¼ÒÇÁÆ®¿þ¾î Àç´Ü¿¡¼­ ¹ßÇàÇÑ ÀÌÈÄ ÆÇÀÇ ±ÔÁ¤¿¡ µû¸£¸ç ÀúÀ۱ǿ¡ ´ëÇÑ º» »çÇ×ÀÌ ¸í½ÃµÇ´Â ÇÑ ¾î¶°ÇÑ Á¤º¸ ¸Åü¿¡ ÀÇÇÑ º»¹®ÀÇ ÀüÀ糪 ¹ßÃéµµ ¹«»óÀ¸·Î Çã¿ëµË´Ï´Ù.


1.2. Ã¥ÀÓÀÇ ÇÑ°è

º» ÀúÀÚ´Â ¹®¼­ÀÇ ³»¿ëÀÌ ¾ß±âÇÒ ¼ö ÀÖ´Â ¾î¶°ÇÑ °á°ú¿¡ ´ëÇؼ­µµ Ã¥ÀÓÀ» ÁöÁö ¾Ê½À´Ï´Ù. º» ¹®¼­¿¡¼­ ³»Æ÷ÇÏ°í ÀÖ´Â Á¤º¸µé ¹× ¿¹Á¦µéÀº ¿©·¯ºÐÀÌ ¾Ë¾Æ¼­ È°¿ëÇϽʽÿÀ. ºñ·Ï ÃÖ¼±À» ´ÙÇßÀ¸³ª ÀÌ ¹®¼­´Â Ʋ¸° Á¡À̳ª ¿À·ù°¡ ÀÖÀ» ¼öµµ ÀÖ½À´Ï´Ù. ¸¸¾à ¿©·¯ºÐÀÌ Æ²¸° Á¡À» ¹ß°ßÇß´Ù¸é ²À Àú¿¡°Ô ¾Ë·Á Áֽñ⠹ٶø´Ï´Ù.


1.3. °¨»çÀÇ ±Û

ÀÌ ¹®¼­¸¦ ÀÛ¼ºÇϴµ¥ µµ¿òÀ» ÁֽŠ¸¹Àº ºÐµé¿¡°Ô °¨»çµå¸³´Ï´Ù.

¼ö¼¼ ¸®´ª½º, bootsplash util°ú Ä¿³Î ÆÐÄ¡¸¦ Á¦ÀÛÇϽŠStefan Reinauer´Ô¿¡°Ô °¨»çµå¸³´Ï´Ù.


1.4. Çǵå¹é

ÀÌ ¹®¼­¿¡ ´ëÇÑ ¹ßÀüÀûÀÎ Á¦¾ÈÀ̳ª ¼öÁ¤»çÇ×, ¹®Á¦Á¡ µî¿¡ ´ëÇÑ Çǵå¹éÀº ¾ðÁ¦µçÁö ȯ¿µÇÕ´Ï´Ù. ·Î ¸ÞÀÏÀ» º¸³» ÁֽʽÿÀ.


2. ¼³Ä¡ Áغñ ÀÛ¾÷

2.1. ÁغñÇÒ °Íµé

ÁغñÇØ¾ß ÇÒ °ÍµéÀº ¸®´ª½º°¡ ¼³Ä¡µÈ ÄÄÇ»ÅÍ, ¸®´ª½º Ä¿³Î 2.4.20, bootsplash Ä¿³Î ÆÐÄ¡, splashutils, ºÎÆà ½ºÅ©¸³Æ® ±âº»ÀûÀÎ JPEGÆ÷¸ËÀÇ ±×¸²ÆÄÀÏ, bootsplash ¼³Á¤ ½ºÅ©¸³Æ® ÀÔ´Ï´Ù.

µ¥ºñ¾È ¸®´ª½º 3.0r1À» ±âÁØÀ¸·Î ¼³¸íÇÏ°Ú½À´Ï´Ù. µ¥ºñ¾ÈÀÇ °æ¿ì bootsplash°¡ ±âº»ÀûÀ¸·Î ¼³Á¤ÀÌ µÇ¾î ÀÖÁö ¾Ê±â ¶§¹®ÀÔ´Ï´Ù. ´Ù¸¥ ¹èÆ÷Æǵµ °ÅÀÇ µ¿ÀÏÇÑ È¯°æÀ̹ǷΠ·¹µåÇÞ, ½½·¢¿þ¾îµµ Å« ¾î·Á¿ò ¾øÀÌ ¼³Á¤ ÇϽǼö ÀÖ½À´Ï´Ù. ¼ö¼¼ ¸®´ª½º ÃÖ±Ù ¹öÀü ºÎÅÍ´Â bootsplash°¡ ±âº»ÀûÀ¸·Î ¼³Á¤ µÇ¾î ÀÖ½À´Ï´Ù.

¼³Á¤ ³»¿ëµéÀº ¼ö¼¼ ¸®´ª½ºÀÇ ¼³Á¤À» ¸¹ÀÌ Âü°í Çß½À´Ï´Ù.

¾ÕÀ¸·Î ¼³¸íÇÏ´Â µ¿¾È¿¡´Â Á¸´ë¸» Ç¥ÇöÀÌ ¾Æ´Ñ ÀÏ¹Ý Ç¥ÇöÀ¸·Î ±ÛÀ» Àû°Ú½À´Ï´Ù. ¾çÇØÇØ Áֽñ⠹ٶø´Ï´Ù.


2.2. »ç¿ë ÇÒ °¢°¢ÀÇ ÆÄÀÏµé ±¸Çϱâ

bootsplash °ü·Ã ÆÐÄ¡¿Í ½ºÅ©¸³Æ® µéÀº ¼ö¼¼ ¸®´ª½º ftp »çÀÌÆ®¿¡¼­ ¹ÞÀ» °ÍÀÔ´Ï´Ù.

¸®´ª½º Ä¿³Î ¼Ò½º

The Linux Kernel Archives http://www.kernel.org

linux-2.4.20.tar.bz2

bootsplash Ä¿³Î ÆÐÄ¡

ftp.suse.com/pub/people/stepan/bootsplash ftp://ftp.suse.com/pub/people/stepan/bootsplash/kernel/

bootsplash-3.0.7-2.4.20-vanilla.diff

splashutils

ftp.suse.com/pub/people/stepan/bootsplash ftp://ftp.suse.com/pub/people/stepan/bootsplash/rpm-sources/bootsplash

splashutils.tar.bz2

Theme : ±âº»ÀûÀÎ ±×¸²°ú ¼³Á¤ÆÄÀÏ

ftp.suse.com/pub/people/stepan/bootsplash ftp://ftp.suse.com/pub/people/stepan/bootsplash/themes/

Theme-Linux.tar.bz2

rcsplash : ºÎÆà ½ºÅ©¸³Æ®

ftp.suse.com/pub/people/stepan/bootsplash ftp://ftp.suse.com/pub/people/stepan/bootsplash/init-scripts/

rcsplash

À§ÀÇ ÆÄÀϵéÀ» /root¿¡ ¹Þ´Â´Ù.


3. ¼³Ä¡

3.1. Ä¿³Î ÆÐÄ¡

Ä¿³Î ¼Ò½º¸¦ ¾ÐÃàÀ» Ç®°í ¹ÞÀº Ä¿³Î ÆÐÄ¡¸¦ ÆÐÄ¡ ÇÑ´Ù. Ä¿³Î ¼Ò½º¿Í ÆÐÄ¡´Â /usr/src¿¡ ³õ´Â´Ù.

# mv linux-2.4.20.tar.bz2 /usr/src
# mv bootsplash-3.0.7-2.4.20-vanilla.diff /usr/src
# cd /usr/src
/usr/src# tar vjxf linux-2.4.20.tar.bz2         bz2¾ÐÃàÀ» Ç®·Á¸é bunzip2 ÆÐÅ°Áö°¡ ÇÊ¿äÇÏ´Ù.
/usr/src# ln -s linux-2.4.20 linux              ¾ÐÃàÀÌ Ç®¸° µð·ºÅ丮¸¦ linux¶ó´Â À̸§À¸·Î ½Éº¼¸¯ ¸µÅ©¸¦ »ý¼ºÇÑ´Ù.
/usr/src# cd linux
/usr/src/linux# patch -p1 < ../bootsplash-3.0.7-2.4.20-vanilla.diff


3.1. Ä¿³Î ¿É¼Ç ¼³Á¤

bootsplash¸¦ »ç¿ëÇÒ ¼ö ÀÖµµ·Ï Ä¿³Î ¿É¼ÇÀ» ¼³Á¤ÇÑ´Ù.

Ä¿³Î ¿É¼ÇÀº ´ÙÀ½°ú °°ÀÌ ¼³Á¤ÇÑ´Ù. menuconfig¸¦ »ç¿ëÇÏ·Á¸é ncurses °°Àº ¶óÀ̺귯¸®°¡ ÇÊ¿äÇÏ´Ù. µ¥ºñ¾ÈÀÇ °æ¿ì ¼³Ä¡°¡ µÇ¾î ÀÖÁö ¾ÊÀ¸¸é apt-getÀ̳ª dselect¸¦ ÀÌ¿ëÇØ libncurses5-dev ÆÐÅ°Áö¸¦ ã¾Æ ¼³Ä¡ÇØÁÖ¸é µÈ´Ù. ´Ù¸¥ ¹èÆ÷ÆÇÀÇ °æ¿ì ´ëºÎºÐ ¼³Ä¡°¡ µÇ¾î ÀÖÀ» °ÍÀÌ´Ù.

# cd /usr/src/linux
/usr/src/linux# make menuconfig

Ä¿³Î ¼º¼÷µµ ¿É¼Ç. ÀÌ°ÍÀ» üũ ÇØ¾ß ¸ðµç ¿É¼ÇµéÀÌ ³ª¿À°Ô µÈ´Ù. üũ ÇÏÁö ¾ÊÀ¸¸é °³¹ßÀÌ ¿Ï·áµÇ¾î ¾ÈÁ¤È­µÈ °Íµé¸¸ ¸Þ´º¿¡ ³ª¿À°Ô µÈ´Ù.

Code maturity level options  --->
  [*] Prompt for development and/or incomplete code/drivers

·¥ µð½ºÅ© ¼³Á¤. RAM disk support, Loopback device support. Initial RAM disk (initrd) supportÀ» üũ ÇÑ´Ù.

Block devices  --->
  <*> Normal floppy disk support
  < > XT hard disk support
  < > Compaq SMART2 support
  < > Compaq Smart Array 5xxx support
  < > Mylex DAC960/DAC1100 PCI RAID Controller support
  < > Micro Memory MM5415 Battery Backed RAM support (EXPERIMENTAL)
  <*> Loopback device support
  < > Network block device support
  <*> RAM disk support
  (4096)   Default RAM disk size
  [*]   Initial RAM disk (initrd) support
  [ ] Per partition statistics in /proc/partitions

ÄÜ¼Ö ¼³Á¤. Video mode selection supportÀ» üũ

Console drivers  --->
  [*] VGA text console
  [*] Video mode selection support
  < > MDA text console (dual-headed) (EXPERIMENTAL)
  Frame-buffer support  --->

ÇÁ·¹ÀÓ ¹öÆÛ ¼³Á¤ Support for frame buffer devices, VESA VGA graphics console, Use splash screen instead of boot logoÀ» üũ

Frame-buffer support  --->
  [*] Support for frame buffer devices (EXPERIMENTAL)
  < >   nVidia Riva support (EXPERIMENTAL)
  < >   Cirrus Logic support (EXPERIMENTAL)
  < >   Permedia2 support (EXPERIMENTAL)
  < >   Permedia3 support (EXPERIMENTAL)
  < >   Cyber2000 support
  [*]   VESA VGA graphics console
  < >   VGA 16-color graphics console
  < >   Hercules mono graphics console (EXPERIMENTAL)
  < >   Matrox acceleration (EXPERIMENTAL)
  < >   ATI Mach64 display support (EXPERIMENTAL)
  < >   ATI Radeon display support (EXPERIMENTAL)
  < >   ATI Rage128 display support (EXPERIMENTAL)
  < >   SIS acceleration (EXPERIMENTAL)
  < >   NeoMagic display support (EXPERIMENTAL)
  < >   3Dfx Banshee/Voodoo3 display support (EXPERIMENTAL)
  < >   3Dfx Voodoo Graphics (sst1) support (EXPERIMENTAL)
  < >   Trident support (EXPERIMENTAL)
  < >   Virtual Frame Buffer support (ONLY FOR TESTING!) (EXPERIMENTAL)
  [*]   Use splash screen instead of boot logo
  [ ]   Advanced low level driver options
  [ ]   Support only 8 pixels wide fonts
  [ ]   Select compiled-in fonts


3.2. Ä¿³Î ÄÄÆÄÀÏ

ÀÌÁ¦ ÆÐÄ¡ÇÑ Ä¿³ÎÀ» ÄÄÆÄÀÏ ÇÒ Â÷·ÊÀÌ´Ù.

¸®´ª½º ¹èÆ÷ÆÇÀÌ µ¥ºñ¾ÈÀÏ °æ¿ì Ä¿³Î ÆÐÅ°Áö¸¦ ¸¸µé¾î¼­ Ä¿³ÎÀ» ¼³Ä¡ÇÏ´Â °ÍÀÌ ÆíÇÏ´Ù. kernel-package ¶ó´Â ÆÐÅ°Áö°¡ ÇÊ¿äÇÏ´Ù.

# cd /usr/src/linux
/usr/src/linux# make-kpkg --revision=1.0 binary-arch              ÀÌ·¸°Ô Çϸé /usr/src¿¡ Ä¿³Î Çì´õ¿Í Ä¿³Î À̹ÌÁö ÆÐÅ°Áö°¡ »ý¼ºµÈ´Ù. ( ¿¡·¯°¡ ³ª¸é  make-kpkg clean À» Çѹø ½ÇÇàÇÏ°í ÇØ ÁÖ¼¼¿ä. ¼³Á¤ÆÄÀÏÀº Áö¿öÁöÁö ¾Ê½À´Ï´Ù.)

/usr/src/linux# cd ..
/usr/src# ls -al
-rw-r--r--    1 root     root        82757 Oct  4 15:19 bootsplash-3.0.7-2.4.20-vanilla.diff
-rw-r--r--    1 root     src       4153616 Oct  4 16:06 kernel-headers-2.4.20_1.0_i386.deb       Ä¿³Î Çì´õ
-rw-r--r--    1 root     src       1297228 Oct  4 16:05 kernel-image-2.4.20_1.0_i386.deb         Ä¿³Î À̹ÌÁö
lrwxrwxrwx    1 root     src            12 Oct  4 15:17 linux -> linux-2.4.20
drwxr-xr-x   15 573      573          4096 Oct 10 10:40 linux-2.4.20
-rw-r--r--    1 root     src      27421046 Oct  4 05:23 linux-2.4.20.tar.bz2
/usr/src# dpkg -i kernel-headers-2.4.19_1.0_i386.deb
/usr/src# dpkg -i kernel-image-2.4.19_1.0_i386.deb

Ä¿³Î À̹ÌÁö¸¦ ¼³Ä¡ ÇÒ ¶§ ºÎÆà µð½ºÅ©¸¦ ¸¸µé¶ó´Â °÷¿¡´Â NÀ¸·Î Ãë¼Ò¸¦ ÇÏ°í /vmlinuz ¶ó°í ¸µÅ©¸¦ ¸¸µç´Ù°í ÇÒ ¶§´Â Y¸¦ ´­·¯
¸µÅ©¸¦ ¸¸µç´Ù

µ¥ºñ¾ÈÀÌ ¾Æ´Ñ ¸®´ª½º ¹èÆ÷ÆÇÀÇ °æ¿ì

# cd /usr/src/linux
/usr/src/linux# make dep && make bzImage && make modules && make modules_install
/usr/src/linux# cd arch/i386/boot/
/usr/src/linux/arch/i386/boot# cp bzImage /boot/vmlinuz-2.4.20


3.3. splashutils ¼³Ä¡

¾Õ¿¡¼­ ¹ÞÀº splashutils.tar.bz2¸¦ ÄÄÆÄÀÏ ÇÏ°í ¼³Ä¡ ÇÒ Â÷·ÊÀÌ´Ù.

ÄÄÆÄÀÏ

# tar vjxf splashutils.tar.bz2
# cd splashutils
splashutils# make

ÄÄÆÄÀÏÀ» Çϸé fbresolution, getkey, progress, splash ÆÄÀϵéÀÌ »ý±ä´Ù. ÀÌ ÆÄÀÏ Áß¿¡¼­ splash ÆÄÀÏÀ» /bin µð·ºÅ丮¿¡ º¹»çÇÏ°í /sbin ¿¡ /bin µð·ºÅ丮¿¡ º¹»çÇÑ ÆÄÀÏÀ» ¸µÅ© ½ÃŲ´Ù.

splashutils# cp splash /bin
splashutils# cd /sbin
sbin# ln -s /bin/splash splash


4. ¼¼ºÎ ¼³Á¤

4.1. ½ºÅ©¸³Æ® ÆÄÀÏ ¼³Á¤

À§¿¡¼­ ¹ÞÀº Theme-Linux.tar.bz2ÆÄÀÏ ¾È¿¡ ±âº»ÀûÀÎ ±×¸² ÆÄÀÏ°ú ½ºÅ©¸³Æ® ÆÄÀÏÀÌ µé¾î ÀÖ´Ù.

Theme-Linux.tar.bz2 ÆÄÀÏÀ» ¾ÐÃàÀ» Ç®¾î imageµð·ºÅ丮ÀÇ ±×¸² ÆÄÀÏ°ú config µð·ºÅ丮ÀÇ ½ºÅ©¸³Æ® ÆÄÀÏÀ» /etc/bootsplash·Î º¹»çÇÑ´Ù.

# mkdir /etc/bootsplash
# tar vjxf Theme-Linux.tar.bz2
# cd Linux
Linux# cp images/* /etc/bootsplash
Linux# cp config/* /etc/bootsplash

/etc/bootsplash µð·ºÅ丮¿¡ º¹»ç¸¦ ÇÏ¿´À¸¸é configµð·ºÅ丮¿¡ ÀÖ¾ú´ø bootsplash-1024x768.cfg ÆÄÀÏÀ» ¼öÁ¤ÇÑ´Ù. ÆÄÀÏ ³»¿ëÀº ´ÙÀ½°ú °°À¸¸ç ¼öÁ¤ÇÒ ºÎºÐÀ» ¼³¸í ÇÏ°Ú´Ù. ¿©±â¼­´Â ±âº»ÀûÀ¸·Î 1024x768ÀÇ Çػ󵵷Π¼³Á¤À» ÇØ º¸°Ú´Ù.

# This is the configuration file for the 1024x768 bootsplash picture.
#
# This file is necessary to specify the coordinates of the text box on
# the splash screen.
#
# Comments are welcome by stepan@suse.de

# config file version
version=3

# should the picture be displayed?
state=1

# fgcolor is the text forground color.
# bgcolor is the text background (i.e. transparent) color.
fgcolor=7
bgcolor=0

# (tx, ty) are the (x, y) coordinates of the text window in pixels.
# tw/th is the width/height of the text window in pixels.
tx=0
ty=0
tw=1024
th=768

# name of the picture file (full path recommended)
jpeg=/etc/bootsplash/bootsplash-1024x768.jpg       # imagesµð·ºÅ丮¿¡ ÀÖ´ø ±×¸²ÆÄÀÏ. 
silentjpeg=/etc/bootsplash/silent-1024x768.jpg     # imagesµð·ºÅ丮¿¡ ÀÖ´ø ±×¸²ÆÄÀÏ slient ±×¸²ÆÄÀÏ¿¡ ´ëÇؼ­´Â ¾Æ·¡¿¡ ¼³¸íÇÏ°Ú´Ù.
                                                   # /etc/bootsplash¿¡ ±×¸²ÆÄÀÏÀ» º¹»ç ÇßÀ¸¹Ç·Î ¿ÞÂÊ°ú °°ÀÌ ¼öÁ¤ÇÑ´Ù.
progress_enable=1

# background
box silent noover 204 666 820 686 #515151
box silent inter  204 666 204 686 #b77200 #f2b700 #b77200 #f2b700
box silent        204 666 820 686 #b77200 #f2b700 #b77200 #f2b700
#box silent inter  204 666 204 686 #f2b700 #b77200 #b77200 #f2b700
#box silent        204 666 820 686 #f2b700 #b77200 #b77200 #f2b700


# black border
box silent         204 665 820 665 #b5b5b5
box silent         204 687 820 687 #b5b5b5
box silent         203 665 203 687 #b5b5b5
box silent         820 665 820 687 #b5b5b5


overpaintok=1

bootsplash-1024x768.jpgÆÄÀÏÀº ¸®´ª½º°¡ ºÎÆÃÀ» ÇßÀ»¶§ ºÎÆà Çϸ鼭 µÚ¿¡ ¶ç¿öÁú ±×¸² ÆÄÀÏÀÌ´Ù. ÆÄÀÏÀ̸§¿¡¼­ º¸À̵íÀÌ 1024x768ÀÇ Çػ󵵷ΠµÇ¾î ÀÖ´Ù.

silent-1024x768.jpg, silent ¶ó°í µÇ¾îÀÖ´Â ÆÄÀÏÀº ¸®´ª½º°¡ ºÎÆÃÇÒ¶§ º¸¸é ¿©·¯°¡Áö ¸Þ½ÃÁö¸¦ Ãâ·ÂÇÏ¸ç ºÎÆÃÀ» ÇÏ°Ô µÇ´Âµ¥ ºÎÆ®·Î´õ¿¡¼­ ¸Þ½ÃÁö¸¦ Ãâ·ÂÇÏÁö ¾Ê°Ô ÇßÀ»¶§ ·ÎµùµÇ´Â ±×¸²ÆÄÀÏÀÌ´Ù. ¿ì¸®°¡ ÀÚÁÖ º¸´Â À©µµ¿ì ºÎÆà ȭ¸éÀ» ¶°¿Ã¸®¸é µÈ´Ù. ¸®´ª½º ºÎÆà ¸Þ½ÃÁö´Â º¸ÀÌÁö ¾Ê°í silent ±×¸² ÆÄÀϸ¸ ¶ç¿öÁö°Ô µÈ´Ù. ºÎÆÃÀÌ ³¡À̳ª¸é À§¿¡ ÀÖ´Â bootsplash ÆÄÀÏÀÌ ·ÎµùÀÌ µÇ¾î ¹è°æ±×¸²À¸·Î ¶ç¿öÁø´Ù.

·¥ µð½ºÅ©¸¦ ¸¸µé Â÷·ÊÀÌ´Ù. ºÎÆõɶ§ ±×¸²À» Ç¥½ÃÇÏ·Á¸é ·¥µð½ºÅ©¸¦ ¸¸µé¾îÁÖ¾î¾ß ÇÑ´Ù.

# cd /etc/bootsplash
/etc/bootsplash# splash -s -f bootsplash-1024x768.cfg > /boot/initrd-1024x768


4.2. ºÎÆ®·Î´õ ¼³Á¤

ºÎÆ®·Î´õ¿¡¼­ À§¿¡¼­ ¸¸µç ·¥µð½ºÅ©¸¦ ·ÎµùÇÏ°í Ä¿³Î¿¡ ¸Å°³º¯¼ö¸¦ ÁÖ¾î µ¿ÀÛÀÌ µÇµµ·Ï ¼³Á¤ÇÑ´Ù.


4.2.1. LILO

/etc/lilo.conf ÆÄÀÏÀ» ¼öÁ¤ÇÏ¿© ºÎÆ®·Î´õ ¼³Á¤À» ÇÑ´Ù.

image=/vmlinuz                     #Ä¿³Î À̹ÌÁö. /vmlinuz·Î ¸µÅ©¸¦ ¸¸µé¾úÀ» °æ¿ìÀÌ°í ±×·¸Áö ¾Ê´Ù¸é /boot/vmlinuz-2.4.20À¸·Î ÇÑ´Ù.
        label=Linux Bootsplash
        read-only
        vga=0x317                           #ÇØ»óµµ ¼³Á¤. 0x317Àº 1024x768À» ¶æÇÑ´Ù.
        append="splash=silent"              #Ä¿³Î ¸Å°³º¯¼ö. splash=silent·Î ÇÏ¸é ºÎÆõɶ§ ±ÛÀÚ·ÎµÈ ¸Þ½ÃÁö°¡ Ç¥½ÃµÇÁö ¾Ê´Â´Ù.
        initrd=/boot/initrd-1024x768        #·¥µð½ºÅ©. splash¸í·ÉÀ¸·Î ¸¸µç ·¥µð½ºÅ©

append="splash=silent" ÀÌ ºÎºÐÀ» ÀûÁö ¾Ê°Å³ª append="splash=verbose"·Î ÇÏ°Ô µÇ¸é ºÎÆõɶ§ ±ÛÀÚ·ÎµÈ ¸Þ½ÃÁö°¡ Ç¥½ÃµÇ°Ô µÈ´Ù.


4.2.2. GRUB

/boot/grub/menu.lstÆÄÀÏÀ» ¼öÁ¤ÇÏ¿© ºÎÆ®·Î´õ ¼³Á¤À» ÇÑ´Ù.

title Linux Bootsplash
root (hd0,1)
kernel=/boot/vmlinuz-2.4.20 root=/dev/hda2 vga=0x317 splash=silent
initrd=/boot/initrd-1024x768

vga¼³Á¤À» 0x317·Î Çؼ­ 1024x768ÀÇ Çػ󵵷ΠÇß°í Ä¿³Î ¸Å°³º¯¼ö¸¦ splash=silent·Î ÁÖ¾î ºÎÆÃÇÒ¶§ ¸Þ½ÃÁö°¡ ³ª¿ÀÁö ¾Ê°Ô ÇÏ¿´´Ù. splash=silent¸¦ ÀûÁö ¾Ê°Å³ª splash=verbose·Î ÇÏ¸é ºÎÆÃÇÒ¶§ ±ÛÀÚ ¸Þ½ÃÁö°¡ Ç¥½ÃµÇ°Ô µÈ´Ù.


4.3. tty ¼³Á¤

¿©±â±îÁö Çؼ­ ºÎÆÃÀ» Çß´Ù¸é ºÎÆÃÇÒ¶§ ȸ»ö ¹ÙÅÁ¿¡ ÀÛÀº ÆرÏÀ» º¼ ¼ö ÀÖ´Ù. ±×¸®°í ºÎÆÃÀÌ ³¡³ª°Ô µÇ¸é °ËÀº ¹è°æ¿¡ ¿¬ÇÏ°í Å« ÆØ ±ÏÀ» ¸¸³¯ ¼ö ÀÖÀ» °ÍÀÌ´Ù.

¿©±â¼­ ³¡³­°ÍÀÌ ¾Æ´Ï´Ù. Alt+F1 ºÎÅÍ Alt+F6 ±îÁö ´©¸£¸é 6°³ÀÇ ÄܼÖÀ» »ç¿ëÇÒ ¼ö ÀÖ´Ù. Alt+F1ºÎÅÍ F6±îÁö tty1¿¡¼­ tty6À¸·Î Ç¥½Ã ÇÒ ¼ö ÀÖ´Ù. tty1Àº ºÎÆÃÇÏ¸é ±âº»ÀûÀ¸·Î »ç¿ëÇÏ´Â ÄܼÖÀÌ´Ù. tty2ºÎÅÍ 6±îÁö´Â Alt+F2, F3, F4, F5, F6À» ´©¸£¸é ¹Ù²î°Ô µÈ´Ù. tty1¿¡´Â ¹è°æ±×¸²ÀÌ ¶° ÀÖÀ»°ÍÀÌ´Ù. ±×·¯³ª tty2,tty3, tty4, tty5, tty6Àº ¹è°æÈ­¸éÀÌ ¾ø´Â Æò¹üÇÑ È­¸éÀ¸·Î µÇ¾îÀÖ´Ù. ¿ì¸®´Â ·¥µð½ºÅ©¸¦ ÀÌ¿ëÇÏ¿© bootsplash¸¦ ¼³Á¤Çß´Ù. bootsplash´Â ºÎÆÃÇÒ¶§¸¸ ¹è°æÀ» º¸¿©ÁÖ°í ±âº» ÄÜ¼Ö tty1¿¡¸¸ ¹è°æ ±×¸²À» ¼³Á¤ÇØÁÖ°Ô µÈ´Ù.

tty2~6±îÁö ¹è°æ±×¸²À» ¼³Á¤ÇÏ·Á¸é ºÎÆà ½ºÅ©¸³Æ®¸¦ »ç¿ëÇØ¾ß ÇÑ´Ù.

À§¿¡¼­ ¹ÞÀº rcsplash ÆÄÀÏÀ» /etc/init.d¿¡ º¹»çÇÑ´Ù. µ¥ºñ¾ÈÀÇ °æ¿ì ºÎÆà ÇÒ¶§ ½ÇÇàµÉ ¼ö ÀÖµµ·Ï /etc/init.d/rc2.d ¿¡ ¸µÅ©¸¦ ¸¸µç´Ù. ´Ù¸¥ ¸®´ª½º ¹èÆ÷Æǵµ ¸¶Âù°¡Áö·Î ºÎÆÃÀÌ µÉ¶§ ½ÇÇà µÉ¼ö ÀÖµµ·Ï ¼³Á¤À» ÇÑ´Ù. ´ëºÎºÐ /etc/init.d µð·ºÅ丮¿¡ rcsplash ¸¦ º¹»çÇÏ°í ·±·¹º§¿¡ µû¶ó rc2.d³ª rc3.d µî¿¡ ¸µÅ©¸¦ ¸¸µé¸é µÈ´Ù.

/etc/init.d/rcsplash ÆÄÀÏÀ» ¼öÁ¤ÇÑ´Ù. ´ÙÀ½Àº rcsplashÆÄÀÏÀÇ ³»¿ëÀÌ´Ù.

#! /bin/bash
# Copyright (c) 1995-2000 SuSE GmbH Nuernberg, Germany.
#
# Author: Michael Schroeder <feedback@suse.de>
#
# /etc/init.d/splash
# /usr/sbin/rcsplash
#
# System startup script for console splash screens
#
### BEGIN INIT INFO
# Provides: splash
# Required-Start: $remote_fs
# X-UnitedLinux-Should-Start: fbset
# Required-Stop:
# Default-Start:  1 2 3 5 S
# Default-Stop:
# Description:    Splash screen setup
### END INIT INFO

# Source SuSE config
#. /etc/rc.status                         # ¼ö¼¼ ¸®´ª½º¿¡¼­ »ç¿ëÇÏ´Â ÆÄÀÏÀÌ´Ù ÁÖ¼®Ã³¸® ÇÑ´Ù

# Shell functions sourced from /etc/rc.status:
#      rc_check         check and set local and overall rc status
#      rc_status        check and set local and overall rc status
#      rc_status -v     ditto but be verbose in local rc status
#      rc_status -v -r  ditto and clear the local rc status
#      rc_failed        set local and overall rc status to failed
#      rc_failed <num>  set local and overall rc status to <num><num>
#      rc_reset         clear local rc status (overall remains)
#      rc_exit          exit appropriate to overall rc status

# First reset status of this service
#rc_reset                                  # ¼ö¼¼ ¸®´ª½º¿¡¼­ »ç¿ëÇÏ´Â ¸í·É. ÁÖ¼®Ã³¸® ÇÑ´Ù.

# Return values acc. to LSB for all commands but status:
# 0 - success
# 1 - generic or unspecified error
# 2 - invalid or excess argument(s)
# 3 - unimplemented feature (e.g. "reload")
# 4 - insufficient privilege
# 5 - program is not installed
# 6 - program is not configured
# 7 - program is not running
# 
# Note that starting an already running service, stopping
# or restarting a not-running service as well as the restart
# with force-reload (in case signalling is not supported) are
# considered a success.

test -f /proc/splash || exit 5

case "$1" in
    start)
	test -x /sbin/splash || exit 5
	splashv=`cat /proc/splash`
	res="${splashv##*, }"
	test "$splashv" != "$res" || exit 5
	res="${res%)*}"
	startstr="Setting up splash screens ($res):"
	for splcfg in /etc/bootsplash/vtsplash-[0-9]-$res.cfg /etc/bootsplash/vtsplash-[0-9][0-9]-$res.cfg; do
		test -f $splcfg || continue
		spljpg="${splcfg%.cfg}.jpg"
		test -f $spljpg || continue
		test -n "$startstr" && echo -n "$startstr"
		startstr=
		unit="${splcfg#/etc/bootsplash/vtsplash-}"
		unit="${unit%%-*}"
		/sbin/splash -s -u "$unit" "$splcfg"
		echo -n " $unit"
	done
	#test -z "$startstr" && rc_status -v  # ¼ö¼¼ ¸®´ª½º¿¡¼­ »ç¿ëÇÏ´Â ¸í·É. ÁÖ¼®Ã³¸® ÇÑ´Ù.
	;;
    stop)
	;;
    try-restart)
	## Stop the service and if this succeeds (i.e. the 
	## service was running before), start it again.
	## Note: try-restart is not (yet) part of LSB (as of 0.7.5)
	$0 status >/dev/null &&  $0 restart

	# Remember status and be quiet
	#rc_status    # ¼ö¼¼ ¸®´ª½º¿¡¼­ »ç¿ëÇÏ´Â ¸í·É. ÁÖ¼®Ã³¸® ÇÑ´Ù.
	;;
    restart)
	## Stop the service and regardless of whether it was
	## running or not, start it again.
	$0 start

	# Remember status and be quiet
	#rc_status     # ¼ö¼¼ ¸®´ª½º¿¡¼­ »ç¿ëÇÏ´Â ¸í·É. ÁÖ¼®Ã³¸® ÇÑ´Ù.
	;;
    force-reload)
	## Signal the daemon to reload its config. Most daemons
	## do this on signal 1 (SIGHUP).
	## If it does not support it, restart.
	$0 try-restart
	#rc_status      # ¼ö¼¼ ¸®´ª½º¿¡¼­ »ç¿ëÇÏ´Â ¸í·É. ÁÖ¼®Ã³¸® ÇÑ´Ù.
	;;
    reload)
	$0 try-restart
	#rc_status      # ¼ö¼¼ ¸®´ª½º¿¡¼­ »ç¿ëÇÏ´Â ¸í·É. ÁÖ¼®Ã³¸® ÇÑ´Ù.
	;;
    status)
	;;
    *)
	echo "Usage: $0 {start|stop|status|try-restart|restart|force-reload|reload}"
	exit 1
	;;
esac
#rc_exit                 # ¼ö¼¼ ¸®´ª½º¿¡¼­ »ç¿ëÇÏ´Â ¸í·É. ÁÖ¼®Ã³¸® ÇÑ´Ù.

/etc/bootsplash µð·ºÅ丮¿¡ bootsplash-1024x768.cfg ÆÄÀÏÀ» vtsplash-0-1024x768.cfg·Î º¹»çÇÏ°í bootsplash-1024x768.jpg ÆÄÀϵµ vtsplash-0-1024x768.cfgÀ¸·Î º¹»çÇÑ´Ù. ÀÌ ÆÄÀϵ鿡¼­ vtsplash-¿Í -1024x768»çÀÌ¿¡ ¼ýÀÚ 0Àº tty1À» ÀǹÌÇÑ´Ù ±×·¯¹Ç·Î 1Àº tty2, 2´Â tty3, 3´Â tty4, 4´Â tty5, 5´Â tty6 °¡ µÈ´Ù.

bootspalsh ·¥µð½ºÅ©·Î Çؼ­ tty1¿¡ ¹è°æ±×¸²ÀÌ ¶ç¿öÁ®µµ vtsplash-0-1024x768.cfgÀÌ ¼³Á¤µÇ¾î ÀÖÀ¸¸é tty1¿¡´Â vtsplash-0-1024x768.jpg ÆÄÀÏÀÌ ·ÎµùµÇ°Ô µÈ´Ù. ±×·¯¹Ç·Î bootspalsh·¥µð½ºÅ©¿¡¼­ ·ÎµùµÈ ±×¸²À» °è¼Ó »ç¿ëÇÏ°í ½ÍÀ¸¸é vtspalsh-0-1024x768.cfg°ú vtspalsh-0-1024x768.jpg´Â ¸¸µéÁö ¾Ê¾Æµµ µÈ´Ù.

tty1ºÎÅÍ tty6±îÁö ¼³Á¤ÇÏ°í ½ÍÀ¸¸é vtsplash-0-1024x768.cfgºÎÅÍ vtsplash-5-1024x768.cfg ±îÁö ¸¸µç´Ù. jpg ÆÄÀϵµ cfgÆÄÀÏ°ú À̸§À» ¶È°°ÀÌ Çؼ­ º¹»çÇÑ´Ù.

# cd /etc/bootsplash
/etc/bootsplash# cp bootsplash-1024x768.cfg vtsplash-0-1024x768.cfg
/etc/bootsplash# cp bootsplash-1024x768.jpg vtsplash-0-1024x768.jpg

¾Æ·¡´Â /etc/bootsplash/bootsplash-1024x768.cfg ¸¦ /etc/bootsplash/vtsplash-0-1024x768.cfg·Î º¹»çÇÑ ÆÄÀÏÀÇ ³»¿ëÀÌ´Ù. ¾Æ·¡¿Í °°ÀÌ ¼öÁ¤ÇÑ´Ù.

# This is the configuration file for the 1024x768 bootsplash picture.
#
# This file is necessary to specify the coordinates of the text box on
# the splash screen.
#
# Comments are welcome by stepan@suse.de

# config file version
version=3

# should the picture be displayed?
state=1

# fgcolor is the text forground color.
# bgcolor is the text background (i.e. transparent) color.
fgcolor=7
bgcolor=0

# (tx, ty) are the (x, y) coordinates of the text window in pixels.
# tw/th is the width/height of the text window in pixels.
tx=0
ty=0
tw=1024
th=768

# name of the picture file (full path recommended)
#jpeg=/etc/bootsplash/bootsplash-1024x768.jpg        
#silentjpeg=/etc/bootsplash/silent-1024x768.jpg 
# À§ÀÇ ÆÄÀϵéÀº ÁÖ¼®Ã³¸® ÇÑ´Ù. vtsplash-0-1024x768.jpg·Î ±×¸²ÆÄÀÏÀÇ À̸§À» vtsplash-0-1024x768.cfg ¿Í ÇÔ²²
# ¶È°°ÀÌ ¸ÂÃß¾î ÁÖ¾ú±â ¶§¹®¿¡ À§ÀÇ ¼³Á¤Àº ¹Ý¿µµÇÁö ¾Ê´Â´Ù.

progress_enable=1

# background
box silent noover 204 666 820 686 #515151
box silent inter  204 666 204 686 #b77200 #f2b700 #b77200 #f2b700
box silent        204 666 820 686 #b77200 #f2b700 #b77200 #f2b700
#box silent inter  204 666 204 686 #f2b700 #b77200 #b77200 #f2b700
#box silent        204 666 820 686 #f2b700 #b77200 #b77200 #f2b700

# black border
box silent         204 665 820 665 #b5b5b5
box silent         204 687 820 687 #b5b5b5
box silent         203 665 203 687 #b5b5b5
box silent         820 665 820 687 #b5b5b5


overpaintok=1

¿©±â¼­ tty1ºÎÅÍ tty6±îÁö ´Ù¸¥ ±×¸²À» 6Àå »ç¿ë ÇÒ ¼ö ÀÖ´Ù. ¾Õ¿¡¼­´Â °°Àº ±×¸²À» º¹»çÇßÁö¸¸ vtsplash-1~6-1024x768.jpg ÆÄÀÏÀ» °¢°¢ ´Ù¸£°Ô ÇÏ¸é µÈ´Ù. ÁÖÀÇÇÒ Á¡Àº Çػ󵵸¦ 1024x768·Î ÇßÀ¸¸é °¢ ÆÄÀÏÀÇ Çػ󵵰¡ 1024x768·Î ¶È°°¾Æ¾ß µÇ°í ±×·¸Áö ¾ÊÀ¸¸é ÆíÁýÀ» Çؼ­ °°°Ô ¸¸µé¾î ÁØ´Ù.

±×¸²ÆÄÀÏÀÇ ¿ë·®ÀÌ ³Ê¹« Å©°Å³ª jpgÆÄÀÏÀÌ ¾Æ´Ñ°æ¿ì ±×¸²ÆÄÀÏÀÌ ¶ßÁö ¾Ê´Â´Ù. ±×¸®°í Alsee µî¿¡¼­ jpg ÆÄÀÏ·Î ÀúÀåÇßÀ» °æ¿ì ±×¸²ÀÌ ¶ßÁö ¾ÊÀ» ¼ö ÀÖ´Ù. ±×¸²ÆÄÀÏÀº Æ÷Åä¼¥ °°Àº ÇÁ·Î±×·¥¿¡¼­ ¼öÁ¤ÇÑ ±×¸²µéÀÌ Àß ¶¸´Ù. ±×¸²ÀÌ ¶ßÁö ¾ÊÀ» °æ¿ì ¼³Á¤ ÆÄÀÏ¿¡ ÀÌ»óÀÌ ¾øÀ¸¸é ´ëºÎºÐ ±×¸²ÆÄÀÏÀÇ ¹®Á¦ÀÌ´Ù. ºÎÆ®·Î´õ¿¡¼­ vga=0x317·Î Çؼ­ Çػ󵵴 1024x768ÀÌ°í Ä÷¯´Â 6¸¸5õ Ä÷¯ÀÌ´Ù. ±×¸²ÆÄÀÏÀÌ ÇÏÀÌÄ÷¯(16ºñÆ®), Æ®·çÄ÷¯(32ºñÆ®)ÀÎ °æ¿ì ±×¸²ÀÌ ¶ßÁö ¾ÊÀ» ¼ö ÀÖÀ¸´Ï. Æ÷Åä¼¥, ±èÇÁ µîÀÇ ÇÁ·Î±×·¥¿¡¼­ Ä÷¯¸¦ 6¸¸5õ Ä÷¯·Î ¸ÂÃß¾î Çغ¸±æ ¹Ù¶õ´Ù.

ºÎÆ®·Î´õ¿¡¼­ vgaÀÎÀÚ°ªÀÌ °¡Áö´Â ÇØ»óµµ¿Í Ä÷¯

    | 640x480  800x600  1024x768 1280x1024
----+-------------------------------------
256 |  0x301    0x303    0x305    0x307
32k |  0x310    0x313    0x316    0x319
64k |  0x311    0x314    0x317    0x31A
16M |  0x312    0x315    0x318    0x31B

À§ÀÇ ÇØ»óµµ¿Í Ä÷¯¸¦ º¸°í Àڽſ¡°Ô ¸Â°Ô ¼³Á¤Çϱ⠹ٶõ´Ù. ¸¸¾à 1280x1024 64k ·Î ÇÑ´Ù¸é ºÎÆ®·Î´õ¿¡¼­ vga=0x31A, bootsplash-1280x1024.cfg·Î »õ·Î ¸¸µé°í ³»¿ëµµ Çػ󵵿¡ ¸Â°Ô ¼³Á¤ÇÑ´Ù. ±×¸²ÆÄÀϵµ 1280x1024ÀÇ Çػ󵵸¦ °¡Áö´Â°ÍÀÌ ÀÖ¾î¾ß ÇÑ´Ù. ±×¸®°í bootsplash ·¥ µð½ºÅ©µµ »õ·Î ¸¸µé¾îÁÖ¾î¾ß ÇÑ´Ù. vtsplash-0-1280x1024.cfgÆÄÀÏ¿¡¼­ ÆÄÀÏÀ̸§ÀÇ 1280x1024´Â ¸ÂÃß¾î ÁÖ¾î¾ß ÇÑ´Ù. ºÎÆà ÇÒ¶§ ÇØ»óµµ¿Í ÆÄÀÏÀ̸§À» ºñ±³Çϱ⠶§¹®ÀÌ´Ù. ±×¸®°í vtsplash-0-1280x1024.jpg ±×¸²ÆÄÀϵµ ¸¸µç´Ù.

ÀÌÁ¦ ´Ù½Ã ºÎÆÃÀ» Çؼ­ Alt+F1~6±îÁö ´­·¯ º¸¸é ±×¸²µéÀÌ ¼³Á¤ µÇ¾úÀ» °ÍÀÌ´Ù. ±×¸²ÀÌ ¶ßÁö ¾Ê´Â´Ù¸é. ´Ù½ÃÇѹø ½ºÅ©¸³Æ®ÀÇ ³»¿ëÀ» »ìÆ캸°í ½ºÅ©¸³Æ®°¡ ¹®Á¦°¡ ¾øÀ¸¸é ±×¸²ÆÄÀÏÀ» ´Ù½Ã »ìÆ캸±â ¹Ù¶õ´Ù.

ÀÌÁ¦ Bootspalsh HOWTO ¹®¼­¸¦ ¸¶Ä¡µµ·Ï ÇÏ°Ú½À´Ï´Ù. ÀÌ ¹®¼­¿¡¼­ À߸øµÈ Á¡À̳ª. Áú¹®ÀÌ ÀÖÀ¸½Ã¸é pyrasis (at) chol.comÀ¸·Î ¸ÞÀÏ º¸³»Áֽñ⠹ٶø´Ï´Ù.


ID
Password
Join
Expect a letter from a friend who will ask a favor of you.


sponsored by andamiro
sponsored by cdnetworks
sponsored by HP

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2006-06-30 23:00:49
Processing time 0.0015 sec