How To Recover Ubuntu Linux Distribution ? [Updated]

How To Recover GRUB Loader after installing windows ?How to repair GRUB loader , GRUB loader tricks and hacks collection 2016

How To Recover Ubuntu Linux Distribution ? [Updated]

Hello Friends, Today I'm sharing How to recover Linux Ubuntu or any other Linux distribution?
When you install Windows, Windows assumes it is the only operating system (OS) on the machine, or at least it does not account for Linux. So it replaces GRUB with its own boot loader. What you have to do is replace the Windows boot loader with GRUB.
I've seen various instructions for replacing GRUB by mucking around with chroot into your install and run update-grub. chroot is great because it allows you to work on your actual install, instead of trying to redirect things here and there. It is really clean.
GRUB commands or some such, but to me the easiest way is to simply

Here's how:

  1. Boot from the live CD or live USB, in "Try Ubuntu" mode.
  2. Determine the partition number of your main partition. GParted (which should already be installed, by default, on the live session) can help you here. I'm going to assume in this answer that it's /dev/sda5, but make sure you use the correct partition number for your system!
  3. How To Recover Ubuntu Linux Distribution ? [Updated]
  4. Mount your partition:
  5. [sudo mount /dev/sda5 /mnt #Replace sda5 with your partition number]
  6. Bind mount some other necessary stuff:
  7. [for i in /sys /proc /run /dev; do sudo mount --bind "$i" "/mnt$i"; done]
  8. chroot into your Ubuntu install:
  9. [sudo chroot /mnt ]
  10. At this point, you're in your install, not the live session, and running as root. Update grub:
  11. [update-grub]
  12. Depending on your situation, you might have to reinstall grub:
  13. [grub-install /dev/sda update-grub # I'm not sure if this is necessary, but it doesn't hurt. ]
  14. If everything worked without errors, then you're all set:
  15. [exit sudo reboot]
  16. At this point, you should be able to boot normally.

    • [message]
      • Message
        • Sometimes giving GRUB2 the correct configuration for your partitions is not enough, and you must actually install it (or reinstall it) to the Master Boot Record, which step 7 does. Experience helping users in chat has shown that step 7 is sometimes necessary even when no error messages are shown.



    Android Hack Android Help Android Trick ANNOUNCEMENT apk Apk Mod Application collection Basic Computer Problem Basic Help Best App For You Blogger cmd Cute Actress download link Earn Money Exclusive Hack facebook Games Guest Post HOT Hotspot (Wi-Fi) How To iMacro Internet lifestyle Linux net hack Offline Website Open Source operating system pc tool Photo Recommend Root SEO Shortcut sim card site collection Software Technology trick TU Service UC Hack WhatsApp Wi-Fi windows wordpress YouTube
    TricksUniversity.In: How To Recover Ubuntu Linux Distribution ? [Updated]
    How To Recover Ubuntu Linux Distribution ? [Updated]
    How To Recover GRUB Loader after installing windows ?How to repair GRUB loader , GRUB loader tricks and hacks collection 2016
    Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy