Peppermint OS Community Forum

Support => Installation => Topic started by: silver2049 on September 24, 2014, 04:36:48 pm

Title: After installing, the GRUB screen shows up
Post by: silver2049 on September 24, 2014, 04:36:48 pm
I installed Peppermint OS on to an external hard drive, using a Live USB but when I  tried to boot it after finishing the installation with no problems, it showed the GRUB prompt and I'm not sure what I can do now to fix it.
Title: Re: After installing, the GRUB screen shows up
Post by: PCNetSpec on September 24, 2014, 05:17:55 pm
What is being displayed by the "GRUB screen" ?

What is on the internal HDD ? .. ie. was this a dual boot setup with Windows on the internal drive and Peppermint on the external drive ?

Can you also boot to the Peppermint LiveUSB and post the output from running these 2 commands in a terminal:
Code: [Select]
sudo fdisk -l
and
Code: [Select]
sudo blkid
Title: Re: After installing, the GRUB screen shows up
Post by: willowdancer on November 19, 2014, 05:27:19 pm
What is being displayed by the "GRUB screen" ?

What is on the internal HDD ? .. ie. was this a dual boot setup with Windows on the internal drive and Peppermint on the external drive ?

Can you also boot to the Peppermint LiveUSB and post the output from running these 2 commands in a terminal:
Code: [Select]
sudo fdisk -l
and
Code: [Select]
sudo blkid


Hey im also having the same problem the internal hard-drive just has peppermint os 5 i installed it from live usb i deleted windows also grub is asking for a bash command the results you asked for


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


Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 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  1465149167   732574583+  ee  GPT
Partition 1 does not start on physical sector boundary.

Disk /dev/sdb: 8166 MB, 8166703104 bytes
256 heads, 63 sectors/track, 989 cylinders, total 15950592 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


/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="EE44-9BB9" TYPE="vfat"
/dev/sda2: UUID="455ebb63-1542-4ad1-9733-39136dbe346d" TYPE="ext2"
/dev/sda3: UUID="6e408e66-4605-4fdb-8878-4914655a1572" TYPE="crypto_LUKS"
/dev/sdb1: UUID="4C3E-AE78" TYPE="vfat
Title: Re: After installing, the GRUB screen shows up
Post by: PCNetSpec on November 19, 2014, 05:57:35 pm
@willowdancer

This is still an active topic (not marked as solved /closed / abandoned) so please start your own topic.

If I reply to you on this topic and my reply is different from what I'd say to the OP it would become rather confusing.
Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 18, 2015, 01:25:27 pm
Sorry for the REALLY Late reply, i thought i would be notified when i got a reply.

Anyways this is what showed up when i ran sudo fdisk -l :

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


Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
256 heads, 63 sectors/track, 121126 cylinders, total 1953525168 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: 0xd9d7d1a1

   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: 15.5 GB, 15512174592 bytes
32 heads, 63 sectors/track, 15028 cylinders, total 30297216 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: 0x7bae5e37

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *          63    30296447    15148192+   c  W95 FAT32 (LBA)

Disk /dev/sdc: 1000.2 GB, 1000170586112 bytes
255 heads, 63 sectors/track, 121597 cylinders, total 1953458176 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: 0x50c5766c

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1            2048     2000895      999424   82  Linux swap / Solaris
/dev/sdc2         2000896  1953454079   975726592    7  HPFS/NTFS/exFAT

...and when i ran sudo blkid:

/dev/loop0: TYPE="squashfs"
/dev/sda1: LABEL="SYSTEM" UUID="2676-E74C" TYPE="vfat"
/dev/sda2: LABEL="Recovery" UUID="C4BC3E5BBC3E47E6" TYPE="ntfs"
/dev/sda4: LABEL="OS" UUID="66F44183F4415709" TYPE="ntfs"
/dev/sda5: UUID="86DCB554DCB53F6D" TYPE="ntfs"
/dev/sda7: LABEL="Restore" UUID="FC12449412445634" TYPE="ntfs"
/dev/sdb1: LABEL="KINGSTON" UUID="7CDB-709D" TYPE="vfat"
/dev/sdc1: UUID="5e108c4c-f030-4339-8d56-16bb8baa4b72" TYPE="swap"
/dev/sdc2: LABEL="PASSPORT" UUID="049CB5B69CB5A29A" TYPE="ntfs"
Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 18, 2015, 01:26:27 pm
Also, my setup was Windows on my internal, Peppermint on my external
Title: Re: After installing, the GRUB screen shows up
Post by: PCNetSpec on January 18, 2015, 06:34:28 pm
Are you still able to boot Windows ?
Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 18, 2015, 06:36:53 pm
Yes
Title: Re: After installing, the GRUB screen shows up
Post by: PCNetSpec on January 18, 2015, 07:22:12 pm
Hmm....

