trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: December 2012

Re: [trinity-users] sudoers file deleted!

From: Werner Joss <werner@...>
Date: Sun, 16 Dec 2012 10:56:24 +0100
Am Sonntag, 16. Dezember 2012, 10:45:31 schrieb Mag. Dr. Nikolaus Klepp:
> I'd suggest you interrupt the boot loader (grub? grub2?) and
> add "init=/bin/bash" to the kernel options, then just boot on. You'll get a
> bash in root from where the first thing to do is "passwd". then just reboot
> the box and you can get root via "su" and the password.

ok, this sounds like an easy solution :)
I have personally never tried it, though.
as an alternative, you could boot from a live CD which has jfs support built 
in, such as http://www.sysresccd.org/Sysresccd-manual-de_Uebersicht
Werner

> Am Samstag, 15. Dezember 2012 schrieb Uwe Brauer:
> > I am very confused but this does not work. I took a
> > different machine running 10.04 trinity. It has only a root
> > partion with jfs on it.
> > 
> > 
> > So when I boot with my virtual 10.04 Cd and then try to
> > mount via
> > 
> > mount -t jfs /dev/sda5 /tmp2
> > 
> > Or what ever mount complains:
> > 
> > "wrong fs type or bad superblock":
> > 
> > the usual message of mount when something is wrong.
> > 
> > I have also on /dev/sda1 a windows partion with ntfs. This
> > one I can mount. So I am stuck.
> > 
> > There must be something very elementary which I miss, but
> > what?
> > 
> > Thanks
> > 
> > Uwe Brauer