LinuxSir.cn,穿越时空的Linuxsir!

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

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

[复制链接]
 楼主| 发表于 2009-1-6 23:30:37 | 显示全部楼层
..................up.
回复 支持 反对

使用道具 举报

发表于 2009-1-7 16:12:02 | 显示全部楼层
Post by shellworld;1933608
fstab也要改的。
检查一下这个文件有没有问题.
回复 支持 反对

使用道具 举报

发表于 2009-1-7 17:40:25 | 显示全部楼层
唉!!还在up...
兄弟,我根据以前所有人提示的总结一下,请你一次性试(就用SCSI好了,千万不要改了,要不然又白费了)。
一、VMWare配置
1.Virtual Disk Type: SCSI
2.I/O adapter types / SCSI Adapters:Bus Logic(非常重要)
二、内核配置
1.非常重要,这个我以前回帖说过了,可惜你让我对着空气说话。
Device Drivers  --->
  SCSI device support  --->  (除了下面的几项外,关闭这项下面的所有其它选项)
     <*> SCSI disk support
         SCSI low-level drivers  --->
            <*> BusLogic SCSI support
三、grub和fstab
根据你的安装分区来设置,这里要说明的是请使用sda.....,不要再用hda....,后者已经不再建议使用了(除非你强制在内核里面开启,因为默认是关闭的,例如我的一台是五年前电脑,的IDE的,但也是使用sda),《还有请你修改安装分区的时候一定要grub和fstab一起改,不要改了这个忘了另外一个》。

注:如果还是有问题,请贴出你的当次的错误信息,和你第一次一样,有图最好了。
回复 支持 反对

使用道具 举报

发表于 2009-1-8 08:50:36 | 显示全部楼层
Post by shellworld;1935333

1.非常重要,这个我以前回帖说过了,可惜你让我对着空气说话。
Device Drivers  --->
  SCSI device support  --->  (除了下面的几项外,关闭这项下面的所有其它选项)
     <*> SCSI disk support
         SCSI low-level drivers  --->
            <*> BusLogic SCSI support

刚刚试过,这个能解决问题。

我参考了 http://forums.gentoo.org/viewtop ... ght-vfs+vmware.html
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-1-16 01:03:39 | 显示全部楼层
GRUB loading stage 1.5
GRUB loading, please wait...

屏幕出现这段文字之后,系统停止,..........................









-------------------------------------------------------------
livecd ~ # fdisk  -l /dev/sda

Disk /dev/sda: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x895e2be6

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         913     7333641   83  Linux
/dev/sda2             914        1044     1052257+  82  Linux swap / Solaris

-------------------------------------------------------------
livecd ~ #nano -w /etc/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/p$

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
#/dev/sad1              /boot           ext3            noauto,noatime  1 2
/dev/sad1               /               ext3            noatime         0 1
/dev/sad2               none            swap            sw              0 0
#/dev/cdroms/cdrom0     /mnt/cdrom      auto            noauto,user     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


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

nano -w /boot/grub/grub.conf

# This is a sample grub.conf for use with Genkernel, per the Gentoo handbook
# http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#doc_cha$
# If you are not using Genkernel and you need help creating this file, you
# should consult the handbook. Alternatively, consult the grub.conf.sample that
# is included with the Grub documentation.

default 0
timeout 5
#splashimage=(hd0,0)/boot/grub/splash.xpm.gz

#title Gentoo Linux 2.6.24-r5
#root (hd0,0)
#kernel /boot/kernel-genkernel-x86-2.6.24-gentoo-r5 root=/dev/ram0 real_root=/d$
#initrd /boot/initramfs-genkernel-x86-2.6.24-gentoo-r5

# vim:ft=conf:
titl  Gentoo Linux 2.6.24-r5
root (hd0,0)
kernel /boot/linux-2.6.28-gentoo root=/dev/sda1  nomce doscsi

--------------------------------
livecd / # ls -l ./usr/src/linux
lrwxrwxrwx 1 root root 19 Jan 14 23:48 ./usr/src/linux -> linux-2.6.28-gentoo
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-1-16 01:14:58 | 显示全部楼层
fstab
是不是这个的问题?
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0


环境
VMware6.0.0, floppy关掉了从硬盘启动。。。。。。。。。grub1.5还是卡住
回复 支持 反对

使用道具 举报

发表于 2009-1-16 09:30:12 | 显示全部楼层
在grub未进入之前出现问题最好还是想一下你的grub安装到底有没有问题?这时候内核还没有载入!
回复 支持 反对

使用道具 举报

发表于 2009-1-16 10:47:29 | 显示全部楼层
那个教程完全就是照着官文档COPY的。。

确认grub.conf无误后,不要那些乱七八糟的东西,像下面这样就行
default 0
timeout 3

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

执行
#grep -v /proc/mounts > /etc/mtab
#grub-install --no-floppy /dev/sda
回复 支持 反对

使用道具 举报

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

本版积分规则

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