Find the answer to your Linux question:
Results 1 to 5 of 5
ok i think i may be in big trouble. I had Ubuntu installed and windows. I was using grub2 and i could choose witch i os i wanted to boot ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2008
    Posts
    58

    Cant boot Help!


    ok i think i may be in big trouble. I had Ubuntu installed and windows. I was using grub2 and i could choose witch i os i wanted to boot but i reinstalled windows and now i cant boot linux!

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Boot up from Ubuntu LiveCD, mount / partition of Ubuntu.
    Let say, /dev/sda2 is / partition of Ubuntu.
    Code:
    sudo mkdir /media/ubuntu
    sudo mount -t ext3 /dev/sda2 /media/ubuntu
    sudo grub2-install --recheck --root-directory=/media/ubuntu /dev/sda
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Jun 2008
    Posts
    58
    Is there a way i can do this in windows so i don't have to re download the live cd because i would love to use my linux PC before i go to bed lol.

  4. #4
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    3,190
    When you re-installed windows it automatically overwrote your Grub entry in the mbr and now you need to re-install Grub (can't do that with windows) or create an entry in the boot.ini (xp) file or change bcdedit (vista).

    So, what happened with the Ubuntu CD you used to install? Devils Casper's method is definitely the easiest way to go.

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    You can try SuperGRUB CD too. Select 'Fix Linux BootLoader (GRUB)' option. You are using GRUB2 and I am not sure if SuperGRUB supports GRUB2 or not.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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