LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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, 01: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, 02:40 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,805

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
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, 02: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, 03:19 AM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,805

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
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


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


All times are GMT -5. The time now is 08:45 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration