Grub loading. after USB install from 2nd USB install stick

Asked by dr bubbles

I used Universal-USB-Installer-1.8.5.7.exe to make a Ubuntu 11.04 x32 install USB stick.

I booted an Intel d510 (small intel atom motherboard) with it, and installed Ubuntu on a 2nd USB stick plugged into the d510.

I used all 8GB (no swap) for the install. I chose /dev/sda as the location for the bootloader. (I am sure the second USB is sda as it shows the hardware name too).

After install, I removed the installation USB stick and rebooted (making sure bios is still going to boot from USB).

System hangs with flashing cursor. If I reboot and hold shift, I get "Grub loading." and it hangs.

So grub is there but it might not be pointing at the right place.

There are no other storage devices attached, so I assume the USB stick is seen as sda.

Any ideas how do install to a USB stick with working Grub from a USB boot stick? I need to do a proper install rather than a persistent USB bood from Universal-USB as casper doesn't let me update the kernel (for a Ubuntu-studio update).
Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu grub2 Edit question
Assignee:
No assignee Edit question
Solved by:
Eliah Kagan
Solved:
Last query:
Last reply:
Revision history for this message
delance (olivier-delance) said :
#1

Ubiquity installer could have been confused by both USB stick. it's not unusual.
Try first to reinstall Grub2 following this: https://help.ubuntu.com/community/Grub2#Reinstalling%20GRUB2 "Copy from Live CD". The installation process is simpler and so more reliable.
If it fails again, run following procedure:
----------------------
There is a standard script provided to analyse boot configuration. Could you download script at:
   http://sourceforge.net/projects/bootinfoscript/
Then in a terminal (Ctrl+Alt+T) run command:
    sudo bash [path/to/the/download_folder]/boot_info_script.sh
This will produce a file named: RESULTS.txt. Paste content of this file in http://paste.ubuntu.com/ and provide in this thread the link to Web page. Please don't post file directly in thread, else it will make thread difficult to read.

Revision history for this message
dr bubbles (drbubbles) said :
#2

Thank you for helping with this. I tried all of the methods in the link for
restoring Grub (from the most basic to the most complete, including purge
and reinstall grub) and when rebooting got the same result; hang at flashing
cursor. (or hang at "Grub loading" if I hold shift when booting.

I have run the script as you suggest and pasted the RESULTS.txt into the
paste bin:
http://paste.ubuntu.com/647003/

Maybe initrd or vmlinuz put in the "system" USB stick from the USBliveCD
stick as part of the install has a problem; some incomparability with
booting from a USB?

Thanks for persevering with this!
Andrew

On Mon, Jul 18, 2011 at 8:06 PM, delance <
<email address hidden>> wrote:

> Your question #165172 on grub2 in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/165172
>
> Status: Open => Answered
>
> delance proposed the following answer:
> Ubiquity installer could have been confused by both USB stick. it's not
> unusual.
> Try first to reinstall Grub2 following this:
> https://help.ubuntu.com/community/Grub2#Reinstalling%20GRUB2 "Copy from
> Live CD". The installation process is simpler and so more reliable.
> If it fails again, run following procedure:
> ----------------------
> There is a standard script provided to analyse boot configuration. Could
> you download script at:
> http://sourceforge.net/projects/bootinfoscript/
> Then in a terminal (Ctrl+Alt+T) run command:
> sudo bash [path/to/the/download_folder]/boot_info_script.sh
> This will produce a file named: RESULTS.txt. Paste content of this file in
> http://paste.ubuntu.com/ and provide in this thread the link to Web page.
> Please don't post file directly in thread, else it will make thread
> difficult to read.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/165172/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/165172
>
> You received this question notification because you asked the question.
>

Revision history for this message
delance (olivier-delance) said :
#3

http://paste.ubuntu.com/647003/ looks OK except that there is no swap partition on 8GB USB stick.
The MBR on sda looks on same device, UUID is ok.
Sorry, I have no idea of what can be the issue.

Revision history for this message
dr bubbles (drbubbles) said :
#4

Thank you for the help. I just found a bios update for the motherboard and
that has solved it!
This was a desperation measure as it was not clear there was a bios problem
(after all, I could boot from the install USB). For some reason the
bootloaders for the install USB and the installed USB must be different!

Many thanks again! Case closed.

On Tue, Jul 19, 2011 at 1:26 PM, delance <
<email address hidden>> wrote:

> Your question #165172 on grub2 in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/165172
>
> delance posted a new comment:
> http://paste.ubuntu.com/647003/ looks OK except that there is no swap
> partition on 8GB USB stick.
> The MBR on sda looks on same device, UUID is ok.
> Sorry, I have no idea of what can be the issue.
>
> --
> You received this question notification because you asked the question.
>

Revision history for this message
Best Eliah Kagan (degeneracypressure) said :
#5

Since the problem is now fixed, please come to https://answers.launchpad.net/ubuntu/+source/grub2/+question/165172 and mark this question as Solved.

Revision history for this message
dr bubbles (drbubbles) said :
#6

Thanks Eliah Kagan, that solved my question.