ok so never having installed a kernel before... i decided to upgrade to the 2.6.0-test4 kernel..... well i got it configured and
make bzImage
make modules
make modules_install
all cool no errors
i go in and copy my config file, system map and bzImage to /boot
i made with no errors the initird... with the mkinitrd command, got a initrd image......
then dumped it into my GRUB--
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,1)
# kernel /vmlinuz-version ro root=/dev/hda3
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
password --md5 ????????????????md5/G0
title Red Hat Linux (2.4.20-8 Kernel)
root (hd0,1)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /initrd-2.4.20-8.img
title Red Hat Linux (2.6.0-test4 Kernel)
root (hd0,1)
kernel /bzImage-2.6.0-test4 ro root=hd0,2
initrd /initrd-2.6.0-test4.img
title Microsoft Windows
rootnoverify (hd0,0)
chainloader +1
---------------------------------------------
i boot into my 2.6 kernel and it gives me these lines before the kernel panic
mounting /proc filesystem
creating block devices
creating root device
mounting root filesystem
mount: error 19 mounting ext3
piviotroot: pivotroot (/sysroot,/sysroot/initrd) failed :2
umount /initrdproc failed: 2
Freeing unused kernel momory: 256k freed
Kerenl Panic - no init found. Try passing Init= to kernel
can someone help?
Linux Kernel Installhelps!
Page 1 of 1
10 Replies - 1892 Views - Last Post: 20 September 2003 - 01:37 PM
Replies To: Linux Kernel Install
#2
Re: Linux Kernel Install
Posted 03 September 2003 - 05:42 PM
is it possible that hd0,2 isn't the correct drive partition?
What is your partition structure?
You have Windows on your comp as well, so possibly hd0,1?
What is your partition structure?
You have Windows on your comp as well, so possibly hd0,1?
#3
Re: Linux Kernel Install
Posted 03 September 2003 - 07:53 PM
I have 2 hard drives
the first has on the first partiton is Windows2000/98- Fat32
the second partition is my boot partion
the thrid is my root poartion...
my second harddrive has a fat32 partion
the first has on the first partiton is Windows2000/98- Fat32
the second partition is my boot partion
the thrid is my root poartion...
my second harddrive has a fat32 partion
#4
Re: Linux Kernel Install
Posted 03 September 2003 - 08:03 PM
then use: /dev/hda2
btw...after I compile a kernel in RH I do a #make install and it usually automates the process of moving the initrd and bzImage as well as writing the info to grub. FWIW!
btw...after I compile a kernel in RH I do a #make install and it usually automates the process of moving the initrd and bzImage as well as writing the info to grub. FWIW!
#5
Re: Linux Kernel Install
Posted 04 September 2003 - 06:53 AM
oh sanp! they said at Linux.org.... that they DONT!!!! reccommennd make install...... I'll try that... i got knoppix so i can rewrite grub noproblem... thanks
#6
Re: Linux Kernel Install
Posted 04 September 2003 - 07:39 AM
That did it.... but i made a vnlinuz image instead of a bzImage......
and my sound and ethernet dont work.... yet..... I'll mess with that junk later
and my 2.4 kernel still boots
and my sound and ethernet dont work.... yet..... I'll mess with that junk later
and my 2.4 kernel still boots
#7
Re: Linux Kernel Install
Posted 06 September 2003 - 08:49 AM
If you need more help with the sound and eth, lmk.
What do you mean 2.4 still boots? When you choose the 2.6 kernel 2.4 boots instead? I will need more info on that one if you want help.
What do you mean 2.4 still boots? When you choose the 2.6 kernel 2.4 boots instead? I will need more info on that one if you want help.
#8
Re: Linux Kernel Install
Posted 06 September 2003 - 07:56 PM
i mean i can choose to boot between, crippled 2.6, and my orginal 2.4, so what i mean is my comp still works good
#9
Re: Linux Kernel Install
Posted 07 September 2003 - 11:06 AM
ahhh, I see.
Did you do a #make oldconfig when you compiled your 2.6 kernel or did you do it with custom options?
Did you do a #make oldconfig when you compiled your 2.6 kernel or did you do it with custom options?
#10
Re: Linux Kernel Install
Posted 07 September 2003 - 03:06 PM
mi6, on Sep 7 2003, 12:06 PM, said:
ahhh, I see.
Did you do a #make oldconfig when you compiled your 2.6 kernel or did you do it with custom options?
Did you do a #make oldconfig when you compiled your 2.6 kernel or did you do it with custom options?
custom, i did make xconfig,
#11
Re: Linux Kernel Install
Posted 20 September 2003 - 01:37 PM
errr...sorry for the dated reply. I have been away.
I usually do a make oldconfig and then run xconfig to narrow my choices down. It usually results with a nicely functioning kernel with less modules than the default.
Give it a try sometime.
I usually do a make oldconfig and then run xconfig to narrow my choices down. It usually results with a nicely functioning kernel with less modules than the default.
Give it a try sometime.
Page 1 of 1

New Topic/Question
This topic is locked



MultiQuote



|