LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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-20-2009, 12:39 AM   #1
PMP
Member
 
Registered: Apr 2009
Location: ~
Distribution: RHEL, Fedora
Posts: 381

Rep: Reputation: 58
Linux boot problem


I have recently undergone the change in hardware of my server that is the RAM and the CPU and after that it is unable to boot Giving kernel panic mount error.

So I booted the server with a live CD and check for the partitions

fdisk shows me these partitions

/dev/cciss/c0d0p1
/dev/cciss/c0d0p2
/dev/cciss/c0d0p3

Can anybody help me how can I make the system boot. I believe the mount points have been changed.
 
Old 11-20-2009, 01:40 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Boot the liveCD again, mount each partition in turn, and inspect the contents.

Which partition contains the /boot directory? If /boot is in the / (root) partition, then make certain that /etc/fstab correctly shows that partition to be mounted as /.

Then inspect each remaining partition in turn, determine the contents, and verify that /etc/fstab also correctly lists the partition and their mount points.
 
Old 11-20-2009, 01:51 AM   #3
PMP
Member
 
Registered: Apr 2009
Location: ~
Distribution: RHEL, Fedora
Posts: 381

Original Poster
Rep: Reputation: 58
I am not sure what needs to be modified in the grub and /etc/fstab

/boot partition is in the c0d0p1 and /etc/fstab is in c0d0p3. Bit confused over what is to be done. Can you suggest
 
Old 11-20-2009, 02:19 AM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Is boot in a partition by itself? If so, edit /etc/fstab to show:
/dev/cciss/c0d0p1 /boot (partition and mount point for /boot)

The root of the filesystem should be:
/dev/cciss/c0d0p3 / (root partition and the root of the filesystem)

What is in /dev/cciss/c0d0p2?

Also, can you show the contents of /boot/grub/menu.lst?
 
  


Reply

Tags
error, kernel, mount, panic



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
BOOT LOADER problem : cant boot linux nishant.linux Linux - Newbie 1 01-23-2009 08:02 PM
linux boot problem on dual boot mac mini dla-nor Linux - General 2 06-13-2007 06:02 AM
Linux Boot Problem Tuzinor Linux - Software 3 12-07-2005 04:08 PM
problem with Installing red hat linux dual boot(/boot < for 1024 cylinders ) praveenb Linux - Newbie 2 02-13-2004 08:49 PM
Linux Boot problem ! shaahul Linux - General 2 09-14-2003 06:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:33 AM.

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