Author Topic: Solved: GNU GRUB help  (Read 4001 times)

Offline Peanuts

  • Newly Subscribed
  • *
  • Posts: 9
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Solved: GNU GRUB help
« on: April 14, 2015, 04:09:41 pm »
New to the boards and to Linux so please forgive me if I post a previously discussed topic. 

I am loading peppermint 5 to a new blank hard drive on a Gateway desktop.  There is no other OS on the computer.  I used the peppermint 5 download with the Unetbootin USB program to load the OS from a usb.

All went well until it rebooted at the end of the upload/installation.  The only thing that happens now is it goes to the following message:
GNU GRUB version 2.02 beta2.9ubuintu1

Minimal BASH-like live editing is supported. For the first word, TAB lists possible command.......etc

grub>

I can't get to the BIOS with F2 or F10 or any other key.  I can power down, restart, etc and it will only go to the grub> prompt.  I can't get the computer to do anything!!!!!

Again I am very new to Linux and have no idea what to do.  Please help if you know what I can do.
« Last Edit: April 22, 2015, 06:48:38 am by Peanuts »

Offline Mynaardt

  • Member
  • ***
  • Posts: 161
  • Karma: 18
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9
Re: GNU GRUB help
« Reply #1 on: April 14, 2015, 11:19:50 pm »
Is it a newer machine with that UEFI stuff on it?

I just bought a new computer with that and it's a bit of a trick to get Linux installed for the first time when a machine has UEFI.

Usually when you first start a computer you'll get a screen that says "press F2" (or "press F12" or something similar) to open the BIOS.

What I did with mine was go into the BIOS and looked for everything that had "UEFI" on it and either toggled it off or deleted it.  Then when I tried the install again.  The exact layout of where things are in the BIOS seems to vary wildly from one manufacturer to the next.

HOWEVER I am not an expert myself.  You should check your computer's documentation.  Specifically for BIOS to see if it does have UEFI on it.

There's others here who can give you a more detailed answer.  But just from my own experience, I'm guessing it's the UEFI and BIOS problem.

Hope that helps a bit.
~*~  Mynaardt  ~*~
(Victoria, BC, Canada)
Peppermint OS is your computer's friend,
Always Trust Peppermint OS!

Offline Slim.Fatz

  • Global Moderator
  • Veteran
  • *****
  • Posts: 2343
  • Karma: 616
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7, 8.5 & 10 - 64bit
Re: GNU GRUB help
« Reply #2 on: April 14, 2015, 11:35:35 pm »
Hi Peanuts,

Sorry to hear that you are having problems. One thing that you can do is provide us with some information about your hard disk that you can obtain by booting to the Peppermint LiveUSB and posting the output that you get from running two commands in a terminal. The first command is:
Code: [Select]
sudo fdisk -lthe second command is:
Code: [Select]
sudo blkidWith this information someone on this forum can probably get you up and running with Peppermint on your Gateway desktop computer.

BTW, to get to the Gateway computer's BIOS with a key press, you should not wait until you get to the GRUB prompt before pressing the needed key (probably something like one of the following keys: F1, F2 F11, F12, DELETE or INSERT). Rather start pressing the required key immediately after pressing the power up button on the computer -- and press it multiple times. If you press the proper key like this then you should be able to get to the BIOS screen.  ;)

Regards,

-- Slim
Respect science, respect nature, respect each other.

Tread lightly: Fluxbox, JWM, i3, Openbox, awesome

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: GNU GRUB help
« Reply #3 on: April 15, 2015, 06:41:06 am »
Can you provide the output asked for above, and please mention the Gateway model .. if you're unsure, please provide the output from:
Code: [Select]
inxi -Fas well as what was asked for above .. and remember Linux commands ARE case sensitive.

Oh, and you can get to a terminal (to enter the commands) from a LiveCD/LiveUSB session by hitting Ctrl+Alt+T and the terminal should open.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Peanuts

  • Newly Subscribed
  • *
  • Posts: 9
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: GNU GRUB help
« Reply #4 on: April 15, 2015, 07:13:17 am »
Many thanks to Slim for the way to get to BIOS.  I am now able to boot from the USB so could then get the info below:

What do you guys think?

I can boot from the USB but after installing I get the grub promp when it tries to boot from the hard drive.

peppermint@peppermint ~ $ sudo fdisk -1
fdisk: invalid option -- '1'
Usage:
 fdisk [options] <disk>    change partition table
 fdisk [options] -l <disk> list partition table(s)
 fdisk -s <partition>      give partition size(s) in blocks

Options:
 -b <size>             sector size (512, 1024, 2048 or 4096)
 -c[=<mode>]           compatible mode: 'dos' or 'nondos' (default)
 -h                    print this help text
 -u[=<unit>]           display units: 'cylinders' or 'sectors' (default)
 -v                    print program version
 -C <number>           specify the number of cylinders
 -H <number>           specify the number of heads
 -S <number>           specify the number of sectors per track

peppermint@peppermint ~ $ sudo blkid
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="F6B1-14CD" TYPE="vfat"
/dev/sda2: UUID="af13bffd-e9d1-4aab-a17f-3ebb9fddcc96" TYPE="ext4"
/dev/sda3: UUID="86717355-59b7-4884-9f63-417b8a96fe8a" TYPE="swap"
/dev/sdb1: LABEL="USB20FD" UUID="D416-36C8" TYPE="vfat"

