O.S. Crashed as a result of messing up with / permissions
Hey everyone,
I am stuck in a serious situation. I use sabayon 8 distribution and i changed the permissions of / like this Code:
chmod 044 / Regards... |
Hi,
did you try to setting the permissions back? Eg Code:
chmod 755 / |
as it wasn't recursive, "chmod 755 /" should do the job.
|
@evo2 In the recovery mode you're talking about? I did. Its getting changed in that recovery mode itself. I am still not able to start the system.
|
well where is the filesystem for your main system mounted? /mnt/sysimage or something? chmod that instead.
|
Hi,
Quote:
Code:
stat / |
s/Where/were
|
Well i have 3 choices in my grub2. The first is sabayon 8, the second sabayon8 recovery mode and the third is win7. In recovery mode i just get a shell prompt. No interface. After i execute chmod 755 /, and the output of ls -l / is rwxr-xr-x, which is fine. After i reboot and start my sabayon, All i get is a blank black screen and it gets stuck there.
|
@acid kewpie: My primary o.s. was win7. I dual booted. I am not sure about the file system where i've mounted.
|
Hi,
Quote:
Quote:
Evo2. |
Quote:
|
well if you run "mount" you may well see it somewhere else, like where I mentioned. Otherwise you can mount it yourself.
|
@acid kewpie : Do you mean I have to chmod the output of mount command through recovery shell prompt?
|
Hi,
if you just have the one physical disk it will be /dev/sdaN where N is some >0 integer. Try the following. Code:
mount -t ext3 /dev/sda1 /mnt do Code:
chmod 755 /mnt If it doesn't look like your /, umount it and try the next partition. Evo2. PS. There is probably some command to list all the unmounted partitions, but it escapes me right now. |
@evo2:
I tried it and this is what i got Quote:
Quote:
Quote:
|
All times are GMT -5. The time now is 04:33 AM. |