Vine Linux 2.6 (La Fleur de Bouard) Kernel 2.4.17_mvl21 on a ppc login: yasunari Password: bash-2.04$ uname -a Linux hackkit 2.4.17_mvl21 #24 2004年 10月 19日 火曜日 17:17:03 JST ppc unknown bash-2.04$ ps -aux USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 1.1 0.5 1516 640 ? S 01:53 0:05 init root 2 0.0 0.0 0 0 ? SW 01:53 0:00 [keventd] root 3 0.0 0.0 0 0 ? SWN 01:53 0:00 [ksoftirqd_CPU0] root 4 0.0 0.0 0 0 ? SW 01:53 0:00 [kswapd] root 5 0.0 0.0 0 0 ? SW 01:53 0:00 [bdflush] root 6 0.0 0.0 0 0 ? SW 01:53 0:00 [kupdated] root 8 0.0 0.0 0 0 ? SW 01:53 0:00 [khubd] root 10 0.0 0.0 0 0 ? SW 01:53 0:00 [kjournald] root 121 0.0 0.0 0 0 ? SW 01:53 0:00 [kjournald] root 386 0.0 0.5 1660 760 ? S 01:54 0:00 syslogd -m 0 root 391 0.0 0.5 1576 664 ? S 01:54 0:00 klogd -2 root 442 0.0 0.4 1492 600 ? S 01:54 0:00 /usr/sbin/ppc_uartd root 453 0.0 0.5 1628 664 ? S 01:54 0:00 inetd lp 475 0.0 0.7 2172 932 ? S 01:54 0:00 lpd Waiting root 492 0.0 0.6 2024 844 ? S 01:54 0:00 crond root 504 0.0 1.4 4464 1800 ? S 01:54 0:00 smbd root 509 0.0 1.3 3252 1688 ? S 01:54 0:00 nmbd root 513 0.0 1.1 3208 1432 ? S 01:54 0:00 nmbd daemon 522 0.0 0.5 1628 712 ? S 01:54 0:00 /usr/sbin/atd root 535 0.0 0.4 1504 596 ttyS0 S 01:54 0:00 /sbin/agetty -L 57600 ttyS0 vt100 root 539 0.0 0.7 2360 992 ? S 02:00 0:00 in.telnetd: hage.yamasita.jp root 540 0.1 1.2 3980 1576 pts/0 S 02:00 0:00 login -- yasunari yasunari 541 0.2 1.2 2992 1532 pts/0 S 02:01 0:00 -bash yasunari 557 0.0 0.7 3244 1016 pts/0 R 02:01 0:00 ps -aux bash-2.04$問題なく login できた。
電源ボタン長押しでのシャットダウンも問題なし。
Nov 7 02:15:07 ls dhcpd: DHCPDISCOVER from 00:07:40:ce:xx:yy via eth0 Nov 7 02:15:08 ls dhcpd: DHCPOFFER on 192.168.1.124 to 00:07:40:ce:xx:yy via eth0 Nov 7 02:15:08 ls dhcpd: DHCPDISCOVER from 00:07:40:ce:xx:yy via eth0 Nov 7 02:15:08 ls dhcpd: DHCPOFFER on 192.168.1.124 to 00:07:40:ce:xx:yy via eth0 Nov 7 02:15:08 ls dhcpd: DHCPREQUEST for 192.168.1.124 from 00:07:40:ce:xx:yy via eth0 Nov 7 02:15:09 ls dhcpd: DHCPACK on 192.168.1.124 to 00:07:40:ce:xx:yy via eth0(一部伏字)
Kuroutoshikou KURO-BOX/HG (IESHIGE) Linux/ppc 2.4.17_mvl21 KURO-BOX-EM login: root Password: BusyBox v0.60.5 (2003.07.30-12:03+0000) Built-in shell (ash) Enter 'help' for a list of built-in commands. #/dev/fl3 を確認する。
# dd if=/dev/fl3 bs=2 count=1 OK1+0 records in 1+0 records out #OK.
# mfdisk -c /dev/hda Command (m for help): p Disk /dev/hda: 16 heads, 63 sectors, 3298 cylinders Units = cylinders of 1008 * 512 bytes Device Boot Start End Blocks Id System Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-3298, default 1): Using default value 1 Last cylinder or +size or +sizeM or +sizeK (1-3298, default 3298): +1024M Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 2 First cylinder (2082-3298, default 2082): Using default value 2082 Last cylinder or +size or +sizeM or +sizeK (2082-3298, default 3298): +128M Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 3 First cylinder (2343-3298, default 2343): Using default value 2343 Last cylinder or +size or +sizeM or +sizeK (2343-3298, default 3298): Using default value 3298 Command (m for help): t Partition number (1-4): 2 Hex code (type L to list codes): 82 Changed system type of partition 2 to 82 (Linux swap) Command (m for help): p Disk /dev/hda: 16 heads, 63 sectors, 3298 cylinders Units = cylinders of 1008 * 512 bytes Device Boot Start End Blocks Id System /dev/hda1 1 2081 1048792+ 83 Linux /dev/hda2 2082 2342 131544 82 Linux swap /dev/hda3 2343 3298 481824 83 Linux Command (m for help): w The partition table has been altered! Syncing disks. #
# mke2fs -j /dev/hda1 mke2fs 1.22, 22-Jun-2001 for EXT2 FS 0.5b, 95/08/09 warning: 54 blocks unused. Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) 131328 inodes, 262144 blocks 13109 blocks (5.00%) reserved for the super user First data block=0 8 block groups 32768 blocks per group, 32768 fragments per group 16416 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376 Writing inode tables: done Creating journal (8192 blocks): done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 38 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. # mke2fs -j /dev/hda3 mke2fs 1.22, 22-Jun-2001 for EXT2 FS 0.5b, 95/08/09 Filesystem label= OS type: Linux Block size=1024 (log=0) Fragment size=1024 (log=0) 120832 inodes, 481824 blocks 24091 blocks (5.00%) reserved for the super user First data block=1 59 block groups 8192 blocks per group, 8192 fragments per group 2048 inodes per group Superblock backups stored on blocks: 8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409 Writing inode tables: done Creating journal (8192 blocks): done This filesystem will be automatically checked every 27 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. # mkswap /dev/hda2 Setting up swapspace version 1, size = 134696960 bytes #
# mkdir /tmp/root # mount /dev/hda1 /tmp/root # mkdir /tmp/root/mnt # mount /dev/hda3 /tmp/root/mnt # mkdir /tmp/root/tmp
# cd /tmp/root/tmp # ls fromimage hackkit-1.2.tar.gz image.zip
# cd /tmp/root # tar zxvpf /tmp/root/tmp/hackkit-1.2.tar.gz bin/ bin/bash :
# cd /tmp/root # chmod +x tmp/fromimage # tmp/fromimage tmp/image.zip Archive: tmp/image.zip inflating: tmpimage.tgz ./etc/init.d/ppc_uartd ./etc/melco/timer_sleep :
# cd /tmp/root/tmp/ # ls fromimage hackkit-1.2.tar.gz image.zip # rm fromimage hackkit-1.2.tar.gz image.zip
Vine Linux 2.6 (La Fleur de Bouard) Kernel 2.4.17_mvl21-sandpoint on a ppc login: guest Password: bash-2.04$ということで、今のところ特に問題なし。
← | ハックの記録 | → 玄箱/HG のハックキット化(2)最初の設定 |
LinkStation/玄箱 をハックしよう |