Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

on my hard drive, I have Archlinux with fully customized GRUB. I want to install Xubuntu 14.04 on other partition. How to disable GRUB installation during Xubuntu installation process?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

I think you can install Xubuntu with a Live CD/DVD, and choose to place bootloader on your Xubuntu partition and not where your grub is so grub stays as it is. After you finish installing Xubuntu, you can boot into Archlinux and play with update-grub or better use another Live CD or some USB pendrive with Boot Repair on it to fix your dual-boot configuration. Boot Repair can be written on USB with Unetbootin tool. But you need to make sure you can boot into Archlinux after first reboot when finished with installing Xubuntu.

Oh, also make sure you download the right iso image for Boot Repair, they have iso images for both 32bit and 64bit machines.

share|improve this answer
    
That is only with Something Else or manual install. The partitioning screen has a combo box below it on where to install the grub boot loader. Grub does not like installing to a partition, but in this case installing to partition, in effect is just to be a throw away, as you will not be using it. You still have to update grub in Xubuntu so the grub in Arch finds the newer kernels on updates. Or you can manually configure to boot the partition or just the links to the most current kernel in root. –  oldfred Mar 12 at 23:34
    
Yes, 'Something Else', the 3rd choice for installing Xubuntu is the right one. I don't know much about Grub or Linux in general but I think 'throwing away' bootloader for Xubuntu as an intermediary step can prevent some major boot issues after first reboot when finishing installing Ubuntu/Xubuntu. Boot Repair CD helped me fix certain boot issues worse than this one. The 'Recommended repair' button saved me more than once but only after fixing boot problems for the original operating system I had running prior to installing Ubuntu/Xubuntu. –  floppy Mar 12 at 23:51

My solution is:

Install Xubuntu with GRUB on sda.

Boot Archlinux from Xubuntu's GRUB.

Run

# grub-install --recheck --target=i386-pc /devsda
# grub-mkconfig -o /boot/grub/grub.cfg

After that, I have Archlinux's GRUB.

share|improve this answer
1  
The only disadvantage is that grub remembers where to reinstall on major updates. So a major update to Xubuntu will overwrite Arch's grub. Easy to fix just by booting into Arch and reinstalling its grub. But you can edit how grub remembers with: sudo dpkg-reconfigure grub-pc #Enter thru first pages,spacebar to choose/unchoose drive, enter to accept, unchoose everything. –  oldfred Mar 13 at 16:24

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.