· KLDP.org · KLDP.net · KLDP Wiki · KLDP BBS ·
Booyo LiveCD/Make Process

BooyoLiveCD/MakeProcess


SOURCE /dev/hdc1 DEST /dev/hdc3 /dev/hdc7 w/o OO Target /dev/hdc8 SOURCE /dev/hdc5 DEST /dev/hdc3 Target /dev/hdc6ÅÂ

°³¹ßȯ°æ /dev/hdc1 Ãʱâ»óÅ /dev/hdc3 ¼öÁ¤µÈ »óÅ /dev/hdc5

1. install FC3 desktop on DEST partition.

2. install FC3 workstation on SOURCE partition.

3. boot from SOURCE partition.

4. make new kernel and modules with modified kernel config.
  • download kernel-2.6.9-1.667.src.rpm
  • rpm -ivh kernel-2.6.9-1.667.src.rpm
  • cd /usr/src/redhat/SPECS
  • rpmbuild -bp --target i686 kernel-2.6.spec
2005.5.27
¿À·ù: Failed build dependencies:
        gnupg is needed by kernel-2.6.10-1.770.bone9.desktop.i686

gnupg ´Â CD 2 ¿¡ ÀÖÀ½ 
  • cd /usr/src/redhat/BUILD/kernel-2.6.9
  • mv linux-2.6.9 /usr/src
  • ln -s linux-2.6.9 linux
  • cd linux
2005.5.27
edit Makefile
EXTRAVERSION = -livecd
  • make oldconfig
  • make gconfig
    • think more about SCSI modules.
    • Kernel hacking -> Kernel debugging -> Compile the kernel with debug info N
    • File systems -> DOS/FAT/NT Filesystems -> NTFS file system support M
    • General setup -> Auditing support N
[root@localhost boot]# diff config-2.6.9-1.667 config-2.6.9-booyo
3,4c3,4
< # Linux kernel version: 2.6.9-1.667
< # Tue Nov  2 14:38:30 2004
---
> # Linux kernel version: 2.6.9-booyo
> # Thu Feb 10 08:54:47 2005
2342c2342,2344
< # CONFIG_NTFS_FS is not set
---
> CONFIG_NTFS_FS=m
> # CONFIG_NTFS_DEBUG is not set
> # CONFIG_NTFS_RW is not set
2502c2504
< CONFIG_DEBUG_INFO=y
---
> # CONFIG_DEBUG_INFO is not set
2005.5.27
Auditing support N
NTFS file system support (NTFS_FS) M

[root@localhost linux]# diff .config /boot/config-2.6.10-1.770.bone9.desktop
3,4c3,4
< # Linux kernel version: 2.6.10-livecd
< # Fri May 27 13:14:57 2005
---
> # Linux kernel version: 2.6.10-1.770.bone9.desktop
> # Sun Apr 10 14:36:35 2005
30c30,31
< # CONFIG_AUDIT is not set
---
> CONFIG_AUDIT=y
> CONFIG_AUDITSYSCALL=y
2249,2251c2250
< CONFIG_NTFS_FS=m
< # CONFIG_NTFS_DEBUG is not set
< # CONFIG_NTFS_RW is not set
---
> # CONFIG_NTFS_FS is not set
File system -> Miscellaneous file system->SquashFS
Device driver -> Graphics support 
Support for frame buffer device -> VESA VGA..(Y)
Console Display driver support -> Framebuffer..(Y)
Logo configuration -> Bootup logo (N)
Bootsplash configuratopn -> bootup splash screen (Y)
[root@localhost linux]# diff .config .config.old
4c4
< # Mon Sep  5 16:53:22 2005
---
> # Mon Sep  5 16:34:59 2005
2167c2167,2170
< # CONFIG_LOGO is not set
---
> CONFIG_LOGO=y
> # CONFIG_LOGO_LINUX_MONO is not set
> # CONFIG_LOGO_LINUX_VGA16 is not set
> CONFIG_LOGO_LINUX_CLUT224=y
2177c2180
< CONFIG_BOOTSPLASH=y
---
> # CONFIG_BOOTSPLASH is not set
  • make bzImage
  • make modules
  • make modules_install
[root@localhost modules]# du -s /lib/modules/*
99152   2.6.9-1.667
32700   2.6.9-booyo
2005.5.27
62904   2.6.10-1.770.bone9.desktop
28224   2.6.10-livecd
¸ðµâÀÌ ¿Ö ÀÌ·¸°Ô ÀûÀ»±î?
source ´Â ¿Ö ÀÖÀ»±î? ¸µÅ©ÀÓ.
loop.ko ´Â Ä¿³Î·Î, pwc Ãß°¡µÈ °ÍÀÓ.
  • make install
  • edit /boot/grub/grub.conf
5. make ash, cloop
2005.5.27
/usr/bin/cvs ¾øÀ½. ´Ù¸¥ ÆÄƼ¼ÇÀÇ °Í »ç¿ë.
dietlibc ¼³Ä¡ CD 2 ¿¡ ÀÖÀ½
export CVS_RSH=ssh
/mnt/sda5/usr/bin/cvs -z3 -d:pserver:anonymous@cvs.kldp.net:/cvsroot/booyolivecd co ash-booyo
/mnt/sda5/usr/bin/cvs -z3 -d:pserver:anonymous@cvs.kldp.net:/cvsroot/booyolivecd co cloop-booyo
make 
2005..5.27
cd advancecomp-1.9_create_compressed_fs ÇÑ ÈÄ, ./configure ¸ÕÀú ¼öÇà
À§·Î ¿Ã¶ó¿Í¼­ make
2005.5.31
cp -Rp /mnt/sda11/BOOYO.build/ /
cp /root/cloop-booyo/create_compressed_fs /BOOYO.build/
have to edit isolinux.cfg
change linux26
change logo.16

mount -o loop minirt tmp
cd tmp/static
cp /root/ash-booyo/sh ash
cp /sbin/insmod.static insmod
cp /sbin/udev.static udevstart
cd ../modules
cp /root/cloop-booyo/cloop.ko .
cd scsi
cp /lib/modules/2.6.10-livecd/kernel/drivers/scsi/BusLogic.ko BusLogic.ko
cp /lib/modules/2.6.10-livecd/kernel/drivers/scsi/a100u2w.ko a100u2w.ko
cp /lib/modules/2.6.10-livecd/kernel/drivers/scsi/aic7xxx/aic7xxx.ko aic7xxx.ko
cp /lib/modules/2.6.10-livecd/kernel/drivers/scsi/aic7xxx_old.ko aic7xxx_old.ko
cp /lib/modules/2.6.10-livecd/kernel/drivers/scsi/ata_piix.ko ata_piix.ko
cp /lib/modules/2.6.10-livecd/kernel/drivers/scsi/fdomain.ko fdomain.ko
cp /lib/modules/2.6.10-livecd/kernel/drivers/scsi/gdth.ko gdth.ko
cp /lib/modules/2.6.10-livecd/kernel/drivers/scsi/ide-scsi.ko ide-scsi.ko
cp /lib/modules/2.6.10-livecd/kernel/drivers/scsi/initio.ko initio.ko
cp /lib/modules/2.6.10-livecd/kernel/drivers/scsi/libata.ko libata.ko
cp /lib/modules/2.6.10-livecd/kernel/drivers/scsi/scsi_mod.ko scsi_mod.ko
cp /lib/modules/2.6.10-livecd/kernel/drivers/scsi/sd_mod.ko sd_mod.ko
cp /lib/modules/2.6.10-livecd/kernel/drivers/scsi/sr_mod.ko sr_mod.ko
cp /lib/modules/2.6.10-livecd/kernel/drivers/scsi/tmscsim.ko tmscsim.ko
cp /lib/modules/2.6.10-livecd/kernel/drivers/usb/host/uhci-hcd.ko uhci-hcd.ko
cp /lib/modules/2.6.10-livecd/kernel/drivers/usb/host/ehci-hcd.ko ehci-hcd.ko
cp /lib/modules/2.6.10-livecd/kernel/drivers/usb/host/ohci-hcd.ko ohci-hcd.ko
cp /lib/modules/2.6.10-livecd/kernel/drivers/usb/storage/usb-storage.ko usb-storage.ko
cp /lib/modules/2.6.10-livecd/kernel/drivers/ieee1394/ieee1394.ko ieee1394.ko
cp /lib/modules/2.6.10-livecd/kernel/drivers/ieee1394/ohci1394.ko ohci1394.ko
cp /lib/modules/2.6.10-livecd/kernel/drivers/ieee1394/sbp2.ko sbp2.ko

6. make initrd.img
  • edit linuxrc
2005.5.31
cp -a /BOOYO/root /home/root
ln -s /home/root /root
 
2005.5.31
cd /BOOYO.build/BOOYO.Master/boot/isolinux
edit boot.msg
isolinux.cfg
cp /boot/vmlinuz*liveCD linux26

