Peppermint OS Community Forum

Support => Installation => Topic started by: gargamel on February 19, 2018, 06:34:21 am

Title: Peppermint installation on Linux DELL Latitude 7280
Post by: gargamel on February 19, 2018, 06:34:21 am
Dear Forum,

I love Peppermint and I use it on all my computers, except my new DELL laptop. This is just because I can't install on my laptop.

This is a laptop from work and it has been bought with Linux (Ubuntu 16.04) pre-installed. I would prefer to have Peppermint on it.
I tried to install both Peppermint 8 and the more recent respin. I always run in the same problem.

I create a bootable USB stick from the Peppermint ISO image. I tried both unetbootin and USB image writer. It boots properly on my other computers.

On my Latitude it seems to boot but after about 10% of the "Starting Peppermint" screen I get a black screen and two seconds later I see the Ubuntu 16.04 desktop.
Very frustrating. This happens with "Try Peppermint" and also with "Install Peppermint". Tried both UEFI and Legacy boot.

I have succesfully installed Linux Mint and Archmerge on the same laptop and can boot any other USB with other distros without any problem.

What is it that you PepperMint friends are doing so special in your boot sequence??

I saw a similar problem with a DELL XPS 13 on the forum and there the problem was solved by a "Wipe all internal memory" in the DELL BIOS. I am afraid to do this as this laptop is from my work and they might one day want to really recover the Linux onthere or something. Also I have already done a lot of work under Linux Mint which I don't want to loose.

Thanks in advance for all help!

Code: [Select]
System:    Host: latitude Kernel: 4.13.0-32-generic x86_64 (64 bit)
           Desktop: Xfce 4.12.3 Distro: Linux Mint 18.2 Sonya
Machine:   System: Dell (portable) product: Latitude 7280
           Mobo: Dell model: 0KK5D1 v: A00
           Bios: Dell v: 1.5.8 date: 08/07/2017
CPU:       Dual core Intel Core i7-7600U (-HT-MCP-) cache: 4096 KB
           clock speeds: max: 3900 MHz 1: 2900 MHz 2: 2900 MHz 3: 2900 MHz
           4: 2900 MHz
Graphics:  Card: Intel Device 5916
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1920x1080@60.02hz, 1920x1080@60.00hz
           GLX Renderer: Mesa DRI Intel HD Graphics 620 (Kaby Lake GT2)
           GLX Version: 3.0 Mesa 17.2.8
Audio:     Card-1 Intel Device 9d71 driver: snd_hda_intel
           Card-2 Realtek driver: USB Audio
           Sound: Advanced Linux Sound Architecture v: k4.13.0-32-generic
Network:   Card-1: Intel Ethernet Connection (4) I219-LM driver: e1000e
           IF: enp0s31f6 state: down mac: <filter>
           Card-2: Intel Device 24fd driver: iwlwifi
           IF: wlp2s0 state: down mac: <filter>
Drives:    HDD Total Size: NA (-) ID-1: /dev/nvme0n1 model: N/A size: 256.1GB
Partition: ID-1: / size: 37G used: 18G (51%) fs: ext4 dev: /dev/nvme0n1p3
           ID-2: /home size: 74G used: 32G (46%) fs: ext4 dev: /dev/nvme0n1p5
           ID-3: swap-1 size: 34.12GB used: 0.00GB (0%) fs: swap dev: /dev/nvme0n1p4
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 55.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 201 Uptime: 3:39 Memory: 1517.2/15925.6MB
           Client: Shell (bash) inxi: 2.2.35
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: PCNetSpec on February 19, 2018, 07:12:01 am
Just as a matter of interest, does a Peppermint 7 LiveUSB boot to a Live session ?

I'm wondering if it's anything to do with our later version of Xorg, or something else.



And do you know how to boot the LiveUSB without the "quiet splash" boot parameters, to try get a handle on where it's failing ?
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: gargamel on February 20, 2018, 10:47:34 am
Thanks PCNetSpec.

I also tried to boot with a Peppermint 7 USB stick (made with USB image writer) and the result is exactly the same.

