Linux Kernel Install

helps!

Page 1 of 1

10 Replies - 1892 Views - Last Post: 20 September 2003 - 01:37 PM

#1 Nova Dragoon   User is offline

  • The Innocent Shall Suffer, Big Time
  • member icon

Reputation: 38
  • View blog
  • Posts: 6,169
  • Joined: 16-August 01

Linux Kernel Install

Posted 03 September 2003 - 01:42 PM

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?

Is This A Good Question/Topic? 0
  • +

Replies To: Linux Kernel Install

#2 mi6   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 48
  • Joined: 08-November 02

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?
Was This Post Helpful? 0
  • +
  • -

#3 Nova Dragoon   User is offline

  • The Innocent Shall Suffer, Big Time
  • member icon

Reputation: 38
  • View blog
  • Posts: 6,169
  • Joined: 16-August 01

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
Was This Post Helpful? 0
  • +
  • -

#4 mi6   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 48
  • Joined: 08-November 02

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!
Was This Post Helpful? 0
  • +
  • -

#5 Nova Dragoon   User is offline

  • The Innocent Shall Suffer, Big Time
  • member icon

Reputation: 38
  • View blog
  • Posts: 6,169
  • Joined: 16-August 01

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
Was This Post Helpful? 0
  • +
  • -

#6 Nova Dragoon   User is offline

  • The Innocent Shall Suffer, Big Time
  • member icon

Reputation: 38
  • View blog
  • Posts: 6,169
  • Joined: 16-August 01

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
Was This Post Helpful? 0
  • +
  • -

#7 mi6   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 48
  • Joined: 08-November 02

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.
Was This Post Helpful? 0
  • +
  • -

#8 Nova Dragoon   User is offline

  • The Innocent Shall Suffer, Big Time
  • member icon

Reputation: 38
  • View blog
  • Posts: 6,169
  • Joined: 16-August 01

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
Was This Post Helpful? 0
  • +
  • -

#9 mi6   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 48
  • Joined: 08-November 02

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?
Was This Post Helpful? 0
  • +
  • -

#10 Nova Dragoon   User is offline

  • The Innocent Shall Suffer, Big Time
  • member icon

Reputation: 38
  • View blog
  • Posts: 6,169
  • Joined: 16-August 01

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?

custom, i did make xconfig,
Was This Post Helpful? 0
  • +
  • -

#11 mi6   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 48
  • Joined: 08-November 02

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.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1