Link to home
Create AccountLog in
Avatar of gloyola1
gloyola1Flag for United States of America

asked on

How to reset root password for openSUSE 11.1

I tried:  init=/bin/bash and linux init=/bin/bash at the graphical boot menu
when it booted up I tried to configure networking and got:  Password needed. Administrator (root) privilege is required. Please enter the root password to continue. Command: /sbin/yast2 lan

When I tried:
boot: Linux init=/bin/bash
I got:  VFS: Cannot open root device "<NULL> or unknown-block(8,9)
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,9)

Is there a way to reset the root password thru the boot: option?  Thanks for your help
Avatar of arnold
arnold
Flag of United States of America image

what access into the system do you have?
Do you have access with an account that has sudo rights?
You could boot the system using a CD/DVD and then mounting the hard drive partition where /etc/shadow is.
Avatar of gloyola1

ASKER

I am booting from a live cd.  I don't have an account with sudo rights.  Am I out of luck?
ASKER CERTIFIED SOLUTION
Avatar of arnold
arnold
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Which live CD? Knoppix should give you root access straight away, unless they've changed something since I last tried it (Downloading the latest one now - will take a few hours).
Any LiveCD will give you access since you still must mount the HD filesystem.
The only issue is if the silesystem is encrypted i.e. truecrypt, etc.
You might need to do su before you run yast
Thanks for your help