I noticed that the progress bar "Starting Peppermint" goes slowly up to 10% or so and then suddenly completes to 100% before the screen goes blank. After a few seconds I see the Ubuntu desktop :-(

Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: gargamel on February 20, 2018, 01:53:25 pm
Oh yes... Will try quiet splash tomorrow, using 'E' to get options in boot menu.

Edit 180221: Tried it this morning. The messages scroll on the screen very fast! I recorded the process in a video:
https://photos.app.goo.gl/PW3uFCFgPtRAR4N73
So anyone can pause it to see what happens.

Please let me know if there is a smarter way to capture the messages scrolling during the boot process.

Thanks again for helping.
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: PCNetSpec on February 23, 2018, 07:32:12 pm
Just as a matter of interest, if you enter the Dell BIOS and go to

Settings > General > Boot Sequence

then remove the tick from "ubuntu"

Apply and Exit.

Will the Peppermint LiveUSB boot now ?

If it does, DO NOT install Peppermint as it may overwrite the Ubuntu EFI bootloader .. I just want to know if the LiveUSB will boot if you select "Try Peppermint" ?

You can re-enter the BIOS, replace the tick for "ubuntu" .. and you'll be back to where you are now
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: gargamel on February 28, 2018, 01:19:16 am
Hi PCNetSpec,

Thanks for the advice. I tried changing the BIOS settings the way you suggest but it does not change anything :-(
Even when I remove everything except the USB stick from the Boot Sequence, the behavior is exactly the same.

Thanks for helping.
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: PCNetSpec on February 28, 2018, 03:33:48 am
What happens if you set the BIOS to Legacy mode (which will effectively make Ubuntu unbootable and taking UEFI out of the equation)

(click image to enlarge)
(https://i.imgur.com/ful4tqJ.jpg)

then use F12 to access the boot device selection screen and boot the LiveUSB in Legacy mode.

(click image to enlarge)
(https://i.imgur.com/xqQQoFp.jpg)

Again if the LiveUSB boots, do not install Peppermint .. I just want to check if Peppermint boots .. I'm trying to discover if this is a problem with the the system misreading the UEFI boot files, or a problem with Peppermint and your hardware.

Setting your BIOS back to UEFI will make Ubuntu bootable again.
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: gargamel on February 28, 2018, 09:46:54 am
Also tried Legacy boot. Still exactly the same :-(

Very strange as other distros seem to boot fine from USB (tried Manjaro LXDE, ArchMerge, MINT, MX-17).

Thanks for the ever fast answers!
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: PCNetSpec on February 28, 2018, 02:15:37 pm
Still the same .. are you saying it booted Ubuntu, even when the BIOS was set to Legacy ?

From Ubuntu, what's the output from:
Code: [Select]
efibootmgr -v
and
Code: [Select]
sudo fdisk -l
and
Code: [Select]
sudo blkid
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: gargamel on March 01, 2018, 02:28:19 am
Thank you PCNetSpec.

REMARK: When you see "ubuntu" below it actually points to linux MINT which I installed on my laptop (the MINT installer decided that for me. Maybe I should change that as it might be confusing.). The original DELL ubuntu is somewhere on my computer but I don't know where (recovery partition or so?). I never use it but I don't want to wipe everything in case my work one day wants to reset the laptop to original DELL ubuntu.

Answers are inline.

Still the same .. are you saying it booted Ubuntu, even when the BIOS was set to Legacy ?

YES.

From Ubuntu, what's the output from:
Code: [Select]
efibootmgr -v
Output:
Code: [Select]
BootCurrent: 000F
Timeout: 0 seconds
BootOrder: 0000,0009,0007,000A,000B,000C,000D,000E,000F
Boot0000* ubuntu HD(1,GPT,12c94d90-9967-4c5b-893a-1f8ba368a5a5,0x800,0x12c000)/File(\EFI\ubuntu\shimx64.efi)
Boot0001* Diskette Drive BBS(Floppy,Diskette Drive,0x0)..BO
Boot0002* M.2 PCIe SSD BBS(HD,P0: PM961 NVMe SAMSUNG 256GB,0x0)..BO
Boot0003* USB Storage Device BBS(USB,USB Storage Device,0x0)..BO
Boot0004* CD/DVD/CD-RW Drive BBS(CDROM,CD/DVD/CD-RW Drive,0x0)..BO
Boot0005* Onboard NIC BBS(Network,IBA CL Slot 00FE v0109,0x0)..BO
Boot0006* UEFI: PM961 NVMe SAMSUNG 256GB, Partition 1 HD(1,GPT,12c94d90-9967-4c5b-893a-1f8ba368a5a5,0x800,0x12c000)/File(EFI\boot\bootx64.efi)..BO
Boot0007  ArchMerge HD(1,GPT,12c94d90-9967-4c5b-893a-1f8ba368a5a5,0x800,0x12c000)/File(\EFI\ArchMerge\grubx64.efi)
Boot0009  MokSBStateSet HD(1,GPT,12c94d90-9967-4c5b-893a-1f8ba368a5a5,0x800,0x12c000)/File(\EFI\ubuntu\MokSBStateSet.efi)
Boot000A* Diskette Drive BBS(Floppy,Diskette Drive,0x0)..BO
Boot000B* M.2 PCIe SSD BBS(HD,P0: PM961 NVMe SAMSUNG 256GB,0x0)..BO
Boot000C* USB Storage Device BBS(USB, USB FLASH DRIVE PMAP,0x0)..BO
Boot000D* CD/DVD/CD-RW Drive BBS(CDROM,CD/DVD/CD-RW Drive,0x0)..BO
Boot000E* Onboard NIC BBS(Network,IBA CL Slot 00FE v0109,0x0)..BO
Boot000F* UEFI:  USB FLASH DRIVE PMAP, Partition 1 PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/HD(1,MBR,0x16,0x268,0x1280)..BO
and
Code: [Select]
sudo fdisk -l
Output:
Code: [Select]
Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 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 /dev/ram1: 64 MiB, 67108864 bytes, 131072 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 /dev/ram2: 64 MiB, 67108864 bytes, 131072 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 /dev/ram3: 64 MiB, 67108864 bytes, 131072 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 /dev/ram4: 64 MiB, 67108864 bytes, 131072 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 /dev/ram5: 64 MiB, 67108864 bytes, 131072 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 /dev/ram6: 64 MiB, 67108864 bytes, 131072 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 /dev/ram7: 64 MiB, 67108864 bytes, 131072 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 /dev/ram8: 64 MiB, 67108864 bytes, 131072 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 /dev/ram9: 64 MiB, 67108864 bytes, 131072 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 /dev/ram10: 64 MiB, 67108864 bytes, 131072 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 /dev/ram11: 64 MiB, 67108864 bytes, 131072 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 /dev/ram12: 64 MiB, 67108864 bytes, 131072 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 /dev/ram13: 64 MiB, 67108864 bytes, 131072 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 /dev/ram14: 64 MiB, 67108864 bytes, 131072 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 /dev/ram15: 64 MiB, 67108864 bytes, 131072 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 /dev/loop0: 1.4 GiB, 1479708672 bytes, 2890056 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 /dev/nvme0n1: 238.5 GiB, 256060514304 bytes, 500118192 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
Disklabel type: gpt
Disk identifier: 8EC67A03-FA2C-4B8E-B090-05615E94F3BB

Device             Start       End   Sectors  Size Type
/dev/nvme0n1p1      2048   1230847   1228800  600M EFI System
/dev/nvme0n1p2   1230848   7522303   6291456    3G Microsoft basic data
/dev/nvme0n1p3   7522304  85647359  78125056 37.3G Linux filesystem
/dev/nvme0n1p4 433485824 500117503  66631680 31.8G Linux swap
/dev/nvme0n1p5  85647360 241897471 156250112 74.5G Linux filesystem
/dev/nvme0n1p6 241897472 293097471  51200000 24.4G Linux filesystem

Partition table entries are not in disk order.


Disk /dev/sda: 7.5 GiB, 8019509248 bytes, 15663104 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
Disklabel type: dos
Disk identifier: 0x65c75b10

Device     Boot Start     End Sectors  Size Id Type
/dev/sda1  *        0 2383871 2383872  1.1G  0 Empty
/dev/sda2         616    5351    4736  2.3M ef EFI (FAT-12/16/32)
and
Code: [Select]
sudo blkid
Output:
Code: [Select]
/dev/nvme0n1p1: LABEL="ESP" UUID="68F7-A413" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="12c94d90-9967-4c5b-893a-1f8ba368a5a5"
/dev/nvme0n1p2: LABEL="OS" UUID="3827-64A9" TYPE="vfat" PARTLABEL="Basic data partition" PARTUUID="cf074890-14c9-4025-95e7-cf60f9f7746e"
/dev/loop0: TYPE="squashfs"
/dev/nvme0n1: PTUUID="8ec67a03-fa2c-4b8e-b090-05615e94f3bb" PTTYPE="gpt"
/dev/nvme0n1p3: UUID="35b55cf3-52b9-48d5-ab4b-e94d072d8c6a" TYPE="ext4" PARTUUID="1cb9dc53-8f91-4b0f-a505-eaf54b56c474"
/dev/nvme0n1p4: UUID="621e416d-1ba7-4f6e-b28a-92e4991baff2" TYPE="swap" PARTUUID="63fa0ed7-04ab-4d7c-9101-17c2e9a0fc91"
/dev/nvme0n1p5: UUID="9255782f-1d13-4d5a-8975-61bf0649cbd6" TYPE="ext4" PARTUUID="ea4402e3-bd47-4fe5-a70c-d0ab3a24e467"
/dev/nvme0n1p6: UUID="507d1311-efbb-4649-bda9-789735b6e1ae" TYPE="ext4" PARTUUID="ab6ae016-4abd-4444-a466-9f14e0e81cee"
/dev/sda1: UUID="2017-03-21-16-57-06-00" LABEL="Peppermint Seven" TYPE="iso9660" PTUUID="65c75b10" PTTYPE="dos" PARTUUID="65c75b10-01"
/dev/sda2: SEC_TYPE="msdos" UUID="B1F5-0A13" TYPE="vfat" PARTUUID="65c75b10-02"
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: gargamel on March 21, 2018, 04:14:21 pm
Dear forum,

any progress on this topic?

I also tried to install the Peppermint 8 respin 2 but with exactly the same problem.

Best regards,

G
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: N on April 14, 2018, 06:27:33 am
I'm having a very similar problem on my new Dell Latitude 3480 that came with an OEM install of Ubuntu 16.04. I've tried all the BIOS settings suggested on this thread, but I run into the same problems every time.

Here's what happens:
When I choose the "try without installing option", I see the Peppermint starting up screen, then enter what seems to be a Ubuntu 16.04 live session, not a Peppermint one. There is no install option any where.

When I choose the install option, see the Ubuntu background and a installation steps window that has the Dell logo on it, with this text:
Quote
This Dell recovery medium can be used to restore the original factory software. It is recommended that you back up all important data before running this.
Underneath, there's an error message:
Quote
Error: This recovery media only functions on Dell and Alienware systems purchased with Ubuntu.
The standard "Back" and "Continue" buttons are greyed out, only the "Quit" button works.

I successfully booted into to a Xubuntu live session on the same computer, and I only had to disable secure boot for it. Didn't need to enable Legacy or anything.

On the other hand, I used the same Peppermint USB stick to enter a live session on another computer, so the bootable USB itself is working just fine.

Like the OP, I'd really appreciate help figuring this out. This is to be my new main computer and I'd really like to install Peppermint on it; it's the OS I've become most comfortable using.
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: PCNetSpec on April 14, 2018, 06:40:07 am
@N

Are you interested in retaining the Dell recovery partition ?

and (whilst booted into Dells Ubuntu), can you post the output from:
Code: [Select]
dpkg -l | grep dell
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: N on April 15, 2018, 06:00:29 am
@N

Are you interested in retaining the Dell recovery partition ?

No, though it would probably be prudent to have a copy on hand, if making one is possible?

and (whilst booted into Dells Ubuntu), can you post the output from:
Code: [Select]
dpkg -l | grep dell

By Dell's Ubuntu, I suppose you mean just booting into the Ubuntu installed on the HDD of this computer. Here's the output when I run this command:
Code: [Select]
ii  dell-e-star-tco                            0.05                                                all          Dell Energy Star + TCO
rc  dell-eula                                  1.06                                                all          Dell End User License Agreement
ii  dell-recovery                              1.48ubuntu2                                         all          Dell Recovery Media Creation Package
rc  dell-recovery-bootloader                   1.48ubuntu2                                         all          Bootloader configuration for Dell's factory process
ii  dell-recovery-casper                       1.48ubuntu2                                         all          Dell Recovery Casper Hooks
ii  dell-super-key                             0.04                                                all          Disables the super key by default.
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: PCNetSpec on April 15, 2018, 08:27:46 am
Someone on Ubuntu said uninstalling the dell-recovery package allowed them to boot an Ubuntu LiveUSB without ending up in recovery mode.

But your best bet would probably be to either simply wipe your HDD completely, or to swap out the HDD for another.

To wipe your HDD completely involved:-

a) disabling UEFI in the BIOS (setting Legacy boot) .. apparently this allows you to boot a LiveUSB, but in legacy mode.

b) booting a LiveUSB

c) Deleting ALL partitions in say GParted (including the recovery and EFI system partitions)

d) Re-enabling UEFI in the BIOS

e) Booting the LiveUSB again

