Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: How do I regain acces to my linux partition?

  1. #1
    Member AljoshaNL's Avatar
    Join Date
    Aug 2005
    Location
    The Netherlands
    Posts
    230

    How do I regain acces to my linux partition?

    Hi

    Noooooooooooooooooooooooooooooooooooooooooo
    I'm STUPID... Sorry for the uppercase, but I'm really. Look what I did:
    When I still worked under root I made a dir in my user's home dir, so I always needed to acces it via su. But today I realized that it's not cool to be under su every time so I red through the permission's file on tuXfiles.org. Then I did the command
    Code:
    chmod 700 /*
    NOO!!!! Typing super fast is accidently pressed the slash, which ruined my linux setup. I watched as everything smoothly crashed. The worst thing was that I couldn't launch another terminal, so I tryed everything to crash my X-server, but I failed. Reboot didn't work: I get al sort of complains about permissions....
    Well, I have got a knoppix live CD...
    I was able to mount my linux boot partitition, but it failed when trying to mount my 'user' partitition.
    I tryed
    1. ext2
    2. ext3
    3. reiserfs
    4. gfs (but it said that the kernel didn't support it)
    How can I regain acces to my /dev/hda3??
    Eager for help :'(

    PS:
    Things I'm thinking of are e.g. getting acces via Windoze, or being informed about Fedora's file system (oh yeah my distro is Fedora Core 4)...

    Aljosha :

  2. #2
    Member AljoshaNL's Avatar
    Join Date
    Aug 2005
    Location
    The Netherlands
    Posts
    230

    Re:How do I regain acces to my linux partition?

    Okay, fixed it by:
    Code:
    linux rescue in fedora boot cd
    Code:
    cd /mnt/sysimage
    Code:
    chmod 777 *
    Is it a good idea to reïnstall my system? Every permission everywere isn ´t save is it?

  3. #3

    Re:How do I regain acces to my linux partition?

    To my understanding, Fedora uses Ext3 by default.
    What error do you get when trying to mount it with Knoppix?


    Otherwise, you can use thisto access the data from Windows.

  4. #4

    Re:How do I regain acces to my linux partition?

    Nevermind, see you got it.
    I'd suggest reinstall. It might not be abig deal on a home computer, but it might bring weird quirks with some applications.

  5. #5
    Member AljoshaNL's Avatar
    Join Date
    Aug 2005
    Location
    The Netherlands
    Posts
    230

    Re:How do I regain acces to my linux partition?

    Ok, thanks for advice...
    I think I'd try Ubuntu... According to the Distribution Chooser it's the best distro for me, heard nice sstuff about it

  6. #6

    Re:How do I regain acces to my linux partition?

    when you did chmod 700 /* to your partition,all it does is change the permissions of your / layout,not the subdirs,so all you need is a quickfix.
    Default perms for / for mine(slackware) is 755 so...
    chmod 755 /*
    and change your /tmp to 1777
    so...
    chmod 1777 /tmp
    this might vary on other distros(?)not sure,but it should work.

  7. #7
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935

    Re:How do I regain acces to my linux partition?

    [quote author=trickster link=board=1;threadid=10743;start=0#msg96495 date=1129045725]
    It might not be abig deal on a home computer, but it might bring weird quirks with some applications.
    [/quote]I agree with not being a big deal if it's the home computer. But if you keep the permission of 777, then no quirks should surface since even the guest user can read your home's directory.

    What I usually do is create another user, make sure that user is in sudoers file (for distros that use sudo such as Ubuntu) and delete your current user. Problem solved. No need to reinstall your whole OS.

  8. #8

    Re:How do I regain acces to my linux partition?

    I think most applications should work fine. But I think there are some that won't run if the application or a folder does not have a right assigned.

  9. #9
    Member AljoshaNL's Avatar
    Join Date
    Aug 2005
    Location
    The Netherlands
    Posts
    230

    Re:How do I regain acces to my linux partition?

    Now I got UBUNTU ;D
    It's great... Like it much more than Fedora, especially hte extremely fast apt-get that works out-of-the box ... There's only one problem: Refresh rate is limited to 60 hz....

  10. #10

    Re:How do I regain acces to my linux partition?

    I am a real newbie regarding the Penguin world . Tried to be smart, installed Ubuntu on a separate HD. While doing this, disconnected the other HDs where WinXP is the OS. As result I do not have a dual boot at all. Windows does not even "see" the new HD with Ubuntu on it and Ubuntu HD does not acknowledge the presence of other HDs. Wonder if there is any solution out of this quagmire so that I can eventually have a proper dual boot system?

    Your help will be highly appreciated. Thanks.

Similar Threads

  1. Replies: 5
    Last Post: 09-03-2006, 12:11 AM
  2. Linux security is a 'myth', claims Microsoft
    By genesis in forum Windows - General Topics
    Replies: 4
    Last Post: 01-30-2005, 10:51 PM
  3. Dual boot - how to acces files on windows partition
    By Jtsky in forum Windows - General Topics
    Replies: 5
    Last Post: 04-19-2004, 08:59 PM
  4. Replies: 4
    Last Post: 05-10-2002, 05:09 PM
  5. Preorder your Linux for PS2 now!
    By rick420 in forum Linux - General Topics
    Replies: 4
    Last Post: 04-05-2002, 05:47 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •