Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am currently installing and and re-installing Arch Linux for learning purposes. As I don't have a secondary machine, I have to do it on my main one. The thing is - I couldn't find a way to avoid installing grub in the installation process of Arch.

That's another problem, but I fail to use boot-repair as explained here to make Ubuntu my default OS again. After installing Arch I get grub1 booting, and it doesn't have entries to log into my Ubuntu system, and I don't really know how to edit grub. I prefer just restoring grub2 used by Ubuntu.

My question is simple - how do I do that?

Thanks in advance

share|improve this question
    
Can you post the output of boot_info_script? bootinfoscript.sourceforge.net –  arrange Oct 8 '11 at 14:39
    
Install Grub2 in Arch and then add an entry for Ubuntu: wiki.archlinux.org/index.php/GRUB2#Dual-booting –  jasonwryan Oct 9 '11 at 1:49
    
it could. I use grub2 from Ubuntu to load both Arch and Ubuntu 12.04, there is an option at the end of installation, you could choose not to setup boot loader –  warl0ck Jul 7 '12 at 7:07
add comment

migrated from askubuntu.com Oct 9 '11 at 0:44

This question came from our site for Ubuntu users and developers.

3 Answers

Launch grub-mkconfig > /boot/grub/grub.cfg to regenerate the boot entries, which will normally have your Ubuntu entry, unless it's on a VG.

If that doesn't work, then boot into Arch, chroot into Ubuntu's root folder, and do grub-setup /dev/XX (which is your hdd, e.g sda or hda). This will restore bootloader of Ubuntu's grub2.

share|improve this answer
add comment

The bootloader installation in Arch is one of the very last steps you do before the reboot. You have the option to skip the bootloader installation altogether. You can either skip over the step by going down to finish or if you go into the install bootloader step there should be an option to skip there as well.

share|improve this answer
    
Although this helps them avoid installing grub in the future it doesn't really answer the question so it seems better fit for a comment rather than an answer. –  Dason Apr 8 '12 at 3:49
add comment

The question is neither about Grub2 nor about Arch Linux. Basically you want to recover Ubuntu Grub loader. Follow the steps mentioned here

Arch Linux is completely configurable and that includes the boot loader installation.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.