f) Installing.
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: N on April 15, 2018, 08:43:26 am
Could you recommend a way to make a backup of these recovery partitions I'm to delete?
Oops, the dell-recovery package itself gives me an option to do this. I don't know what an EFI partition is, though.

In the meanwhile, let me uninstall the dell-recovery package and try booting the live USB, then report back.
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: PCNetSpec on April 15, 2018, 09:05:12 am
the dell-recovery package itself gives me an option to do this.

That's handy :)

I don't know what an EFI partition is, though.

It will be a small partition formatted as FAT32 .. and likely listed in GParted as "EFI System Partition", and mounted at "/boot/efi"

But at the end of the day if you decide to go that route you'd be deleting ALL partitions (leaving a disk with no partitions), so it doesn't really matter which is which ;)
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: N on April 15, 2018, 01:22:45 pm
the dell-recovery package itself gives me an option to do this.

That's handy :)

I don't know what an EFI partition is, though.

It will be a small partition formatted as FAT32 .. and likely listed in GParted as "EFI System Partition", and mounted at "/boot/efi"

But at the end of the day if you decide to go that route you'd be deleting ALL partitions (leaving a disk with no partitions), so it doesn't really matter which is which ;)

Yes, the recovery tool worked and I now have a recovery iso.

On the other hand, uninstalling the dell-recovery package does not solve the problem. I'm puzzled by that particular error message I get (about the recovery option being only for Dell systems that came with Ubuntu pre-installed). Mine is exactly that, so I shouldn't get the error; makes me think of potential problems if I ever need to use that recovery USB.

