You are not logged in.

#1 2010-05-14 22:30:08

stratotak
Member
Registered: 2006-01-08
Posts: 25

Adding new kernel to grub menu list??

I installed the realtime kernel 2.6.31-rt  but I can't  figure out how to add it to grub menu list. I dont think I can just edit grubs menu.lst and add it as It has a uid nmbers and letters in it. Under Debian when you instal a kernel old or newer it adds it to grub with update-grub.

 (0) Arch Linux
title  Arch Linux
root   (hd0,1)
kernel /vmlinuz26 root=/dev/disk/by-uuid/f382344e-3bc9-45f2-a423-3b936416e001 ro
initrd /kernel26.img

Is ther a option to set the number of kernels grub shows to more than the  main and fallback ones? How do I get the real time kernel to show up ??

Offline

#2 2010-05-14 22:39:10

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Adding new kernel to grub menu list??

You have to understand what the numbers and letters mean, all easy from there wink
It's grub legacy, just edit menu-lst.

root (hd0,1): partition where kernel and images are, all further paths are relative to that
kernel: path to the kernel (if boot was not a seperate partition, you would have to prefix with /boot/ here)
root=: your / partition, defined by uuid
initrd: path to initramfs image

for more complete info, check the wiki or google.

Offline

#3 2010-05-14 23:00:46

stratotak
Member
Registered: 2006-01-08
Posts: 25

Re: Adding new kernel to grub menu list??

So that Uuid number..."f382344e-3bc9-45f2-a423-3b936416e001". That is constant no matter what kernel it is. It is not something that is generated for each kernel and it is different? I can just make a new entry and use that uuid and change the kernel img and intird??

Offline

#4 2010-05-14 23:05:55

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: Adding new kernel to grub menu list??

yep, uuid is just defining what your root partition is, and doesn't change

Offline

#5 2010-05-15 11:27:32

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: Adding new kernel to grub menu list??

copy/paste the existing entries, change the title and filenames, ???, profit!


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB