List Info

Thread: about grub




about grub
user name
2007-07-05 06:51:10
Hi
      On my gentoo box, Useing grub and it work fine!
    ;  But I`m NOT find the file menu.lst in /etc and /boot,Why???
 ;
 
     ; and I install another kernel , Then write the file "menu.lst" at /boot/grub/menu.lst,
      But Grub DON`T read it when booting,Why??
 
 ;
   ;           anybody help me?   thanks!!
--
==============================
I'm sorry for my poor english!!!!!!!
Re: about grub
country flaguser name
United Kingdom
2007-07-05 06:59:43
On Thu, Jul 05, 2007 at 07:51:10PM +0800, sain yan wrote:
>          On my gentoo box, Useing grub and it work
fine!
> 
>          But I`m NOT find the file menu.lst in /etc and
/boot,Why???

The file you want is stored as: /boot/grub/grub.conf on
Gentoo systems.
You need to edit that file in order to make any changes and
grub will
read them correctly at the next reboot (you don't need to
run any
commands as you do with lilo).

Paul
-- 
gentoo-usergentoo.org mailing list


Re: about grub
user name
2007-07-05 07:03:08


2007/7/5, sain yan < sainrygmail.com">sainrygmail.com>:
Hi
 &nbsp; &nbsp;  On my gentoo box, Useing grub and it work fine!
&nbsp;   ;  But I`m NOT find the file menu.lst in /etc and /boot,Why???
 ;
 
 &nbsp;   ; and I install another kernel , Then write the file "menu.lst" at /boot/grub/menu.lst,
 &nbsp; &nbsp;  But Grub DON`T read it when booting,Why??
&nbsp;
 ;
   ; &nbsp; &nbsp; &nbsp; &nbsp;   anybody help me? &nbsp; thanks!!
--
==============================
I'm sorry for my poor english!!!!!!!


Hi,
[14:01] concubine:~ $ ll /boot/grub/menu.lst&nbsp; &nbsp;
lrwxrwxrwx 1 root root 9 gru 14  2005 /boot/grub/menu.lst -> grub.conf
[14:01] concubine:~ $

Re: about grub
country flaguser name
Germany
2007-07-05 07:07:15
On Donnerstag, 5. Juli 2007, sain yan wrote:
> Hi
>       On my gentoo box, Useing grub and it work fine!
>       But I`m NOT find the file menu.lst in /etc and
/boot,Why???
>
>
>       and I install another kernel , Then write the
file "menu.lst" at
> /boot/grub/menu.lst,
>       But Grub DON`T read it when booting,Why??
>
>
>               anybody help me?   thanks!!

forget /etc/menu.lst
forget /boot/menu.lst
/boot/grub/menu.lst is deprecated - and a symlink to
/boot/grub/grub.conf

are you sure that grub is not reading grub.conf in
/boot/grub? 
Is the boot -> . symlink in /boot? Are you sure that your
settings are 
correct? Correct harddrive? Correct partition?
-- 
gentoo-usergentoo.org mailing list


Re: about grub
user name
2007-07-05 07:11:50
AM DONNERSTAG, 5. JULI 2007 SCHRIEB EXT DOMINIK ?Y?A:

> HI,
> [14:01] CONCUBINE:~ $ LL /BOOT/GRUB/MENU.LST
> LRWXRWXRWX 1 ROOT ROOT 9 GRU 14  2005
/BOOT/GRUB/MENU.LST -> GRUB.CONF
> [14:01] CONCUBINE:~ $

SO WHAT?

BYE...

	DIRK
-- 
DIRK HEINRICHS          | TEL:  +49 (0)162 234 3408
CONFIGURATION MANAGER   | FAX:  +49 (0)211 47068 111
CAPGEMINI DEUTSCHLAND   | MAIL: DIRK.HEINRICHSCAPGEMINI.COM
WANHEIMERSTRAßE 68      | WEB:  HTTP://WWW.CAPGEMINI.COM
D-40468 DüSSELDORF      | ICQ#: 110037733
GPG PUBLIC KEY C2E467BB | KEYSERVER: WWW.KEYSERVER.NET
Re: about grub
user name
2007-07-05 07:25:17


2007/7/5, Dirk Heinrichs < dirk.heinrichs.extnsn.com">dirk.heinrichs.extnsn.com&gt;:
Am Donnerstag, 5. Juli 2007 schrieb ext Dominik ¯y³a:

>; Hi,
> [14:01] concubine:~ $ ll /boot/grub/menu.lst
&gt; lrwxrwxrwx 1 root root 9 gru 14 &nbsp;2005 /boot/grub/menu.lst -> grub.conf
> [14:01] concubine:~ $

So what?

Bye...

   ; &nbsp; &nbsp; Dirk
--
Dirk Heinrichs&nbsp;   ; &nbsp; &nbsp; &nbsp;| Tel:  +49 (0)162 234 3408
Configuration Manager&nbsp;  | Fax:  +49 (0)211 47068 111
Capgemini Deutschland &nbsp; | Mail: dirk.heinrichscapgemini.com"> dirk.heinrichscapgemini.com
Wanheimerstraße 68 &nbsp; &nbsp;  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  ; &nbsp; &nbsp;| ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


So, it`s exactly what  tu-clausthal.de" style="color: rgb(200, 137, 0);">Hemmann, Volker Armin ; wrote above your post.