I'm also curious about why the problems I described occur with the Peppermint live USB and not a Xubuntu live USB.

If anyone's had a similar experience, please do share. Perhaps it would be prudent for me to hear how it went for you before formatting the entire HDD on a brand new computer!

Thanks in advance.
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: PCNetSpec on April 15, 2018, 01:46:34 pm
Does your BIOS look like this

(click image to enlarge)
(https://i.imgur.com/9qfMFBz.jpg)

If so, what happens if you change from "UEFI to "Legacy" .. Apply, and Exit.

Can you now boot from the LiveUSB ?
(by hitting F12 and choosing the USB stick)

You can always switch back to UEFI .. Apply, and Exit.



If that doesn't allow the Peppermint LiveUSB to boot, I'd probably suggest waiting for Peppermint 9

Which version of Xubuntu worked ?
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: N on April 16, 2018, 12:58:40 am
Yes, this is what my BIOS looks like. I've already tried the Legacy option; with the Peppermint live USB I still end up in an Ubuntu live session or get the same recovery error if I try to install.

Xubuntu 16.04 is the version I tried. I didn't try installing but the live session works correctly.

It'll be a long wait for Peppermint 9! This is my main computer now and I find Ubuntu doesn't match my needs or working style any more, so I want to replace it at the earliest. On my other, older computer that I don't have with me now, I found that after setting up Peppermint the way I wanted, I could just forget about the OS and get on with work. Which is what most non-tech laypeople want from their computers :-)
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: alynur on April 23, 2018, 09:41:00 am
Hi N, are you using the same USB memory to boot or do you have separate memories? I ran into this same problem with a memory stick I was using and ended up using it only for music storage.
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: N on April 25, 2018, 01:13:31 am
Hi N, are you using the same USB memory to boot or do you have separate memories? I ran into this same problem with a memory stick I was using and ended up using it only for music storage.

I'm afraid I don't understand your question. What do you mean by separate memories?
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: PCNetSpec on April 25, 2018, 07:15:02 am
How easy is it to (temporarily) remove the HDD on this model ?

I'm pretty sure you'd have no problem if the Dell recovery partition wasn't confusing the bootloader.

It'd be interesting to see if the LiveUSB boots perfectly with the HDD disconnected ?
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: N on April 25, 2018, 07:54:30 am
How easy is it to (temporarily) remove the HDD on this model ?

I'm pretty sure you'd have no problem if the Dell recovery partition wasn't confusing the bootloader.

It'd be interesting to see if the LiveUSB boots perfectly with the HDD disconnected ?

Hi, removing the HDD is beyond my knowledge/ ability.
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: PCNetSpec on April 25, 2018, 09:31:50 am
Well I don't know what to tell you then my mate .. I'm **fairly** confident that wiping the drive (or deleting the ubuntu EFI boot loader and recovery partition) would do the trick .. BUT ..

There's no way I can advise you to do this because there's no 100% guarantee .. it would need to be your decision.

Your options are

a) Create a full clone of your hard drive to an external device .. then wipe your drive and install Peppermint

