Find the answer to your Linux question:
Results 1 to 9 of 9
This computer had a power failure which caused the mdadm raid 5 to be degraded. I succesfully restored the raid and now the computer will boot up into the login ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2010
    Posts
    6

    Can't login!! please help


    This computer had a power failure which caused the mdadm raid 5 to be degraded. I succesfully restored the raid and now the computer will boot up into the login screen. However it doesn't recognise any of the accounts including root.

    If i type login: root, the screen just flashes back to login:

    I have tried lilo single-user mode but it asks for a root password which is not accepted.

    I check the boot output and it says i should run e2fsck. How can I boot into terminal so I can run e2fsck?

  2. #2
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Hello and Welcome.
    The best way to launch disk checking software is to use a LiveCD or LiveUSB to start the machine, open a terminal and launch your attack from there. That way, none of the filesystems are mounted, which is a good thing.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  3. #3
    Just Joined!
    Join Date
    Jun 2010
    Posts
    6
    Quote Originally Posted by MikeTbob View Post
    Hello and Welcome.
    The best way to launch disk checking software is to use a LiveCD or LiveUSB to start the machine, open a terminal and launch your attack from there. That way, none of the filesystems are mounted, which is a good thing.
    Is this possible with a mdadm raid5? I already tried this with ubuntu 9 live cd and I can mount the boot partition but none of the others.

    When the raid was degraded it would boot into terminal but now that the raid is healty it boots into login only. I need terminal.

  4. #4
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Can you use Ctrl+Alt+F2 through F7? Should bring up a terminal login.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  5. #5
    Just Joined!
    Join Date
    Jun 2010
    Posts
    6
    Quote Originally Posted by MikeTbob View Post
    Can you use Ctrl+Alt+F2 through F7? Should bring up a terminal login.
    Thanks miketbob,

    Yeah I have already tried that trick with no luck. Can I add an option to LILO?

  6. #6
    Linux Guru rokytnji's Avatar
    Join Date
    Jul 2008
    Location
    Desert
    Posts
    4,050
    Take a look maybe?

    Basic Linux Operations FAQ
    Linux Registered User # 475019
    Lead,Follow, or get the heck out of the way. I Have a Masters in Raising Hell
    Tech Books
    Free Linux Books
    Newbie Guide
    Courses at Home

  7. #7
    Just Joined!
    Join Date
    Jun 2010
    Posts
    6
    Thanks.

    I have already tried all of this too. I have uploaded a picture:

    img695.imageshack.us/img695/1816/imag0022a.jpg

  8. #8
    Just Joined!
    Join Date
    Jun 2010
    Posts
    6
    ok what im going to do is physically move this raid volume to my ubuntu machine and see if I can install it and manually repair it from there.

    fkn raid sucks when it goes down

  9. #9
    Just Joined!
    Join Date
    Jun 2010
    Posts
    6
    Ok this procedure worked. Somebody here please call me a linux genius

    At least I have the data. I will destripe this array now which is the next task, any suggestions?

Posting Permissions

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