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 <[EMAIL PROTECTED]> wrote:

> On 8/31/06, Stephen Liu <[EMAIL PROTECTED]> 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

Reply via email to