LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-23-2006, 08:22 AM   #1
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Rep: Reputation: 37
Help with Initrd (Kernel 2.6.13 and lvm2)


Hi,

I just finished installing Slack 10.2 with LVM2 drives (var,opt,home,tmp,usr).

Now when I try to boot I get kernel panic as it didn't find my root filesystem.


I have read that I would need initrd image to load support for my reiserfs and dm-mod in order to boot correctly but I don't know how to do those

So, could you help me and am I in the right tracks with this case?
 
Old 07-23-2006, 01:46 PM   #2
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
man mkinitrd might help. It gives reiserfs as an example. I don't know about the other part though.
 
Old 07-23-2006, 02:24 PM   #3
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Original Poster
Rep: Reputation: 37
Jeh,

I found a way to do this though I haven't been able to boot yet and confirm if it will work. Downloading slackware-current packages. After that I test the system and then start the upgrade process if this works succesfully.
 
Old 07-23-2006, 02:42 PM   #4
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Original Poster
Rep: Reputation: 37
Alas, It didn't work. I get following:

Code:
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem)
/boot/initrd.gz: Loading kernel modules from initrd image:
Using /lib/modules/2.6.13/reiserfs.ko
Using /lib/modules/2.6.13/dm-mod.ko
device-mapper: 4.4.0-ioctl (2005-01-12) initialized; dm-devel@redhat.com
VFS: Cannot open root device "sda3" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Any ideas? I tried "mkinitrd -c -k 2.6.13 -m reiserfs:dm-mod"
 
Old 07-25-2006, 01:54 PM   #5
Avoidiam
LQ Newbie
 
Registered: Jul 2006
Posts: 2

Rep: Reputation: 0
I'm having the same sort of problem.

VFS: cannot open root device "801" or 08:01
Please append a correct "root=" boot option
Kernel panic: VFS: unable to mount root fs on 08:01

I believe it's a problem with the USB HDD that linux is installed on not being found or mounted or something to that effect.

Please help.
 
Old 07-26-2006, 04:55 AM   #6
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Original Poster
Rep: Reputation: 37
I got mine to work with the above by enabling reiserfs support in kernel.
In your case you should probably enable the USB support in kernel or as module and then make the initial ramdisk for it to solve the issue.
 
  


Reply



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
RHAS 4.0 2.6 kernel - How to implement LVM2 post-install skondolf Linux - Newbie 1 03-04-2006 04:32 PM
RHAS 4.0 2.6 kernel - How to implement LVM2 post-install skondolf Linux - Software 3 03-04-2006 10:27 AM
Using LVM2 chandru.in Linux - Hardware 0 08-30-2005 07:33 AM
Kernel issues with LVM2 GameboyHippo Linux - Software 1 07-29-2005 01:20 PM
Lvm2 pritambhavsar Programming 1 03-03-2005 07:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:03 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
Open Source Consulting | Domain Registration