You are not logged in.

#1 2006-01-21 08:32:22

alancooney
Member
Registered: 2006-01-08
Posts: 20

[solved] Grub config file, upgrading kernel

Hi!

I can't see what I've done wrong here, so I'd be really grateful if one of you could help me out.  Heres my menu.lst:

# (0) Arch Linux
title  Arch Linux  [/boot/vmlinuz]
root   (hd0,1)
kernel /boot/vmlinuz root=/dev/discs/disc0/part2 ro

# (1) Arch 2.4
title Arch Linux 2.4  [/boot/vmlinuz-2.4]
root   (hd0,1)
kernel /boot/vmlinuz-2.4 root=/dev/discs/disc0/part2 ro

# (2) Arch 2.6
title Arch Linux 2.6 [/boot/vmlinuz26]
root   (hd0,1)
kernel /boot/vmlinuz26 root=/dev/discs/disc0/part2 devfs=nomount ro

Thanks!

From Alan

Offline

#2 2006-01-21 09:52:22

hiower4
Member
Registered: 2004-07-31
Posts: 38

Re: [solved] Grub config file, upgrading kernel

With the newer kernels, you need to have

/dev/hda2

instead of

/dev/discs/disc0/part2

#348498 +(4737)- [X]

<MasterG> .....................................................................
          ..................................
<judas> where's pacman when you need him?

Offline

#3 2006-01-21 09:52:54

cl0wn
Member
Registered: 2005-12-29
Posts: 32

Re: [solved] Grub config file, upgrading kernel

maybe you should add this in the begining of the menu.lst:

timeout   30
default   0

also, I suggest you to replace /dev/discs... to /dev/hdXY (or sdXY, if you have SATASCSI drive).


knowledge is p0wer...

Offline

#4 2006-01-21 10:21:41

alancooney
Member
Registered: 2006-01-08
Posts: 20

Re: [solved] Grub config file, upgrading kernel

Ok, I've done all that and it still won't boot.  Should I update grub, or will that make matters worse?

Offline

#5 2006-01-21 10:31:11

hiower4
Member
Registered: 2004-07-31
Posts: 38

Re: [solved] Grub config file, upgrading kernel

Have you recently updated your kernel?
in that case, you lack the line

initrd /boot/initrd26.img

after the kernel line.

What is happening? have all kernels suddenly stopped booting? Have you recently fiddled around with the kernel, boot or something? upgraded or otherwise. Or have you only used pacman, and upgraded something else?
Give us some meat on the bones


#348498 +(4737)- [X]

<MasterG> .....................................................................
          ..................................
<judas> where's pacman when you need him?

Offline

#6 2006-01-21 10:38:06

alancooney
Member
Registered: 2006-01-08
Posts: 20

Re: [solved] Grub config file, upgrading kernel

Thankyou Hiower4!

That has solved the problem.

From Alan

Offline

#7 2006-01-21 10:53:39

cl0wn
Member
Registered: 2005-12-29
Posts: 32

Re: [solved] Grub config file, upgrading kernel

add [Solved] to the topic of this post.


knowledge is p0wer...

Offline

Board footer

Powered by FluxBB