LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   kernel panic (https://www.linuxquestions.org/questions/linux-software-2/kernel-panic-28684/)

cheng 08-24-2002 07:57 AM

kernel panic
 
im running dual boot on my system,one is win98 and linux redhat 7.2.My problem is when i boot from linux the error is

mount:error6 mounting ext3
pivotroot (/sysroot/initrd)failed2
freeing unused kernel memory:220k freed
kernel panic:no init found.Try to passing init=option to kernel
after that my system is totally hang.I try to boot from linux rescue and use the command e2fsck /dev/hdc1,but also does not work.Any idea for me to solve the problem?Thanks

Mara 08-24-2002 02:21 PM

Can you mount your Linux partitions when you're using your boot disk?

cheng 08-26-2002 01:37 AM

ok,i don have the boot disk,if i can mount the partition,what should i do and if i can't mount the partition,what the other way i can do?thanks

Mara 08-26-2002 04:04 AM

You can try twho methods of mounting, as ext3 and as ext2. If no success, there's a big problem...
First try to mount them. I hope everything will be OK.

exigent 08-26-2002 04:34 AM

it sounds like the linux installation is corrupted. did it work before, or is this a problem coming from no where? you might need to reinstall the kernel or ever the whole system.

cheng 08-26-2002 04:41 AM

Thanks mara for ur reply,but im too new in linux,how to mount the ext3 ,im using the ext3 now.Is it using the boot disk or i can boot from linux 7.2 cd ,if so what command should i use to mount,can u give me step by step guidance.Thanks a lot.

Mara 08-26-2002 06:04 AM

Let's say you're going to mount /dev/hda5 (to see all your partitions run
fdisk /dev/hda
and then press 'p' tolista partitions, use 'q' to quit).

mkdir /mnt/hd_5
mount -t ext3 /dev/hda5 /mnt/hd_5
(as ext3, as ext2 it's similar:
mount -t ext2 /dev/hda5 /mnt/hd_5
)

Mkdir is used to create a directory your drive will be mounted to, mount is used to mount.
If you have more then one partitions, you'll need to mount also /dev/hda6 etc.

cheng 08-26-2002 06:50 AM

thanks mara,i'll try it.Have a good day

cheng 08-26-2002 07:58 AM

hi mara,me again,sorry for disturd u ,i know my problem already,i can't mount my root file system,is it?i boot from cd 7.2 linux rescue and follow the command mount -t ext3 /dev/hdc5 /mnt/hdc5 but it return me invalid argument,then i mount hdc6,7,8,9 is ok.As u know i using dual boot.Any idea again?I very need ur help,i don want to format it.

Mara 08-26-2002 08:05 AM

Your /dev/hda5 may be just a Windows partition. Don't worry but mount parttions 6,7,8,9 and look which one is your /

cheng 08-26-2002 09:37 AM

yes,i know,dev/hda5 is my window partition and hdb is my cd rom drive.i mount dev/hdc5 but cannot,it return me invalid argument but for dev/hdc6,7,8,9 is ok,so how to define which one is my /.Im using cd to boot,then i boot from linux rescue,is it correct?Thanks

Mara 08-26-2002 11:49 AM

If you don't have separate /boot, there's only one partition where you have it. So just mount them all, enter the directories and find the one with /boot. That's your root partition.


All times are GMT -5. The time now is 08:33 PM.