1 |
Hi Richard, |
2 |
|
3 |
After entering chroot environment re-installed grub; |
4 |
|
5 |
# cat << EOF | grub |
6 |
> root (hd0,0) |
7 |
> setup (hd0) |
8 |
EOF |
9 |
|
10 |
Running "install /boot/grub/stage1 (hd0) (hd0)1+16 p |
11 |
(hd0,0)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded |
12 |
|
13 |
|
14 |
Exited chroot and umount everythings. Rebooted PC. |
15 |
|
16 |
Grub started but ending at; |
17 |
root (hd0,0) |
18 |
Filesystem type is ext2fs Partition type 0x83 |
19 |
kernel (hd0,0)/boot/kernel-2.6.17-gentoo-r7 root=/dev/hda2 |
20 |
Error 15:File not found. |
21 |
Press any key to contiue |
22 |
|
23 |
|
24 |
Restarted PC and entered chroot environment again. Found |
25 |
/usr/src/linux file missing. It should be symbolic-linked to --> |
26 |
linux-2.6.17-gentoo-r7 |
27 |
|
28 |
|
29 |
Failed to re-run |
30 |
# USE="-doc symlink" emerge gentoo-sources |
31 |
because "emerge" command not found. |
32 |
|
33 |
|
34 |
Further discovery: new /etc/fstab |
35 |
tmpfs /newroot tmpfs rw 0 0 |
36 |
/dev/hdd /newroot/mnt/cdrom iso9660 ro 0 0 |
37 |
/dev/loop/0 /newroot/mnt/livecd squashfs ro 0 0 |
38 |
proc /newroot/proc proc rw,nodiratime 0 0 |
39 |
sysfs /newroot/sys sysfs rw 0 0 |
40 |
udev /newroot/dev tmpfs rw,nosuid 0 0 |
41 |
devpts /newroot/dev/pts devpts rw 0 0 |
42 |
cachedir /newroot/mnt/livecd/lib64/splash/cache tmpfs rw 0 0 |
43 |
tmpfs /newroot/mnt/livecd/lib64/splash/tmp tmpfs rw 0 0 |
44 |
tmpfs /newroot/mnt/livecd/lib64/firmware tmpfs rw 0 0 |
45 |
tmpfs /newroot/mnt/livecd/usr/portage tmpfs rw 0 0 |
46 |
usbfs /newroot/proc/bus/usb usbfs rw 0 0 |
47 |
/dev/hda2 / ext3 rw,data=ordered 0 0 |
48 |
/dev/hda1 /boot ext2 rw,nogrpid 0 0 |
49 |
/dev/vg/usr /usr ext3 rw,data=ordered 0 0 |
50 |
/dev/vg/home /home ext3 rw,data=ordered 0 0 |
51 |
/dev/vg/var /var ext3 rw,data=ordered 0 0 |
52 |
/dev/vg/opt /opt ext3 rw,data=ordered 0 0 |
53 |
/dev/vg/tmp /tmp ext3 rw,data=ordered 0 0 |
54 |
none /proc proc rw,nodiratime 0 0 |
55 |
udev /dev tmpfs rw,nosuid 0 0 |
56 |
* end * |
57 |
|
58 |
Would it be the result of previously running; |
59 |
# grep -v rootfs /proc/mounts > /etc/fstab |
60 |
|
61 |
|
62 |
Tks |
63 |
|
64 |
|
65 |
B.R. |
66 |
SL |
67 |
|
68 |
|
69 |
|
70 |
|
71 |
--- Richard Fish <bigfish@××××××××××.org> wrote: |
72 |
|
73 |
> On 8/31/06, Stephen Liu <satimis@×××××.com> wrote: |
74 |
> > Edited /etc/fstab as follows; |
75 |
> > /dev/hda1 /boot ext2 defaults,noatime 1 2 |
76 |
> |
77 |
> Does this filesystem contain a grub directory with stage2, menu.lst |
78 |
> (or grub.conf), etc? What does grub/{menu.lst,grub.conf} contain? |
79 |
> |
80 |
> > # grep -v rootfs /proc/mounts > /etc/fstab |
81 |
> |
82 |
> Um...you mean ">/etc/mtab", right? Otherwise your fstab is going to |
83 |
> contain things that are not really necessary, like usbfs and sysfs |
84 |
> filesystems.... |
85 |
> |
86 |
> Anyway, this step is really not even necessary even with mtab, as |
87 |
> Gentoo will fix it when you boot. |
88 |
> |
89 |
> |
90 |
> > Still failed, only a black screen with 2 "!" scatering on it. |
91 |
> Neither |
92 |
> > "grub>" displayed. |
93 |
> |
94 |
> Did you install grub? If so, did you use grub-install or my previous |
95 |
> instructions? What output did you get from that? I guess try |
96 |
> re-installing grub. |
97 |
> |
98 |
> -Richard |
99 |
> -- |
100 |
> gentoo-user@g.o mailing list |
101 |
> |
102 |
> |
103 |
|
104 |
-- |
105 |
gentoo-user@g.o mailing list |