peppermint@peppermint ~ $ inxi f
CPU~Dual core AMD A6-5400K APU with Radeon HD Graphics (-MCP-) clocked at 1900.000 Mhz Kernel~3.13.0-29-generic x86_64 Up~14 min Mem~625.0/5351.0MB HDD~3008.7GB(0.0% used) Procs~146 Client~Shell inxi~1.9.17 
peppermint@peppermint ~ $

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4889
  • Karma: 1058
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: GNU GRUB help
« Reply #5 on: April 15, 2015, 07:25:55 am »
Hi Peanuts, welcome to the Peppermint Forum.  The first command given is correct.  You've made some typos - doh  :-X!

Tip:  Linux is case sensitive.  To reduce the possibility of typographical errors please click the Code: [Select] function below to highlight the contents. Click on the centre mouse button/wheel while the cursor is in the terminal window to paste the contents.
Code: [Select]
sudo fdisk -land
Code: [Select]
inxi -FI hope this helps  ;).
« Last Edit: April 15, 2015, 07:40:17 am by AndyInMokum »
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline Slim.Fatz

  • Global Moderator
  • Veteran
  • *****
  • Posts: 2343
  • Karma: 616
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7, 8.5 & 10 - 64bit
Re: GNU GRUB help
« Reply #6 on: April 15, 2015, 08:25:57 am »
Hi Peanuts,

If you prefer to type in the command rather than copying it as AndyInMokum suggests then the error is that you entered the number 1 as the option. Correct is the letter L (but written in small case, not capitalized).  ;)

Code: [Select]
sudo fdisk -l
Regards,

-- Slim


Respect science, respect nature, respect each other.

Tread lightly: Fluxbox, JWM, i3, Openbox, awesome

Offline Peanuts

  • Newly Subscribed
  • *
  • Posts: 9
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: GNU GRUB help
« Reply #7 on: April 16, 2015, 07:04:57 am »
Small box with lights make head hurt!

LOL, I'll fix the entries right away.  Thank you guys for the great guidance and continued help!

Offline Peanuts

  • Newly Subscribed
  • *
  • Posts: 9
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: GNU GRUB help
« Reply #8 on: April 16, 2015, 09:09:09 am »
Here is the data that presents for the commands listed:
peppermint@peppermint ~ $ sudo fdisk -l

Spoiler (click here to view / hide)
[close]

peppermint@peppermint ~ $ sudo blkid
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="F6B1-14CD" TYPE="vfat"
/dev/sda2: UUID="af13bffd-e9d1-4aab-a17f-3ebb9fddcc96" TYPE="ext4"
/dev/sda3: UUID="86717355-59b7-4884-9f63-417b8a96fe8a" TYPE="swap"
/dev/sdb1: LABEL="USB20FD" UUID="D416-36C8" TYPE="vfat"
peppermint@peppermint ~ $

peppermint@peppermint ~ $ inxi -F
Spoiler (click here to view / hide)
[close]
« Last Edit: April 16, 2015, 02:04:00 pm by AndyInMokum »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: GNU GRUB help
« Reply #9 on: April 16, 2015, 01:42:21 pm »
OK, you.re going to want to go into the UEFI BIOS and set

Secure Boot = Disabled
and
Launch CSM = Always

Then see here:
https://help.ubuntu.com/community/Boot-Repair
to download the boot-repair disk form here:
http://sourceforge.net/p/boot-repair-cd/home

create that LiveCD/LiveUSB .. boot to it .. select "Recommended Repair"
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4889
  • Karma: 1058
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: GNU GRUB help
« Reply #10 on: April 16, 2015, 02:10:02 pm »
Hi Peanuts, I see that some of the outputs you returned are quite long.  In future, could you please encapsulate long outputs with the Sp Spoiler function.  This is located in the forum editor, just above the crying  :'( emoticon.  It makes it much easier for people to read and keeps things neat and tidy.  This time I've done this for you.  Thanks in advance ;).
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline Peanuts

  • Newly Subscribed
  • *
  • Posts: 9
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: GNU GRUB help
« Reply #11 on: April 17, 2015, 06:05:07 am »
Thank you guys for the help and guidance to date.

So far here is the status:  New blank hard drive in a HP computer.  No other hard drive or OS on the computer.  Peppermint 5 loaded to the HD but unable to boot from the HD.  BIOS has secure boot = disabled; Launch CSM = always.  Ran boot repair and still have the boot issue.  At boot the computer displays the GNU GRUB message with a grub>

The link to the boot repair message is:  http://paste.ubuntu.com/10836361/

I feel so close to having this work since the OS will boot from the usb just not the HD. 




Offline Slim.Fatz

  • Global Moderator
  • Veteran
  • *****
  • Posts: 2343
  • Karma: 616
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7, 8.5 & 10 - 64bit
Re: GNU GRUB help
« Reply #12 on: April 17, 2015, 09:00:58 am »
Hi Peanuts,

So is this a second computer now? You originally were having problems with a Gateway desktop, now however you say you are having problems with an HP computer.  :-\

So is the Gateway desktop problem now solved?

Regards,

-- Slim
Respect science, respect nature, respect each other.

Tread lightly: Fluxbox, JWM, i3, Openbox, awesome

Offline Peanuts

  • Newly Subscribed
  • *
  • Posts: 9
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: GNU GRUB help
« Reply #13 on: April 17, 2015, 09:11:14 am »
Sorry for the confusion....same computer.  It is a gateway.  I was typing from my other computer which is an HP.

The gateway has the new drive and only boots Peppermint 5 from the USB not the HD.  The new HD is the only HD in the computer.


Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: GNU GRUB help
« Reply #14 on: April 17, 2015, 09:51:28 am »
If you've changed the hard drive, can we have to output from:
Code: [Select]
sudo fdisk -land
Code: [Select]
sudo blkidagain please

can you also postt he output from
Code: [Select]
uname -a
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec