I am looking for a way to multiboot windows, lubuntu (natty), and arch linux.
I know how I could set it up, but I want to know the right way.
Right now each distro has their own grub
install, and their own /boot
Is there a way to use the same /boot
?
Or maybe I should just uninstall the one from arch and have the lubuntu one do the job.
EDIT: maybe I can chain load one to the other? That might not be the right way, but it's certainly an easy and maintainable solution.
Update: so I did some research, and there are a two ways to do this. First off, I have grub1 on arch and grub2 on lubuntu (no particular reason, this is default)
- Use a single grub install from either distro.
- chainload from one install to another by installing the grub bootloader onto a partition.
First, I tried to do 2., but grub-install
(grub2) gave me this big warning about installing onto partition, so I decided this was a bad idea.
Then I figured that I could just use the grub1 install on ubuntu and grub-update
would auto detect arch linux. So, I resintalled grub2 onto the MBR, but grub-update
was not able to auto-detect arch.
#So, my updated question is...
what do I need to add to grub.d to either make it auto-detect arch, or just make a manual entry?
There is nothing wrong with a manual entry, but an example script that does this would be useful..
EDIT: looks like it was a problem with chrooting into lubuntu from arch. I reran update-grub
from lubuntu and it works fine now.