b) Risk wiping the drive and installing  Peppermint without first cloning, this will **probably** work, but if not you'll have lost the recovery option.

c) Wait for Peppermint 9 and see if that works

d) Give up and install something else.

I tend not to give irreversible advice that **may** result in a non-working system, without the user being FULLY aware of the risks first.

Theoretically you could back up just the recovery partition, then delete it, and then backup the EFI bootloader(s) then delete it/them .. but again there are risks, so the decision has to be yours.
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: N on April 25, 2018, 10:25:29 am
Well I don't know what to tell you then my mate .. I'm **fairly** confident that wiping the drive (or deleting the ubuntu EFI boot loader and recovery partition) would do the trick .. BUT ..

There's no way I can advise you to do this because there's no 100% guarantee .. it would need to be your decision.

Your options are

a) Create a full clone of your hard drive to an external device .. then wipe your drive and install Peppermint

b) Risk wiping the drive and installing  Peppermint without first cloning, this will **probably** work, but if not you'll have lost the recovery option.

c) Wait for Peppermint 9 and see if that works

d) Give up and install something else.

I tend not to give irreversible advice that **may** result in a non-working system, without the user being FULLY aware of the risks first.

Theoretically you could back up just the recovery partition, then delete it, and then backup the EFI bootloader(s) then delete it/them .. but again there are risks, so the decision has to be yours.

Thanks, I appreciate the detailed and honest advice here.

I've been getting on with work on Ubuntu, and I'll wait for Peppermint 9 or give Xubuntu 18.04 a try in case that works. It seems like the least amount of headache and risk.
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: alynur on April 25, 2018, 10:45:47 am
Hi N, are you using the same USB memory to boot or do you have separate memories? I ran into this same problem with a memory stick I was using and ended up using it only for music storage.

I'm afraid I don't understand your question. What do you mean by separate memories?

Hi N, sorry about the confusion. I am wondering if you are using the same memory stick to boot up the various systems or do you have different memory sticks for each system? I had about three or four different sticks that I would change Systems on as I was checking out different ubuntu flavours. Eventually, one of the sticks just stopped booting even with a system installed in it that had previously worked. Eventually, that stick wouldn't even mount. So that's why I was wondering if the memory stick you are trying to boot with Peppermint works with Ubuntu or whatever else you are using?  I tied using multiboot but many systems either wouldn't boot at all or wouldn't install from the live session. Does that make more sense?
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: PCNetSpec on April 25, 2018, 04:00:43 pm
Well I don't know what to tell you then my mate .. I'm **fairly** confident that wiping the drive (or deleting the ubuntu EFI boot loader and recovery partition) would do the trick .. BUT ..

There's no way I can advise you to do this because there's no 100% guarantee .. it would need to be your decision.

Your options are

a) Create a full clone of your hard drive to an external device .. then wipe your drive and install Peppermint