cd /BOOYO.build/BOOYO.Master/boot/isolinux/initrd/etc
cp /etc/passwd .
cp /etc/shadow .
cp /etc/group .
clean mtab
7. make rc.sysinit ( I don't want to edit inittab. )
inittab ¸¦ º¯°æÇÏ°í booyo-init, booyo-halt, booyo-reboot »ç¿ë
  • berry linux ÀÇ °æ¿ì
    • edit /etc/init.d/xsession
      /opt/booyo/xsetup

8. make hwsetup-booyo ( replace for kmodule )
  • /opt/booyo ´Â ÆÄÀϽýºÅÛÀÇ Ç¥ÁØ¿¡ ¸ÂÁö ¾ÊÀ½. Ç¥ÁØ¿¡ ¸Â°Ô ´Ù¸¥ À§Ä¡¸¦ ãÀ» °Í
  • change rc.sysinit
  • cp kmodule-booyo to /opt/booyo/
  • cp hwsetup-booyo to /opt/booyo/
  • cp mkxf86config to /opt/booyo/
  • cp XF86Config-4.in to /opt/booyo/
2005.6.1
edit XF86Config-4.in
  • cp hwsetup to /etc/init.d
    • hwsetup À» kudzu ·Î º¯°æ
  • mv S05kudzu to K05kudzu
    • K05kudzu ¾ø¾Ú
    • ln -s ../init.d/kudzu S05kudzu
    • rhgb initialize ¿¡ Àǽɽº·¯¿î ºÎºÐÀÌ À־ ÀÌ¿Í °°ÀÌ ÇÔ.
  • ln -s /etc/init.d/hwsetup /etc/rc5.d/S05hwsetup
  • cp ddcxinfo-booyo to /opt/booyo/
  • cd /etc/sysconfig/
  • rm booyo hwconf mouse xserver sound netcard
  • make null /etc/modprobe.conf
  • rm /etc/X11/xorg.conf
  • mouse ¸µÅ© ²÷À» °Í

9. make installer 10. make BOOYO.build directory on DEST

11. cp files to DEST

12. make iso file

diff /dev/hdc3 /dev/hdc7


hdc3: install desktop hdc7: insrall desktop w/o oo and do something

diff: /mnt/hdc3/usr/share/gnome/help/dia/C/Dia.html: ±×·± ÆÄÀÏÀ̳ª µð·ºÅ丮°¡ ¾øÀ½ diff: /mnt/hdc7/usr/share/gnome/help/dia/C/Dia.html: ±×·± ÆÄÀÏÀ̳ª µð·ºÅ丮°¡ ¾øÀ½ diff: /mnt/hdc3/usr/share/gnome/help/dia/en/Dia.html: ±×·± ÆÄÀÏÀ̳ª µð·ºÅ丮°¡ ¾øÀ½ diff: /mnt/hdc7/usr/share/gnome/help/dia/en/Dia.html: ±×·± ÆÄÀÏÀ̳ª µð·ºÅ丮°¡ ¾øÀ½ diff: /mnt/hdc3/usr/share/gnome/help/dia/pl/Dia.html: ±×·± ÆÄÀÏÀ̳ª µð·ºÅ丮°¡ ¾øÀ½ diff: /mnt/hdc7/usr/share/gnome/help/dia/pl/Dia.html: ±×·± ÆÄÀÏÀ̳ª µð·ºÅ丮°¡ ¾øÀ½

su ´Â ÇÒ ¼ö ÀÖÁö¸¸ root ·Î login ÇÏ´Â °ÍÀº ºÒ°¡Çϵµ·Ï ÇÏ´Â °ÍÀÌ ÁÁ°Ú½¿. ram ÀÇ »ç¿ëÀÌ ³Ê¹« ¸¹¾ÆÁü.(?)

diff /dev/hdc7 /dev/hdc8


root@localhost /# diff -r /mnt/hdc7 /mnt/hdc8/BOOYO/tmp > hdc78.diff diff: /mnt/hdc8/BOOYO/tmp/etc/X11/xkb/compiled: ±×·± ÆÄÀÏÀ̳ª µð·ºÅ丮°¡ ¾øÀ½ diff: /mnt/hdc8/BOOYO/tmp/usr/X11R6/lib/X11/xkb/compiled: ±×·± ÆÄÀÏÀ̳ª µð·ºÅ丮°¡ ¾øÀ½ diff: /mnt/hdc8/BOOYO/tmp/usr/lib/X11/xkb/compiled: ±×·± ÆÄÀÏÀ̳ª µð·ºÅ丮°¡ ¾ø À½ diff: /mnt/hdc7/usr/share/gnome/help/dia/C/Dia.html: ±×·± ÆÄÀÏÀ̳ª µð·ºÅ丮°¡ ¾øÀ½ diff: /mnt/hdc8/BOOYO/tmp/usr/share/gnome/help/dia/C/Dia.html: ±×·± ÆÄÀÏÀ̳ª µð ·ºÅ丮°¡ ¾øÀ½ diff: /mnt/hdc7/usr/share/gnome/help/dia/en/Dia.html: ±×·± ÆÄÀÏÀ̳ª µð·ºÅ丮°¡ ¾øÀ½ diff: /mnt/hdc8/BOOYO/tmp/usr/share/gnome/help/dia/en/Dia.html: ±×·± ÆÄÀÏÀ̳ª µð·ºÅ丮°¡ ¾øÀ½ diff: /mnt/hdc7/usr/share/gnome/help/dia/pl/Dia.html: ±×·± ÆÄÀÏÀ̳ª µð·ºÅ丮°¡ ¾øÀ½ diff: /mnt/hdc8/BOOYO/tmp/usr/share/gnome/help/dia/pl/Dia.html: ±×·± ÆÄÀÏÀ̳ª µð·ºÅ丮°¡ ¾øÀ½

/home/booyo ÀÇ ³»¿ëÀº cd ¸¦ ¸¸µé¶§ ¸ðµÎ Áö¿î´Ù. /etc/skel ¿¡ ÀÖ´Â °Í¸¸ º¹»çÇÏ°í owner ¸¦ ¹Ù²Ù¸é µÊ.

/root ÀÇ ³»¿ëÀº ¾î¶»°Ô ÇØ¾ß Çϳª?

BOOYO.builder

Knoppix.postupgrade

FC3 ¿¡¼­´Â ÇÊ¿äÇÑ ºÎºÐÀÌ ¾È º¸ÀÓ.
  • rc?.d ¹Ø¿¡ ÀÖ´Â ÆÄÀÏÁß README, knoppix, xsession ÀÌ Æ÷ÇÔµÇÁö ¾ÊÀº ÆÄÀϵéÀÇ ¾ÕºÎºÐ(K|S??) À»
¾ø¾Ø ÈÄ $STOP ¿¡ Ãß°¡, ÇÏ°í ¾ø¾Ú.
  • µ¹°í ÀÖ´Â °ÍÀ̸é stop ½ÃÄÑ¾ß Çϳª, ¹«½¼ ¹®Á¦ÀÎÁö comment È­ Çß½¿.
  • chmod 666 /dev/ttyS* /dev/ttyUSB* /dev/ttyACM* /dev/rfcomm* /dev/ircomm*
  • /usr/share/autostart/* ¹Ø¿¡ ÀÖ´Â ÆÄÀÏÁß (panel|kdesktop|khotkeys|knoppix)\.desktop ÀÌ ¾Æ´Ñ °ÍÀº ¾ø¾Ú.
  • Remove broken japanese fonts in Debian
  • chmod u+s,go+rx /usr/bin/cdrecord* /usr/bin/cdrdao /usr/bin/nvtv
    ÀÏ¹Ý »ç¿ëÀÚ°¡ »ç¿ëÇÒ ¼ö ÀÖµµ·Ï º¯°æ
  • ¸Þ´º¿¡¼­ xcdroast|ethereal|kbackup À» »ç¿ëÇÒ ¼ö ÀÖµµ·Ï sudo Ãß°¡
  • ¸Þ´º¿¡¼­ Replace kdesu (needs password) by sudo (doesn't)
  • ¸Þ´º¿¡¼­ Replace su-to-root (needs password) by sudo (doesn't)
  • ¸Þ´º¿¡¼­ Remove -ncp in xboard startup file
  • rm -f /usr/lib/menu/evolution1.3
  • rm -rf /usr/share/gnome/apps/Knoppix
  • /etc/modutils/aliases ¿¡ ´ÙÀ½ÀÌ ¾øÀ¸¸é Ãß°¡ÇÏ°í update-modules
    • alias net-pf-17 af_packet
    • alias ide_cs ide-cs
    • alias usbcore off
    • alias autofs autofs4
  • Make acrobat the default PDF viewer, if present
  • Change desktop icon for Mozilla
  • HOME=/root fc-cache -f -v
  • captive ntfs
  • update-fonts-alias /usr/X11R6/lib/X11/fonts/misc for Belgian
  • Recreating library cache... ldconfig
#!/bin/sh
# Remove unwanted init scripts and KDE-autostart files

STOP=""
for i in `ls -d1 /etc/rc5.d/* | egrep -v -e '(README)'`; do
BASE=`basename $i`
BASE=${BASE##[KS]??}
case "$STOP" in *${BASE}*) ;; *) STOP="$STOP $BASE"; ;; esac
done

for i in $STOP; do
 /etc/init.d/$i stop
done

# Make menu here for installer

# Prelink
echo "Recreating library cache..."
ldconfig
# prelink --ld-library-path=/opt/openoffice/program -m /opt/openoffice/program >/dev/null 2>&1
echo "Done."
  • prelink ¿¡ ´ëÇØ °í·ÁÇØ¾ß ÇÔ.
  • /opt/booyo ¿¡ ÀÖ´Â ÆÄÀÏÀ» ¾î¶»°Ô ÇÒ °ÍÀΰ¡?
  • /usr/sbin À¸·Î ¿Å±â´Â °ÍÀº ¾î¶³±î?¤» ¸µÅ©¸¸ ¸¸µé¾îµµ µÉ °Í °°±â´ÂÇÏ´Ù.

Knoppix.clean

  • /etc/init.d ¹ØÀÇ autofs, apmd ¸¦ stop ½ÃÅ°°í, knoppix-terminalserver deconfigure
rmdir /mnt/cdrom?* /mnt/hd?* /mnt/sd?* /mnt/ram* /mnt/sr* /mnt/miniroot /mnt/bootfloppy 2>/dev/null
rm -f /etc/ifstate /etc/X11/XF86Config /etc/X11/XF86Config-4 \
      /etc/XF86Config /etc/XF86Config-4 /etc/sysconfig/* \
      /etc/ssh/*key* \
      /etc/samba/*.SID /var/lib/samba/* /var/cache/samba/* /etc/samba/*.tdb \
      /dev/mouse* /dev/cdrom* /dev/cdwriter* \
      /var/run/*/* /var/run/* /var/log/ksymoops/* /var/lock/*/* /var/lock/* \
      /var/state/*/* /var/state/* /var/log/nessus/* /var/lib/nessus/* \
      /halt /reboot /ash.static /etc/dhcpc/*.info /etc/dhcpc/resolv* \
      /etc/resolv.conf /etc/*passwd- /etc/*shadow- /etc/*group- 2>/dev/null

mkdir -p /etc/sysconfig/network-scripts /etc/sysconfig/provider
cat >/etc/dhcpc/resolv.conf <<EOT
# insert nameservers here
# nameserver 127.0.0.1
EOT
chmod 644 /etc/dhcpc/resolv.conf
ln -s /etc/dhcpc/resolv.conf /etc/
rm -rf /tmp/* /var/tmp/* /var/tmp/.??* /var/backups/* /root/.??* /.??* /home/root/.??* \
        /home/*/.ssh /home/*/.bash_history \
       /home/ffranz/* /home/ffranz/.??* /var/lib/texmf/ls-R \
       /var/spool/texmf/ls-R /var/run/screen/* /var/spool/squid/* \
       /usr/share/applnk/System/Nessus.desktop \
       /usr/share/applnk/System/X-Terminal_as_root* \
       /usr/share/applnk/System/QTParted.desktop
nuke /var/log /var/cache /var/spool/texmf
zero /var/local /var/log /var/spool /var/mail \
     /var/lib/games /var/cache/man /var/lib/wine \
     /var/lib/nfs /var/lib/xkb

for i in `find /usr/*/man -name \*.\[0-9ln\]` ; do
[ -f "$i".gz -o -f "$i".bz2 ] && rm -f "$i"
done

apt-get clean

strip --strip-unneeded `find /usr/X11R6/lib/modules -name \*.so -o -name \*.o`

# Recreate empty utmp and wtmp
:>/var/run/utmp
:>/var/run/wtmp
# regenerate module dependencies and ls.so.cache
echo -n "Updating modules.dep..."
depmod -a 2>/dev/null
echo "  Done."
echo -n "Updating texhash..."
mktexlsr
echo "  Done."
echo -n "Updating mandb..."
mandb -c
man doesnotexist >/dev/null 2>&1
echo "  Done."
#echo -n "Updating menus..."
#/usr/sbin/mkmenusfromkde
#echo " Done."
echo -n "Updating locate-database..."
updatedb --prunepaths="/KNOPPIX.build /mnt/hd /mnt/cdrom /tmp /usr/tmp /var/tmp"update-dlocatedb
echo "  Done."

echo -n "Fixing permissions in /dev/..."
chown root.root /dev/ttyp*
chmod 666 /dev/ttyp* /dev/sg* /dev/audio* /dev/dsp* /dev/mixer* /dev/sequencer*
echo "  Done".

echo -n "Fixing permissions in /etc/ppp/..."
chown root.dip /etc/ppp/*secrets /etc/ppp/ppp_* /etc/ppp/peers/*provider /etc/ppp/peers 
/etc/ppp /etc/chatscripts /etc/chatscripts/*
chmod g+rwX    /etc/ppp/*secrets /etc/ppp/ppp_* /etc/ppp/peers/*provider /etc/ppp/peers 
/etc/ppp /etc/chatscripts /etc/chatscripts/*
echo "  Done".

echo -n "Removing unused architecture Kernel sources: "
for i in `ls -1 /usr/src/linux*/arch/ | egrep -v '(i386|x86_64)'`; do
        echo -n "$i "; rm -rf /usr/src/linux*/arch/"$i" /usr/src/linux*/include/asm-"$i"
done
echo "  Done."

rm -f /lib/modules/*/kernel/drivers/usb/bluetooth.o

echo -n "Creating auto.mnt..."
cat >/etc/auto.mnt <<EOT
# Knoppix automounter file for Directory /mnt/auto
# umask=000 only works for msdos/vfat floppies, but otherwise the floppy is read-only.
floppy  -fstype=auto,user,exec,umask=000        :/dev/fd0
cdrom   -fstype=auto,user,exec,ro       :/dev/cdrom
# The following entries (if any) are auto-generated by knoppix-autoconfig
EOT
echo "  Done".
# echo "Setting OpenOffice Link to default EN"
# rm -f /etc/alternatives/soffice.resource ; ln -sf /opt/openoffice/program/resource-en 
/etc/alternatives/soffice.resource
# rm -f /etc/alternatives/soffice.help ; ln -sf /opt/openoffice/help/help-en /etc/alternatives/soffice.help
echo -n "Zeoring available Package lists ..."
for i in $(find /var/lib/apt/lists -type f \( -name \*Packages -o -name \*Sources \) 2>/dev/null); 
do  :>"$i"; done
dpkg --clear-avail
rm -f /var/cache/apt/*.bin
apt-cache gencaches

echo "Done."

booyo clean À» À§ÇÑ °ËÅä

rmdir /mnt/cdrom?* /mnt/hd?* /mnt/sd?* /mnt/ram* /mnt/sr* /mnt/miniroot /mnt/bootfloppy 2>/dev/null
rm -f /etc/ifstate /etc/X11/XF86Config /etc/X11/XF86Config-4 \
      /etc/XF86Config /etc/XF86Config-4 /etc/sysconfig/* \
      /etc/ssh/*key* \
      /etc/samba/*.SID /var/lib/samba/* /var/cache/samba/* /etc/samba/*.tdb \
      /dev/mouse* /dev/cdrom* /dev/cdwriter* \
      /var/run/*/* /var/run/* /var/log/ksymoops/* /var/lock/*/* /var/lock/* \
      /var/state/*/* /var/state/* /var/log/nessus/* /var/lib/nessus/* \
      /halt /reboot /ash.static /etc/dhcpc/*.info /etc/dhcpc/resolv* \
      /etc/resolv.conf /etc/*passwd- /etc/*shadow- /etc/*group- 2>/dev/null
  • rmdir /mnt/cdrom?* /mnt/hd?* /mnt/sd?* /mnt/ram* /mnt/sr* /mnt/miniroot /mnt/bootfloppy 2>/dev/null
    /mnt ¹Ø¿¡ ÀÖ´Â °Í°ú /media ¹Ø¿¡ ÀÖ´Â °ÍÀ» Áö¿î´Ù.
  • /etc/ifstate ¾øÀ½
  • /etc/X11/XF86Config /etc/X11/XF86Config-4 /etc/XF86Config /etc/XF86Config-4
    xorg.conf »ç¿ë xorg.conf.backup µÑ ´Ù Áö¿ö¾ß ÇÒ °Í °°À½.
  • /etc/ssh/*key*: Ç×»ó »õ·Î ¸¸µé¾î¾ß Çϴ°¡? sshd ¿¡ ÀÇÇØ »ý¼ºµÊ
  • /etc/samba/*.SID ¾øÀ½.
  • /var/lib/samba ¾øÀ½. /var/cache/samba/* samba ¿¡ ´ëÇØ Á¶»çÇÒ ÇÊ¿ä ÀÖ½¿. ½ÇÁ¦·Î ¼öÇàÇØ º¼ °Í.
  • /var/run/console
    • console.lock tcheun
  • /var/run/dbus
    • system_bus_socket
  • /var/run/sudo
    • _pam_timestamp_key root tcheun
  • /var/run/* ¸¦ Çصµ µÇ´Â°¡? µÇ´Â °Í °°´Ù.
  • /var/log/ksymoops/ ¾ø½¿
  • /var/log/nessus/ ¾÷½¿.
  • /var/lock/*/* /var/lock/* Çصµ µÉ °Í °°À½.
  • /var/state/ ¾ø½¿.
  • /var/lib/nessus/ ¾ø½¿.
  • /halt ¹«½¼ ÆÄÀÏÀΰ¡?
  • /reboot ¾ø½¿.
  • /ash.static ¾ø½¿.
  • /etc/dhcpc/ ¾ø½¿
  • /etc/resolve.conf Áö¿öµµ µÉ °Í °°À½.
  • /etc/sysconfig/* Á»´õ °ËÅä ÇÊ¿äÇÔ. (Áö¿ì¸é ¾ÈµÇ´Â °ÍÀ» ã¾Æ¾ß ÇÔ)
  • /var/log Á¤¸® ÇÊ¿ä
    • symbolic link ¸é ¾ÈµÇ´Â °ÍÀ» ã¾Æ¾ß ÇÑ´Ù.

{{{
mkdir -p /etc/sysconfig/network-scripts /etc/sysconfig/provider
cat >/etc/dhcpc/resolv.conf <<EOT # insert nameservers here
# nameserver 127.0.0.1 EOT
chmod 644 /etc/dhcpc/resolv.conf
ln -s /etc/dhcpc/resolv.conf /etc/
}}
  * /etc/sysconfig/network-scripts ¸¦ »ý¼ºÇÏ´Â °ÍÀº ¹®Á¦°¡ ÀÖ½¿,
  * /etc/sysconfig/provider ¾ø½¿
  * FC3 ´Â Á÷Á¢ /etc ¹Ø¿¡ resolve.conf ¸¦ ¸¸µë. /sbin/dhclient-script ¿¡ ÀÇÇØ »ý¼ºµÊ.

{{{
rm -rf /tmp/* /var/tmp/* /var/tmp/.??* /var/backups/* /root/.??* /.??* /home/root/.??* \
        /home/*/.ssh /home/*/.bash_history \
       /home/knoppix/* /home/knoppix/.??* /var/lib/texmf/ls-R \
       /var/spool/texmf/ls-R /var/run/screen/* /var/spool/squid/* \
       /usr/share/applnk/System/Nessus.desktop \
       /usr/share/applnk/System/X-Terminal_as_root* \
       /usr/share/applnk/System/QTParted.desktop
}}}
  * /var/backups/ ¾ø½¿.
  * /home/root/ ¾ø½¿
  * /var/lib/texmf/ls-R Áö¿ì´Â °ÍÀÌ ¸Â´Â °Í °°À½/
   * [root@localhost spool]# mktexlsr
   * mktexlsr: Updating /usr/share/texmf/ls-R...
   * mktexlsr: Updating /var/lib/texmf/ls-R...
   * mktexlsr: Done.
  * /var/spool/texmf/ls-R ¾ø½¿. /usr/share/texmf/ls-R µµ °°ÀÌ Áö¿ö¾ß ÇÒ °Í °°À½.
  * /var/run/screen/ ¾ø½¿.
  * /var/spool/squid/ ¾ø½¿.
  * /usr/share/applnk/ ¾ø½¿. ¸Þ´º °ü·Ã µð·ºÅ丮ÀÓ.
{{{
nuke /var/log /var/cache /var/spool/texmf
}}}
  * ºÒÇÊ¿äÇÑ ÆÄÀϸ¸ µð·ºÅ丮 ¹Ø¿¡¼­ ã¾Æ Áö¿ò.
{{{
zero /var/local /var/log /var/spool /var/mail \
     /var/lib/games /var/cache/man /var/lib/wine \
     /var/lib/nfs /var/lib/xkb
}}}
  * ÀÌ µð·ºÅ丮 ¹ØÀÇ ¸ðµç ÆÄÀÏÀÇ »çÀÌÁ 0 À¸·Î ¸¸µë.
  * /var/local/ ¹ØÀÇ ÆÄÀÏÀº ¸ðµÎ Áö¿ì´Â °ÍÀÌ ¸ÂÀ» °Í °°À½.
  * /var/log ¹ØÀÇ 1, 2, µîÀÌ ºÙÀº ÆÄÀÏÀº ¾ø¾Ö´Â °ÍÀÌ ¸ÂÀ» °Í °°À½.
  * /var/spool/ Àº °ËÅä ÇÊ¿äÇÔ. ƯÈ÷ anacron
  * /var/lib/games, /var/cache/man 0 ·Î ¸¸µå´Â °ÍÀÌ ¸Â´Â °Í °°À½.
  * /var/lib/wine ¾ø½¿.
  * /var/lib/nfs °ËÅä ÇÊ¿ä
  * /var/lib/xkb/README ÀÌ ÀÖÀ¸¹Ç·Î 0 ·Î ¸¸µé¸é ¾È µÉ °Í °°À½.
{{{
for i in `find /usr/*/man -name \*.\[0-9ln\]` ; do
[ -f "$i".gz -o -f "$i".bz2 ] && rm -f "$i"
done
}}}
  * °ËÅä ÇÊ¿ä

=== /etc/sysconfig ===
  * ¼³Ä¡ÀÌÈÄ º¯°æµÈ ÆÄÀÏ
fstab : file system table
mtab : mounted file system table
aliases.db : sendmail ¿¡ ÀÇÇØ »ý¼ºµÊ 
resolv.conf : /sbin/dhclient-script ¿¡ ÀÇÇØ »ý¼ºµÊ : zero ·Î ¸¸µé¾î¾ß ÇÒ °ÍÀ¸·Î »ý°¢µÊ. 
adjtime : hwclock ¿¡ ÀÇÇØ »ý¼ºµÊ 
asound.state : alsa °¡ state ¸¦ ÀúÀå 
prelink.cache : bianary ¿¡ º¯È­°¡ »ý°åÀ» ¶§ º¯°æµÊ. 
modprobe.conf : rc.sysinit ¿¡ ÀÇÇØ º¯°æµÉ °ÍÀ¸·Î »ý°¢µÊ. zero ·Î ¸¸µé¾î¾ß ÇÒ °Í °°À½.
modprobe.conf~ 
blkid.tab : zero ·Î ¸¸µé¾î¾ß ÇÒ °Í °°À½.
resolv.conf.bak 
resolv.conf.predhclient 
blkid.tab.old
  * ¼³Ä¡ÀÌÈÄ º¯°æµÈ µð·ºÅ丮
rc.d udev sysconfig X11
  * ¼³Ä¡½Ã »ý¼ºµÈ ¼ÒÇÁÆ®¸µÅ©
grub.conf vfontcap rmt
rc rc.local rc.sysinit rc0.d rc1.d rc2.d rc3.d rc4.d rc5.d rc6.d
redhat-release init.d
  * ¼³Ä¡½Ã »ý¼ºµÈ ÆÄÀÏ(?)
group gshadow passwd passwd- passwd.OLD shadow shadow- localtime
smartd.conf inittab lilo.conf.anaconda group- gshadow- krb.conf
krb5.conf ldap.conf libuser.conf nsswitch.conf pam_smb.conf yp.conf
hosts ld.so.cache cron.deny shells ld.so.conf
  * ¼³Ä¡½Ã »ý¼ºµÈ µð·ºÅ丮(?)
ssh lvm alternatives pam.d iiim profile.d gnopernicus-1.0 hotplug
cron.daily gtk gimp mail rhgb gaim ld.so.conf.d sgml xml sane.d skel
gtk-2.0 ntp dev.d sound gnome-vfs-2.0 bonobo-activation alsa howl
cups foomatic alchemist samba pango logrotate.d redhat-lsb xinetd.d
rpm ppp pcmcia firmware isdn racoon acpi java bluetooth cron.weekly
mgetty+sendfax log.d setuptool.d cron.monthly xdg selinux openldap
hal security makedev.d fonts hotplug.d dbus-1 default netplug netplug.d
iproute2
  * ¼³Ä¡½Ã º¹»çµÈ ÆÄÀÏ
scsi_id.config fedora-release issue issue.net yum.conf initlog.conf
sysctl.conf rpc nscd.conf login.defs gpm-root.conf readahead.early.files
readahead.files cpuspeed.conf pwdb.conf updatedb.conf gre.conf
logrotate.conf vimrc lftp.conf cdrecord.conf gssapi_mech.conf idmapd.conf
auto.master auto.misc auto.net fdprm man.config krb.realms sestatus.conf
fb.modes mailcap mime.types ntp.conf ltrace.conf slrn.rc environment
aliases at.deny DIR_COLORS DIR_COLORS.xterm a2ps-site.cfg a2ps.cfg
sudoers prelink.conf gnome-vfs-mime-magic wgetrc anacrontab lsb-release
quotagrpadmins quotatab warnquota.conf pinforc enscript.cfg services
inputrc bashrc csh.cshrc csh.login modprobe.conf.dist wvdial.conf
crontab Muttrc jwhois.conf im_palette-small.pal im_palette-tiny.pal
im_palette.pal imrc esd.conf termcap syslog.conf dumpdates xinetd.conf
scrollkeeper.conf pbm2ppa.conf pnm2ppa.conf mtools.conf minicom.users
mail.rc profile printcap securetty filesystems protocols host.conf
exports hosts.allow hosts.deny motd
  * ¼³Ä¡½Ã º¹»çµÈ µð·ºÅ丮
yum.repos.d gconf cron.d cron.hourly smrsh opt stunnel


http://www.ukuug.org/events/linux2004/knoppix.shtml

/etc/rc5.d ¹ØÀÇ readahead ¿Í readahead.early ´Â ¸Þ¸ð¸®°¡ Å« °æ¿ì°¡ ¾Æ´Ï¸é ¿ÀÈ÷·Á booting ¼Óµµ¸¦ ¶³¾î Æ®¸±¼ö ÀÖ½¿.

Note: The default /etc/aliases file installed with RedHat / Fedora has the last line of 
this sample commented out with a #, you may want to delete the comment and change user 
marc to another user. Also after editing this file, you'll have to convert it into a 
sendmail readable database file named /etc/aliases.db. Here is the command to do that:

[root@bigboy tmp]# newaliases

sendmail ÀÌ /usr/bin/newaliases À» ¼öÇàÇÏ°í ÀÌ¿¡ µû¶ó /etc/aliases.db °¡ »ý¼ºµÊ.
copy ÇØ¾ß ÇÏ´Â ÆÄÀÏÀÓ.

¿ì¼± ½ÃÇèÀ» ÇÒ ¼ö Àִµ¥ ±îÁö ÇØ º¸¾Æ¾ß ÇÒ °Í °°À½.
°¡´ÉÇÑ ÇÑ ¸¹Àº ÇÁ·Î±×·¥À» ¼öÇàÇØ º¸¾Æ¾ß °Ú´Ù.

/etc/sysconfig/hwconf
/etc/sysconfig/keyboard ¾È »ý±è.
/etc/sysconfig/mouse ´Ù¸§.
[root@localhost sysconfig]# diff mouse mouse.org
1d0
< FULLNAME="Generic - 3 Button Mouse (PS/2)"
3d1
< XEMU3="no"
5c3,4
< DEVICE=/dev/input/mice
---
> FULLNAME="Microsoft Corp. Wheel Mouse Optical"
> DEVICE="/dev/input/mice"

/etc/sysconfig/network-scripts/ifcfg-eth0 ¾È»ý±è.

/etc/modprobe.conf
[root@localhost etc]# diff modprobe.conf modprobe.conf.org
1a2
> alias scsi_hostadapter ata_piix
8c9
< alias scsi_hostadapter ata_piix
---
> install snd-usb-audio /sbin/modprobe --ignore-install snd-usb-audio && /usr/sbin/alsactl 
restore >/dev/null 2>&1 || :

/etc/X11/xorg.conf
[root@localhost X11]# diff xorg.conf xorg.conf.org
1c1,2
< # Xorg configuration created by system-config-display
---
>
> # XFree86 4 configuration created by pyxf86config
97c96
<       DefaultDepth     16
---
>       DefaultDepth     24
102a102,106
>       SubSection "Display"
>               Viewport   0 0
>               Depth     24
>               Modes    "1024x768" "800x600" "640x480"
>       EndSubSection

=== ¼Õº¸¾Æ¾ß ÇÒ ÆÄÀϵé ===
  * BOOYO.clean
   * /etc/sysconfig/networking/profiles/default/resolv.conf ¼öÁ¤ ÇÊ¿ä (linuxrc ¿¡¼­ cp ÇÊ¿ä)
   * /etc/sysconfig/network-scripts/ifcfg-eth0 Àº ±×´ë·Î µÒ. (linuxrc ¿¡¼­ cp ÇÊ¿ä)
   * /etc/resolve.conf (linuxrc ¿¡¼­ cp ÇÊ¿ä)
   * /var/spool/mail/booyo ¸¦ zero ·Î ¸¸µå´Â °ÍÀÌ ÇÊ¿äÇÏ´Ù.
   * /var/spool/ ¹Ø¿¡ µð·ºÅ丮´Â ¸¸µé¾îÁÖ¾î¾ß ÇÒ °Í °°À½. (linuxrc)
   * /var/mail/booyo ´Â zero ·Î ¸¸µé¾î¾ß ÇÒ °Í °°À½. 
   * /etc/ssh/ ¹ØÀÇ ÆÄÀÏ Á¶»ç ÇÊ¿ä 
   * /etc/.pwd.lock ¸¦ zero ·Î ¸¸µå´Â °ÍÀÌ ÇÊ¿äÇÒ °Í °°À½. 
  * BOOYO.mkcompressed (¿ì¼± ¿Ï·á, ½ÃÇè ÇÊ¿ä)
  * BOOYO.mkisofs: knoppix ´Â deb ÆÄÀÏÀ» Áö¿ì´Â °Í °°Àºµ¥, rpm ÆÄÀÏÀº ? (¿ì¼± ¿Ï·á, ½ÃÇèÇÊ¿ä) 
  * BOOYO.postupgrade (½ÃÇè¿ëÀº µÇ¾ú½¿. ½ÃÇèÈÄ¿¡ Ãß°¡ ÇÊ¿ä)
   * ¸Þ´º¸¦ ¸¸µå´Â °Í°ú prelink °ü·Ã ÀÛ¾÷ ¼öÇàÇØ¾ß ÇÔ.

linuxrc ¿¡¼­ cp ÇÊ¿ä
/var/log/acpid /var/log/boot.log /var/log/cron /var/log/dmesg /var/log/lastlog        
/var/log/maillog /var/log/messages /var/log/secure /var/log/wtmp

/var/log/gdm µð·ºÅ丮 ¸¸µé¾î¾ß ÇÒ °Í °°À½.

berry ¿¡¼­ memtest ãÀ» °Í

=== booyo test3 ===
[root@localhost ~]# rpm -ivh openoffice.org-1.1.3-11.5.0.fc3.i386.rpm 
openoffice.org-i18n-1.1.3-11.5.0.fc3.i386.rpm openoffice.org-libs-1.1.3-11.5.0.fc3.i386.rpm
°æ°í: openoffice.org-1.1.3-11.5.0.fc3.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2
¿À·ù: Failed dependencies:
        libbluecurve.so is needed by openoffice.org-1.1.3-11.5.0.fc3.i386
        libebook.so.8 is needed by openoffice.org-1.1.3-11.5.0.fc3.i386
        libedataserver.so.3 is needed by openoffice.org-1.1.3-11.5.0.fc3.i386
        redhat-menus >= 0.4-3 is needed by openoffice.org-1.1.3-11.5.0.fc3.i386

http://ko.openoffice.org/download.html ¿¡¼­ ´Ù¿î·Îµå
ftp://ftp.kr.freebsd.org/pub/openoffice/contrib/rc/1.1.4rc/OOo_1.1.4rc_041125_LinuxIntel_install_ko.tar.gz
tar zxvf OOo_1.1.4rc_041125_LinuxIntel_install_ko.tar.gz
cd OOo_1.1.4_LinuxIntel_install_ko/
./setup (/usr/local/ ·Î ¹Ù²Ü °Í)
cd /usr/share/applications
cp /root/.gnome2/vfolders/applications/* .

{{{
/media/cdrecorder/isolinux/splash.lss
[root@localhost ~]# lss16toppm < splash.lss > splash.ppm
[root@localhost ~]# ppmtolss16 < splash.ppm > logo.16
192000 pixels, 15447 bytes, (83.91% compression)
copy to /BOOYO.build/BOOYO.Master/boot/isolinux
}}}

[root@localhost proc]# dmesg | grep splash
Kernel command line: ro root=LABEL=/1 vga=0x317 splash=silent
bootsplash: silent mode.
bootsplash 3.1.4-2004/02/19: looking for picture.... silentjpeg size 19730 bytes, 
found (1024x768, 20906 bytes, v3).
bootsplash: status on console 0 changed to on
bootsplash 3.1.4-2004/02/19: looking for picture.... found (1024x768, 20906 bytes, v3).
bootsplash: status on console 1 changed to on
bootsplash 3.1.4-2004/02/19: looking for picture.... found (1024x768, 20906 bytes, v3).
bootsplash: status on console 2 changed to on

splash -s -f /etc/bootsplash/bootsplash-1280x600.cfg > bootsplash
echo bootsplash | cpio -o -H newc | gzip >> /boot/initrd-2.6.10-tpbs.img

 * 2005.10.9
  * splash -s -f /etc/bootsplash/themes/default/config/bootsplash-1024x768.cfg > bootsplash
  * cp bootsplash /BOOYO.build/BOOYO.Master/boot/isolinux/initrd

http://sourceforge.net/mailarchive/forum.php?forum_id=36622&max_rows=25&style=nested&viewmonth=200502

=== 2005.6.3 ===
cp boot
cp /lib/modules
cp /usr/local/Op
cp /usr/share/applications/ooo*
cp /opt/booyo

sort list ¸¦ ¸¸µé±â À§ÇØ inittab, booyo-init, booyo-halt
º¹»ç

/etc/sysconfig/booyo ¶ó´Â µð·ºÅ丮¸¦ ¸¸µé¾úÀ½.
°á°úÀûÀ¸·Î hwsetup-booyo ¿Í mkxf86config °¡ ¿Àµ¿ÀÛÇÔ.
ÇÏÁö¸¸ ÀÌ°ÍÀÌ kudzu ÀÇ segmentation fault ¿Í ¹«½¼ »ó°üÀÌ Àִ°¡?

=== 2005.6.7 ===
cdrom eject ÇØ°á
launch feedback À» À§ÇØ http://www.nrpms.net/Packages/fedora-3-i386/production/startup-notification.html   
¿¡ ÀÖ´Â 
startup-notification-0.8-1.1.fc3.nr.i386.rpm À» ¼³Ä¡ÇØ¾ß ÇÔ.
±×¸®°í ¹«¾ùÀΰ¡ ´õ ÇØ¾ß Á» ´õ ³ª¾ÆÁú °ÍÀ¸·Î »ý°¢µÊ.

ln -sf /home/root /

rc5.d ¼±ÅÃÇÏ°Ô ÇÒ °Í
readahead °¡ ¾÷À¸¸é login È­¸é¿¡¼­ login µÇ´Â ½Ã°£ÀÌ ³Ê¹« ±è.

=== 2005.6.8 ===
make /root on /initrd
rm /root
ln -sf /ramdisk/root /

[root@localhost root]# dmesg | grep splash
Kernel command line: ro root=/dev/hdb2 vga=0x317 splash=silent
bootsplash: silent mode.
bootsplash 3.1.4-2004/02/19: looking for picture.... found (1024x768, 20906 bytes, v3).
bootsplash: status on console 1 changed to on
bootsplash 3.1.4-2004/02/19: looking for picture.... found (1024x768, 20906 bytes, v3).
bootsplash: status on console 2 changed to on

console 0 does not changed to on bootsplash
{{{
bootsplash 3.1.4-2004/02/19: looking for picture.... silentjpeg size 19730 bytes, 
found (1024x768, 20906 bytes, v3).
bootsplash: status on console 0 changed to on
}}}
ÀÌ ºÎºÐÀÌ ¾øÀ½ 
{{{
vesafb: framebuffer at 0xd0000000, mapped to 0xf8880000, using 3072k, total 16384k
vesafb: mode is 1024x768x16, linelength=2048, pages=9
vesafb: protected mode interface info at c000:5890
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
bootsplash 3.1.4-2004/02/19: looking for picture.... silentjpeg size 19730 bytes, 
found (1024x768, 20906 bytes, v3).
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
fb1: Virtual frame buffer device, using 1024K of video memory
}}}

[root@localhost console0]# ls -l /dev/pts*
ÇÕ°è 0
crw--w----  1 root tty 136, 0  6¿ù  9 03:37 0
crw--w----  1 root tty 136, 1  6¿ù  9 03:35 1

splash °¡ µÇ´Â °æ¿ì´Â 0 ¸¸ ÀÖÀ½.

initrd ÀÇ / ¹Ø¿¡ bootsplash ÆÄÀÏÀ» º¹»çÇÔ.
initrd.gz ¿¡ append ¸¦ ÇÒ °æ¿ì, ¸Þ¸ð¸®¹®Á¦ ¶Ç´Â »çÀÌÁî ¹®Á¦·Î ¿À·ù¹ß»ýµÊ.

/usr/share/applications ¹ØÀÇ ooo* ÆÄÀÏÀÇ StartupNotify ¸¦ true ·Î °íÄ¥°Í

xdialog ¼³Ä¡ÇÒ °Í

/usr/share/icons/default/index.html ¼öÁ¤ ÇÊ¿ä

Converting file formats GIF, JPEG, PNG or BMP into the LSS format can be a tricky process. 
For this demonstration, I created a simple header (640x115) in Adobe Illustrator and saved 
it in PNG format with 16 colors.

export LANG=en_US
pngtopnm < splash.png > splash.pnm
ppmtolss16 < splash.pnm > splash.lss
cp splash.lss /installcd/isolinux

#!/bin/sh
convert -depth 24  $1 $1
convert -depth 16  $1 $1
convert -depth  8  $1 $1
convert -colors  16   $1 $1

=== 2005.6.15 ===
clarify hwsetup-booyo.c
change booyo-services
change booyo-init

{{{
    2  cd /boot
    4  cp /mnt/sda12/boot/*livecd* .
    6  rm *bone9*
    8  cd grub
   10  cp /mnt/sda5/boot/grub/grub.conf .
   12  cd /lib/modules/
   14  cp -Rp /mnt/sda12/lib/modules/2.6.10-livecd .
   15  rm -Rf 2.6.10-1.770.bone9.desktop
   16  rm -Rf 2.6.10-1.770.bone9.desktopsmp
   18  cd /
   20  cp -Rp /mnt/sda12/BOOYO.build .
   22  cd opt
   24  mkdir booyo
   25  cd booyo
   27  cp /mnt/sda12/root/opt/rebuildfstab .
   29  cp /mnt/sda12/root/mkxf86config-booyo/mkxf86config .
   30  cp /mnt/sda12/root/kmodule-booyo/kmodule-booyo .
   31  cp /mnt/sda12/root/hwsetup-booyo/hwsetup-booyo .
   33  cp /mnt/sda12/root/ddcxinfo/ddcxinfo-booyo .
   33  cp /mnt/sda12/root/ddcxinfo/XF86Config-4.in
  101  cp -Rp /mnt/sda12/usr/local/OpenOffice.org1.1.4 .
  102  cd /usr/share/applications
  103  cp /mnt/sda12/usr/share/applications/ooo* .
  105  vi ooo*
       StartupNotify=true
  108  cd /usr/share/icons/default
  112  vi index.theme
       Booyohaans
http://dag.wieers.com/packages/xdialog/
  119  rpm -ivh xdialog-2.1.2-1.1.fc3.rf.i386.rpm
  121  cd /sbin
  123  mv init init.org
  125  mv halt halt.org
  127  mv reboot reboot.org
  129  cp /mnt/sda12/usr/src/booyo/BUILD/sysvinit-2.85/src/init .
  131  mv poweroff poweroff.org
  132  ln -s init halt
  133  ln -s init reboot
  134  ln -s init poweroff


}}}
  136  cd /etc
  137  mv inittab inittab.org
  138  cp /BOOYO.build/BOOYO.Master/boot/isolinux/initrd/etc/inittab .
  139  cd rc.d
  141  cp /BOOYO.build/BOOYO.Master/boot/isolinux/initrd/etc/rc.d/booyo-init .
  142  cp /BOOYO.build/BOOYO.Master/boot/isolinux/initrd/etc/rc.d/booyo-halt .
  143  cp /BOOYO.build/BOOYO.Master/boot/isolinux/initrd/etc/rc.d/booyo-services .
  144  ln -s booyo-halt booyo-reboot

=== totem ===
http://mpeters.us/linux/fc3_gstreamer.php
http://mpeters.us/linux/post_fc3.php#yum

GStreamer-ffmpeg
GStreamer-plugins-mpeg
GStreamer-plugins-aac
GStreamer-plugins-mp3
gstreamer-plugins-swfdec
gstreamer-plugins-divx
GStreamer-plugins-dvdsupport
GStreamer-plugins-libvisual

rpms cd2
  127  cd /media/cdrecorder/Booyo/RPMS/
  131  cp libxml2-python-2.6.16-3.i386.rpm ~/
  134  rpm -ivh libxml2-python-2.6.16-3.i386.rpm
download from fc3 update
  112  rpm -ivh yum-2.2.0-0.fc3.noarch.rpm

=== 2005. 6. 20 ===
 * http://heidelberg.freshrpms.net/
 * download
  * gstreamer-ffmpeg-0.8.3-0.1.fc3.fr.i386.rpm
  * gstreamer-plugins-extra-audio-0.8.6-2.1.fc3.fr.i386.rpm
  * gstreamer-plugins-extra-dvd-0.8.6-2.1.fc3.fr.i386.rpm
  * gstreamer-plugins-extra-video-0.8.6-2.1.fc3.fr.i386.rpm

{{{
[root@localhost ~]# rpm -ivh gstreamer-plugins-extra-audio-0.8.6-2.1.fc3.fr.i386.rpm
°æ°í: gstreamer-plugins-extra-audio-0.8.6-2.1.fc3.fr.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
¿À·ù: Failed dependencies:
        libfaad.so.0 is needed by gstreamer-plugins-extra-audio-0.8.6-2.1.fc3.fr.i386
        libgsm.so.1 is needed by gstreamer-plugins-extra-audio-0.8.6-2.1.fc3.fr.i386
        libid3tag.so.0 is needed by gstreamer-plugins-extra-audio-0.8.6-2.1.fc3.fr.i386
        libmad.so.0 is needed by gstreamer-plugins-extra-audio-0.8.6-2.1.fc3.fr.i386
        libmp3lame.so.0 is needed by gstreamer-plugins-extra-audio-0.8.6-2.1.fc3.fr.i386

[root@localhost ~]# rpm -ivh gstreamer-plugins-extra-dvd-0.8.6-2.1.fc3.fr.i386.rpm
°æ°í: gstreamer-plugins-extra-dvd-0.8.6-2.1.fc3.fr.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
¿À·ù: Failed dependencies:
        gstreamer-plugins-extra-video >= 0.8.5 is needed by gstreamer-plugins-extra-dvd-0.8.6-2.1.fc3.fr.i386
        liba52.so.0 is needed by gstreamer-plugins-extra-dvd-0.8.6-2.1.fc3.fr.i386
        libdvdnav.so.4 is needed by gstreamer-plugins-extra-dvd-0.8.6-2.1.fc3.fr.i386
        libdvdread.so.3 is needed by gstreamer-plugins-extra-dvd-0.8.6-2.1.fc3.fr.i386

[root@localhost ~]# rpm -ivh gstreamer-plugins-extra-video-0.8.6-2.1.fc3.fr.i386.rpm
°æ°í: gstreamer-plugins-extra-video-0.8.6-2.1.fc3.fr.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
¿À·ù: Failed dependencies:
        gstreamer-plugins-extra-audio >= 0.8.5 is needed by gstreamer-plugins-extra-video-0.8.6-2.1.fc3.fr.i386
        libfame-0.9.so.1 is needed by gstreamer-plugins-extra-video-0.8.6-2.1.fc3.fr.i386
        libmpeg2.so.0 is needed by gstreamer-plugins-extra-video-0.8.6-2.1.fc3.fr.i386

}}}

{{{
  188  rpm -ivh faad2-2.0-4.1.fc3.i386.rpm
  190  rpm -ivh gsm-1.0.10-5.1.fc3.fr.i386.rpm
  195  rpm -ivh libid3tag-0.15.1b-3.1.fc3.fr.i386.rpm
  197  rpm -ivh libmad-0.15.1b-3.1.fc3.fr.i386.rpm
  202  rpm -ivh lame-3.96.1-2.1.fc3.fr.i386.rpm
}}}
{{{
[root@localhost ~]# rpm -ivh gstreamer-plugins-extra-video-0.8.6-2.1.fc3.fr.i386.rpm
°æ°í: gstreamer-plugins-extra-video-0.8.6-2.1.fc3.fr.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
¿À·ù: Failed dependencies:
        libfame-0.9.so.1 is needed by gstreamer-plugins-extra-video-0.8.6-2.1.fc3.fr.i386
        libmpeg2.so.0 is needed by gstreamer-plugins-extra-video-0.8.6-2.1.fc3.fr.i386
}}}

{{{
  207  rpm -ivh libfame-0.9.1-4.1.fc3.fr.i386.rpm
  209  rpm -ivh mpeg2dec-0.4.0-5b.1.fc3.fr.i386.rpm
}}}
{{{
[root@localhost ~]# rpm -ivh gstreamer-plugins-extra-dvd-0.8.6-2.1.fc3.fr.i386.rpm
°æ°í: gstreamer-plugins-extra-dvd-0.8.6-2.1.fc3.fr.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
¿À·ù: Failed dependencies:
        liba52.so.0 is needed by gstreamer-plugins-extra-dvd-0.8.6-2.1.fc3.fr.i386
        libdvdnav.so.4 is needed by gstreamer-plugins-extra-dvd-0.8.6-2.1.fc3.fr.i386
        libdvdread.so.3 is needed by gstreamer-plugins-extra-dvd-0.8.6-2.1.fc3.fr.i386
}}}
{{{
  213  rpm -ivh a52dec-0.7.4-7.1.fc3.fr.i386.rpm
  215  rpm -ivh libdvdnav-0.1.10-2.1.fc3.fr.i386.rpm
  217  rpm -ivh libdvdread-0.9.4-7.1.fc3.i386.rpm
}}}
{{{
[root@localhost ~]# rpm -ivh libdvdread-0.9.4-7.1.fc3.i386.rpm
°æ°í: libdvdread-0.9.4-7.1.fc3.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
¿À·ù: Failed dependencies:
        libdvdcss >= 1.2.5 is needed by libdvdread-0.9.4-7.1.fc3.i386
}}}
{{{
  219  rpm -ivh libdvdcss-1.2.8-4.1.fc3.fr.i386.rpm
  220  rpm -ivh libdvdread-0.9.4-7.1.fc3.i386.rpm
}}}
{{{
  222  rpm -ivh gstreamer-plugins-extra-dvd-0.8.6-2.1.fc3.fr.i386.rpm
}}}

È­¸éÀº ¾ÆÁ÷ ¾È ³ª¿È.
À½¾Ç¸¸ ³ª¿È.

http://dag.wieers.com/packages/divx4linux/
divx4linux-5.0.5-0.1.fc3.rf.i386.rpm
http://mpeters.us/yum/fedora/3/i386/RPMS.yjl/
gstreamer-plugins-divx-0.8.7-0.0.yjl.1.i386.rpm

È­¸éÀº ¾ÆÁ÷ ¾È ³ª¿È.
À½¾Ç¸¸ ³ª¿È.

http://gstreamer.freedesktop.org/download/fedora.html

{{{
Transaction Listing:
  Install: gstreamer-universe.i386 0:0.8.2-0.fdr.1.3 - gstreamer

Performing the following to resolve dependencies:
  Install: Hermes.i386 0:1.3.3-0.fdr.6.3 - gstreamer-deps
  Install: a52dec.i386 0:0.7.4-0.lvn.7.3 - gstreamer-deps
  Install: aalib.i386 0:1.4.0-0.fdr.0.9.rc5.3 - gstreamer-deps
  Install: blop.i386 0:0.2.8-0.fdr.1.3 - gstreamer-deps
  Install: faad2.i386 0:2.0-0.lvn.3.3 - gstreamer-deps
  Install: fftw.i386 0:2.1.5-5.3 - gstreamer-deps
  Install: gsm.i386 0:1.0.10-0.lvn.7.3 - gstreamer-deps
  Install: gstreamer-devel.i386 0:0.8.10-0.gst.1.3 - gstreamer
  Install: gstreamer-editor.i386 0:0.8.0-0.fdr.1.3 - gstreamer
  Install: gstreamer-ffmpeg.i386 0:0.8.4-0.lvn.1.3 - gstreamer
  Install: gstreamer-monkeysaudio.i386 0:0.8.0-0.lvn.1.3 - gstreamer
  Install: gstreamer-plugins-audio.i386 0:0.8.9-0.gst.1.3 - gstreamer
  Install: gstreamer-plugins-devel.i386 0:0.8.9-0.gst.1.3 - gstreamer
  Install: gstreamer-plugins-extra-audio.i386 0:0.8.9-0.gst.1.3 - gstreamer
  Install: gstreamer-plugins-extra-dvd.i386 0:0.8.9-0.gst.1.3 - gstreamer
  Install: gstreamer-plugins-extra-video.i386 0:0.8.9-0.gst.1.3 - gstreamer
  Install: gstreamer-plugins-video.i386 0:0.8.9-0.gst.1.3 - gstreamer
  Install: gstreamer-tools.i386 0:0.8.10-0.gst.1.3 - gstreamer
  Install: ladspa.i386 0:1.12-0.fdr.4.3 - gstreamer-deps
  Install: lame.i386 0:3.96.1-0.lvn.1.3 - gstreamer-deps
Installing: libdvdcss 100 % done 11/39
Installing: libdvdread 100 % done 12/39
Installing: libdvdnav 100 % done 13/39
Installing: libid3tag 100 % done 14/39
Installing: fftw 100 % done 15/39
Installing: swh-plugins 100 % done 16/39
Installing: mpeg2dec 100 % done 17/39
Installing: gstreamer-tools 100 % done 18/39
Updating: gstreamer 100 % done 19/39
Installing: gstreamer-devel 100 % done 20/39
Installing: gstreamer-editor 100 % done 21/39
Installing: libfame 100 % done 22/39
Installing: mikmod 100 % done 23/39
Updating: gstreamer-plugins 100 % done 24/39
Installing: pitivi 100 % done 25/39
Installing: gstreamer-plugins-video 100 % done 26/39
Installing: gstreamer-plugins-devel 100 % done 27/39
Installing: gstreamer-ffmpeg 100 % done 28/39
Installing: gstreamer-monkeysaudio 100 % done 29/39
Installing: marlin 100 % done 30/39
Installing: faad2 100 % done 31/39
Installing: gstreamer-plugins-extra-audio 100 % done 32/39
Installing: gstreamer-plugins-extra-video 100 % done 33/39
Installing: gstreamer-plugins-extra-dvd 100 % done 34/39
Installing: libshout 100 % done 35/39
Installing: gstreamer-plugins-audio 100 % done 36/39
Installing: gstreamer-universe 100 % done 37/39
Completing update for gstreamer  - 38/39
Completing update for gstreamer-plugins  - 39/39

Installed: gstreamer-universe.i386 0:0.8.2-0.fdr.1.3
Dependency Installed: Hermes.i386 0:1.3.3-0.fdr.6.3 a52dec.i386 0:0.7.4-0.lvn.7.3 
aalib.i386 0:1.4.0-0.fdr.0.9.rc5.3 blop.i386 0:0.2.8-0.fdr.1.3 faad2.i386 0:2.0-0.lvn.3.3 
fftw.i386 0:2.1.5-5.3 gsm.i386 0:1.0.10-0.lvn.7.3 gstreamer-devel.i386 0:0.8.10-0.gst.1.3 
gstreamer-editor.i386 0:0.8.0-0.fdr.1.3 gstreamer-ffmpeg.i386 0:0.8.4-0.lvn.1.3 
gstreamer-monkeysaudio.i386 0:0.8.0-0.lvn.1.3 gstreamer-plugins-audio.i386 0:0.8.9-0.gst.1.3 
gstreamer-plugins-devel.i386 0:0.8.9-0.gst.1.3 gstreamer-plugins-extra-audio.i386 0:0.8.9-0.gst.1.3 
gstreamer-plugins-extra-dvd.i386 0:0.8.9-0.gst.1.3 gstreamer-plugins-extra-video.i386 0:0.8.9-0.gst.1.3 
gstreamer-plugins-video.i386 0:0.8.9-0.gst.1.3 gstreamer-tools.i386 0:0.8.10-0.gst.1.3 
ladspa.i386 0:1.12-0.fdr.4.3 lame.i386 0:3.96.1-0.lvn.1.3 libdvdcss.i386 0:1.2.8-0.lvn.5.3 
libdvdnav.i386 0:0.1.10-0.lvn.1.3 libdvdread.i386 0:0.9.4-0.lvn.1.3 
libfame.i386 0:0.9.1-0.lvn.1.3 libid3tag.i386 0:0.15.1-0.fdr.1.b.3 
libmad.i386 0:0.15.1-0.lvn.1.b.3 liboil.i386 0:0.3.2-0.gst.1.3 libshout.i386 0:2.0-0.fdr.1.3 
marlin.i386 0:0.7-0.fdr.1.3 mikmod.i386 0:3.1.6-30.2 
mpeg2dec.i386 0:0.4.0-0.lvn.3.b.3 pitivi.i386 0:0.1.1-0.fdr.1.3 
swfdec.i386 0:0.3.4-0.gst.1.3 swh-plugins.i386 0:0.4.12-0.fdr.1.3
Dependency Updated: gstreamer.i386 0:0.8.10-0.gst.1.3 gstreamer-plugins.i386 0:0.8.9-0.gst.1.3
Complete!
}}}

{{{
< faad2-2.0-0.lvn.5.3
faad2-2.0-0.lvn.3.3
< ffmpeg-0.4.9-0.lvn.0.15.20050427.3
ffmpeg-0.4.9-0.lvn.0.6.pre1.3
< imlib2-1.2.0-7.fc3
imlib2-1.1.2-1
< libquicktime-0.9.7-0.lvn.4.3
libquicktime-0.9.3-0.lvn.2.3
< libsndfile-1.0.11-1
libsndfile-1.0.4-2
< libvisual-0.2.0-2
libvisual-0.1.7-0.0.yjl.1
< mjpegtools-1.6.3-0.lvn.0.1.rc1.3
mjpegtools-1.6.2-0.lvn.4.3
< mjpegtools-libs-1.6.3-0.lvn.0.1.rc1.3
mjpegtools-libs-1.6.2-0.lvn.4.3
< xvidcore-1.0.3-0.lvn.1.3
xvidcore-1.0.2-0.lvn.1.3
}}}

=== BETA 2005. 6. 26 ===
 * beta ÀÇ ¹®Á¦Á¡ kldp.wiki ¿¡¼­ === À» ¾µ °æ¿ì Ä¿¼­ À§Ä¡°¡ ÀÌ»óÇÔ

 * ¼³Ä¡
 * µ¥½ºÅ©Å¾ ¿öÅ©½ºÅ×À̼Ç
 * È­¸é ÇØ»óµµ ¼öÁ¤
 * logout
 * Ä¿³Î ÀÛ¼º
   4 °³ÀÇ ¿É¼Ç º¯°æ
 * Makefile ¼öÁ¤
 * reboot
 * http://kldp.net/scm/?group_id=608 
 * export CVS_RSH=ssh
 * CVS ´Ù¿î·Îµå /root/booyolivecd ¹ØÀ¸·Î 
  * ash-booyo dietlibc ÇÊ¿ä·Î ÇÔ.
  * ddcxinfo
  * kmodule-booyo
  * sysvinit-booyo
  * cloop-booyo Ä¿³Î ¼Ò½º ÇÊ¿ä·Î ÇÔ.
  * hwsetup-booyo
  * mkxf86config-booyo
  * BOOYO.build Á» »ý°¢ÇØ º¸¾Æ¾ß ÇÔ
 * down initrd.gz
 * mv BOOYO.build/BOOYO.Master/boot/isolinux/
 * ash-booyo, ddcxinfo, kmodule-booyo, sysvinit-booyo, cloop-booyo, hwsetup-booyo °¢°¢ Make
 * cloop ÀÇ °æ¿ì advancecomp-1.9_create_compressed_fs µð·ºÅ丮·Î °¡¼­ .configure ¸¦ ¸ÕÀú ¼öÇàÇØ¾ß ÇÔ.
 * BOOYO.build ´Â / ¹ØÀ¸·Î À̵¿
 * /BOOYO.build ¹ØÀ¸·Î create_compressed_fs º¹»ç
 * /BOOYO.build/BOOYO.Master/boot/isolinux ¹ØÀ¸·Î vmlinuz-2.6.10-livecd À» linux26 À¸·Î º¹»ç
 * initrd.gz ¸¦ ´Ù¿î·Îµå ¹Þ¾Æ ÆîÄ¡´Â °ÍÀÌ ÁÁÀ» °ÍÀÓ.
 * initrd ¹Ø
  * cd BOOYO: bin, boot, etc, lib, opt, sbin, usr, var ÀÇ ½Éº¼¸¯ ¸µÅ© ¸¸µë. /cdrom/BOOYO/bin ...
  * cd .. : bin, boot, lib, opt, usr ÀÇ ½Éº¼¸¯ ¸µÅ© ¸¸µë. /BOOYO/bin
  * dev ÇÊ¿äÇÏ¸é º¹»ç
  * cd modules: cloop.ko º¹»ç
   * cd scsi: ¸ðµâ º¹»ç
  * cd static: ash, insmod, udevstart º¹»ç
 * mkcpio
 * /opt/booyo º¹»ç 
 * adduser booyo
 * Desktop/booyo-klik.desktop º¹»ç 
 * booyo ·Î login, º¹»ç booyo-klik.desktop 
 * chown booyo.booyo booyo-klik.desktop
 * sysvinit libsepol-devel-1.1.1-2.i386.rpm ÇÊ¿äÇÔ 
 * openoffice
 * yum ¼³Ä¡, yum.conf º¯°æ 
 * totem plug-in ¼³Ä¡ yum install gstreamer-universe
{{{
Installed: gstreamer-universe.i386 0:0.8.2-0.fdr.1.3
Dependency Installed: Hermes.i386 0:1.3.3-0.fdr.6.3 a52dec.i386 0:0.7.4-0.lvn.7.3 aalib.i386 0:1.4.0-0.fdr.0.9.rc5.3 blop.i386 0:0.2.8-0.fdr.1.3 faad2.i386 0:2.0-0.lvn.3.3 fftw.i386 0:2.1.5-5.3 gsm.i386 0:1.0.10-0.lvn.7.3 gstreamer-devel.i386 0:0.8.10-0.gst.1.3 gstreamer-editor.i386 0:0.8.0-0.fdr.1.3 gstreamer-ffmpeg.i386 0:0.8.5-0.gst.1.3 gstreamer-monkeysaudio.i386 0:0.8.0-0.lvn.1.3 gstreamer-plugins-audio.i386 0:0.8.9-0.gst.1.3 gstreamer-plugins-devel.i386 0:0.8.9-0.gst.1.3 gstreamer-plugins-extra-audio.i386 0:0.8.9-0.gst.1.3 gstreamer-plugins-extra-dvd.i386 0:0.8.9-0.gst.1.3 gstreamer-plugins-extra-video.i386 0:0.8.9-0.gst.1.3 gstreamer-plugins-video.i386 0:0.8.9-0.gst.1.3 gstreamer-tools.i386 0:0.8.10-0.gst.1.3 ladspa.i386 0:1.12-0.fdr.4.3 lame.i386 0:3.96.1-0.lvn.1.3 libdvdcss.i386 0:1.2.8-0.lvn.5.3 libdvdnav.i386 0:0.1.10-0.lvn.1.3 libdvdread.i386 0:0.9.4-0.lvn.1.3 libfame.i386 0:0.9.1-0.lvn.1.3 libid3tag.i386 0:0.15.1-0.fdr.1.b.3 libmad.i386 0:0.15.1-0.lvn.1.b.3 liboil.i386 0:0.3.2-0.gst.1.3 libshout.i386 0:2.0-0.fdr.1.3 marlin.i386 0:0.7-0.fdr.1.3 mikmod.i386 0:3.1.6-30 mpeg2dec.i386 0:0.4.0-0.lvn.3.b.3 pitivi.i386 0:0.1.1-0.fdr.1.3 swfdec.i386 0:0.3.4-0.gst.1.3 swh-plugins.i386 0:0.4.12-0.fdr.1.3
Dependency Updated: gstreamer.i386 0:0.8.10-0.gst.1.3 gstreamer-plugins.i386 0:0.8.9-0.gst.1.3
}}}
 * reboot

booyo-services ¿¡¼­ readahead_early ¿Í readahead ¾ø¾Ú.
À̸¦ Á¦´ë·Î ±¸ÇöÇÏ·Á¸é, beta ¿¡ ¸Â°Ô ¼öÁ¤ÇØ¾ß ÇÔ.

[root@localhost local]# diff comps.xml.beta comps.xml.booyotest1
107d106
<       <packagereq type="default">leha-APSearcher</packagereq>
466c465
<       <packagereq type="optional">krb5-workstation</packagereq>
---
>       <packagereq type="default">krb5-workstation</packagereq>
2945,2946d2943
<       <packagereq type="mandatory">meta-gnome</packagereq>
<       <packagereq type="mandatory">booyo-about</packagereq>
2950d2946
<       <packagereq type="mandatory">booyo-control-center</packagereq>
7522d7517
<       <packagereq type="default">leha-APSearcher</packagereq>

ID
Password
Join
It's not reality that's important, but how you percieve things.


sponsored by andamiro
sponsored by cdnetworks
sponsored by HP

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2005-10-08 16:13:25
Processing time 0.0196 sec