çŸå®ã«ã¯ãGoogleã§ããã¢ãã€ã«ããã€ã¹ã®äžçã«åœ±é¿ãäžããããšã¯ã§ããŸããã ãã§ã«G1ãåãåãããã°ããG1ã§éãã§ãã人ãã¡ã¯ãç§ãã¡ããŸã èªåã®æºåž¯é»è©±ã®æ®éã®ãŠãŒã¶ãŒã§ãããšããäºå®ã«è ¹ãç«ãŠãŸãããT-Mobileã¯ãäœãããªãããšãæããŠãrootãŠãŒã¶ãŒã®äœ¿çšãèš±å¯ããŸããã§ããã
ãã®æ瀺ãå®éã«è©ŠããŠã¿ããå Žåã¯ãããªããããããšã¯ãã¹ãŠããªãèªèº«ã®å±éºãšãªã¹ã¯ã§è¡ãããšã«çæããŠãã ããã
ã¹ãŒããŒãŠãŒã¶ãŒç¹æš©ã®ååŸïŒã«ãŒãïŒ/ãžã§ã€ã«ãã¬ã€ã¯
ç§ã«ãšã£ãŠããã®çš®ã®å¶éã¯ããã€ã¹ãåãªãããã¡ãã«å€ãããã®ã§ããiPhoneã®äžçã§ç§ã®åéºãè¿œããããŠãã人ãã¡ã¯ãå€ãã®æ¹æ³ã§ææ°ã®ãªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã倧ç»é¢ãå®è¡ããé«éARMããã»ããµãæèŒããæºåž¯é»è©±ãççšããã®ã¯æ¥ãã¹ãããšã ãšæã£ãŠããããšãç¥ã£ãŠããŸãå¥ã®æºåž¯é»è©±ãšããŠäœ¿çšããããã«ãå¶åŸ¡/å ¥åã
幞ããªããšã«ãããã¯æ°æ¥åã«èª°ããAndroidãã¡ãŒã ãŠã§ã¢ã«é倧ãªè匱æ§ãçºèŠãããšãã«å€æŽãããŸããã ç¹æš©ãååŸããããšã¯å¯èœã§ããã ã³ã³ãœãŒã«ã§telnetdãšå ¥åããtelnetã¯ã©ã€ã¢ã³ãã䜿çšããŠæ¥ç¶ããã ãã§ãrootã«ãªããŸãã
æ®å¿µãªãããGoogleã®busybox-toolboxã眮ãæããããšã§äŸ¡å€ã®ããããšãè¡ãã®ã¯äŸç¶ãšããŠå°é£ã§ãã å¿ èŠãªã®ã¯ãæ¬æ ŒçãªUnixç°å¢ã§ãã ãã®é»è©±ã¯ãã¢ããªã±ãŒã·ã§ã³ãçŽæ¥éçºããã®ã«ååãªã»ã©åŒ·åã§ãã
Debian ARMELã®ã€ã³ã¹ããŒã«
ã¢ã³ããã€ãã«busyboxãã€ã³ã¹ããŒã«ããããšããè©Šã¿ã¯ãã§ã«ããã€ããããŸãã ç§ãã¡ã¯ããã«å ã«é²ãããšãã§ãããšæããŸãããã®æé ã§ãå®å šãªDebianãã£ã¹ããªãã¥ãŒã·ã§ã³ãã€ã³ã¹ããŒã«ããŸããããã¯ã奜ããªãã®ãã€ã³ã¹ããŒã«ã§ããéåžžã«å°æ¬ãããŠããLinuxãã£ã¹ããªãã¥ãŒã·ã§ã³ã®1ã€ã§ãã
ãããè¡ãã«ã¯ãG1ã«é¢é£ããããã€ãã®è³ªåãæ€èšããå¿ èŠããããŸãã ãŸããã©ãã«ä¿ç®¡ããŸããïŒ é»è©±æ©ã«ã¯ãã©ãã·ã¥ã¡ã¢ãªãçµã¿èŸŒãŸããŠããŸããããªãã¬ãŒãã£ã³ã°ã·ã¹ãã ããã®ä»ã®ã¢ããªã±ãŒã·ã§ã³çšã«128MBãããããŸããã
ãã®ãããé»è©±ã®ãã容éã®å€§ããéšåãmicroSDã«ãŒãã«æ³šç®ããŸãããããã«ãããæ倧16GBã®ããŒã¿ãä¿åã§ããŸãã æ®å¿µãªããããã¹ãŠã®ã«ãŒããªãŒããŒã§èªã¿åãããšãã§ããããã«ããã®ã«ãŒãã«ã¯FATãã¡ã€ã«ã·ã¹ãã ããããUnixã®ããã°ã©ã ãããŒã¿ã®ä¿åã«ã¯åœ¹ã«ç«ã¡ãŸããã
ããããããã«ç§ãã¡ãæãã€ãããã®ããããŸã-Debianã€ã¡ãŒãžãã¡ã¢ãªã«ãŒãã«ä¿åãããããåã«ããŠã³ãããããšãã§ããŸãã
/ proc / filesystemsã®å 容ãèŠããšã䜿çšã§ãããã¹ãŠã®ã¿ã€ãã®ãã¡ã€ã«ã·ã¹ãã ãèŠãããšãã§ããŸãïŒvfatãyaffsãyaffs2ã T-Mobileã§ã¯ãAndroidã®æ©èœã«å¿ èŠãªãã¡ã€ã«ã·ã¹ãã ã®ãã©ã€ããŒã®æå°éšåã®ã¿ãã€ã³ã¹ããŒã«ãããŸãã ããã¯ãã«ãŒãã«ãã¢ãžã¥ãŒã«ããµããŒãããŠæ§ç¯ãããŠãããããã€ã¡ãŒãžãããŠã³ãã§ãããã©ã€ããŒãããŒãããå¿ èŠãããããšãæå³ããŸãã
å¿ èŠã«å¿ããŠãG1çšã®ã¢ãžã¥ãŒã«ãçµã¿ç«ãŠãæ¹æ³ããããããããã¥ã¢ã«ãäœæã§ããŸãã G1ã®éçº/ä¿®æ£ã®ãããã¯ã«ã€ããŠè°è«ããããšã«èå³ããã人ã奚å±ããŸãã è°è«ã®ããã«ãG1-Hackersã¡ãŒãªã³ã°ãªã¹ãã賌èªã§ããŸããããã¯Telesphoreoã§ç®¡çããŠããŸãã
ãŸããïŒandroidãã£ã³ãã«ã®irc.saurik.comïŒé»è©±æåã®ãã£ã³ãã«ãé 眮ãããŠãããµãŒããŒãšåããµãŒããŒïŒã§ãIRCããµããŒãããŠããŸãã
Debianãã£ã¹ã¯ã€ã¡ãŒãžã®äœæ
ã ããã話ããããŠãå§ããŸãããïŒ ãŸããDebianãã¡ã€ã«ã·ã¹ãã ã€ã¡ãŒãžãå¿ èŠã§ãããããé»è©±ã®ã¡ã¢ãªã«ãŒãã«é 眮ããŸãã äœæããã«ã¯ãæ¢åã®Debianã·ã¹ãã ã䜿çšã§ããŸãã 幞ããªããšã«ãDebianã¯ãã§ã«ARM EABIãå®å šã«ãµããŒãããŠãããã€ã³ã¹ããŒã«æ¹æ³ã«ã€ããŠã®æçšãªæ瀺ãããããŸãã
ã€ã¡ãŒãžã®äœæãå°ç¡ãã«ããããªã人ã®ããã«ããã§ã«750MBã®æºåãã§ããŠããŸããããããå®å šãªã€ã¡ãŒãžãããŠã³ããŒãã§ããŸãïŒRapidShareïŒã ãã®ã€ã¡ãŒãžã¯bzip2ã䜿çšããŠããã±ãŒãžåãããŠãããçŽ85MBå¿ èŠã§ãã
RapidShareã¯ããªãé ããµãŒããŒã§ããããã modmyGphone.comã®ã¡ã³ããŒã¯ãµãŒããŒã«ã€ã¡ãŒãžãã©ãŒãã¢ããããŒãããŸããã 詳现ã¯ãã¡ããã芧ãã ãã ã
èªåã§ã€ã¡ãŒãžãäœæãããå ŽåïŒãããã750MB以å€ã®Debianã®ç°ãªããã¡ã€ã«ã·ã¹ãã ãµã€ãºãå¿ èŠãªå ŽåããŸãã¯åã«ããã»ã¹å šäœãå¶åŸ¡ãããå ŽåïŒãããã¯æ¬¡ã®ã³ãã³ãã䜿çšããŠå®è¡ã§ããŸãã
apt-get install debootstrap
dd if=/dev/zero of=debian.img seek=749999999 bs=1 count=1
mke2fs -F debian.img
mkdir debian
mount -o loop debian.img debian
debootstrap --verbose --arch armel --foreign lenny debian ftp.de.debian.org/debian
umount debian
DebianããŒã«ããããæ§ç¯ãã
ããã§ãdebianã®ç»åãã§ããŸãããã¡ã¢ãªã«ãŒãã«ã³ããŒããå¿ èŠããããŸãã ãŸããè¿œå ã®ãã¡ã€ã«ãã³ããŒããå¿ èŠããããŸãã ãã®ã¹ãããã®éèŠãªãã€ã³ãã®1ã€ã¯ã䜿çšããŠãããã¡ãŒã ãŠã§ã¢ã«å¯Ÿå¿ãããã©ã€ããŒãã€ã³ã¹ããŒã«ããå¿ èŠãããããšã§ãã
* ext2.koïŒ RC19 ïŒïŒ RC29 / 30 ïŒ-æšæºLinuxãã¡ã€ã«ã·ã¹ãã ã¢ãžã¥ãŒã«
* unionfs.koïŒ RC19 ïŒïŒ RC29 / 30 ïŒ-ãã©ã«ããçµã¿åãããããšãã§ããŸãïŒé«åºŠïŒ
* busybox-ã·ã¹ãã ãŠãŒãã£ãªãã£ã®ã»ãã
ãã®ãã¹ãŠïŒããã³debian.imgïŒãmicroSDã«ãŒãã®ãã©ã«ããŒã«ã³ããŒããŸãïŒUSBæ¥ç¶ã䜿çšããŸãããããã¯ãä»ãããç°¡åã§é«éã§ãïŒã å®æããã€ã¡ãŒãžãããŠã³ããŒãããå Žåã¯ãåŸã§äœ¿çšããããããã«ãååãdebian.imgã«å€æŽããã®ãçã«ããªã£ãŠããŸãã
ã€ã³ã¹ããŒã«ãšåãä»ã
ããããã¹ãŠãã©ãã«çœ®ãã°ããã§ããããïŒ ããŒã«ãããïŒãããïŒãmicroSDã«ãŒãã®ã«ãŒããã£ã¬ã¯ããªã«ã³ããŒããä»ã®ãã¹ãŠã/ data / localïŒéåžžã®æžã蟌ã¿ãå¯èœãªéåžžã«äŸ¿å©ãªãã©ã«ããŒïŒã«é 眮ããŸããã
åžžã«é·ããã¹ãåéããªãããã«ããã¹ããšã¯ã¹ããŒãããŸãã ãŸãããã®åœä»€ã¯æå³çã«èªã¿ããããªããŸãã
export kit=/sdcard/kit
export bin=/data/local/bin
export mnt=/data/local/mnt
次ã«ãããã«ããã€ãã®ãã¹ããšã¯ã¹ããŒãããå¿ èŠããããŸãããããã®ãã¹ã¯ãä»åŸäœ¿çšããããã°ã©ã ã§å¿ èŠã«ãªããŸãã ããã«ãããext2ã®ãã©ã€ããŒãããŒãããæéãç¯çŽã§ããŸãã ããã¯å¥åŠã«èŠãããããããŸãããïŒå°ãªããšãHOMEå€æ°ïŒãåŸã§è³ªåããªããšã倧ããªåé¡ãçºçããå¯èœæ§ããããŸãã
export PATH=$bin:/usr/bin:/usr/sbin:/bin:$PATH
export TERM=linux
export HOME=/root
insmod $kit/ext2.ko
次ã®ã¹ãããã¯ãå°æ¥ã®äœ¿çšã®ããã«busyboxãã©ããã«ã³ããŒããããšã§ãã G1ã«ã¯cpã³ãã³ããå«ãŸããŠããªããããããã«ã¯catã䜿çšããŸãã 泚ïŒmkdirã³ãã³ãã«ã¯-pãªãã·ã§ã³ããªãããïŒããŒã«ããã¯ã¹ã§ã¯ãµããŒããããŠããªãããïŒããã¹ãã®å€§ãããã£ã¬ã¯ããªïŒãŸãã¯æ¢åã®ãã£ã¬ã¯ããªïŒãéžæããå Žåãããã€ãã®ãšã©ãŒãç¡èŠããããå¥ã®æ¹æ³ã§è§£æ±ºããå¿ èŠããããŸãã
mkdir $bin #-p
cat $kit/busybox >$bin/busybox
chmod 755 $bin/busybox
busyboxãã€ã³ã¹ããŒã«ãããŸãããããã䜿çšããŠãã«ãŒãããã¯ãã©ã€ããŒã®ããã€ã¹ããŒããäœæã§ããŸãã G1ã«ã¯ããŒããäœæããããã«å¿ èŠãªmknodãŠãŒãã£ãªãã£ãå«ãŸããŠããªããããbusyboxãå¿ èŠã§ãã ãŸããbusyboxã®ãšã€ãªã¢ã¹ïŒçãååïŒãäœæããã³ãã³ããå ¥åããããããŸãã
alias _=busybox
_ mknod /dev/loop0 b 7 0
èµ·åæã«ãšã©ãŒãçºçããå ŽåïŒ_ãèŠã€ãããŸããããªã»ããããŠã¿ãŠãã ããïŒ
unalias _
alias _=busybox
æåŸã«ãã«ãŒãããã¯ããã€ã¹ãäœæãããdebianã€ã¡ãŒãžãæ¥ç¶ã§ããŸãïŒ debian.imgã®ç»ååãšããŠãç°ãªãå Žåã¯ç»åã®ååã䜿çšããŠãã ããã
_ mkdir -p $mnt
_ mount -o loop $kit/debian.img $mnt
ããã§ããã€ãã®åºæ¬çãªãšã©ãŒãçºçããå¯èœæ§ããããŸãïŒãšã©ãŒã/ etc / fstabã®å Žåãæããã«$ kit / debian.imgãã¡ã€ã«ãååšããªããã$ mntå€æ°ãèšå®ãããŠããªãå¯èœæ§ããããŸãã
æçµã€ã³ã¹ããŒã«æ®µé
ãã®æç¹ã§ãdebootstrapãå®è¡ã§ããªãããšã§çµããå¿ èŠããããŸãã ãŸããããã€ãã®ã¹ã¯ãªãããå®è¡ããDebianãªããžããªãžã®URLã調æŽããå¿ èŠããããŸãïŒäœããã®çç±ã§ãdebootstrapã¯äœããã®çç±ã§ããããæ··ä¹±ãããŸãïŒã å®æããã€ã¡ãŒãžãæ¢ã«ããŠã³ããŒãããŠããå Žåããããã®2ã€ã®ã³ãã³ããå®è¡ããå¿ èŠã¯ãããŸããã
_ chroot $mnt /debootstrap/debootstrap --second-stage
echo 'deb ftp.de.debian.org/debian lenny main' >$mnt/etc/apt/sources.list
ãããã®ã³ãã³ããå®è¡ãããåŸïŒ10åè¿ããããããšããããŸãïŒãchrootã³ãã³ãã䜿çšããŠç°å¢ãdebianã«å€æŽã§ããŸãã ã·ã§ã«ãšå®å šãªDebianç°å¢ãçšæãããŠãããã§ããããšã¯ãã¹ãŠæã£ãŠããŸãã ãã®ã³ãã³ãã¯ãå®æããã€ã¡ãŒãžãããŠã³ããŒããã人ãå«ããå šå¡ãå®è¡ããŸãã
_ chroot $mnt /bin/bash
次ã«ãdevptsãprocãsysfsãã¡ã€ã«ã·ã¹ãã ãç°å¢ã«æ¥ç¶ããŸãã
mount -t devpts devpts /dev/pts
mount -t proc proc /proc
mount -t sysfs sysfs /sys
ãŸããrootãŠãŒã¶ãŒã®ãã¹ã¯ãŒããèšå®ããŠãé»è©±ã«ãªã¢ãŒãæ¥ç¶ã§ããããã«ããå¿ èŠããããŸãã
passwd root
OpenSSHãã€ã³ã¹ããŒã«ãã
ããã¯ãDebianã®ãã«ãã¯ãŒãçºæ®ãããå Žæã§ããé»è©±ã§ã®æ°ããããã°ã©ã ã®è¿ éãªã€ã³ã¹ããŒã«ã§ãã ããŠãå®å šãªã³ã³ãœãŒã«ãååŸããããã«SSHãµãŒããŒãã€ã³ã¹ããŒã«ããŸãããã
ãã®ããã«ãAPTïŒDebianããã±ãŒãžç®¡çã·ã¹ãã ïŒã䜿çšããŸãã æåã®ã³ãã³ãã¯ããªããžããªå ã®ããã±ãŒãžæ å ±ãæŽæ°ããæŽæ°ãã€ã³ã¹ããŒã«ããããšã§ãã 2çªç®ã¯ãsshãµãŒããŒèªäœãã€ã³ã¹ããŒã«ããŸãã
apt-get update
apt-get install openssh-server
åŸã§OpenSSHãåã³èµ·åããå ŽåïŒDebianãµãŒãã¹ã®éåžžã®èµ·åã¯äœ¿çšãããªãããïŒã次ã®ã³ãã³ãã䜿çšããŠãããè¡ãããšãã§ããŸãïŒãŸãã¯ãstartãã®ä»£ããã«ãrestartãã䜿çšããŸãïŒã
/etc/init.d/ssh start
次ã¯ïŒ
楜ãã¿ãŸãããïŒ ç§ãæåã«ããããšã¯ãSubversionãgccãvimãã€ã³ã¹ããŒã«ããŠãéçºãéå§ã§ããããã«ããããšã§ããã ç¹°ãè¿ããŸãããAndroidã®å éšïŒã«ãŒãã«ãã©ã€ããŒãããŒããŠã§ã¢ãžã®ã¢ã¯ã»ã¹ããã©ãã·ã¥ããã»ã¹ïŒã«ã€ããŠè©³ããç¥ããã人ã¯ã G1-Hackersã¡ãŒãªã³ã°ãªã¹ãã«åå ã§ããŸã ã
é»è©±ãåèµ·åããåŸããã¹ãŠã§ã¯ãªãã«ããŠãããããã®ã³ãã³ãã®ã»ãšãã©ãå床å®è¡ããå¿ èŠããããŸãã ç§ãšåããã¹ã䜿çšãã人ã¯ãã¹ã¯ãªããã䜿çšããŠåæ¥ç¶ã§ããŸãïŒ script ïŒã
ãŸããç»åãããŠã³ããããŠããéã¯ãUSBã±ãŒãã«çµç±ã§Androidã䜿çšã§ããªãããšã«æ³šæããŠãã ããã ãããè¡ãã«ã¯ã以åã«ããŠã³ãããããã¹ãŠãã¢ã³ããŠã³ãããå¿ èŠããããŸã
_ umount $mnt/dev/pts $mnt/proc $mnt/sys $mnt
Androidã«ã¯umountã¢ã³ããŠã³ããŠãŒãã£ãªãã£ãä»å±ããŠããŸãããããã¯æ£åžžã«æ©èœããŸãããããã§ããUSBæ¥ç¶ã®ããã«microSDã«ãŒãããããã¯ãç¶ããã«ãŒãããã¯ããã€ã¹ãæ®ããŸãã 次ã®ã³ãã³ãã䜿çšããŠãæåã§åé€ã§ããŸãã
_ losetup -d /dev/loop0
/ã§Debianãå®è¡ãã
ãã®ããã»ã¹ã®æ倧ã®åæºã¯ãã¢ã³ããã€ããšããã¢ã³ã®ã©ã¡ãããéžæããå¿ èŠãããããšã§ãã ããã§Unionfsãå©ãã«ãªããŸãã
åŸç¶ã®ã³ãã³ãã¯ãã¹ãŠãdebianç°å¢å€ã§å®è¡ããå¿ èŠãããããšã«æ³šæããŠãã ããã ãã®ããã«ã¯ãçŸåšã®telnetã»ãã·ã§ã³ã§å ¥åããå¿ èŠããããŸãã
exit
ãŸãã¯å¥ã®ã»ãã·ã§ã³ãéããŸãã ãã¹ãŠã®ã³ãã³ãã¯ã å®æããã¹ã¯ãªãããšããŠããŠã³ããŒãã§ããŸã ã
ãã®ã¹ã¯ãªãããå®è¡ããã«ã¯ããã¹ãŠã®æšæºå€æ°ãæ¢ã«ãšã¯ã¹ããŒãããŠããå¿ èŠããããŸãã ã¹ã¯ãªããã$ kitã«ã³ããŒããå Žåã次ã®ã³ãã³ãã䜿çšããŠå®è¡ã§ããŸãã
. $kit/unionfs.sh
wgetã䜿çšããŠãã®ã¹ã¯ãªãããã€ã³ã¹ããŒã«ã§ããŸãã
_ chroot $mnt wget -O /tmp/unionfs.sh cache.saurik.com/android/script/unionfs.sh
cat $mnt/tmp/unionfs.sh >$kit/unionfs.sh
rm $mnt/tmp/unionfs.sh
æ¢è£œã®ã¹ã¯ãªããã䜿çšããªãã£ãå ŽåïŒ
insmod $kit/unionfs.ko
mount -t unionfs -o dirs=$mnt/etc=rw:/etc=ro unionfs /etc
ããã§/ etcã«ã¯AndroidãšDebianã®ãã¡ã€ã«ãå«ãŸããŠããŸãã / etcã§ãã¡ã€ã«ãå€æŽ/äœæãããšããã¹ãŠã®å€æŽãDebianã»ã¯ã·ã§ã³ã«ä¿åãããŸã-ããã«ããã/ etcãžã®ãã«ã¢ã¯ã»ã¹ãå¯èœã«ãªããŸãïŒ
次ã®åé¡ã¯ãAndroidãšLinuxãåçãªã³ã«ãŒã«ç°ãªãåœåèŠåã䜿çšããŠããããšã§ãã Androidã®å Žåã/ system / bin / linkerããããLinuxã®å Žåã¯/lib/ld-linux.so.3ããããŸãã ããã¯ãäœæ¥ããã°ã©ã ãéå§ãããšãã«ãã¡ã€ã«ãèŠã€ãããªããšãããšã©ãŒãåãåãããšãæå³ããŸãã ããã¯ãã·ã³ããªãã¯ãªã³ã¯ã䜿çšããŠç°¡åã«ä¿®æ£ã§ããŸãã
_ mount -o remount,rw /
_ ln -s $mnt/lib /
äžèŠãããã¯å±éºã«èŠãããããããŸããããããã§ã¯ãããŸããã é»è©±ã®ã«ãŒããã¡ã€ã«ã·ã¹ãã ãå€æŽãããšããrootfsãïŒç¹å¥ãªLinux ramfsç¶æ ïŒã¡ã¢ãªå ãã¡ã€ã«ã·ã¹ãã ïŒã«å€ãããŸãã ããã¯ãé»è©±æ©ã®åèµ·ååŸã«è¡ã£ãå€æŽããã¹ãŠæ¶ããããšãæå³ããŸãã
$ mntããããã°ã©ã ãå®è¡ããã ãã§ãchrootã䜿çšããã«ã»ãšãã©ã®Debianããã°ã©ã ãå®è¡ã§ããããã«ãªããŸããã æ®å¿µãªãããã»ãšãã©ã®ãã¡ã€ã«ã¯æ¬æ¥ããã¹ãå Žæã«ãªãããããã¹ãŠãæ©èœãããšã¯éããŸããã ã·ã³ããªãã¯ãªã³ã¯ã§ä¿®æ£ããŸãããã
for x in
bin boot home media mnt
opt selinux srv usr var
do
_ ln -s $mnt/$x /
done
ä¿®æ£ãå¿ èŠãªãã£ã¬ã¯ããªããŸã ããã€ããããŸãã æåïŒ/ã«ãŒãã¯ç©ºãªã®ã§ããªã³ã¯ã«çœ®ãæããããšãã§ããŸãã /ã®ãã¡ã€ã«ã®å€æŽãå®äºããããã/ã«ãŒããèªã¿åãå°çšãšããŠåããŠã³ãããããšã匷ããå§ãããŸãã
rmdir /root
_ ln -s $mnt/root /
_ mount -o remount,ro /
ããã«2ã€ã®/ sbinãš/ devãæ®ã£ãŠããŸãã / devãšå€§ããããšã¯ãããŸããã / dev / ptsã¯ãã®ãã©ã«ããŒå ã«ããŠã³ããããŠãããããunionfsã䜿çšããŠããŒãžããããšã¯ã§ããŸããã ãã®åé¡ã解決ããã«ã¯ãunionfsã®äžã«/ dev / ptsãããŠã³ãããã ãã§ãïŒ
mount -t unionfs -o dirs=$mnt/sbin=rw:/sbin=ro unionfs /sbin
mount -t unionfs -o dirs=$mnt/dev=rw:/dev=rw unionfs /dev
mount -t devpts devpts /dev/pts
opensshã®ãããªããã°ã©ã ãæ£ããåäœããããã«ãªã£ãŠãããã¹ãŠã®æºåãæŽã£ãŠããŸãããµãŒãã¹ãåèµ·åããŸãã
/etc/init.d/ssh restart
çµè«ãšããŠ
ããã¯ãã¹ãŠè¯ãããã«èŠããŸããããŸã 泚ç®ã«å€ããããã€ãã®åé¡ããããŸãïŒ
ãŸãããŠãŒã¶ãŒåãšèªèšŒæ å ±ãä¿åãããŠããå Žæã¯ãŸã æ確ã§ã¯ãããŸããã Debianã®äžéšã§ããlsã䜿çšããŠãã¡ã€ã«ã®ææè ãèŠããšã圌ãã¯ããã«ããªãããšã«æ°ä»ãã§ãããã
2ã€ç®ã¯ãchrootã䜿çšãã代ããã«/ã«ã·ã³ããªãã¯ãªã³ã¯ã䜿çšããïŒãããŸã§ã®ãšããããã¹ãŠã®ãµãŒãã¹ãééçã«ããŒãã§ããªãã£ãïŒããšã¯ã/ã«ãã£ã¬ã¯ããªãè¿œå ããããšããããã±ãŒãžã倱æããããšãæå³ããŸãã apt-getãä»ããŠããã°ã©ã ãã€ã³ã¹ããŒã«ããã«ã¯ãchrootã䜿çšããå¿ èŠããããŸãã
ãããŠãæåŸã®RC30ã¢ããããŒããè¿æ¥å ¬éããããã®åŸTelnetdãä»ãããžã§ã€ã«ãã¬ã€ã¯ã¯ç¡å¹ã«ãªããŸãã ãã®ãããååã«ãã¬ã€ãããŸã§ã¯ã€ã³ã¹ããŒã«ããªãã§ãã ããã
ïŒé»è©±äŒç€Ÿãæå³çã«æ©èœãå¶éãããŠããããã€ã¹ãç§ãã¡ã«è²©å£²ããããšã奜ãçç±ãç解ããããšæããŸããããã¯äœããã®åœ¢ã§ããžãã¹ãæ¹åããŸããïŒïŒ
èšäºã§ççŸããã®ä»ã®ãšã©ãŒãèŠã€ããå Žåã¯ãå ±åããŠãã ããã
翻蚳ä»ãã®èšäºãironphone.ruã«ã¢ããããŒããããŸã