LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: mars_diy

Gentoo 安装gnome 后的问题

[复制链接]
发表于 2002-12-17 14:24:14 | 显示全部楼层

应该说现在的portage和它的包倚赖关系做得还不够完善

有时是会出些问题的,我就经常遇到。关于找不到“/”的问题,检查一下你的/etc/fstab文件看看关于“/dev/ROOT/”那一行是否设置正确
 楼主| 发表于 2002-12-17 14:25:50 | 显示全部楼层
好象是没有安装 metacity 因为 nautilus 也起动不了,怎么会漏装那么多软件包? 我都搞不清楚有没有安装全
 楼主| 发表于 2002-12-17 14:27:49 | 显示全部楼层
还是老样子,gnome不能用
 楼主| 发表于 2002-12-17 14:30:34 | 显示全部楼层
我把 /dev/ROOT/ 给改了,我还以为不用的,把他去掉了,你能把你贴出来吗?谢谢了
发表于 2002-12-17 14:45:30 | 显示全部楼层

OK。没问题

# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.10 2002/11/18 19:39:22 azarah Exp $
#
# noatime turns of atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.

# <fs>                  <mountpoint>    <type>          <opts>                      <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/BOOT                /boot                ext3                noauto,noatime                1 1
/dev/ROOT                /                xfs                noatime                        0 0
/dev/SWAP                none                swap                sw                        0 0
proc                        /proc                proc                defaults                0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink). Adding the following
# line to /etc/fstab should take care of this:
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will use almost no
#  memory if not populated with files)

tmpfs                        /dev/shm        tmpfs                defaults                0 0

/dev/hda1 /winc vfat rw,codepage=936,iocharset=cp936 0 0
/dev/hda5 /wind vfat rw,codepage=936,iocharset=cp936 0 0
/dev/hda6 /wine vfat rw,codepage=936,iocharset=cp936 0 0
/dev/hda10 /winf vfat rw,codepage=936,iocharset=cp936 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,owner,ro,iocharset=cp936 0 0
/dev/cdroms/cdrom1 /mnt/cdrw iso9660 noauto,owner,ro,iocharset=cp936 0 0
 楼主| 发表于 2002-12-17 15:06:44 | 显示全部楼层
还是不行,gnome 进去不能用 我的fstab 是

/dev/BOOT                /boot                ext3                noauto,noatime                1 1
/dev/ROOT                /                xfs                noatime                        0 0
/dev/SWAP                none                swap                sw                        0 0
proc                        /proc                proc                defaults                0 0
/dev/hde12       /home                    ext3   defaults       1 1
/dev/hda     /mnt/cdrom   iso9660  iocharset=cp936,noauto,owner,kudzu,ro 0 0
/dev/hde8      /mnt/nt2      ntfs       user,rw,exec,umask=0,iocharset=cp936,defaults        0 0
/dev/hde9      /mnt/nt3      ntfs       user,rw,exec,umask=0,iocharset=cp936,defaults        0 0
/dev/hde10     /mnt/nt4      ntfs       user,rw,exec,umask=0,iocharset=cp936,defaults        0 0
/dev/hde11     /mnt/nt5      ntfs       user,rw,exec,umask=0,iocharset=cp936,defaults        0 0
/dev/hdc             /mnt/cdrom1             iso9660 noauto,owner,kudzu,ro 0 0
/dev/hdg1       /mnt/c       vfat   user,rw,exec,umask=0,iocharset=cp936,defaults        0 0
/dev/hdg2       /mnt/d       vfat   user,rw,exec,umask=0,iocharset=cp936,defaults        0 0
/dev/hdg5       /mnt/e       vfat   user,rw,exec,umask=0,iocharset=cp936,defaults        0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink). Adding the following
# line to /etc/fstab should take care of this:
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will use almost no
#  memory if not populated with files)

tmpfs                        /dev/shm        tmpfs                defaults                0 0
发表于 2002-12-17 15:09:51 | 显示全部楼层

看来要翻译安装文档是十分必要的!!!!

Final steps: /etc/fstab



Use something like the /etc/fstab listed below, but of course be sure to replace "BOOT", "ROOT" and "SWAP" with the actual block devices you are using (such as hda1, etc.)


Code listing 17.1: Editing fstab


# /etc/fstab: static file system information.
#
# noatime turns of atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.

# <fs>           <mountpoint>   <type>   <opts>          <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.

/dev/BOOT           /boot       ext2         noauto,noatime         1 2
/dev/ROOT           /           ext3         noatime         0 1
/dev/SWAP           none        swap         sw              0 0
/dev/cdroms/cdrom0  /mnt/cdrom  iso9660         noauto,ro       0 0
proc                /proc       proc         defaults        0 0
                       

Warning: Please notice that /boot is NOT mounted at boottime. This is to protect the data in /boot from corruption. If you need to access /boot, please mount it!


"/dev/BOOT /boot ext3 noauto,noatime 1 1
/dev/ROOT / xfs noatime 0 0
/dev/SWAP "
把BOOT .ROOT 等换成你的分区比如/dev/hda2等
还有 分区的格式也要注意,比如是不是ext2,ext3等

(我安装Gentoo什么没有出这样那样的问题!!)
 楼主| 发表于 2002-12-17 15:19:29 | 显示全部楼层
我都换过了,一样没有用,一开始安装的时候我就是把它改成我原理的实际分区的
发表于 2002-12-17 15:27:18 | 显示全部楼层
/dev/hda /mnt/cdrom iso9660 iocharset=cp936,noauto,owner,kudzu,ro 0 0
(这一行有问题啊,你把第一个硬盘放在了/mnt/cdrom点下

你有几个硬盘,可能吗?)
 楼主| 发表于 2002-12-17 15:30:09 | 显示全部楼层
我的 hda hdc 插着两个光驱
hde  和 hdg 是两个硬盘,因为我是装在 raid 卡上的,它分配下来就是
hde 了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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