Ubuntu Repair Install

Discussion and support for all Linux distributions and Unix flavours (FreeBSD, OpenBSD, etc).
Post Reply
WAJeff
Registered User
Posts: 28011
Joined: 30 Jun 2006, 02:00
Location: /dev/sda1/home
Contact:

Ubuntu Repair Install

Post by WAJeff »

Hi guys

I feel like a real no0b posting this, but here it goes....
OK, so yesterday I was playing around with Ubuntu, and was trying to install angry ip scanner, was following a guide of these forums. It said copy the .jar file into /opt dir... I couldnt do that, so after a few attempts I logged into root, and decided to change all the permissions on the folders on the Filesystem, which in turn screwed up my PC. I've tried booting into repair mode (I think thats what its called) but nothing happening...

I cant boot into Ubuntu anymore Is there any way to either restore permissions back to default, or do a repair install with Ubuntu?
User avatar
Stuart
Lead Forum Administrator
Posts: 38503
Joined: 19 May 2005, 02:00
Location: Home

Post by Stuart »

*cough*
Vista
*cough*

:D

I'm sure Judas/rusty/AlphA or someone from the Linux gang will be along shortly to assist you. Just had to get my 2c in before the intelligentsi arrive.
Image
WAJeff
Registered User
Posts: 28011
Joined: 30 Jun 2006, 02:00
Location: /dev/sda1/home
Contact:

Post by WAJeff »

schase wrote:*cough*
Vista
*cough*

:D

I'm sure Judas/rusty/AlphA or someone from the Linux gang will be along shortly to assist you. Just had to get my 2c in before the intelligentsi arrive.

:roll: :roll:

Dammit schase :evil: I gonna tell on you to the mods that you spamming :wink: :lol:
Im hoping they will be able to help me out.... Havnt seen Judas around in a while though :cry:
SBSP
Registered User
Posts: 3124
Joined: 09 May 2006, 02:00
Location: Centurion

Post by SBSP »

Umm what you did is like an anti Christ to the christian Linux distro.


It hates it cus its wrong and its allowed to :lol:

Sorry man i doubt that you will fix this one.

did you by any chance do a chmod * 777 -R from the root ?
Cus you were tryin to install the application and it kept complaining about the permissions.

So you decided to change all permissions so you dont have to face the problem again ?


:lol: :lol: :lol: :lol:

Whaaahaaaahahahahahaha!!!!

Reinstall man :twisted:

If i'm wrong maybe someone can help :wink:
User avatar
rustypup
Registered User
Posts: 8872
Joined: 13 Dec 2004, 02:00
Location: nullus pixius demonica
Contact:

Post by rustypup »

after thinking on this for a while, i must confess to having no easy solve other than reinstall...

permission changes aren't tracked and have no defaults, so there is no manner in which they can be rolled back.

when you say you cannot boot into ubuntu, are you referring to x-server only? are you presented with a login prompt?
Most people would sooner die than think; in fact, they do so - Bertrand Russel
SBSP
Registered User
Posts: 3124
Joined: 09 May 2006, 02:00
Location: Centurion

Post by SBSP »

rustypup wrote:after thinking on this for a while, i must confess to having no easy solve other than reinstall...

permission changes aren't tracked and have no defaults, so there is no manner in which they can be rolled back.

when you say you cannot boot into ubuntu, are you referring to x-server only? are you presented with a login prompt?
If he did a recrusive chmod 777 from / then he would probably not even be able to log in.

Linux dont like the fact that all files are accesable.

I did this once on a production spam Mail server, I figured its behind a firewall so why not, It took about 5 mins to complete all was fine untill i rebooted,The guy that came to fix it or try to fix it, was stumped and had to re install.

Im sure if you search the net, you will find exactly why linux wont boot if all permissions is changed to R/W
flarkit
Registered User
Posts: 15
Joined: 01 Jul 2004, 02:00

Post by flarkit »

Sadly, I'd also suggest backing up all your data and then reinstalling. I suspect you should've done "sudo cp ..."?
DAE_JA_VOO
Registered User
Posts: 12310
Joined: 28 Nov 2005, 02:00
Location: That other place
Contact:

Post by DAE_JA_VOO »

flarkit wrote:I suspect you should've done "sudo cp ..."?
Yeah, or even a sudo nautilus and then using Nautilus to do a simple copy/paste would have done the trick...

EDIT: Don't worry Jeff, i learned this lesson the hard way too. That's the joys of switching moving over to a completely new OS ;)
That guy that used to mod cases. Now I take photos. True story.
Judas
Registered User
Posts: 2118
Joined: 17 Oct 2006, 02:00
Location: Stellenbosch
Contact:

Post by Judas »

I'm afraid all you can do is re-install... As rusty said, the previous file permissions aren't stored anywhere, so you've really got no way of knowing what the correct permissions are.
'One will rarely err if extreme actions be ascribed to vanity, ordinary actions to habit, and mean actions to fear.'
- Friedrich Nietzsche

'Do not argue with Judas, nube, that would be foolish!'
- D3PART3D
Post Reply