Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: Cannot boot ubuntu after upgrade

  1. #11
    Join Date
    Mar 2010
    Location
    /home
    Beans
    9,397
    Distro
    Xubuntu

    Re: Cannot boot ubuntu after upgrade

    Did you try reinstalling Windows at some point?

    And why do you have Windows in an extended partition (sda4)?

  2. #12
    Join Date
    Sep 2009
    Location
    Tehran, Iran
    Beans
    56
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Cannot boot ubuntu after upgrade

    Quote Originally Posted by Rubi1200 View Post
    Did you try reinstalling Windows at some point?
    yes I did. and reinstall grub from live disk
    Code:
    sudo grub-install --recheck --root-directory=/media/ubuntu /dev/sda
    Quote Originally Posted by Rubi1200 View Post
    And why do you have Windows in an extended partition (sda4)?
    Windows is installed on sda2, formerly I have sabayon on sda4

    -----------------------------

    what should I do now!!!?

  3. #13
    Join Date
    Mar 2010
    Location
    /home
    Beans
    9,397
    Distro
    Xubuntu

    Re: Cannot boot ubuntu after upgrade

    Look at the bootscript: sda2 has no Windows boot files and sda4 seems still to have something there. Also half the Windows boot files are on sda1 and on sda7.

    It might be a good idea to first reinstall the Windows bootloader to the MBR and then we can work on getting Ubuntu back up and running (this assumes you cannot boot into Windows right now?).

  4. #14
    Join Date
    Sep 2009
    Location
    Tehran, Iran
    Beans
    56
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Cannot boot ubuntu after upgrade

    Quote Originally Posted by Rubi1200 View Post
    Look at the bootscript: sda2 has no Windows boot files and sda4 seems still to have something there. Also half the Windows boot files are on sda1 and on sda7.

    It might be a good idea to first reinstall the Windows bootloader to the MBR and then we can work on getting Ubuntu back up and running (this assumes you cannot boot into Windows right now?).
    I'm on windows right now. maybe because of sda4 was mounted, sda4 have some boot information. I'm sure that windows is installed on sda2

  5. #15
    Join Date
    Mar 2010
    Location
    /home
    Beans
    9,397
    Distro
    Xubuntu

    Re: Cannot boot ubuntu after upgrade

    I am running out of ideas, but let's try and reinstall GRUB with a different method and see if it works:
    https://help.ubuntu.com/community/Gr...0from%20LiveCD

    Use Method 3: CHROOT

    Obviously, you need to make sure you mount the right partitions and install GRUB to the MBR of sda.

  6. #16
    Join Date
    Sep 2009
    Location
    Tehran, Iran
    Beans
    56
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Cannot boot ubuntu after upgrade

    thank you Rubi1200, the link was helpful although I found a thread with the same problem that has been solved. http://ubuntuforums.org/showthread.php?t=1575498 comment 6 & 8 was so helpful and I'm back on ubuntu right now

    I boot from ubuntu CD and do these:
    Code:
    sudo mount /dev/sdaX /mnt
    sudo mount --bind /proc /mnt/proc
    sudo mount --bind /dev /mnt/dev
    sudo cp /mnt/etc/resolv.conf /etc/resolv.conf
    sudo chroot /mnt
    and with chroot do these:
    Code:
    dpkg --configure -a
    Special thanks to Rubi1200 and isantop
    Thread is mark as solved

  7. #17
    Join Date
    Mar 2010
    Location
    /home
    Beans
    9,397
    Distro
    Xubuntu

    Re: Cannot boot ubuntu after upgrade

    You are more than welcome

    I am really pleased you managed to get things working again!

Page 2 of 2 FirstFirst 12

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
  •