Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-05-2002, 01:10 PM
|
#1
|
LQ Newbie
Registered: Oct 2002
Location: Belgium
Distribution: Red Hat 9
Posts: 14
Rep:
|
Kernel panic after startup
After e cold start of the PC, it strats now with following message:
......
......(messages from installed stuff)...
...
Creating root device
Mounting root file system
Kjournal starting. Count interval 5 seconds.
EXT3-fs : mounted file system with ordered data mode
pivotroot : pivot_root (/sysroot,/sysroot.initrd) failed : 2
Freeing unused kernel memory : 220K freed
Kernel panic : No init found
try passing init= option to kernel.
I've read some of the earlier posted "kernel panic" mail,
but can not get my system back working.
Inserting the rescue floppy will start the system again until the same messages appear.
Booting from CD in rescue mode is OK, but I can not see my
directories. A try to mount the partitions results in, can not mount: read only.
Anybody any idea.
Kind regards,
Marc.
PS : I think that the solution creating the /initrd directory might solve the problem, but then I must be able to get to the system.
|
|
|
10-05-2002, 04:01 PM
|
#2
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696
|
What command do you use to mount your drives?
|
|
|
10-06-2002, 04:22 AM
|
#3
|
LQ Newbie
Registered: Oct 2002
Location: Belgium
Distribution: Red Hat 9
Posts: 14
Original Poster
Rep:
|
Start the PC with the install CD. Type at the begin of the
install: linux rescue.
The rescue environment finds the Red Hat installation and mount it under /mnt/sysimage.
Then I do a mkdir /foo
and mount, try to, the "/" partition with
mount -t ext3 /dev/hda2 /foo
Restult : mount failed. Permission denied.
Make the mounted system the root partition with
chroot /mnt/sysimage
and then again try to mount, results in:
block device /dev/hda2 is write protect, mounting read-only
can not mount block device /dev/hda2 is read-only.
Thanks,
Marc
|
|
|
10-06-2002, 09:09 AM
|
#4
|
LQ Newbie
Registered: Oct 2002
Location: Belgium
Distribution: Red Hat 9
Posts: 14
Original Poster
Rep:
|
Hi,
Found the problem!
Redhat 7.2 PC is starting again.
I'll write donw what I did to make it work again, maybe others can take profit.
The PC was giving a: kernel Panic error after booting.
It's using GRUB to start.
When the GRUB window appear, type p and enter the password given to GRUB when linux was installed.
A new window apears with Rad Hat Linux, version, etc.
Select this and then type "e".
In my case new content came up in the window.
- three lines where one was:
initrd /initrd-2.4.9-34.img
I simply removed this line.
select the line and type "d".
Boot the system by typing the "b" key.
The PC boots again without problems, I've tested as much
programs as possible and all seems to work correctly.
Kind regards and many thanks,
Marc
|
|
|
All times are GMT -5. The time now is 07:48 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|