QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1120|回复: 2

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

[复制链接]
发表于 2005-8-19 09:27:25 | 显示全部楼层 |阅读模式
久仰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这个地方了,请各位兄弟指教,不胜感谢。
发表于 2005-8-19 22:44:09 | 显示全部楼层
只有root才能chroot的哟
回复

使用道具 举报

发表于 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!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-10-6 16:10 , Processed in 0.043429 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表