Halp! Installed TOMOYO and now system wont boot.

2 risposte [Ultimo contenuto]
Ishamael
Offline
Iscritto: 08/29/2014

As said in the title, booting mounts the encrypted partition, then freezes just before the login screen.

Trying the recovery option shows the booting process in text, after mounting the partition (Everything is on one partition) the system executes about three processes, then says “No TOMOYO profile found, select one from the list below”, and there is no list.

Booting using a live DVD and mounting the partition is possible, but being in the middle of some complicated work, temporarily fixing the system would be much more useful. Attempting to cd into the partition, and running apt-get remove tomoyo is unsuccessful, and it can be assumed that running a search for all files named tomoyo, then deleting them would just make things much worse. Any solutions would be greatly appreciated. Thank you.

Ishamael
Offline
Iscritto: 08/29/2014

Is chroot the only way to fix this?

http://roderick-greening.blogspot.com/2009/09/recover-non-booting-linux-system.html

Just looking for a fix here. Thank you.

Ishamael
Offline
Iscritto: 08/29/2014

...

Fixed it myself.

The tomoyo package installed a bunch of things, including a few libs that altered the init process to prevent malicious programs from hijacking the boot process. I deleted three likely files, and everything booted up fine. I then used synaptic to remove tomoyo.

Thank god everything in GNU / Linux is a file. This does seem like a good project, guess I'll have to wait til it's ready for prime time. Thanks for all the halp. :P I am still interested if anyone has any experience with this program, with the hard-drive news something like this may be invaluable.