LinuxSir.cn,穿越时空的Linuxsir!

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

求助:在 VMware 装 gentoo 又出问题了, 不能挂载系统文件。。。。

[复制链接]
发表于 2009-1-4 00:06:52 | 显示全部楼层
我以前安装过,没问题,但是前天我装了一天,也没有装好,和楼主的问题一样。不知道哪里错了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-1-4 00:20:29 | 显示全部楼层
Post by wxf966;1933618
我以前安装过,没问题,但是前天我装了一天,也没有装好,和楼主的问题一样。不知道哪里错了。


你用的也是VMware来装?
回复 支持 反对

使用道具 举报

发表于 2009-1-4 09:46:43 | 显示全部楼层
Post by linux_Eclipse;1933474
我编内核时 进去了 就直接保存了,什么配置都没改到。。。。。



那应该就是这个问题了,貌似内核默认是没有打开ext3支持的.你去看一下吧,把ext3 编入内核就可以了.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-1-4 09:52:04 | 显示全部楼层
我检查过了。系统文件选项 EXT3的 都选上了。。。。。
回复 支持 反对

使用道具 举报

发表于 2009-1-4 10:50:51 | 显示全部楼层
我前几天在vmware中也出现这个问题,我是这样解决的,把/etc/fstab 中的hda* 全该成sda*,然后修改/boot/grub/grub.conf 中root=/dev/sda(注:你的根分区)  即可。
回复 支持 反对

使用道具 举报

发表于 2009-1-4 11:09:01 | 显示全部楼层
Post by ycsandao;1933717
我前几天在vmware中也出现这个问题,我是这样解决的,把/etc/fstab 中的hda* 全该成sda*,然后修改/boot/grub/grub.conf 中root=/dev/sda(注:你的根分区)  即可。


我也是这样做的,用Minimal CD安装的时候是hda,但启动时是sda。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-1-4 14:27:31 | 显示全部楼层
--------------------
fstab中:

# /etc/fstab: static file system information.
#
# noatime turns off 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 / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

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

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda2               none            swap            sw              0 0
/dev/sda1        /        ext3        noatime        0 1

#none                    /proc           proc            defaults        0 0
#none                    /dev/shm        tmpfs           nodev,nosuid,noexec       0 0
/dev/cdroms/cdrom0    /mnt/cdrom    auto        noauto,user    0 0

#/dev/sda3               /windows/C       ntfs            rw,users,gid=users,umask=0002,nls=utf8 0 0
#/dev/sda4               /windows/D       vfat            defaults,iocharset=utf8,umask=0002,codepage=936 0 0

#/dev/sdb1               /mnt/usb           auto           noatime,noauto,user,rw,iocharset=utf8 0 0
#/dev/fd0        /mnt/floppy    auto        noauto        0 0

# NOTE: The next line is critical for boot!
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).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
shm            /dev/shm    tmpfs        nodev,nosuid,noexec    0 0

--------------------------
GRUB中:

default 0
timeout 5

splashimage=(hd0,0)/boot/grub/splash.xpm.gz

#title Gentoo Linux (gensplash)
#root (hd0,0)
#kernel /boot/linux-2.6.21-gentoo root=/dev/sda1 nomce doscsi
#kernel /boot/linux-2.6.21-gentoo root=/dev/sda1 video=vesafb:mtrr:3,ywrap, doscsi , splash=verbose,splash=silent,kdgraphics,theme:livecd-2007.0 #vga=792 quiet CONSOLE=/dev/tty1
#initrd (hd0,0)/boot/fbsplash-livecd-2006.1-1024x768

title Gentoo
root (hd0,0)
kernel /boot/linux-2.6.28-gentoo root=/dev/sda1 nomce doscsi

---------------------------------------

我第二次装的时候, 用的就是scsi 了,上面就是配置,问题依然。。。

我已经完全照这里http://linux.chinaunix.net/techd ... 了内核编译时 用默认设置里里面没说外,完全代码copy........
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-1-4 14:38:33 | 显示全部楼层
应该是内核问题。。。。。。
回复 支持 反对

使用道具 举报

发表于 2009-1-4 15:16:00 | 显示全部楼层
贴出你的内核配置文件 .config 吧!!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-1-4 15:21:44 | 显示全部楼层
是这个??????


nano -w /mnt/gentoo/etc/make.conf
文件内容可以参考 /mnt/gentoo/etc/make.conf.example或者以下我的配置文件:
CFLAGS="-march=i686 -pipe -O3 -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
LDFLAGS="-Wl,-O1"
CHOST="i686-pc-linux-gnu"
FEATURES="sandbox ccache parallel-fetch"
CCACHE_SIZE="2G"
CCACHE_DIR="/var/tmp/ccache/"
LINGUAS="zh_CN"
AUTOCLEAN="yes"
#COMPILER="gcc3"

USE="7zip X aac acpi alsa arts amr asf audiofile avi bash-completion \
browserplugin bzip2 cairo cdparanoia cjk dbus directfb divx4linux divx \
dv dvb dvd dvdr dvdread encode esd fbcon flac ffmpeg firefox gif \
hal immqt jabber java javascript jpeg2k jpeg kde mad mono mp3 mp4 mpeg \
mikmod mozbranding musepack mplayer mmx nls nptl nptlonly nsplugin moznopango \
ogg opengl oss pdf portaudio png qt3 quicktime rar real samba sox speex sse \
truetype udev unicode usb vorbis wavpack win32codecs wma x264 xcomposite \
xine xv xvid zeroconf -accessibility -aim -altivec -bidi -bluetooth -cdr \
-canna -gnome -gstreamer -ipv6 -zlib "

#cdr bluetooth sse mmx nvidia

ACCEPT_KEYWORDS="~x86"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp \${URI} -P \${DISTDIR}"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp \${URI} -P \${DISTDIR}"
#PORTDIR_OVERLAY="/usr/local/portage"
#ALSA_CARDS="via82xx"
#VIDEO_CARDS="nv"
INPUT_DEVICES="keyboard mouse"
#DISTDIR="/var/distfiles"
#http_proxy="165.228.129.10:3128"
#GENTOO_MIRRORS="http://mirror.gentoo.gr.jp/"
GENTOO_MIRRORS="http://61.135.158.199/"
SYNC="rsync://61.135.158.199/gentoo-portage"
回复 支持 反对

使用道具 举报

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

本版积分规则

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