Choose style:

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

0 Members and 1 Guest are viewing this topic.

Offline Peanuts

  • nOOb
  • *
  • Posts: 9
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Solved: GNU GRUB help
« on: April 14, 2015, 07: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, 09:48:38 am by Peanuts »

Offline Mynaardt

  • Member
  • ***
  • Posts: 160
  • Karma: 18
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9
Re: GNU GRUB help
« Reply #1 on: April 15, 2015, 02:19:50 am »
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

  • Trusted User
  • Veteran
  • *****
  • Posts: 1854
  • Karma: 482
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7, 8.5 & 10 - 64bit
Re: GNU GRUB help
« Reply #2 on: April 15, 2015, 02:35:35 am »
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 -l
the second command is:
Code: [Select]
sudo blkid
With 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
"Life first -- Peppermint a close 2nd!" -- Zeb

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

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26468
  • Karma: 2865
  • "-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, 09: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 -F
as 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

  • nOOb
  • *
  • Posts: 9
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: GNU GRUB help
« Reply #4 on: April 15, 2015, 10: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: 4852
  • Karma: 1028
  • "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, 10: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 -l
and
Code: [Select]
inxi -F
I hope this helps  ;).
« Last Edit: April 15, 2015, 10: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

  • Trusted User
  • Veteran
  • *****
  • Posts: 1854
  • Karma: 482
  • 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, 11: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


"Life first -- Peppermint a close 2nd!" -- Zeb

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

Offline Peanuts

  • nOOb
  • *
  • Posts: 9
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: GNU GRUB help
« Reply #7 on: April 16, 2015, 10: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

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

Spoiler (click here to view / hide)
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sda: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders, total 5860533168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1  4294967295  2147483647+  ee  GPT
Partition 1 does not start on physical sector boundary.

Disk /dev/sdb: 8097 MB, 8097103872 bytes
107 heads, 18 sectors/track, 8211 cylinders, total 15814656 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc3072e18

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *        6072    15814655     7904292    b  W95 FAT32
[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)
System:    Host: peppermint Kernel: 3.13.0-29-generic x86_64 (64 bit) Desktop: N/A Distro: Peppermint Five
Machine:   Mobo: Gateway model: DX4380G version: 1.02 Bios: American Megatrends version: P11-A1 date: 09/04/2012
CPU:       Dual core AMD A6-5400K APU with Radeon HD Graphics (-MCP-) cache: 2048 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm)
           Clock Speeds: 1: 1400.00 MHz 2: 1400.00 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Trinity [Radeon HD 7540D]
           X.Org: 1.15.1 drivers: ati,radeon (unloaded: fbdev,vesa) Resolution: 1920x1080@60.0hz
           GLX Renderer: Gallium 0.4 on AMD ARUBA GLX Version: 3.0 Mesa 10.1.3
Audio:     Card-1: Advanced Micro Devices [AMD] FCH Azalia Controller driver: snd_hda_intel
           Card-2: Advanced Micro Devices [AMD/ATI] Trinity HDMI Audio Controller driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture ver: k3.13.0-29-generic
Network:   Card-1: Qualcomm Atheros AR9462 Wireless Network Adapter driver: ath9k
           IF: wlan0 state: up mac: 20:68:9d:c3:34:18
           Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169
           IF: eth0 state: down mac: 4c:72:b9:e0:3d:9f
Drives:    HDD Total Size: 3008.7GB (0.0% used) 1: id: /dev/sda model: ST3000DM001 size: 3000.6GB
           2: USB id: /dev/sdb model: USB_2.0_FD size: 8.1GB
Partition: ID: / size: 2.7G used: 29M (2%) fs: overlayfs ID: swap-1 size: 5.85GB used: 0.00GB (0%) fs: swap
RAID:      No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors:   System Temperatures: cpu: 16.6C mobo: N/A gpu: 8.0
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 146 Uptime: 6 min Memory: 600.2/5351.0MB Client: Shell (bash) inxi: 1.9.17
peppermint@peppermint ~ $
[close]
« Last Edit: April 16, 2015, 05:04:00 pm by AndyInMokum »

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26468
  • Karma: 2865
  • "-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, 04: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: 4852
  • Karma: 1028
  • "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, 05: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

  • nOOb
  • *
  • Posts: 9
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: GNU GRUB help
« Reply #11 on: April 17, 2015, 09: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

  • Trusted User
  • Veteran
  • *****
  • Posts: 1854
  • Karma: 482
  • 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, 12:00:58 pm »
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
"Life first -- Peppermint a close 2nd!" -- Zeb

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

Offline Peanuts

  • nOOb
  • *
  • Posts: 9
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: GNU GRUB help
« Reply #13 on: April 17, 2015, 12:11:14 pm »
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.


Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26468
  • Karma: 2865
  • "-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, 12:51:28 pm »
If you've changed the hard drive, can we have to output from:
Code: [Select]
sudo fdisk -l
and
Code: [Select]
sudo blkid
again 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