I take it your external HDD is the one with a partition labelled "PASSPORT" .. so I'm guessing it's a WD Passport 1TB ?

If so, then it doesn't contain a Linux partition, just a swap partition and an NTFS partition

Can you install gdisk:
Code: [Select]
sudo apt-get install gdisk
then post the output from:
Code: [Select]
sudo gdisk -l /dev/sda
Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 18, 2015, 07:32:07 pm
Wait sda or sdc?
Title: Re: After installing, the GRUB screen shows up
Post by: PCNetSpec on January 18, 2015, 07:44:00 pm
sda

I want to see the partition layout on the internal HDD .. but it has a GPT partition table so fdisk can't read it .. gdisk can.

I'm just trying to figure out what happened to the Peppermint installation as it appears to be missing  :-\
Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 18, 2015, 08:02:37 pm
GPT fdisk (gdisk) version 0.8.8

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 1953525168 sectors, 931.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 119F1DC3-0358-4274-A1EA-7C251A4003DF
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 2048-sector boundaries
Total free space is 3437 sectors (1.7 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048          206847   100.0 MiB   EF00  EFI system partition
   2          206848         2050047   900.0 MiB   2700  Basic data partition
   3         2050048         2312191   128.0 MiB   0C01  Microsoft reserved part
   4         2312192       782796799   372.2 GiB   0700  Basic data partition
   5       782796800       783718399   450.0 MiB   2700 
   6       783718400      1911560191   537.8 GiB   0700  Basic data partition
   7      1911560192      1953523711   20.0 GiB    2700  Basic data partition
Title: Re: After installing, the GRUB screen shows up
Post by: PCNetSpec on January 18, 2015, 08:25:30 pm
OK, I'm lost as to where Peppermint went  :-\

I take it you selected "Something Else" at the partitioning section of the installer ?

What is the goal here ? .. to resize the NTFS partition on the passport then install Peppermint to it, installing the bootloader to the external drives MBR (so the external HDD is bootable on other PC's and so the Linux bootloader doesn't overwrite the Windows one, breaking Windows) ?

If so, how much room do you want to allocate to Peppermint on the passport ?

is this a laptop or a desktop ? .. are you able to disconnect the internal HDD whilst installing Peppermint (for safety sake) ?
Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 18, 2015, 08:32:55 pm
Yeah I selected, "Something Else" for the partitoning section.

In the partitioning section, what I did was allocate 100 GB for the swap space (because I thought I could put as much as I wanted), and the rest went to hard drive space, and I only chose installing the bootloader on the HDD because I thought that's what I was supposed to do.

And this is a laptop.
Title: Re: After installing, the GRUB screen shows up
Post by: PCNetSpec on January 18, 2015, 08:43:53 pm
How are you able to boot Windows ?

I'm assuming either

a) the bootloader didn't get written to the Windows MBR because it's protected
or
b) you chose to install GRUB to the MBR of the external HDD .. and choose which HDD to boot from with the BIOS or boot device selection screen ?

Can you explain exactly what you have to do to get the flashing GRUB prompt ?

And what you have to do to boot Windows ?
Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 18, 2015, 08:49:49 pm
Yeah, for the past few months, I switched the boot options to Windows being first in the BIOS, so Windows always boots no matter what. And I literally got the flashing GRUB prompt by updating while installing Peppermint, otherwise the installer would crash.
Title: Re: After installing, the GRUB screen shows up
Post by: PCNetSpec on January 18, 2015, 08:54:46 pm
OK, so Windows boots normally if you do nothing after switching on the PC ?

