當我在CentOS4安裝了debootstrap -> Download Here
然後計畫安裝lenny到系統裡時,看到了……
[root@centos4 /]# debootstrap lenny ./lenny-chroot http://ftp.us.debian.org/debian
E: Couldn't work out current architecture
原來是少指定了 --arch 選項給它。
[root@centos4 /]# debootstrap --arch powerpc lenny ./lenny-chroot http://ftp.tw.debian.org/debian/
I: Retrieving Packages
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Checking component main on http://ftp.tw.debian.org/debian...
I: Retrieving adduser
I: Validating adduser
I: Retrieving apt
I: Validating apt
I: Retrieving apt-utils
I: Validating apt-utils
I: Retrieving aptitude
I: Validating aptitude
I: Retrieving base-files
I: Validating base-files
I: Retrieving base-passwd
I: Validating base-passwd
I: Retrieving bash
I: Validating bash
OK!能跑了……
debootstrap這東東,我以前有玩過,但沒玩過在RPM base裡裝Debian!
有興趣的話,看看以下幾個連結,研究看看吧!
http://sakbk.pixnet.net/blog/post/28422868
http://rimuhosting.com/knowledgebase/linux/misc/installing-debian-or-ubuntu-using-debootstrap
以下轉自摩托學園~
台股大盤表現
3 天前
沒有留言:
張貼留言