LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-07-2004, 12:44 PM   #16
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,144

Original Poster
Rep: Reputation: 56

well
I've read a lot about this and I think i've been including the support for ext3 fs. Here's the fs block from config file you requested:

# File systems
#
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT2_FS_POSIX_ACL=y
CONFIG_EXT2_FS_SECURITY=y
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
CONFIG_EXT3_FS_SECURITY=y
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_FS_MBCACHE=y
CONFIG_REISERFS_FS=y
CONFIG_REISERFS_CHECK=y
CONFIG_REISERFS_PROC_INFO=y
CONFIG_REISERFS_FS_XATTR=y
CONFIG_REISERFS_FS_POSIX_ACL=y
CONFIG_REISERFS_FS_SECURITY=y
# CONFIG_JFS_FS is not set
CONFIG_FS_POSIX_ACL=y
# CONFIG_XFS_FS is not set
# CONFIG_MINIX_FS is not set
CONFIG_ROMFS_FS=y
CONFIG_QUOTA=y
# CONFIG_QFMT_V1 is not set
CONFIG_QFMT_V2=y
CONFIG_QUOTACTL=y
CONFIG_AUTOFS_FS=m
CONFIG_AUTOFS4_FS=m

Also do I need to make initrd (i.e include support for ram disk during kernel compile). I didnt opt for that option in the current config. Also as Demonbane suggest thomer's link. I've been following that link from start. I'm getting disheartened that this RH 9 has something that wont let me compile my own kernel. I also have slackware 10 and i compiled (was success the first time) kernel on that it was a breeze. Do you think i should use slack's config file to compile kernel for RH 9?

Anyways, thanks for replying. Appreciate all your help.
Tux,
 
Old 08-07-2004, 01:32 PM   #17
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
yea try the config file you used in Slackware
 
Old 08-07-2004, 03:16 PM   #18
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,144

Original Poster
Rep: Reputation: 56
was the result different when i compiled using slackware's config file??? NO.......I got the same error again that I got before.

Checking root filesystem
fsck.ext3/dev/hdb3:
The superblock couldnot be read or does not describe a correct ext2 filesystem. If the device is valid & it really contains an ext2 fs (and not swap or nfs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock.
e2fsck -b 8193 <device>
:No such file or directory while trying to open /dev/hdb3

Well that make easy since I am giving up on RH 9 altogether. I have wasted awful lot of time compiling kernel and its not worth doing?

I guess i'll be happy with FC2 and slackware.

I have one more question, I have slackware on hdb5. Can i shift the whole OS on a different partition like hdb3 or something?
 
Old 08-07-2004, 03:39 PM   #19
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi there

i have faced a lot of same problems
what i did was get a config file of a working kernel
i got this after i installed kernel 2.6 rpm

now i got the config file of this kernel

load this file into kernel source then
compile this and see if this works
after that change the file carefully and make ur kernel and keep the filesystem optioins same as before

regards

remeber patience is the key in linux do not get frustrated
 
Old 08-07-2004, 03:40 PM   #20
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
yea I suppose its time to upgrade anyway.

Code:
I have one more question, I have slackware on hdb5. Can i shift the whole OS on a different partition like hdb3 or something?
Yes you can, all you need to do is update /etc/fstab and kernel parameter beforehand. If you use LILO you have to reinstall it afterwards, using Slackware CD.
 
Old 08-08-2004, 12:05 AM   #21
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,144

Original Poster
Rep: Reputation: 56
Got rid of RH9. I was really getting tired of doing nothing than to compile a kernel. I installed fedora and slack 10 again and even did a new kernel compile for slackware. It was a breeze in slackware. Anyway, I want to thank all you guys who replied to my questions.

Thanks again,
Tux
 
Old 08-08-2004, 01:25 PM   #22
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi tuxrules

i can understand ur frustation,but i think u should have given it a try once more.that would\have added to ur confidence a lot and we learn things here the hard way.

i think in fedora 2 u won't be facing a we have precompiled 2.6 kernel here.
get the 2.6 config file from /boot and use that to get ur first kernel and then if it is successfull get the kernel according to ur needs


regards
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting into Single User on MDK 9 asks for root password instead of booting into root acadcworks Linux - General 6 01-10-2006 07:51 AM
configuring kernel, booting to root partition warinthepocket Linux - General 2 02-06-2005 01:43 AM
Loging as root and an error booting. Kensai Mandriva 8 02-23-2004 12:38 AM
booting error: Kernel Panic: vfs: unable to mount root fs on 01:01 eam Linux - General 2 01-26-2004 09:48 PM
Kernel Panic with pivot root error ramu_ak Linux - General 0 02-07-2003 03:41 AM


All times are GMT -5. The time now is 04:10 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration