Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a usb drive with grub2 installed to the MBR. I'd like to add some custom entries to the boot menu but I can't figure out how to run sudo update-grub and have it affect the USB drive and not the grub2 on my HD.

How do I do this in ubuntu?

I have both a live ubuntu (on the USB device) and an installed version on my HD.

share|improve this question

1 Answer 1

I've been experimenting a bit with how to accomplish this, but I think your best bet is to simply disconnect the hard drive and thus boot with USB drive connected only. Then update grub as normal.

share|improve this answer

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.