but what do you do after switching on the PC to get to the flashing GRUB promt you mentioned in your first post ?
Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 18, 2015, 08:55:38 pm
I literally try to boot Peppermint.
Title: Re: After installing, the GRUB screen shows up
Post by: PCNetSpec on January 18, 2015, 09:14:32 pm
Yeah but how ?

I'm after an answer like this...

I turn on the PC, and if I do nothing it boots directly into Windows (without going to GRUB), so immediately after starting the PC I hold the F10 key to access the boot device selections screen .. I then select the external hard drive as the boot device, and I'm then presented with the flashing GRUB prompt.

in other words, explain EXACTLY what you need to do to boot

a) Windows
and
b) to gett o the flashing GRUB prompt
Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 18, 2015, 09:21:04 pm
When Peppermint finished installing, it would go directly to Peppermint OS and it would try to boot it, it would fail and show the GRUB prompt, so I had to go into the BIOS, switch the Boot Options so that Windows is always the first option, and would always boot unless I tried to boot the BIOS. So now, Windows boots automatically without me having to do anything.

Now, for me to get to the flashing GRUB prompt, I have to go into BIOS, go to the Boot Override option and select the Peppermint partition.
Title: Re: After installing, the GRUB screen shows up
Post by: PCNetSpec on January 18, 2015, 09:45:05 pm
OK, that makes sense now.....

So it would seem that the GRUB bootloader was installed to the MBR of the external HDD and you were going to use the BIOS to select which OS to boot.

Your problem lies in the fact that you have a GPT partition table on the internal HDD .. so I'm assuming you have
a) Windows 8
and
b) a UEFI BIOS

