Gentoo Archives: gentoo-user

From: Paul Gibbons <paul@××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] about grub
Date: Thu, 05 Jul 2007 18:28:46
Message-Id: 20070705202407.2398def3@localhost
In Reply to: [gentoo-user] about grub by sain yan
1 On Thu, 5 Jul 2007 19:51:10 +0800
2 "sain yan" <sainry@×××××.com> wrote:
3
4 > Hi
5 > On my gentoo box, Useing grub and it work fine!
6 > But I`m NOT find the file menu.lst in /etc and /boot,Why???
7 >
8 >
9 > and I install another kernel , Then write the file "menu.lst" at
10 > /boot/grub/menu.lst,
11 > But Grub DON`T read it when booting,Why??
12 >
13 >
14 > anybody help me? thanks!!
15 I had a similar issue. My boot partition contained
16 a /boot/grub/menu.lst with the option:
17
18 title Gentoo-2.6.20.r8 on /dev/sdb2 - hd1,1
19 root (hd1,1)
20 kernel /boot/bzImage-2.6.20-gentoo-r8 root=/dev/sdb6
21
22 but changes to /boot/bzImage-2.6.20-gentoo-r8 seem to have no effect.
23
24 The cause was the value for root ( (hd1,1) ) which pointed to a
25 different partition than the partition mounted as / and which
26 held /boot.
27
28 I had to mount hd1,1 which was /dev/sdb2 as /mnt/sdb2 and sure enough
29 in /mnt/sdb2/boot I found the image that was run at boot time.
30
31 I really need to tidy up my partitions!
32
33
34 --
35
36 ##### ## ###
37 ###### /### ###
38 /# / / ### ##
39 / / / ### ##
40 / / ## ##
41 ## ## ## /### ## #### ##
42 ## ## ## / ### / ## ### / ## paul@××××××××××××.com
43 /### ## / / ###/ ## ###/ ## mobile: 07972184336
44 / ### ## / ## ## ## ## ##
45 ## ######/ ## ## ## ## ##
46 ## ###### ## ## ## ## ##
47 ## ## ## ## ## ## ##
48 ## ## ## /# ## /# ##
49 ## ## ####/ ## ######/ ## ### /
50 ## ## ## ### ## ##### ## ##/
51 ### # /
52 ### /
53 #####/
54 ###
55
56 Linux 2.6.20-gentoo-r8
57 x86_64 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux
58 --
59 gentoo-user@g.o mailing list