I have a windows box that I wanted to trial Ubuntu with. So using two usb sticks I used one stick as a Ubuntu installer and installed it onto the other stick.
I changed the bois to boot from usb first, so when the usb stick is plugged in it boots into Ubuntu.
This is working great, infact the Ubuntu boot gives me the option to boot into windows or Ubuntu - which is an unexpected bonus.
However, the problem is when I shutdown and reboot (or restart) the PC goes into some strange (to me) command line like this:
grub:
I can power the PC down and then back up and it still goes into this grub
CLI. The only way I have found to get around this is to boot into bois, do nothing (since the settings are correct) and then save+exit and then it boots into the Ubuntu boot-menu as normal.
Can anyone explain what is going on and how to avoid this grub CLI?
Update
I have done some searching around and have found out (I think) what grub is.... it seems to be Ubuntu/Linux's boot program.
So I think I need to configure my "grub" to boot normally into Ubuntu every time (or maybe used last saved value)... maybe like in this question
However for me my system boots directly onto the grub command line and does not provide the boot menu.... I am not sure what that means in terms of how to configure grub (see my earlier question for details there - the first link).
So I am still stuck, but I have a vague idea what I need to do, any pointers would be great.
update-2
I have tried the link haddy provided... it seemed to be going well, until I discovered that when I do ls I can only see one drive (the hdd and not the usb):
grub> ls
(hd0) (hd0,gpt7) (hd0,gpt6) (hd0,gpt5) (hd0,gpt4) (hd0,gpt3) (hd0,gpt2)
(hd0,gpt1)
Unfortunatly I can't copy/paste.... but if I do ls (hd0
and tab it out I get:
grub> ls (hd0[tab]
possible partitions are:
Device hd0: No known filesystem detected - Sector size 512Kb - total size 488386584KiB
Partition hd0,gpt1: Filesystem type fat - Label 'SYSTEM', UUID....
Partition hd0,gpt1: No known file system detected...
:
Partition hd0,gpt7: No known file system detected...
So it looks like grub is not seeing my USB drive... which is odd since it should be booting off that drive. If I go into BIOS and exit it (with no changes) then it boots fine... its strange.
update-3
ok, so I realised that when I remove my usb stick it still boots into grub.... so this must mean it has been installed onto the windows HDD. So I have followed a list of instructions from here and I can always boot into ubuntu from grub, but the option to boot into windows has gone! :o
not sure what to do now :(
Can anyone explain what is going on and how to avoid this grub CLI?
- I think that is a pretty clear question, do you? - all the rest of the text are updates to the post with further info... what more can a guy do before the "duplicate-police" come knocking??... anyway, mehhhhh, I'm done here : ) – code_fodder Jun 09 '16 at 12:14