LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux boot problem (http://www.linuxquestions.org/questions/linux-newbie-8/linux-boot-problem-770371/)

PMP 11-20-2009 01:39 AM

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.

bigrigdriver 11-20-2009 02:40 AM

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.

PMP 11-20-2009 02:51 AM

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

bigrigdriver 11-20-2009 03:19 AM

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?


All times are GMT -5. The time now is 05:20 PM.