LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 11-01-2003, 02:52 AM   #1
Udo
LQ Newbie
 
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
Exclamation XFS as a module


Hi!

My root-partition runs XFS (also my /boot/) and I would like to run XFS as a module to the kernel NOT as a part of the kernel (”NOT” <- just for clearing things out . But when I have XFS as a module I'll get the well-known error: "Kernel panic: VFS: unable to mount root....." when my PC boots.

When I configure the kernel there is some help/info about XFS. It's says:
"Be aware, however, that if the file system of your root partition is compiled as a module, you'll need to use an initial ramdisk (initrd) to boot."
So I have < mkinitrd > /boot/initrd-mykernel.img (from) "mykernel" with and without "--preload=xfs". But it didn’t help.
Also the < append="ramdisk_size=25000" > in lilo have I tried.


My kernel works great when I, as the only thing in the kernel, change XFS from module to part of the kernel (so the kernel can't be fucked up, could it??) but that’s not what I want, so please help...

I have read the ”Linux + XFS HOWTO” but its wasn’t very helpful.


I have Mandrake 9.2 whit kernel 2.4.22-21mdk and mkinitrd-3.4.43-9mdk.
 
Old 11-01-2003, 05:51 AM   #2
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 46
Your initrd command should look something like this:
mkinitrd /boot/initrd-mykernel.img 2.4.22-21mdk
Does mkinitrd give any errors or does it actually build an image?

Do you have a line in lilo like this?
initrd=/boot/initrd-mykernel.img
Did you run lilo after making the initrd image?

Did you select to include ext2 filesystem in your kernel? You need this because I believe the initrd image is built using ext2.
 
Old 11-01-2003, 08:39 AM   #3
Udo
LQ Newbie
 
Registered: Oct 2003
Posts: 2

Original Poster
Rep: Reputation: 0
I am happy now. Its working …!

Quote:
Did you select to include ext2 filesystem in your kernel? You need this because I believe the initrd image is built using ext2.
No! I’ve “forgotten”! (Actual, I didn’t know ) . But when “you came around” everything worked. Thanks all lot!
What do I owe you? (Money, sex and killing is out of the question ) . Ones again, thank you!

Sorry for my bad english… (“are you finish”? – “No I’m danish”. Local joke).

Udo
 
Old 11-01-2003, 01:58 PM   #4
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 46
Quote:
What do I owe you?
Nothing at all. HTH.

btw, I don't get it? (�are you finish�? � �No I�m danish�. Local joke).
 
  


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
kdebase not recognizing XFree86-xfs package as xfs mikeyt_333 Linux - Software 1 08-17-2004 01:50 PM
XFS support powadha Slackware 0 12-14-2003 11:23 AM
2.4.22+xfs BedriddenTech Linux - Software 0 09-01-2003 06:30 AM
XFS module rch Linux - General 0 03-11-2003 01:06 AM
Xfs mikeshn Linux - Newbie 1 02-18-2002 07:29 PM


All times are GMT -5. The time now is 03:43 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