LinuxQuestions.org
Visit Jeremy's Blog.
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 11-16-2003, 10:28 AM   #1
john1967
LQ Newbie
 
Registered: Nov 2003
Posts: 3

Rep: Reputation: 0
Kernel Panic --> error 03.43 on slackware 9.0 - root pw recovering!


Hi

I am trying to get into single user/rescue mode on my slackware 9.0 installation, because i have forgotten my root password...

i would then like to edit etc/passwd
(I know that the password could be shadowed too, but it isn't)

So my problem is now:

When i try to get into single user/rescue mode with for example

boot: linux rescue
or boot: linux init=/bin/sh
or boot: linux single

everything looks fine, until there comes something like this:

Kernel Panic: VFS: Unable to mount root fs on 03.43

I haven't found anything about the 03.43 error... does anyone have any idea what could cause this?

thx for all your help!

Last edited by john1967; 11-17-2003 at 02:23 PM.
 
Old 11-17-2003, 02:43 AM   #2
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
use linux root=/dev/hd?? noinitrd ro and you'll be fine

Replace the ?? appropriately
 
Old 11-17-2003, 01:55 PM   #3
john1967
LQ Newbie
 
Registered: Nov 2003
Posts: 3

Original Poster
Rep: Reputation: 0
hmm...

ok, it worked... but i still get a login...

and because i don't remember any of my passwords () i cannot still log into my linux box....

is there anyway to pass the login???? i thought getting into the rescue mode should be enough to be able to reset the root password?! or is that different on slackware?
 
Old 11-17-2003, 03:14 PM   #4
john1967
LQ Newbie
 
Registered: Nov 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Got it!

I got it working again...

I did it like this:

1. booted from slackware install cdrom
2. went on until i could use the shell
3. typed

mkdir /tmp/harddisk

mount /dev/sda1 /tmp/harddisk

vi /tmp/harddisk/etc/shadow

4. removed root's encrypted password and saved

5. typed:

cd /
reboot

so, i got it, thx for your help!
 
  


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 panic error after rebooting new kernel image fiero Linux - General 4 07-13-2005 09:32 AM
compiled kernel 2.6.10 with slackware 10.0, kernel panic salviadud Linux - Newbie 1 02-09-2005 05:05 PM
Problem booting up new kernel. Kernel panic error... RHLinuxGUY Red Hat 2 04-11-2004 05:59 AM
Slackware Kernel Panic! Heretic1 Linux - Newbie 0 10-27-2003 10:35 PM
Slackware 8.1 -- Kernel panic appler Slackware 4 03-19-2003 03:59 PM


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