Results 1 to 9 of 9

Thread: restore wubi installation

  1. #1
    Join Date
    Feb 2012
    Location
    New Delhi, India
    Beans
    87
    Distro
    Ubuntu 11.04 Natty Narwhal

    Smile restore wubi installation

    Hello
    i installed ubuntu via wubi but my widows got corrupted and had to be restored i wanted to restore wubi so i reinsatlled wubi and replaced the new root.disk with the old one but the issue i am facing is that it asks for a login password at the root screen which i am sure is being entered correctly but it says login incorrect
    however after replacing the same root image with the new one its working absolutely fine kindly help me restore my original installation
    thanks in advance

    ubuntu version 11.04
    however i must imform that the linux image of my new installtion differs from old one is this creating the issue if so kindly help me replace the linux image as well

  2. #2
    Join Date
    Dec 2010
    Location
    Bangalore
    Beans
    118
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: restore wubi installation

    Log-in as user.

    type in terminal now
    sudo gedit /etc/gdm/gdm.conf

    Now find for AllowRoot=false and change into AllowRoot=true and save it.

    change the root password or activate the root account
    sudo passwd root

  3. #3
    Join Date
    Feb 2012
    Location
    New Delhi, India
    Beans
    87
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: restore wubi installation

    Quote Originally Posted by pavi_elex View Post
    Log-in as user.

    type in terminal now
    sudo gedit /etc/gdm/gdm.conf

    Now find for AllowRoot=false and change into AllowRoot=true and save it.

    change the root password or activate the root account
    sudo passwd root
    will give this a try and let you know

    thanks 4 ur concern

  4. #4
    Join Date
    Feb 2012
    Location
    New Delhi, India
    Beans
    87
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: restore wubi installation

    Quote Originally Posted by tbhatia4 View Post
    will give this a try and let you know

    thanks 4 ur concern
    i should do it after replacing the root.disk directly or i should upgrade my new linix image to match my old one????
    Last edited by tbhatia4; March 10th, 2012 at 01:04 PM. Reason: spelling mistake

  5. #5
    Join Date
    Feb 2012
    Location
    New Delhi, India
    Beans
    87
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: restore wubi installation

    no luck yet

  6. #6
    Join Date
    Nov 2009
    Location
    North Vancouver
    Beans
    Hidden!
    Distro
    Edubuntu 12.04 Precise Pangolin

    Re: restore wubi installation

    What do you mean by root screen? do you mean a console login, or the graphical login?

    Is it possible you just forgot your password, because you can reset it very easily?

  7. #7
    Join Date
    Feb 2012
    Location
    New Delhi, India
    Beans
    87
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: restore wubi installation

    Quote Originally Posted by bcbc View Post
    What do you mean by root screen? do you mean a console login, or the graphical login?

    Is it possible you just forgot your password, because you can reset it very easily?
    its a console login screen
    as far as the password issue is concerned i'm sure that i've entered that correctly
    and even i've tried changing that but no luck yet

  8. #8
    Join Date
    Nov 2009
    Location
    North Vancouver
    Beans
    Hidden!
    Distro
    Edubuntu 12.04 Precise Pangolin

    Re: restore wubi installation

    To change the password, boot into recovery mode:
    1. Select the second entry (recovery mode). Before pressing enter check it first by pressing 'E' because there is a wubi bug that may affect you. If you see the line "set gfxpayload=$linux_gfx_mode" you need to delete it, and then hit CTRL+X to boot.
    2. This is supposed to boot to a read-only recovery menu. If it does you select option 3: to remount read/write. If it's a root prompt (#) then just continue to step 4.
    3. Then select the root prompt (probably last option).
    4. Check your username:
    Code:
    ls /home
    5. Enter a new password for your username:
    Code:
    passwd username
    However, this doesn't explain why you're booting to a terminal. Maybe you can first fsck the root.disk to see if there is an issue:
    1. Boot windows and rename the 'old' broken root.disk to OLDroot.disk
    2. Put your 'new' working root.disk back in place. (So both are in \ubuntu\disks directory
    3. Boot the new ubuntu, drop to a terminal (Ctrl+Alt+T) and fsck the old one:
    Code:
    sudo fsck /host/ubuntu/disks/OLDroot.disk
    The command is case-sensitive so if you named it oldroot.disk change as appropriate.

    PS you might want to backup the root.disk before fsck'ing it, or at least copy your data off it.

  9. #9
    Join Date
    Feb 2012
    Location
    New Delhi, India
    Beans
    87
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: restore wubi installation

    Quote Originally Posted by bcbc View Post
    To change the password, boot into recovery mode:
    1. Select the second entry (recovery mode). Before pressing enter check it first by pressing 'E' because there is a wubi bug that may affect you. If you see the line "set gfxpayload=$linux_gfx_mode" you need to delete it, and then hit CTRL+X to boot.
    2. This is supposed to boot to a read-only recovery menu. If it does you select option 3: to remount read/write. If it's a root prompt (#) then just continue to step 4.
    3. Then select the root prompt (probably last option).
    4. Check your username:
    Code:
    ls /home
    5. Enter a new password for your username:
    Code:
    passwd username
    However, this doesn't explain why you're booting to a terminal. Maybe you can first fsck the root.disk to see if there is an issue:
    1. Boot windows and rename the 'old' broken root.disk to OLDroot.disk
    2. Put your 'new' working root.disk back in place. (So both are in \ubuntu\disks directory
    3. Boot the new ubuntu, drop to a terminal (Ctrl+Alt+T) and fsck the old one:
    Code:
    sudo fsck /host/ubuntu/disks/OLDroot.disk
    The command is case-sensitive so if you named it oldroot.disk change as appropriate.

    PS you might want to backup the root.disk before fsck'ing it, or at least copy your data off it.
    will give this a try and let you know
    thanks anyways

Tags for this Thread

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
  •