LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   The dreaded GNU Grub Boot Prompt after trying to install Elementary OS (https://www.linuxquestions.org/questions/linux-newbie-8/the-dreaded-gnu-grub-boot-prompt-after-trying-to-install-elementary-os-4175478565/)

EDDY1 10-04-2013 12:14 AM

Quote:

Originally Posted by Ztcoracat (Post 5039750)
I have asked our Moderator to join this thread- ;)

BTW approx. 30 GB's is recommended for Windows 8-

However; it depends on how many other programs you must install on the boot disk partition:-
http://www.softwareok.com/?seite=faq-Windows-8&faq=5

Windows will eat up 30Gigs in 1 update. You need atleas 70 Gigs for windows to breath.

Ztcoracat 10-04-2013 02:04 AM

Wow! 70 Gig's- That's just crazy:-

Caskla 10-04-2013 02:45 PM

Currently, I have 833gb on my Windows 8 partition, so there's no reason to worry. I plan on keeping that size, and having the extra 100gb on my HDD for Elementary OS.
Anyway, thank you, Ztcoracat, for asking for help.

Ztcoracat 10-04-2013 08:51 PM

Quote:

Originally Posted by Caskla (Post 5040176)
Currently, I have 833gb on my Windows 8 partition, so there's no reason to worry. I plan on keeping that size, and having the extra 100gb on my HDD for Elementary OS.
Anyway, thank you, Ztcoracat, for asking for help.

You are Welcome -;)

colorpurple21859 10-05-2013 11:13 AM

If you haven't reinstalled yet at the grub prompt what is the output of the following
Code:

set
ls /boot
ls /boot/grub
ls /boot/grub/i386-pc

I believe you may be missing the /boot/grub/grub.cfg file

Ztcoracat 10-05-2013 08:41 PM

I too colorpurple21859; was suspicious of /boot/grub/grub.cfg file missing.
How do we get that file that is needed?

This thread that our Guru: business_kidd SOLVED may be helpful in your case Caskla. To say the least to learn from.

Code:

Disabling secure boot disables gpt (i.e. hard disk) booting.
Disabling GPT disables windows 8.
Enabling secure boot locks you onto the hd, which, as explained, checks and fixes itself to be m$ only every time it wakes up in windows 8.

http://www.linuxquestions.org/questi...80#post4952280

Trying to help the best I can.

:~$@ Claska run those commands that colorpurple21859 needs when you have time.

:~$@ colorpurple21859: thank you for joining our thread!

colorpurple21859 10-05-2013 08:47 PM

that is what ls /boot is for to see what the kernel and initrd files are, then can manual boot with the linux and intrd commands. once booted either can run grub-update or grub-mkconfig to create a grub.cfg, or can create one manually with a text editor.

Ztcoracat 10-05-2013 09:14 PM

Quote:

Originally Posted by colorpurple21859 (Post 5040741)
that is what ls /boot is for to see what the kernel and initrd files are, then can manual boot with the linux and intrd commands. once booted either can run grub-update or grub-mkconfig to create a grub.cfg, or can create one manually with a text editor.

Thank you for teaching me that.
So...like you said once booted you will know wether to run grub-update or use grub-mkconfig to create the grub.cfg file.
I'm thinking that running "grub-update" and running "grub-mkconfig" performs differnt things.
Obviously 'grub-mkconfig' will give you the ability to make and configure the needed file-
Is that right?

colorpurple21859 10-05-2013 09:29 PM

It has been a while since I ran grub-mkconfig. If I can't get grub-update to work then I usually create one with a text editor.

Ztcoracat 10-05-2013 09:58 PM

Quote:

Originally Posted by colorpurple21859 (Post 5040754)
It has been a while since I ran grub-mkconfig. If I can't get grub-update to work then I usually create one with a text editor.

I would have to look on my system to see the arguments contained in the grub.cfg-
Thanks-;)

Caskla 10-08-2013 07:10 PM

Sorry it took me so long, guys. I lead a busy life. So, I ran the commands, and here are the results:
Quote:

grub> set
?=0
color_highlight=black/white
color_normal=white/black
pager=
prefix=(hd2,gpt2)/EFI/ubuntu
root=hd2,gpt2
grub> ls /boot

error: file not found
grub> ls /boot/grub

error: file not found
grub> ls /boot/grub/i386-pc

error: file not found
grub>

Ztcoracat 10-08-2013 07:55 PM

Evidently, you do not have the grub file. (error: file not found)

Lets's see what colorpurple21859 advises on this.
I would need his take on this to assist you or anyone else for that matter:-

In the meantime it probably wouldn't hurt to look up:
Invoking grub-mkconfig and or how to create /boot/grub/custom.cfg?

colorpurple21859 10-08-2013 08:11 PM

what does
Code:

ls
give and what is your partition/disk setup? There is no /boot on this partition.

colorpurple21859 10-08-2013 08:35 PM

you can find where your /boot partition is located by changing the partition numbers according to the output of
Code:

ls
then try variations of this
Code:

ls (hd2,gpt1)/boot
, we already know it is not on (hd2,gpt2). once we find where /boot is then you can boot with something along the line of
Code:

linux (hd?,gpt?)/boot/<name of kernel> root=/dev/??
initrd (hd?,gpt?)/boot/<name of initrd>
boot

linux (hd?,gpt?)/boot/<name of kernel> root=/dev/??
initrd (hd?,gpt?)/boot/<name of initrd>
boot

Then run updates and then reinstall grub to MBR

colorpurple21859 10-09-2013 12:52 AM

also what is the ouput of
Code:

ls (hd2,gpt2)/
ls (hd2,gpt2)/EFI
ls (hd2,gpt2)/EFI/ubuntu



All times are GMT -5. The time now is 11:35 AM.