Results 1 to 4 of 4

Thread: used GParted live cd and now it won't boot

  1. #1
    Join Date
    Jan 2013
    Beans
    2

    used GParted live cd and now it won't boot

    Hello, not sure if this is the right place for this question, feel free to move it!

    I run Lubuntu but wanted to install Windows. So I used GParted Live CD to shrink the Linux partition and create a new Windows partition. Then I installed Windows on that partition fine and it boots. Then to get back into Lubuntu I used GParted to change the boot flag from the Windows partition to the Linux partition, but now it won't boot and says Error loading Operating System. Help?

  2. #2
    Join Date
    Jan 2012
    Beans
    80

    Re: used GParted live cd and now it won't boot

    Quote Originally Posted by JooMn View Post
    I run Lubuntu ..Then I installed Windows .. now it won't boot and says Error loading Operating System. Help?
    How to Restore Grub

  3. #3
    Join Date
    Jan 2013
    Beans
    2

    Re: used GParted live cd and now it won't boot

    Got it in one, thanks dgharmon

    to anyone else with the same problem, when the posts above says
    sudo grub-install --root-directory=/mnt/ /dev/sdX
    #replace the X in sdX with your partition alphabet

    remember to NOT put any numbers after sd, just a letter!

    Other than that the instructions work perfectly.

  4. #4
    Join Date
    May 2007
    Location
    Virginia, USA
    Beans
    13,377
    Distro
    Ubuntu Mate Development Release

    Re: used GParted live cd and now it won't boot

    [QUOTE=JooMn;12463986]Then to get back into Lubuntu I used GParted to change the boot flag from the Windows partition to the Linux partition .../QUOTE]
    In the future, you need to know that Windows REQUIRES the boot flag to be on the partition containing the Windows boot loader files -- or it will not boot. Linux doesn't use the boot flag -- so basically, there was no need to move it.
    Ubuntu 20.04, Mint 19.10; MS Win10 Pro.
    Will not respond to PM requests for support -- use the forums.

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
  •