LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-24-2002, 08:57 AM   #1
cheng
LQ Newbie
 
Registered: Aug 2002
Location: malaysia
Posts: 21

Rep: Reputation: 15
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
 
Old 08-24-2002, 03:21 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
Can you mount your Linux partitions when you're using your boot disk?
 
Old 08-26-2002, 02:37 AM   #3
cheng
LQ Newbie
 
Registered: Aug 2002
Location: malaysia
Posts: 21

Original Poster
Rep: Reputation: 15
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
 
Old 08-26-2002, 05:04 AM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
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.
 
Old 08-26-2002, 05:34 AM   #5
exigent
Member
 
Registered: Aug 2002
Distribution: damnsmalllinux
Posts: 205

Rep: Reputation: 30
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.
 
Old 08-26-2002, 05:41 AM   #6
cheng
LQ Newbie
 
Registered: Aug 2002
Location: malaysia
Posts: 21

Original Poster
Rep: Reputation: 15
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.
 
Old 08-26-2002, 07:04 AM   #7
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
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.
 
Old 08-26-2002, 07:50 AM   #8
cheng
LQ Newbie
 
Registered: Aug 2002
Location: malaysia
Posts: 21

Original Poster
Rep: Reputation: 15
thanks mara,i'll try it.Have a good day
 
Old 08-26-2002, 08:58 AM   #9
cheng
LQ Newbie
 
Registered: Aug 2002
Location: malaysia
Posts: 21

Original Poster
Rep: Reputation: 15
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.
 
Old 08-26-2002, 09:05 AM   #10
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
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 /
 
Old 08-26-2002, 10:37 AM   #11
cheng
LQ Newbie
 
Registered: Aug 2002
Location: malaysia
Posts: 21

Original Poster
Rep: Reputation: 15
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
 
Old 08-26-2002, 12:49 PM   #12
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
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.
 
  


Reply


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
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 01:58 PM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 04:28 AM
Kernel panic puts me in a panic theeeg Linux - Software 2 07-31-2004 05:46 PM
kernel panic (narius panic) narius Linux - Newbie 3 06-20-2002 04:56 PM
Kernel panic making me panic! Linux_N0oby Linux - Software 19 05-29-2002 01:31 AM


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