LinuxQuestions.org
Help answer threads with 0 replies.
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 11-22-2008, 11:26 PM   #1
newtovanilla
Member
 
Registered: Apr 2008
Posts: 267

Rep: Reputation: 30
Question unable to find device-mapper major/minor? help!!!!! can't boot up! kernel panic!


this is a kinda several part question, from a Linux newbie with a kernel panic issue! Can't boot! Need help...

Linux 2.6.22
When I try to boot, the boot screen freezes at the point of a "kernel panic", and the message just before the kernel panic is "unable to find device-mapper major/minor". What does that mean, and how do I fix it to get the Linux kernel to boot?

I tried searching google for this error, and could not find the solution to it. And, is there a way to scroll up the boot message screen to see what other boot messages there are? The screen seems stuck.
 
Old 11-22-2008, 11:40 PM   #2
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
Are you booting via an initramfs (initrd) image or booting the kernel directly into the final filesystem?
 
Old 11-22-2008, 11:44 PM   #3
newtovanilla
Member
 
Registered: Apr 2008
Posts: 267

Original Poster
Rep: Reputation: 30
Quote:
initramfs (initrd) image
Booting with GRUB and an initrd. What is booting the kernel directly into the filesystem?
 
Old 11-23-2008, 12:55 AM   #4
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
OK, what was your older version of kernel?

If you have all the necessary drivers built into the kernel, you can boot without creating the initramfs image - this results in directly mounting the final filesystem without going through a temporary filesystem (initramfs).
 
Old 11-23-2008, 02:17 PM   #5
newtovanilla
Member
 
Registered: Apr 2008
Posts: 267

Original Poster
Rep: Reputation: 30
Quote:
OK, what was your older version of kernel?
Same version. There was no upgrade to the kernel, still 2.6.22 Linux. I am using an initrd and GRUB. I moved the Linux installation from a SATA harddrive to a PATA harddrive. What driver is needed for PATA? The initrd has most of the SATA drivers already. Is that the problem that is causing the "kernel panic"?

Last edited by newtovanilla; 11-23-2008 at 02:20 PM.
 
Old 11-23-2008, 02:39 PM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,156
Blog Entries: 3

Rep: Reputation: 1408Reputation: 1408Reputation: 1408Reputation: 1408Reputation: 1408Reputation: 1408Reputation: 1408Reputation: 1408Reputation: 1408Reputation: 1408
Hi,

Yes, that's your problem. You changed the device so you must create a initrd that reflects that new device.

You can use a livecd or install cd to boot the system;

After you get to the login then from the cli (command line);

Code:
~#mkdir /Your_temp                   #temporary mount point
~#mount /dev/your_device /Your_temp  #this is the device you installed to
~#chroot /Your_temp                  #change to yours
~#cd /Your_temp/boot                 #change to directory with initrd
                                     #create your initrd with proper options for your system
~#cd /Your_temp/etc                  #to edit your lilo.conf
~#vi lilo.conf                       #edit lilo.conf, if need be
~#lilo -v -t -b /dev/your_device     #sda, hda this will only test 
~#lilo -v -b /dev/your_device        #this will write MBR to your_device
I assumed you are using lilo if grub then edit your 'menu.lst' which is the configuration file for grub.

You should now be able to re-boot your system.

BTW, You should be able to pause or view as you go.
 
  


Reply

Tags
devicemapper


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
how to find major and minor device numbers Steve Riley Red Hat 2 03-25-2008 06:46 PM
Kernel panic: unable to access device ... swap or others.. renek7 Linux - Newbie 5 03-01-2008 09:28 AM
special device node minor and major numbers crash88 Linux - General 1 06-22-2006 12:17 PM
Where can i find major and minor numbers yugandhar Linux - Software 1 06-02-2006 03:30 AM
trying to install/boot 2.6.15 kernel - device mapper error jmike1 Linux - Software 2 03-15-2006 09:49 PM


All times are GMT -5. The time now is 09:05 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 Google+: linuxquestions
Open Source Consulting | Domain Registration