From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GJ2uj-0005IK-KT for garchives@archives.gentoo.org; Fri, 01 Sep 2006 06:54:06 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k816q4oV019942; Fri, 1 Sep 2006 06:52:04 GMT Received: from web35211.mail.mud.yahoo.com (web35211.mail.mud.yahoo.com [66.163.179.90]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k816o51g005327 for ; Fri, 1 Sep 2006 06:50:06 GMT Received: (qmail 85385 invoked by uid 60001); 1 Sep 2006 06:50:05 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=yOAkIFJ0AQAbis8h0xPi35OejwguMmtUetATRMGx1DYI5VSDPbAU83tGAm+WJmA9ZOhIrpLcwzDje9PoXKMfXUSXZWZToFanEullbVgAfgQUxNkGtk8fjWMlS7wsto3IGSHdZLAb6TpGJxZD0vgZ/GVMRl9xXPJhHfEhGldfB7k= ; Message-ID: <20060901065005.85383.qmail@web35211.mail.mud.yahoo.com> Received: from [219.79.146.209] by web35211.mail.mud.yahoo.com via HTTP; Fri, 01 Sep 2006 14:50:05 CST Date: Fri, 1 Sep 2006 14:50:05 +0800 (CST) From: Stephen Liu Subject: Re: [gentoo-user] Gentoo failed to start To: gentoo-user@lists.gentoo.org In-Reply-To: <7573e9640608312151l6cdc9afcq2d5cc0f7841839ac@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Archives-Salt: 042b4c1b-4964-40c4-8181-a2f1a2213e6f X-Archives-Hash: 4caf4d45811e2377628280319aa80311 Hi Richard, After entering chroot environment re-installed grub; # cat << EOF | grub > root (hd0,0) > setup (hd0) EOF Running "install /boot/grub/stage1 (hd0) (hd0)1+16 p (hd0,0)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded Exited chroot and umount everythings. Rebooted PC. Grub started but ending at; root (hd0,0) Filesystem type is ext2fs Partition type 0x83 kernel (hd0,0)/boot/kernel-2.6.17-gentoo-r7 root=/dev/hda2 Error 15:File not found. Press any key to contiue Restarted PC and entered chroot environment again. Found /usr/src/linux file missing. It should be symbolic-linked to --> linux-2.6.17-gentoo-r7 Failed to re-run # USE="-doc symlink" emerge gentoo-sources because "emerge" command not found. Further discovery: new /etc/fstab tmpfs /newroot tmpfs rw 0 0 /dev/hdd /newroot/mnt/cdrom iso9660 ro 0 0 /dev/loop/0 /newroot/mnt/livecd squashfs ro 0 0 proc /newroot/proc proc rw,nodiratime 0 0 sysfs /newroot/sys sysfs rw 0 0 udev /newroot/dev tmpfs rw,nosuid 0 0 devpts /newroot/dev/pts devpts rw 0 0 cachedir /newroot/mnt/livecd/lib64/splash/cache tmpfs rw 0 0 tmpfs /newroot/mnt/livecd/lib64/splash/tmp tmpfs rw 0 0 tmpfs /newroot/mnt/livecd/lib64/firmware tmpfs rw 0 0 tmpfs /newroot/mnt/livecd/usr/portage tmpfs rw 0 0 usbfs /newroot/proc/bus/usb usbfs rw 0 0 /dev/hda2 / ext3 rw,data=ordered 0 0 /dev/hda1 /boot ext2 rw,nogrpid 0 0 /dev/vg/usr /usr ext3 rw,data=ordered 0 0 /dev/vg/home /home ext3 rw,data=ordered 0 0 /dev/vg/var /var ext3 rw,data=ordered 0 0 /dev/vg/opt /opt ext3 rw,data=ordered 0 0 /dev/vg/tmp /tmp ext3 rw,data=ordered 0 0 none /proc proc rw,nodiratime 0 0 udev /dev tmpfs rw,nosuid 0 0 * end * Would it be the result of previously running; # grep -v rootfs /proc/mounts > /etc/fstab Tks B.R. SL --- Richard Fish wrote: > On 8/31/06, Stephen Liu wrote: > > Edited /etc/fstab as follows; > > /dev/hda1 /boot ext2 defaults,noatime 1 2 > > Does this filesystem contain a grub directory with stage2, menu.lst > (or grub.conf), etc? What does grub/{menu.lst,grub.conf} contain? > > > # grep -v rootfs /proc/mounts > /etc/fstab > > Um...you mean ">/etc/mtab", right? Otherwise your fstab is going to > contain things that are not really necessary, like usbfs and sysfs > filesystems.... > > Anyway, this step is really not even necessary even with mtab, as > Gentoo will fix it when you boot. > > > > Still failed, only a black screen with 2 "!" scatering on it. > Neither > > "grub>" displayed. > > Did you install grub? If so, did you use grub-install or my previous > instructions? What output did you get from that? I guess try > re-installing grub. > > -Richard > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list