b) Risk wiping the drive and installing  Peppermint without first cloning, this will **probably** work, but if not you'll have lost the recovery option.

c) Wait for Peppermint 9 and see if that works

d) Give up and install something else.

I tend not to give irreversible advice that **may** result in a non-working system, without the user being FULLY aware of the risks first.

Theoretically you could back up just the recovery partition, then delete it, and then backup the EFI bootloader(s) then delete it/them .. but again there are risks, so the decision has to be yours.

Thanks, I appreciate the detailed and honest advice here.

I've been getting on with work on Ubuntu, and I'll wait for Peppermint 9 or give Xubuntu 18.04 a try in case that works. It seems like the least amount of headache and risk.

Makes perfect sense to me :)
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: N on April 26, 2018, 02:34:36 am
alynur, if I understand your question correctly, here's what I've tried: I've used a couple of different USB sticks, burned using both multibootusb and the default programmes on Ubuntu and Peppermint. In all cases, it's the Peppermint live USB/ install that doesn't work. I tried Xubuntu 16.04 as well, that I was able to boot into the live USB. (Sorry if I've still not got what you meant!)

PCNetSpec, yes, it's the most sensible option for me at the moment. I don't enjoy working on Ubuntu (I do on Peppermint), but as a layperson I'd much rather just ignore the annoying bits for now and do stuff than spend any more hours fiddling with the BIOS and the hardware. Particularly because I don't know what I'm doing and could really break things!

Thanks.
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: gargamel on June 29, 2018, 03:53:46 am
Hello forum!

