LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 07: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, 02:21 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Can you mount your Linux partitions when you're using your boot disk?
 
Old 08-26-2002, 01: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, 04:04 AM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
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, 04: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, 04: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, 06:04 AM   #7
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
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, 06: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, 07: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, 08:05 AM   #10
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
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, 09: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, 11:49 AM   #12
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

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



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 12:58 PM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 03:28 AM
Kernel panic puts me in a panic theeeg Linux - Software 2 07-31-2004 04:46 PM
kernel panic (narius panic) narius Linux - Newbie 3 06-20-2002 03:56 PM
Kernel panic making me panic! Linux_N0oby Linux - Software 19 05-29-2002 12:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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