GRUB cannot easily be installed to an HDD with GPT (which is fine as we dont' want it to)
But also the UEFI BIOS can sometimes make installation and booting from an external HDD difficult.

Have you got access to another desktop PC (preferably not Win8) that you could physically disconnect the internal HDD from ?

If so you could disconnect the internal HDD (for safely), then install Peppermint to the external HDD .. then re-attach the external HDD to the WIn8 PC and choose which OS to boot from the BIOS
Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 18, 2015, 09:47:20 pm
Problem is I don't own a desktop...  :-\
Title: Re: After installing, the GRUB screen shows up
Post by: PCNetSpec on January 18, 2015, 09:51:39 pm
OK, we can try again on the laptop, but it carries a risk to Windows if you do anything wrong .. it'll have t wait till tomorrow though as I'm off to bed, it's nearly 3:00 in the morning here :)

I'll post more tomorrow.
Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 18, 2015, 09:58:34 pm
Alright  :D
Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 19, 2015, 09:33:49 pm
Anything?
Title: Re: After installing, the GRUB screen shows up
Post by: PCNetSpec on January 20, 2015, 06:31:41 am
OK, what's the plan here .. dual boot with Peppermint on the external hard drive with the external hard drive being made bootable via the BIOS ?

Which version of Windows ?

Are you game for reinstalling Windows if necessary ? .. do you have a Windows installation disk ?

If you want Peppermint on the external HDD, is this external HDD ALWAYS attached to your PC



The ONLY way to install Peppermint to the external HDD and not have it break Windows booting when the external HDD is not attached is to make sure GRUB stage one goes on the MBR af the eternal HDD .. but that means whenever you decide you want to change which OS to boot into you'll need to change the boot device in the BIOS.

Putting Peppermint alongside Windows on the internal HDD is going to require the HDD to have an MSDOS style partition, rather than a GPT partition table, so Windows will need reinstalling after changing the partition table.

I take it you have a UEFI BIOS ? .. have you disabled secureboot and enabled "legacy BIOS" support ? .. be aware, making those changes may result in Windows8 becoming unbootable until you change them back or reinstall Windows with the new settings.
Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 20, 2015, 07:58:41 am
What do you mean by legacy BIOS support? Is that CSM? Or are those two different things?
Title: Re: After installing, the GRUB screen shows up
Post by: PCNetSpec on January 20, 2015, 08:06:13 am
Yeah CSM is the same thing (compatibility support module) .. which should be enabled

See here:
https://neosmart.net/wiki/enable-legacy-boot-mode/

So how about my questions ?
Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 20, 2015, 08:17:36 am
So the plan is to dual boot with Peppermint on the external and Windows on the internal, but I could change that if it would fix this much faster.

I'm running the Windows 10 Technical Preview on my laptop so if something messes up I can just boot up the liveUSB and burn the image file on to a disc or something.

The external HDD isn't always attached...is that a bad thing? Will it mess up anything if I don't have it always attached when booting up my laptop?

I don't understand what you mean when you say:

Quote
The ONLY way to install Peppermint to the external HDD and not have it break Windows booting when the external HDD is not attached is to make sure GRUB stage one goes on the MBR af the eternal HDD .. but that means whenever you decide you want to change which OS to boot into you'll need to change the boot device in the BIOS.

Like do you mean that I would have to install the bootloader on to the external HDD when installing Peppermint?

I believe I do have a UEFI BIOS, and Secure Boot is disabled although I haven't enabled CSM yet I think.
Title: Re: After installing, the GRUB screen shows up
Post by: PCNetSpec on January 20, 2015, 08:35:40 am
Enabling CSM will probably make Win10 unbootable .. if it's installed in UEFI mode then it needs to stay in UEFI mode .. if Windows is installed in legacy BIOS mode it needs to stay in legacy BIOS mode.

Peppermint 5 64bit should be able to handle UEFI made without issue, but the GPT partition table means it can't easily be installed next to Windows on the internal HDD.

So..

We'd need to install Peppermint (and the bootloader) to the external HDD.

First step would be to resize a partition on the external HDD leaving unpartitioned space that can be used for the Peppermint install .. do you know how to do this ?
Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 20, 2015, 08:54:21 am
Like when using the partitioning table, like one spot for swap space and the another big chunk for Peppermint? Is that what you mean?
Title: Re: After installing, the GRUB screen shows up
Post by: PCNetSpec on January 20, 2015, 09:18:31 am
What we're looking to do is -

boot to the Peppermint 5 LiveCD/LiveUSB, then use GParted to shrink the NTFS "PASSPORT" partition leaving unpartitioned space after it that we're going to then use to install Peppermint to.

Something like 40GB should suffice .. but the amount of room you want to allocate for Peppermint is up to you and can be anything from 8GB upwards.

Can you figure out how to use Gparted to shrink /dev/sdc2 (the NTFS "PASSPORT partition) leaving unpartitioned space after it ?

Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 20, 2015, 09:26:32 am
It won't let me on the GUI version. How would I go about doing it then?
Title: Re: After installing, the GRUB screen shows up
Post by: PCNetSpec on January 20, 2015, 09:43:04 am
It won't let me on the GUI version. How would I go about doing it then?

explain please ?

[EDIT]

Will it let you boot the Peppermint Live session if you enable CSM ?
Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 20, 2015, 09:50:48 am
https://drive.google.com/open?id=0B70TEN1QRJnKWW82dHFCUjhHUTg&authuser=0 (https://drive.google.com/open?id=0B70TEN1QRJnKWW82dHFCUjhHUTg&authuser=0)

I'm using the Peppermint Live Session now.
Title: Re: After installing, the GRUB screen shows up
Post by: PCNetSpec on January 20, 2015, 10:04:06 am
What's that link about .. it takes me to a google drive account that I'd need to log into
Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 20, 2015, 10:05:29 am
I can boot into the live session, I just can't boot into the actual OS
Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 20, 2015, 10:10:31 am
Well, the link was for a picture but I messed up on the link sharing, so basically what it was supposed to show was that it wouldn't let me shrink it even when I hit enter in the text box.
Title: Re: After installing, the GRUB screen shows up
Post by: PCNetSpec on January 20, 2015, 10:12:07 am
bung the picture up on IMGUR

or tell me what the error message was
Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 20, 2015, 10:12:51 am
It's not an error message, it just won't let me.
Title: Re: After installing, the GRUB screen shows up
Post by: PCNetSpec on January 20, 2015, 11:07:01 am
So how do you know it won't let you if it's not saying anything ?

You *are* clicking the "Apply" button after the changes right ?
Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 20, 2015, 12:45:05 pm
I probably missed that step...
Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 20, 2015, 09:45:16 pm
The resize button won't get enabled
Title: Re: After installing, the GRUB screen shows up
Post by: AndyInMokum on January 21, 2015, 03:35:41 am
Hi silver2049, I can see you are having some issues understanding GParted.  The following is a guide to what you need to do.  Please read it thoroughly before trying to replicate the process on your system.  I hope this helps.

First thing, Have you backed up all of your critical data that is on your NTFS “PASSPORT” partition?  For example, photos, videos, music, important documents etc.  Taking the time to do this could save you a lot of grief if by chance, it all goes horribly wrong

You need to be running a live Peppermint Five session using your Live Media USB Stick/CD/DVD.  Once that has booted up, plug in your external hard drive, if you have not already done this.  Next, navigate to, menu > System Tools > GParted.  When this has opened, look at the top right corner under the close button.  You will see a box with up and down arrows.  Click on this and select your external hard drive from the drop down menu.  You will now be presented with a visual representation of your external hard drive's partition table.  Right click on the partition that is your NTFS "PASSPORT”.  Make sure from the dropdown menu, the partition is unmounted.  It will probably be greyed out - that's good.  You will not be able to edit the partition(s) on your external hard drive if it is mounted.  Select, Resize/Move.  In the new window that opens, grab with your mouse cursor the right end of the partition. You will see a double headed arrow.  Pull it with your left mouse button depressed, so it leaves an empty space behind it.  This is numerically visible in the, Free space following (MiB): field.  This is the space you are going use for your Peppermint installation.  If you wanted to have a partition of 8GB.  You will need 6676MiB in the, Free space following (MiB): field.  To bring it up to 20GB you will need 19073MiB.  To bring it up to 40GB, you will need, 38147MiB.  Rather than fiddling with the slider, you can enter these figures into the Free space following (MiB): field manually.  Once you have established your shrinkage, click on Resize.  Check to see it has resized correctly and close the window.  In the taskbar at the top of the GParted window, click on the, Apply All Operations check/tick.  NOTHING IS PERMANENT UNTIL YOU COMPLETE THIS PART.  You will receive a warning/cautionary message.  You can ignore this because naturally, you have backed up all your critical data, right  ;)!  Click Okay or, whatever it is to proceed with the process.  This could take some time, as GParted is moving a lot of data.  So sit back and let it do its thing.  Its a good time for a coffee.  Once it has completed, exit GParted That's it.  You have shrunk your NTFS “PASSPORT” partition and created an empty partition space for Peppermint Five - good luck  ;)!!
 
Title: Re: After installing, the GRUB screen shows up
Post by: PCNetSpec on January 21, 2015, 03:43:00 am
As Andy says, usually if the "Resize" option is greyed out it means the partition is mounted .. you'll need to right-click the partition (in Gparted) and choose "Unmount" .. the "Resize" option should now be available.

Or try using the Windows "disk management" tool to resize it.
https://tweakhound.com/2013/01/02/how-to-resize-your-windows-8-partition/
it would probably be a good idea to (in Windows) run a disk check on the disk before attempting to resize the partition.

And most certainly heed Andy's "Backup" advice .. any partition manipulation operation carries a risk of disk corruption so backup anything you cannot afford to loose FIRST.
Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 21, 2015, 08:03:11 am
OK I've now shrunk the PASSPORT
Title: Re: After installing, the GRUB screen shows up
Post by: PCNetSpec on January 21, 2015, 11:05:24 am
How much did you shrink it by ?

Did you leave the empty space unpartitioned ?

and what's the output from:
Code: [Select]
free -m
Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 21, 2015, 11:50:23 am
the output from
Code: [Select]
free -m
is:
             total       used       free     shared    buffers     cached
Mem:          7870       1603       6266        125        191        780
-/+ buffers/cache:        631       7238
Swap:            0          0          0

I shrinked it so that the original partition has like 18.63GiB and the unallocated space is 817.49 GiB, and I did leave the empty space unpartitioned.
Title: Re: After installing, the GRUB screen shows up
Post by: PCNetSpec on January 21, 2015, 02:22:31 pm
Jeez .. are you sure you want to allocate all that to Peppermint ?

Be aware that Windows won't be able to read the Peppermint partitions, so that's 817GB of that drive that will no longer be available to Windows  :o

I'd have thought 80GB wold have been a better size, and plenty...
Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 21, 2015, 02:26:04 pm
Yeah I know but since I will be only using it for Peppermint, I might as well allocate as much space as I can
Title: Re: After installing, the GRUB screen shows up
Post by: PCNetSpec on January 21, 2015, 02:39:19 pm
OK, you now need to boot into Peppermint LiveCD/LiveUSB

and when you get to the section that asks where you want to put it, select "Something Else"

At the next screen highlight the drive with the free pace (probably /dev/sdc .. then click the "Add" button (+) .. and create a partition with these characteristics

Type = Primary
Size = all the free space minus 10GB (10000 MB)
Filesystem = EXT4
Mountpoint = /

then create another partition (by clicking the "Add" button again, and this time make the characteristics

Type = Logical
Size = All the rest of the free space (approx 10Gb)
Filesystem = swap

Now at the bottom where it asks where to put the bootloader, choose the root of that drive
eg. if those partitions were created on /dev/sdc .. you need to choose "/dev/sdc" as the place to put the bootloader

NOT /dev/sdc1 or /dev/sdc2, etc .. no number at the end, and DEFINITELY NOT on the Windows drive

If that's not clear ask questions before clicking "Next"

Any questions ?
Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 21, 2015, 02:40:52 pm
Do I download updates while installing?
Title: Re: After installing, the GRUB screen shows up
Post by: PCNetSpec on January 21, 2015, 03:21:10 pm
Only if it has an ACTIVE connection to the interweb via an ethernet cable or wireless.
Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 21, 2015, 04:54:50 pm
It happened again
Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 21, 2015, 04:55:09 pm
I installed it the way you wanted me to, and the GRUB screen shows up
Title: Re: After installing, the GRUB screen shows up
Post by: PCNetSpec on January 21, 2015, 05:09:07 pm
Boot to the LiveCD and post the output from:
Code: [Select]
sudo fdisk -l

and did you choose to boot from the external drive ?
Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 21, 2015, 05:11:59 pm
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
256 heads, 63 sectors/track, 121126 cylinders, total 1953525168 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: 0xd9d7d1a1

   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/sdc: 15.5 GB, 15512174592 bytes
32 heads, 63 sectors/track, 15028 cylinders, total 30297216 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: 0x7bae5e37

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *          63    30296447    15148192+   c  W95 FAT32 (LBA)

Disk /dev/sdd: 1000.2 GB, 1000170586112 bytes
255 heads, 63 sectors/track, 121597 cylinders, total 1953458176 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: 0x50c5766c

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1      1733928958  1953456127   109763585    5  Extended
/dev/sdd2   *        2048    39063551    19530752   83  Linux
/dev/sdd3        39063552  1733926911   847431680   83  Linux
/dev/sdd5      1753458688  1953456127    99998720   82  Linux swap / Solaris
/dev/sdd6      1733928960  1753458687     9764864   82  Linux swap / Solaris

Partition table entries are not in disk order
Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 21, 2015, 05:12:45 pm
I think sdd is the hard drive
Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 21, 2015, 05:13:19 pm
It automatically booted into peppermint after I finished installing
Title: Re: After installing, the GRUB screen shows up
Post by: PCNetSpec on January 21, 2015, 05:17:27 pm
How have you ended up with 2 Linux partitions ?

What happened to the NTFS  partition that you resized on the external HDD ?

And are you saying Windows no longer boots if you choose the internal HDD as the first boot device ?

[EDIT]

You have shut down .. removed the LiveCD/LiveUSB .. then tried booting to the external drive right ?
Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 21, 2015, 05:18:29 pm
I left the original one alone for your question about the 2 Linux partitions, and no unless switch the boot order, or boot from BIOS
Title: Re: After installing, the GRUB screen shows up
Post by: PCNetSpec on January 21, 2015, 05:40:06 pm
Try this....

Open a terminal and run these commands in sequence:
Code: [Select]
sudo mount /dev/sdd5 /mnt
then
Code: [Select]
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
then
Code: [Select]
sudo chroot /mnt
then
Code: [Select]
grub-install --recheck /dev/sdd
then
Code: [Select]
update-grub
now close the terminal and shut down the PC

Now try booting to the external hard drive by selecting it as the first boot device
Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 21, 2015, 11:10:30 pm
I had to shutdown my laptop earlier but when I ran
Code: [Select]
sudo fdisk -l
just to check if anything changed, i noticed sdd changed to sdc so what do I do now?

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


Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
256 heads, 63 sectors/track, 121126 cylinders, total 1953525168 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: 0xd9d7d1a1

   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: 15.5 GB, 15512174592 bytes
32 heads, 63 sectors/track, 15028 cylinders, total 30297216 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: 0x7bae5e37

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *          63    30296447    15148192+   c  W95 FAT32 (LBA)

Disk /dev/sdc: 1000.2 GB, 1000170586112 bytes
255 heads, 63 sectors/track, 121597 cylinders, total 1953458176 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: 0x50c5766c

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1      1733928958  1953456127   109763585    5  Extended
/dev/sdc2   *        2048    39063551    19530752   83  Linux
/dev/sdc3        39063552  1733926911   847431680   83  Linux
/dev/sdc5      1753458688  1953456127    99998720   82  Linux swap / Solaris
/dev/sdc6      1733928960  1753458687     9764864   82  Linux swap / Solaris

Partition table entries are not in disk order
Title: Re: After installing, the GRUB screen shows up
Post by: PCNetSpec on January 22, 2015, 05:05:17 am
Open a terminal and run these commands in sequence:
Code: [Select]
sudo mount /dev/sdc5 /mnt
then
Code: [Select]
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
then
Code: [Select]
sudo chroot /mnt
then
Code: [Select]
grub-install --recheck /dev/sdc
then
Code: [Select]
update-grub
now close the terminal and shut down the PC

Now try booting to the external hard drive by selecting it as the first boot device
Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 22, 2015, 08:11:26 am
Code: [Select]
sudo mount /dev/sdc5 /mnt
/dev/sdc5 looks like swapspace - not mounted
mount: you must specify the filesystem type
peppermint@peppermint ~ $ for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
mount: mount point /mnt/dev does not exist
mount: mount point /mnt/dev/pts does not exist
mount: mount point /mnt/proc does not exist
mount: mount point /mnt/sys does not exist
mount: mount point /mnt/run does not exist
peppermint@peppermint ~ $ sudo chroot /mnt
chroot: failed to run command ‘/bin/bash’: No such file or directory
peppermint@peppermint ~ $ grub-install --recheck /dev/sdc
Installing for i386-pc platform.
grub-install: error: cannot open directory `/boot/grub/i386-pc': No such file or directory.
peppermint@peppermint ~ $ update-grub
grub-mkconfig: You must run this as root
peppermint@peppermint ~ $ sudo update-grub
/usr/sbin/grub-probe: error: failed to get canonical path of `/cow'.

Is it supposed to give these outputs?
Title: Re: After installing, the GRUB screen shows up
Post by: PCNetSpec on January 22, 2015, 08:28:41 am
My apologies, I made a mistake

Open a terminal and run these commands in sequence:
Code: [Select]
sudo mount /dev/sdc3 /mnt
then
Code: [Select]
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
then
Code: [Select]
sudo chroot /mnt
then
Code: [Select]
grub-install --recheck /dev/sdc
then
Code: [Select]
update-grub
now close the terminal and shut down the PC

Now try booting to the external hard drive by selecting it as the first boot device
Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 22, 2015, 08:54:27 am
Code: [Select]
peppermint / # grub-install --recheck /dev/sdc
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.

Is this supposed to happen?
Title: Re: After installing, the GRUB screen shows up
Post by: PCNetSpec on January 22, 2015, 09:54:42 am
Have you enabled CSM in the BIOS ?
Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 22, 2015, 01:09:03 pm
When I posted it, no. So I enabled it and it still showed the same error message.

Code: [Select]
peppermint / # grub-install --recheck /dev/sdc
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
Title: Re: After installing, the GRUB screen shows up
Post by: PCNetSpec on January 22, 2015, 01:53:49 pm
Now that the NTFS partition is missing on that external drive, so you've lost anything from indows that was stored on it .. what I'd do if I were you would be

a) delete ALL partitions on the drive

b) install Peppermint again, creating the 2 partitions as before .. and making SURE to install the bootloader to the root of the external HDD (NOT the internal HDD)

but do ALL this with CSM enabled.
Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 22, 2015, 10:22:49 pm
I did it with CSM enabled, I'm still getting all the errors
Title: Re: After installing, the GRUB screen shows up
Post by: PCNetSpec on January 23, 2015, 07:52:25 am
Quote
I'm still getting all the errors

Can you try to  be more descriptive in your responses .. please remember we can't know what you've just done or what the errors are unless you tell us.

What errors ?
and what are you doing when you get the errors ?

The more info you give the better.

What's the make/model of this laptop ?



[EDIT]

OK, I think what's happening here is that Peppermint/GRUB is being installed in EFI mode, but for some reason the EFI partition is being formatted as something other than VFAT (FAT32) .. this explains the 2 "linux" partitions, when you only created one.

So...

We need to create an EFI boot partition before the installation.

First set CSM back to disabled (as that will stop Windows from booting).

Now boot to the LiveCD/LiveUSB .. fire up gparted, and delete ALL partitions on the external HDD .. then as described here:
https://help.ubuntu.com/community/UEFI#Creating_an_EFI_partition
in Gparted create a single partition with these attributes

New size = 200MB
Created as = Primary Partition
File system = FAT32
Label = EFI

Apply that, then once the partition is created, right click on it and select "Manage Flags" and put a tick in the "boot" box.

Close Gparted and fire the installer by clicking on the "Install Peppermint" desktop icon.

As before when you get to the "where to put Peppermint" section choose "Something else" and create 2 partitions in the unparttioned space.
(from here I'm assuming the external HDD is /dev/sdc)

first partition:-

Size = all of the free space except gor 10GB
Type = Primary
Filesystem = EXT4
Mountpoint = /

Second partition

Size = the rest of the free space (approx 10GB)
Type= Logical
Filesystem = Swap

Now at the bottom of the screen make sure the bootloader is placed on
/dev/sdc


Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 23, 2015, 08:22:00 am
First of all, I repartitioned my external HDD with CSM enabled just as you asked, then reinstalled Peppermint the way you wanted me to. Then when I restart the computer the GRUB screen shows up again. So I open a live session and do the commands like you told me:

Quote
sudo mount /dev/sdc3 /mnt
then
Code: [Select]
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
then
Code: [Select]
Code: [Select]
sudo chroot /mnt
then
Code: [Select]
grub-install --recheck /dev/sdc
then
Code: [Select]
update-grub

but then i still get the same error from last time where it says:

Quote
Code: [Select]
peppermint / # grub-install --recheck /dev/sdc
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.

My laptop model is the ASUS X750JA.
http://www.asus.com/Notebooks_Ultrabooks/X750JA/specifications/ (http://www.asus.com/Notebooks_Ultrabooks/X750JA/specifications/)
Is the 1 TB HDD, Super-Multi DVD, no Bluetooth version
Title: Re: After installing, the GRUB screen shows up
Post by: PCNetSpec on January 23, 2015, 09:15:32 am
Can you see the edit to my last posting :)

Be SURE to change CSM back to disable BEFORE installation ;)

Might also be a good idea to have pre-created a "Boot Repair" LiveUSB just in case:
http://sourceforge.net/p/boot-repair-cd/home/Home/

[EDIT]

The only other thing I can think of if that doesn't work is to change the partition table to GPT before doing what's in the edit to my last posting.

I haven't really had that much experience with UEFI and dual boot .. particularly on an external HDD, and not wanting to risk the Windows installation.
Title: Re: After installing, the GRUB screen shows up
Post by: silver2049 on January 23, 2015, 12:38:18 pm
I give up, it still doesn't work, I'm just gonna download another distro
Title: Re: After installing, the GRUB screen shows up
Post by: PCNetSpec on January 23, 2015, 02:04:33 pm
OK, good luck :)