Any progress on this topic? As reommended I have been waiting for Peppermint  9 but the problem is exactly the same  :-[

Even more frustrating is that all other distros I try (Xubuntu, Arch, Manjaro, Lubuntu, Linux MINT) do work. Pitty Peppermint is my favourite  >:(

Thank again for all help.
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: PCNetSpec on June 29, 2018, 07:12:20 pm
I can't for the life of me think what we'd be doing differently (specially to Lubuntu) :-\

I know we use an earlier version of syslinux, but that part of the Live session boot sequence is over before you get to the Try Peppermint/Install Peppermint screen.

I'll pull apart a Lubuntu ISO and see if I can spot any differences in the UEFI Grub boot stanzas.



Will the LiveUSB boot in Legacy BIOS Mode ?
(if it does, DO NOT install it, I just wanna know if it'll boot into "Try Peppermint" in Lecay BIOS mode)
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: N on August 21, 2018, 10:10:55 am
As reommended I have been waiting for Peppermint  9 but the problem is exactly the same

Ditto. I've just given this a go with a Peppermint 9 LiveUSB (admittedly without getting into all the BIOS settings), and I'm having exactly the same problems as before.
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: N on August 21, 2018, 02:30:11 pm
I got fed up of trying things to make it work, so I "went nuclear", as they say. Formatted the entire HDD and installed Peppermint. Let's hope all goes well.
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: PCNetSpec on August 21, 2018, 03:22:49 pm
Good luck.
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: alynur on August 21, 2018, 06:45:35 pm
Hello forum!

Any progress on this topic? As reommended I have been waiting for Peppermint  9 but the problem is exactly the same  :-[

Even more frustrating is that all other distros I try (Xubuntu, Arch, Manjaro, Lubuntu, Linux MINT) do work. Pitty Peppermint is my favourite  >:(

Thank again for all help.

Hi gargamel. I'm trying to understand a couple of things. Can you boot up into the other Ubuntu distro, the one you want to replace?  If so, can you give us the inxi -Fz outputs of it? When you speak of your work in Mint, are you referring to personal files or do you intend to keep Mint and don't want to lose your setup? This is why I'm asking, if you don't want to get rid of the original Ubuntu or the Mint distro, you'll have to make another partition to install Peppermint in. You can do that using one of the other distros you can boot into a live session. Once that is done, you can install the same distro in the new partition and download the iso of the Peppermint version you want installed. Then you can check out, google, how to boot and install from a downloaded iso file, no usb or dvd required, make the necessary changes in the iso file as the tech suggests and keep on going. I know this doesn't solve the problem of not being able to boot into Peppermint's live session, but this may give you a way of getting Peppermint on your laptop.  :)
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: alynur on August 25, 2018, 09:58:59 am
Hi gargamel, I think that maybe this procedure may be useful to you.

https://askubuntu.com/questions/484434/install-ubuntu-without-cd-and-usb-how (https://askubuntu.com/questions/484434/install-ubuntu-without-cd-and-usb-how)
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: gargamel on August 27, 2018, 05:22:12 am
Thanks for the help alynur.

I posted the
Code: [Select]
inxi -Fz
output in my very first post of this thread. For your information I also include the output when I boot my laptop in xubuntu 18.04.

Make sure you read my next post as I found a workaround to install Peppermint!!

Code: [Select]
xubuntu@xubuntu:~$ inxi -Fz
System:    Host: xubuntu Kernel: 4.15.0-20-generic x86_64 bits: 64
            Desktop: Xfce 4.12.3 Distro: Ubuntu 18.04 LTS
Machine:   Device: laptop System: Dell product: Latitude 7280 serial:
N/A
            Mobo: Dell model: 0KK5D1 v: A00 serial: N/A
            UEFI [Legacy]: Dell v: 1.5.8 date: 08/07/2017
Battery    BAT0: charge: 50.8 Wh 100.0% condition: 50.8/60.0 Wh (85%)
CPU:       Dual core Intel Core i7-7600U (-MT-MCP-) cache: 4096 KB
            clock speeds: max: 3900 MHz 1: 759 MHz 2: 756 MHz 3: 821 MHz
            4: 779 MHz
Graphics:  Card: Intel HD Graphics 620
            Display Server: x11 (X.Org 1.19.6 )
            drivers: modesetting (unloaded: fbdev,vesa)
            Resolution: 1920x1080@60.02hz, 1920x1080@60.00hz
            OpenGL: renderer: Mesa DRI Intel HD Graphics 620 (Kaby Lake
GT2)
            version: 4.5 Mesa 18.0.0-rc5
Audio:     Card-1 Intel Sunrise Point-LP HD Audio driver: snd_hda_intel
            Card-2 Realtek driver: USB Audio
            Sound: Advanced Linux Sound Architecture v:
k4.15.0-20-generic
Network:   Card-1: Intel Ethernet Connection (4) I219-LM driver: e1000e
            IF: enp0s31f6 state: down mac: <filter>
            Card-2: Intel Wireless 8265 / 8275 driver: iwlwifi
            IF: wlp2s0 state: down mac: <filter>
Drives:    HDD Total Size: NA (-)
            ID-1: /dev/nvme0n1 model: PM961_NVMe_SAMSUNG_256GB size:
256.1GB
            ID-2: USB /dev/sda model: DataTraveler_3.0 size: 15.5GB
Partition: ID-1: / size: 7.7G used: 54M (1%) fs: overlay dev: N/A
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 54.0C mobo: N/A
            Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 191 Uptime: 1 min Memory: 485.1/15686.4MB
            Client: Shell (bash) inxi: 2.3.56

Your suggestion on installing ubuntu without CD or USB also looks interesting but seems to to be more for windows users, which I am not (since 1997).

Best regards,

Gargamel
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: gargamel on August 27, 2018, 05:38:41 am
Hi Alynur,


Hi gargamel. I'm trying to understand a couple of things. Can you boot up into the other Ubuntu distro, the one you want to replace?  If so, can you give us the inxi -Fz outputs of it? When you speak of your work in Mint, are you referring to personal files or do you intend to keep Mint and don't want to lose your setup? This is why I'm asking, if you don't want to get rid of the original Ubuntu or the Mint distro, you'll have to make another partition to install Peppermint in. You can do that using one of the other distros you can boot into a live session. Once that is done, you can install the same distro in the new partition and download the iso of the Peppermint version you want installed. Then you can check out, google, how to boot and install from a downloaded iso file, no usb or dvd required, make the necessary changes in the iso file as the tech suggests and keep on going. I know this doesn't solve the problem of not being able to boot into Peppermint's live session, but this may give you a way of getting Peppermint on your laptop.  :)

Here I answer your questions to make clear what I want and what was my problem. In my next post I will show what I did to finally get Peppermint installed on my laptop!!


Title: [SOLVED] Peppermint installation on Linux DELL Latitude 7280
Post by: gargamel on August 27, 2018, 06:10:41 am
Hi everyone!

I am happy to announce that I managed to install Peppermint 9 on my laptop, without formatting the SSD or removing the factory installed Ubuntu.

The problem was that each time I tried to install Peppermint (from a USB stick, made with either unetbootin or USB Image Writer) I would never get into a live session (or installer). First everything looks normal: you get a menu where you can choose "Try Peppermint", "Install", etc. Then you get a Peppermint splash screen with a progress bar and you think everything is booting fine but after maybe 10% of the progress bar the screen goes black and you suddenly find yourself in (the DELL factory installed) Ubuntu live session. Yes, indeed, DELL does not really install Ubuntu for you but rather gives you an install/restore ISO on a 3 GB partition of your SSD. Strange is that many other Linux Distros do not have this behaviour. In the past six months I succesfully installed (or just booted in live session) Linux MINT, Arch Linux, Lubuntu, xubuntu, Manjaro. Also Peppermint 8 has the same behaviour. Recently I noticed that also Linux Lite (versions 4.0 and 3.8 ) have the same problem, which I thought to be a Peppermint only feature.

It seems that when booting Peppermint (and Linux Lite) gets confused with which partition contains /casper and /preseed. So at some point it takes the /casper from the Ubuntu image (which is on /dev/nvme0n1p2 in my DELL laptop) instead of the one on the USB stick (/dev/sda1). Maybe because /dev/nvme0n1p2 comes before /dev/sda1 in some list (or simply in the alphabet)?

The workaround I found was to boot in another Linux (Live session or simply MINT which was installed on my system), mount /dev/nvme0n1p2 and then rename the casper directory. I renamed it to 'was-casper-originally'.

Now the Peppermint boot sequence is not confused any more and takes the right casper from the USB stick. I could boot in a Peppermint live session and install (on my Linux MINT partition) without any problem.

When I tried to reboot, however there was a small problem with GRUB. I will describe that in my next post as I think it is rather related to the installer than to the early boot process from the USB stick.

Thanks to all members who made suggestions and tried to help!! This is a wonderful community and I am very happy to have my Peppermint installed, at last!

All the best and happy Linuxing!

Gargamel
Title: [SOLVED] Peppermint installation on Linux DELL Latitude 7280
Post by: gargamel on August 27, 2018, 06:33:12 am
After installing Peppermint 9 on my DELL Latitude 7280 laptop (see my previous post) it would not boot any more  :-[
GRUB was giving me a minimal BASH-like shell in which I could type commands, but no boot menu.

I am using UEFI boot and GPT on my DELL Latitude laptop. The SSD does not have
an MBR. The Peppermint installer (also Linux Lite 4.0, which I installed later as a test)
somehow gets confused during installation. As I have also Arch Linux installed and as I want to
keep my /home partition I chose for "Something else" in the disk partitioner. I tried all possible
suggestions when the disk partitioner  asks where to write the MBR. In all cases I ended up with a
system that does not boot and gives you a GRUB 2.02 with a minimalistic BASH prompt.

Maybe I should also have renamed the preseed directory on /dev/nvme0n1p2 (see my previous post)??

I tried to reinstall Peppermint, tried to boot from the USB, then mount my partitions, chroot the system and do a
grub-install and update-grub with many different options. Nothing worked.
Sometimes I got the message that EFI could not be embedded in a (vfat) partition.
Other times no error and a message saying the "Entry was added for EFI firmware".

It was however possible to boot into Peppermint by typing the following commands
into the minimal BASH prompt given by GRUB:

Code: [Select]
set prefix=(hd0,gpt3)/boot/grub
normal
/dev/nvme0n1p3 is indeed the root partition of my Peppermint installation.

The problem was that the prefix was always set to (hd0,gpt1) which is the EFI
partition of my SSD.

In the end what I had to do was mount /dev/nvme0n1p1 at /boot/efi (I had to
create the efi directory which was not there. So not created while Peppermint was installing)
and then
Code: [Select]
sudo apt install grub-efi-amd64
It seems that this grub-efi-amd64 package was not installed by
the Peppermint installer. I had to install it myself. In case it was installed I would have done
Code: [Select]
sudo apt install --reinstall grub-efi-amd64
This created a file /boot/efi/EFI/ubuntu/grubx64.efi.
This apparently fixed my booting problem.

Any comments or alternative fixes are welcome!

Gargamel
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: murraymint on August 27, 2018, 08:07:07 am
Great work there gargamel. The EFI shell is not an easy one to wrestle with.  8)
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: TonyBronze on August 27, 2018, 09:08:43 am
Thank you for posting your solution gargamel .  I am sure it will be helpful for others having a similar problem.
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: alynur on August 27, 2018, 09:41:11 am
Fantastic garamel, may I ask you where you found the solution?

edit: I also quit using windoz a few years ago, I don't know anything about windoz, my memory doesn't allow me to remember anything past yesterday.  :)
Title: Re: Peppermint installation on Linux DELL Latitude 7280
Post by: PCNetSpec on August 27, 2018, 01:21:49 pm
Many thanks gargamel .. this additional info may allow me to isolate the problem for the next spin :)
Title: [SOLVED] Peppermint installation on Linux DELL Latitude 7280
Post by: gargamel on August 29, 2018, 03:47:27 am
Hi Alynur,

I did not find this solution anywhere else. That's why I posted as much detail as possible.

I recently experimented with Linux Lite 4.0 and I got intrigued by the fact that Linux Lite also has the live session boot problem on my laptop. Also your reply to my post triggered me to look into the problem again. I had almost given up...

I decided to compare /boot/grub/grub.cfg files from several live distros. I did not find much difference but saw casper and preseed entries in all of them. At some point I thought of renaming the casper and preseed directories of the Ubuntu image on my SSD. It turned out that renaming casper was sufficient.

As for the fix of the EFI, I used https://www.easytechguides.com/error-unknown-filesystem-grub-rescue.html (https://www.easytechguides.com/error-unknown-filesystem-grub-rescue.html) and https://askubuntu.com/questions/597376/where-to-download-grubx64-efi-file#597381 (https://askubuntu.com/questions/597376/where-to-download-grubx64-efi-file#597381), especially
Quote
Sometimes Windows messes up my /boot/efi/ubuntu dir, which contains grupx64.efi file. Do not download those files from the net - it may be virus! Instead, boot to livecd, chroot into your ubuntu installation, make sure that /boot and /boot/efi is mounted, delete all files from /boot/efi/ubuntu/ and run: apt-get install --reinstall grub-efi-amd64 - this should re-generate the grubx64.efi file. Martin Vysny Apr 24 '16 at 12:26

Thanks to everyone for helping!!