Re: about grub
user name
2007-07-05 07:46:06
AM DONNERSTAG, 5. JULI 2007 SCHRIEB EXT DOMINIK ?Y?A:
> 2007/7/5, DIRK HEINRICHS <DIRK.HEINRICHS.EXTNSN.COM>:
> > AM DONNERSTAG, 5. JULI 2007 SCHRIEB EXT DOMINIK
?Y?A:
> > > HI,
> > > [14:01] CONCUBINE:~ $ LL /BOOT/GRUB/MENU.LST
> > > LRWXRWXRWX 1 ROOT ROOT 9 GRU 14  2005
/BOOT/GRUB/MENU.LST ->
> > > GRUB.CONF [14:01] CONCUBINE:~ $
> >
> > SO WHAT?
>
> SO, IT`S EXACTLY WHAT  HEMMANN, VOLKER ARMIN  WROTE
ABOVE YOUR POST.

YES, BUT I DON'T THINK IT'S THE CAUSE OF THE PROBLEM. AND,
ACCORDING TO 
GRUB'S MAN PAGE, IS ALSO (PARTLY) WRONG:

"       --CONFIG-FILE=FILE
              SPECIFY STAGE2 CONFIG_FILE
[DEFAULT=/BOOT/GRUB/MENU.LST]"

(OR IS THE MAN/INFO/--HELP OUT OF DATE?)

AS I WROTE IN MY FIRST ANSWER TO THIS THREAD (WHICH SOMEHOW
DIDN'T MAKE IT 
TO THE LIST, YET), THE PROBLEM IS (IMHO) WITH /BOOT NOT
BEEING MOUNTED AT 
ALL.

BYE...

	DIRK
-- 
DIRK HEINRICHS          | TEL:  +49 (0)162 234 3408
CONFIGURATION MANAGER   | FAX:  +49 (0)211 47068 111
CAPGEMINI DEUTSCHLAND   | MAIL: DIRK.HEINRICHSCAPGEMINI.COM
WANHEIMERSTRAßE 68      | WEB:  HTTP://WWW.CAPGEMINI.COM
D-40468 DüSSELDORF      | ICQ#: 110037733
GPG PUBLIC KEY C2E467BB | KEYSERVER: WWW.KEYSERVER.NET
Re: about grub
user name
2007-07-05 13:01:18
On 7/5/07, Dirk Heinrichs <dirk.heinrichs.extnsn.com> wrote:
[...]
> As I wrote in my first answer to this thread (which
somehow didn't make it
> to the list, yet), the problem is (IMHO) with /boot not
beeing mounted at
> all.
>
Yes, if you followed the Gentoo install instructions closely
/boot is
not mounted during normal operation, so if you install a new
kernel it
will write /boot/grub/grub.conf (or /boot/grub/menu.lst) to
your root
partition, not your boot partition.  Grub is instructed to
use (hd0,0)
or whatever your particular boot partition is, so it's not
going to
see the /boot directory on your root partition - mount /boot
and
re-install the new kernel version and it'll probably boot
fine.  Then
you can clean up the version of /boot that's on your root
partition
(verify that /boot is not mounted first!).
-- 
gentoo-usergentoo.org mailing list


Re: about grub
country flaguser name
United Kingdom
2007-07-05 14:24:07
On Thu, 5 Jul 2007 19:51:10 +0800
"sain yan" <sainrygmail.com> wrote:

> Hi
>       On my gentoo box, Useing grub and it work fine!
>       But I`m NOT find the file menu.lst in /etc and
/boot,Why???
> 
> 
>       and I install another kernel , Then write the
file "menu.lst" at
> /boot/grub/menu.lst,
>       But Grub DON`T read it when booting,Why??
> 
> 
>               anybody help me?   thanks!!
I had a similar issue. My boot partition contained
a /boot/grub/menu.lst with the option:

title           Gentoo-2.6.20.r8 on /dev/sdb2 - hd1,1
root            (hd1,1)
kernel          /boot/bzImage-2.6.20-gentoo-r8
root=/dev/sdb6

but changes to /boot/bzImage-2.6.20-gentoo-r8 seem to have
no effect.

The cause was the value for root ( (hd1,1) ) which pointed
to a
different partition than the  partition mounted as / and
which
held /boot. 

I had to mount hd1,1 which was /dev/sdb2 as /mnt/sdb2 and
sure enough
in /mnt/sdb2/boot I found the image that was run at boot
time.

I really need to tidy up my partitions!


-- 
                                                 
	##### ##                        ###     
     ######  /###                        ###    
    /#   /  /  ###                        ##    
   /    /  /    ###                       ##    
       /  /      ##                       ##    
      ## ##      ##  /###   ##   ####     ##    
      ## ##      ## / ###  / ##    ###  / ##     paulpkami.e7even.com
    /### ##      / /   ###/  ##     ###/  ##     mobile:
07972184336
   / ### ##     / ##    ##   ##      ##   ##    
      ## ######/  ##    ##   ##      ##   ##    
      ## ######   ##    ##   ##      ##   ##    
      ## ##       ##    ##   ##      ##   ##    
      ## ##       ##    /#   ##      /#   ##    
      ## ##        ####/ ##   ######/ ##  ### / 
 ##   ## ##         ###   ##   #####   ##  ##/  
###   #  /                                      
 ###    /                                       
  #####/                                        
    ###                                         

Linux 2.6.20-gentoo-r8 
x86_64 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD
GNU/Linux
-- 
gentoo-usergentoo.org mailing list


Re: about grub
user name
2007-07-06 00:44:41
AM DONNERSTAG, 5. JULI 2007 SCHRIEB EXT SAIN YAN:
> HI
>       ON MY GENTOO BOX, USEING GRUB AND IT WORK FINE!
>       BUT I`M NOT FIND THE FILE MENU.LST IN /ETC AND
/BOOT,WHY???

BECAUSE YOU DIDN'T MOUNT /BOOT?

>       AND I INSTALL ANOTHER KERNEL , THEN WRITE THE
FILE "MENU.LST" AT
> /BOOT/GRUB/MENU.LST,
>       BUT GRUB DON`T READ IT WHEN BOOTING,WHY??

BECAUSE GRUB LOOKS AT ANOTHER PARTITION.

HTH...

	DIRK
-- 
DIRK HEINRICHS          | TEL:  +49 (0)162 234 3408
CONFIGURATION MANAGER   | FAX:  +49 (0)211 47068 111
CAPGEMINI DEUTSCHLAND   | MAIL: DIRK.HEINRICHSCAPGEMINI.COM
WANHEIMERSTRAßE 68      | WEB:  HTTP://WWW.CAPGEMINI.COM
D-40468 DüSSELDORF      | ICQ#: 110037733
GPG PUBLIC KEY C2E467BB | KEYSERVER: WWW.KEYSERVER.NET
[1-10] [11-20] [21-30] [31-32]

about | contact  Other archives ( Real Estate discussion Medical topics )