View Full Version : [ubuntu] Ubuntu 10.10 mini USB GRUB boot loader

January 22nd, 2011, 12:33 AM
I have installed Ubuntu 10.10 Minimal on a 2GB USB using CLI and it is working very well after I added a few things. I intend to use it on machines other than my own. But the GRUB boot loader was installed to the main system on my machine and it is booting from there.

During the installation it was said that the bootloader can be installed on a floppy. So I started a new 2 GB stick and tried to install the boot loader on a floppy but my computer does not recognize floppies anymore (seems to be a wider problem with recent distributions).

So I tried to install the bootloader on a different USB stick and and this also did not work.

Cannot find recent and relatively easy way to install GRUB boot loader to a stick.

Any help appreciated

January 22nd, 2011, 12:44 AM
You just install grub to the root partition of whatever drive the USB mounts as:


You will have to manually add entries to grub.cfg. They can be standard boot enties, even one's you copy from your standard install or loop mount ISO's:

ISO Booting with Grub 2 - drs305
HOWTO: Booting LiveCD ISOs from USB flash drive with Grub2
Basically you just install grub2, create a folder for the isos and edit a grub.cfg to loop mount the isos.

January 23rd, 2011, 06:18 PM
Thanks oldfred,
I did follow the instructions and installed GRUB2 and grub.cfg to a stick.

This sticks allows me to go to BIOS on my machine , click on USB and it automatically boots to my main machine (does not allow to start the other USB). I believe that I can follow instructions and make it first to boot all the time, yet only on my machine.

But what I need is for the Grub stick to be first to boot on any machine and to give me the option to start Ubuntu on the other stick.

Here is what I got so far on my /media/GRUB2/: $ sudo grub-mkconfig -o /media/GRUB2/boot/grub/grub.cfg gives me:

'Generating grub.cfg ...

Found linux image: /boot/vmlinuz-2.6.32-27-generic

Found initrd image: /boot/initrd.img-2.6.32-27-generic

Found memtest86+ image: /boot/memtest86+.bin


How do I make it to be the first to boot on any machine (without having to go to the BIOS) and then let me chose the Ubuntu distribution on the other USB?

January 24th, 2011, 03:02 AM
BIOS controls booting. You cannot make a system boot from another drive than what is set in BIOS. So I do not think it is possible to do what you want.