1 |
On Tue, 2008-01-01 at 10:20 +0000, Mick wrote: |
2 |
> Happy New Year! |
3 |
|
4 |
so far :) 1 almost down and 365 to go! |
5 |
|
6 |
> BRM wrote: |
7 |
> |
8 |
> > The system is set to boot off of /dev/hdb2 (ext2) and use /dev/hdb1 as |
9 |
> > the root. I believe the boot device is hd1,1 in grub terminology. |
10 |
> |
11 |
> Yes. |
12 |
> |
13 |
> > The system has 3 hard drives: hda, hdb, and sda; as well as a dvd drive |
14 |
> > (hdc). |
15 |
> |
16 |
> Check your /boot/grub/device.map to make sure that devices correspond to the |
17 |
> expected grub nomenclature. Use <tab-completion> after you run # grub for |
18 |
> root to find out where Grub thinks its root fs resides. |
19 |
|
20 |
in my experience, it is not enough just to run grub from within linux - |
21 |
you have to boot to grub. YMMV. |
22 |
|
23 |
> > /dev/hdb2 has the following structure: |
24 |
> > - list of all my Slackware kernels |
25 |
> > - gentoo/bzImage |
26 |
> > - gentoo/bzImage_2-6-23-gentoo-r3 |
27 |
> > - grub/ |
28 |
> > |
29 |
> > Below is my grub.conf (minus comment lines): |
30 |
> > |
31 |
> > timeout 30 |
32 |
> > default 0 |
33 |
> > fallback 1 |
34 |
> > title Gentoo Linux |
35 |
> > root (hd1,1) |
36 |
> > kernel /gentoo/bzImage root=/dev/hdb1 |
37 |
> |
38 |
> I assume from what you said above that when you run ls -la /gentoo/bzImage |
39 |
> you can see the kernel image you are trying to boot, right? |
40 |
|
41 |
not quite! root is (hd1,1) which is hdb2. This is grub's root device, |
42 |
ie your boot partition (if you have one). The kernel line specifies the |
43 |
linux root as hdb1. so `ls -la /boot/gentoo/bzImage` should show as you |
44 |
expected, given that hdb2 is mounted as /boot. |
45 |
|
46 |
HTH! |
47 |
-- |
48 |
Iain Buchanan <iaindb at netspace dot net dot au> |
49 |
|
50 |
#if _FP_W_TYPE_SIZE < 32 |
51 |
#error "Here's a nickel kid. Go buy yourself a real computer." |
52 |
#endif |
53 |
-- linux/arch/sparc64/double.h |
54 |
|
55 |
-- |
56 |
gentoo-user@g.o mailing list |