lonewind 发表于 2005-8-19 09:27:25

安装gentoo在chroot这一步出现问题

久仰gentoo的大名,在ubuntu的基础上准备安装gentoo,下载了通用liveCD,打算进行无光驱安装,步骤几乎完全是按照 linuxsir.org中的gentoo中文社区中的handbook来进行,将stage3和portage解压缩之后输入chroot /mnt/gentoo /bin/bash 命令之后出来错误如下
chroot: cannot run command 'bin/bash'

附小弟的硬盘情况(用fdisk -l查看)amd64的架构
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 637 5116671 7 HPFS/NTFS
/dev/hda2 638 9729 73031490 f W95 Ext'd (LBA)
/dev/hda5 638 1912 10241406 b W95 FAT32
/dev/hda6 1913 3187 10241406 b W95 FAT32
/dev/hda7 3188 8669 44034133+ 7 HPFS/NTFS
/dev/hda8 8670 9119 3614593+ 83 Linux
/dev/hda9 9120 9605 3903763+ 83 Linux
/dev/hda10 * 9606 9729 995998+ 82 Linux swap / Sola ris

其中/hda8装的是ubuntu,hda10是ubuntu的swap,由于认为swap可以共用,所以就没有为gentoo另行设置swap,在hda9准备安装gentoo,但是却卡在chroot这个地方了,请各位兄弟指教,不胜感谢。

linky_fan 发表于 2005-8-19 22:44:09

只有root才能chroot的哟 :wink:

liuxuegong 发表于 2005-9-18 13:15:58

把前面的/mnt去掉就可以了,我想原因是当把/mnt/gentoo变成根的时候,由于/mnt/gentoo是空目录,找不到/bin/bash的原因吧,我改成
chroot /gentoo /bin/bash已经安装成功

i am too,and i solve like this:
chroot /gentoo /bin/bash
the reason i think is
when /gentoo became root directory,they cannot find /bin/bash,because /mnt/gentoo is empty!
now i finished install my cd,but what will i install others,now ...Search!
you see...now i use fanx,and i cannot use chinese input......
Crying!
页: [1]
查看完整版本: 安装gentoo在chroot这一步出现问题