Re: [gentoo-user] about grub

2007-07-07 Thread sain yan

Because you didn`t mount /boot?


Yes! I find the erro in /etc/fstab

/dev/sda7/boot   ext3*noauto,*notime,noexec 0 0



THANKS EVERYBODY !!




--
==
I'm sorry for my poor english!!!


[gentoo-user] about grub

2007-07-05 Thread 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???


 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: [gentoo-user] about grub

2007-07-05 Thread Hemmann, Volker Armin
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?
-- 
[EMAIL PROTECTED] mailing list




Re: [gentoo-user] about grub

2007-07-05 Thread Dirk Heinrichs
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: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] about grub

2007-07-05 Thread Paul Waring
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
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] about grub

2007-07-05 Thread Dirk Heinrichs
Am Donnerstag, 5. Juli 2007 schrieb ext Dominik Żyła:
 2007/7/5, Dirk Heinrichs [EMAIL PROTECTED]:
  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: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] about grub

2007-07-05 Thread Dominik Żyła

2007/7/5, Dirk Heinrichs [EMAIL PROTECTED]:


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: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net




So, it`s exactly what  Hemmann, Volker Armin  wrote above your post.


Re: [gentoo-user] about grub

2007-07-05 Thread Paul Gibbons
On Thu, 5 Jul 2007 19:51:10 +0800
sain yan [EMAIL PROTECTED] 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!


-- 
 
# ##### 
 ##  /######
/#   /  /  #####
   //  /###   ##
   /  /  ##   ##
  ## ##  ##  /###   ##    ##
  ## ##  ## / ###  / #####  / ## [EMAIL PROTECTED]
/### ##  / /   ###/  ## ###/  ## mobile: 07972184336
   / ### ## / ####   ##  ##   ##
  ## ##/  ####   ##  ##   ##
  ## ##   ####   ##  ##   ##
  ## ##   ####   ##  ##   ##
  ## ##   ##/#   ##  /#   ##
  ## ##/ ##   ##/ ##  ### / 
 ##   ## ## ###   ##   #   ##  ##/  
###   #  /  
 ###/   
  #/
### 

Linux 2.6.20-gentoo-r8 
x86_64 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] about grub

2007-07-05 Thread Don Jerman

On 7/5/07, Dirk Heinrichs [EMAIL PROTECTED] 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!).
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] about grub

2007-07-05 Thread Dirk Heinrichs
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: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


signature.asc
Description: This is a digitally signed message part.