LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 01-30-2004, 11:20 AM   #1
faderjet
LQ Newbie
 
Registered: Jan 2004
Posts: 8

Rep: Reputation: 0
Trouble Loading New Kernel


Hi all,

Well heres my situation. I'm running RH9 kernel 2.4.20-8. I'm tyring to update my kernel to 2.6.1. I can recompile the kernel without a hitch, but when I try to load the new kernel from GRUB it'll get a ways down then i get this:

Mounting root filesystem
mount: error 19 mounting ext3
pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed: 2
unmount /initrd/proc failed : 2
Freeing unused kernel memory: 228k freed
Kernel panic: No init found. Try passing init= option to kernel.


Not sure whats goin on here. If anyone can shed light on my situation i'd be greatful. Thanx - fader
 
Old 01-30-2004, 11:26 AM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 58
did you compile ext3 into the kernel or as a module?
and what steps did you take in point fourm to compile ?
and post your grub.conf file..
 
Old 01-30-2004, 03:36 PM   #3
faderjet
LQ Newbie
 
Registered: Jan 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Should i compile ext3 into or as a module?

what command should i use to edit grub.conf or even modules.conf?
 
Old 01-31-2004, 02:12 AM   #4
vincebs
Member
 
Registered: Oct 2003
Location: Mississauga, ON
Distribution: Ubuntu 9.04
Posts: 494

Rep: Reputation: 30
We're talking about compiling ext3 support into the kernel binary itself, so it has nothing to do with external files such as modules.conf and grub.conf.

Remember when you did make xconfig/menuconfig/gconfig/config?

Under the "File Systems" section, make sure ext3 is checked off as compile-into-kernel and not compile-as-module.
 
Old 02-11-2004, 08:51 AM   #5
erwinrm
LQ Newbie
 
Registered: Feb 2004
Posts: 1

Rep: Reputation: 0
I have a similar problem, but get error 6. ext2 and ext3 are built into the kernel.

I get the following error after trying to boot to 2.6.2:
Mounting root filesystem
Mount; error 6 mounting ext3 flags defaults
....

Here's an extract of my config:
...CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
# CONFIG_EXT2_FS_POSIX_ACL is not set
# CONFIG_EXT2_FS_SECURITY is not set
CONFIG_EXT3_FS=y
# CONFIG_EXT3_FS_XATTR is not set
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_FS_MBCACHE=y
...
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
CONFIG_IDE_GENERIC=y
# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_BLK_DEV_IDEPNP is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
# CONFIG_BLK_DEV_OFFBOARD is not set
CONFIG_BLK_DEV_GENERIC=y
CONFIG_BLK_DEV_RZ1000=m
CONFIG_BLK_DEV_IDEDMA_PCI=y

I've changed the ext2 and ext3 settings to no avail. Here's a diff between recent runs:
1596,1597c1596,1597
< # CONFIG_EXT2_FS_POSIX_ACL is not set
< # CONFIG_EXT2_FS_SECURITY is not set
---
> CONFIG_EXT2_FS_POSIX_ACL=y
> CONFIG_EXT2_FS_SECURITY=y
1599c1599,1601
< # CONFIG_EXT3_FS_XATTR is not set
---
> CONFIG_EXT3_FS_XATTR=y
> CONFIG_EXT3_FS_POSIX_ACL=y
> CONFIG_EXT3_FS_SECURITY=y


Here's an extract of my lilo.conf:
boot=/dev/hda
map=/boot/map
vga=normal
default="linux-smp"
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
disk=/dev/hdg bios=0x82
disk=/dev/hde bios=0x81
image=/boot/vmlinuz
label="linux"
root=/dev/hdg5
initrd=/boot/initrd.img
append="devfs=mount resume=/dev/hdg6"
read-only
image=/boot/vmlinuz-smp
label="linux-smp"
root=/dev/hdg5
initrd=/boot/initrd-smp.img
append="devfs=mount resume=/dev/hdg6"
read-only

Here are my mount points:
/dev/ide/host3/bus0/target0/lun0/part5 on / type ext3 (rw)
none on /proc type proc (rw)
none on /dev type devfs (rw)
/dev/ide/host3/bus0/target0/lun0/part1 on /boot type ext3 (rw)
none on /dev/pts type devpts (rw,mode=0620)
/dev/ide/host3/bus0/target0/lun0/part9 on /home type ext3 (rw)
/dev/ide/host0/bus0/target0/lun0/part1 on /mnt/win_c type ntfs (ro,iocharset=iso8859-1)
/dev/ide/host3/bus0/target0/lun0/part7 on /tmp type ext3 (rw)
/dev/ide/host3/bus0/target0/lun0/part8 on /usr type ext3 (rw)

All files are copied to /boot using make install. The linux-smp kernel is 2.4.2 (Mandrake 9.2), and works fine.

Any help in getting me past this error would be very much appreciated. I must've compiled the kernel at least 6 times now with different configs without much luck.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Having trouble loading smbd ziggie216 Linux - Software 1 11-19-2005 11:44 PM
having trouble loading sound drivers PapaSmurf88 Linux - Hardware 2 05-11-2005 04:26 PM
having trouble loading globulation 2 izquierdista Linux - Games 1 05-06-2005 02:50 PM
Loading modules error after loading compiled kernel td0l2 Linux - Newbie 12 07-28-2004 11:10 AM
Having trouble loading SuSe 9.1 Raveck Linux - Distributions 17 07-04-2004 01:06 PM


All times are GMT -5. The time now is 03:01 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration