View previous topic :: View next topic |
Author |
Message |
farhan n00b

Joined: 21 Mar 2006 Posts: 1
|
Posted: Tue Mar 21, 2006 5:14 pm Post subject: recovering root password |
|
|
Hi
Hi
I am having few issues with compaq proliant PL1850R with six scsi drives. it is installed with Gentoo linux and rite now it is just loading the file system as read only.
I tried to load boot with knoppics but that was also unable to mount the filesystem. bcz it cannot iset the module for the raid controller.
I tried to reset the root password on gentoo by giving the command at the lilo
e.g i have tried
linux single
and linux init =/bin/bash
it says cannot find linux single.
i am using Lilo
Is there any other way to change the root password, as i cannot boot from any bootable cd.
once it went into the gentoo and i changed the root passsword and that isnt working any more, neither the old password.
Any reply will be highly appreciated.
Regards |
|
Back to top |
|
 |
killfire l33t


Joined: 04 Oct 2003 Posts: 618
|
Posted: Tue Mar 21, 2006 7:20 pm Post subject: |
|
|
a couple things-
have you tried different versions of knoppix? it would be wierd if it wouldnt now work....
are all 6 drives filled with critical information- as in, can you reinstall gentoo (or anything else) onto another drive?
finally try using an install cd (I know this will work with slackwares cd, assume gentoo as well) and type "linux single root=/dev/sdX noinitrd" (thats for slackware, modify to liking)
or simply boot from a bootfloppy that is customized to include a driver for your raid controller.... then just mount the filesystems and chroot and passwd.... _________________ my website, built in HAppS: http://dbpatterson.com
an art (oil painting) website I built a pure python backend for: http://www.lydiajohnston.com |
|
Back to top |
|
 |
Genone Retired Dev


Joined: 14 Mar 2003 Posts: 9634 Location: beyond the rim
|
Posted: Tue Mar 21, 2006 9:36 pm Post subject: Re: recovering root password |
|
|
farhan wrote: | I tried to reset the root password on gentoo by giving the command at the lilo
e.g i have tried
linux single
and linux init =/bin/bash
it says cannot find linux single. |
so your kernel image is not named "linux", find out what its name is.
I'd recommend you use grub in the future. |
|
Back to top |
|
 |
MrUlterior Guru

Joined: 22 Mar 2005 Posts: 511 Location: Switzerland
|
Posted: Wed Mar 22, 2006 9:35 am Post subject: Re: recovering root password |
|
|
farhan wrote: | Hi
Hi
I am having few issues with compaq proliant PL1850R with six scsi drives. it is installed with Gentoo linux and rite now it is just loading the file system as read only.
I tried to load boot with knoppics but that was also unable to mount the filesystem. bcz it cannot iset the module for the raid controller.
|
Presumably you got gentoo onto there somehow, what did you boot with?
In the worst case scenario, you have to compile a kernel that supports your SCSI adapter in order to mount & chroot into your root filesystem in order to change the root password; there are several ways of doing this:
- Modify your gentoo livecd replacing the kernel with one that has your SCSI modules built in
- Install an IDE drive temporarily containing a linux install, build your kernel etc.
Do you not know the password of a single user who has the ability to launch su or sudo on the system? _________________
Misanthropy 2.0 - enough hate to go around
|
|
Back to top |
|
 |
|