LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   booted from CD, cant mount root partition (https://www.linuxquestions.org/questions/linux-newbie-8/booted-from-cd-cant-mount-root-partition-477655/)

frankie_DJ 08-26-2006 06:54 PM

booted from CD, cant mount root partition
 
Hi all,

I was trying to recompile the kernel and messed something up, so now I get kernel panick when I try to boot. I try to boot from CD and mount the root partition but it doesn't work. I go
mount /dev/hda2 (hda2 is my root partition, hda1 is my swap)
but it tells me:
mount: can't find /dev/hda2 in /etc/fstab or /etc/mtab

I remember being able to do this before, but I can't remember how. Can anyone help me here?

w3bd3vil 08-26-2006 07:29 PM

use the rescue mode. boot from the cd and type linux rescue. then you would need to chroot /mnt/sysimage. use your cd again to install the kernel.


All times are GMT -5. The time now is 07:09 PM.