LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: donfen41

安装gentoo最后一步,引导出错。上图。

[复制链接]
 楼主| 发表于 2010-8-18 17:50:50 | 显示全部楼层
谢谢楼上,都是英文偶实在不知道看那一段。能不能帮我复制出来。我的英文不好,不过可以用灵格斯查。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-8-18 17:59:42 | 显示全部楼层
再次感谢楼上的楼上,偶已经在看bash入门了。
http://www.west263.com/info/html ... 20080417/69706.html
回复 支持 反对

使用道具 举报

发表于 2010-8-18 18:08:07 | 显示全部楼层
简单的说 显示符号的位置是用来表示当前目录的位置的,比如你在var这个目录位置,你画圈的位置就是var了。回到你问的问题上,~符号代表你的home下的用户名目录,而/符号自然是代表根目录。
你还是找本linux基础书看看好。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-8-18 18:18:37 | 显示全部楼层
谢谢楼上回复!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-8-18 18:20:19 | 显示全部楼层
请教下楼上第 8 帖的内容
回复 支持 反对

使用道具 举报

发表于 2010-8-18 18:43:32 | 显示全部楼层
确认第5楼和第3楼先,要不然没法答你。
回复 支持 反对

使用道具 举报

发表于 2010-8-18 22:21:58 | 显示全部楼层
一方面,我建议你学习linux不要从gentoo开始。

另一方面,安装grub到硬盘,最好从grub内部进行,搞清原理,而不要一上来就使用grub-install脚本。
#[color="Red"]grub            以root身份执行grub
grub>[color="Red"]root (hd0,       按TAB键给出提示
Possible partitions are:
   Partition num: 0,  Filesystem type unknown, partition type 0x7
   Partition num: 4,  Filesystem type unknown, partition type 0x7
   Partition num: 5,  Filesystem type unknown, partition type 0x7
   Partition num: 6,  Filesystem type is ext2fs, partition type 0x83
   Partition num: 7,  Filesystem type unknown, partition type 0x82
   Partition num: 8,  Filesystem type unknown, partition type 0x83
   Partition num: 9,  Filesystem type unknown, partition type 0x8e


grub>[color="Red"]root (hd0,6)        就是定位你的grub所在的物理盘,也即/boot所在盘
Filesystem type is ext2fs, partition type 0x83

grub>[color="Red"]setup (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"...  18 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 (hd0) (hd0)1+18 p (hd0,6)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
Done.
这一步将grub 安装到(hd0)的MBR,这过程中调用/boot/grub/stage****等文件,也就是为什么在上一步定位/boot 。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-8-20 07:55:06 | 显示全部楼层
谢谢楼上,谢谢大家。我重新看linux基础书。直接弄gentoo是个错误的选择。
回复 支持 反对

使用道具 举报

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

本版积分规则

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