Choose style:

Author Topic: Installing Peppermint 9 on a new SSD (SOLVED)  (Read 764 times)

0 Members and 1 Guest are viewing this topic.

Offline sdgengineer

  • Jr. Member
  • **
  • Posts: 76
  • Karma: 3
  • Forum User
    • View Profile
    • Scott Gardner PE
  • Peppermint version(s): 1, 3, 4, 5, 6, 8, 9
Installing Peppermint 9 on a new SSD (SOLVED)
« on: January 09, 2019, 12:01:20 pm »
Hello all,  This may seem like a stupid question.  I bought a new desktop and installed Win 10 on it....Sorry, I need to keep Win 10.  Put a 256 GB SSD in it with the purpose of installing Peppermint on the SSD.  Now the question:  When I go to install peppermint, and choose "something else", and I select the new SSD drive do I need to partition it first, or will the installation do that for me.  If so I can stumble through Gpartd.  If I need to do that what file system do I use?  ext3 and how big should my Swap file be, I have 8 GB of memory.

I should probably know this, but it doesn't hurt to ask.

Thanks
« Last Edit: January 10, 2019, 04:47:57 pm by sdgengineer »
No Job is impossible for the  person who doesn't have to do it!

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 24787
  • Karma: 2732
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Installing Peppermint 9 on a new SSD
« Reply #1 on: January 09, 2019, 12:19:54 pm »
Is this a UEFI system ?

And was Win10 installed in UEFI mode ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Online VinDSL

  • Global Moderator
  • Hero
  • *****
  • Posts: 5039
  • Karma: 907
  • Peppermint Mod
    • View Profile
  • Peppermint version(s): Developmental Builds
Re: Installing Peppermint 9 on a new SSD
« Reply #2 on: January 09, 2019, 12:36:05 pm »
Now the question:  when I go to install peppermint, and choose "something else", and I select the new SSD drive do I need to partition it first?

On my UEFI machines, I ALWAYS partition new (SSD) drives FIRST using the included GParted tool, on the Peppermint ISO. It's the part that takes the most time, but it's also the most rewarding, in my experience.

Next I install winders. Then, lastly, I install Peppermint using 'Something Else'.

Using the machine I'm typing this on, as an example - here's how I rigged my 256 GB Sammy SSD:





That's just a gross overview of the way I do things.  Others may and will do things differently.

Mark will need to walk you through it the first time. It's takes a while to wrap your mind around the concept.

Have fun  :)

Offline sdgengineer

  • Jr. Member
  • **
  • Posts: 76
  • Karma: 3
  • Forum User
    • View Profile
    • Scott Gardner PE
  • Peppermint version(s): 1, 3, 4, 5, 6, 8, 9
Re: Installing Peppermint 9 on a new SSD
« Reply #3 on: January 09, 2019, 12:38:55 pm »
yes, I am running a persistent image on it right now:  when i go to   scott@peppermint /sys/firmware/efi efi shows up:

Also I did a lshw and I pasted the boot partition result here:

 *-volume:1
                            description: BIOS Boot partition
                            vendor: EFI
                            physical id: 2
                            logical name: /dev/sdc2
                            serial: 388a53b3-7423-4476-9231-d4b2214c9efb
                            capacity: 1023KiB
                            capabilities: nofs
                            configuration: name=primary

 

No Job is impossible for the  person who doesn't have to do it!

Offline sdgengineer

  • Jr. Member
  • **
  • Posts: 76
  • Karma: 3
  • Forum User
    • View Profile
    • Scott Gardner PE
  • Peppermint version(s): 1, 3, 4, 5, 6, 8, 9
Re: Installing Peppermint 9 on a new SSD
« Reply #4 on: January 09, 2019, 12:53:46 pm »
Thanks: 

Based on what I have ( A UEFI system) I should just muddle through Gparted per your example,  I noticed you have a different partition for your home folder.  What is the advantage, does it let you reinstall newer versions of peppermint without erasing your data?

ALso an etiquite question:  should I include the whole string of comments in the reply posts (Like I did in this case)? 
I reeally like this forum, and I like the OS as well.



Now the question:  when I go to install peppermint, and choose "something else", and I select the new SSD drive do I need to partition it first?

On my UEFI machines, I ALWAYS partition new (SSD) drives FIRST using the included GParted tool, on the Peppermint ISO. It's the part that takes the most time, but it's also the most rewarding, in my experience.

Next I install winders. Then, lastly, I install Peppermint using 'Something Else'.

Using the machine I'm typing this on, as an example - here's how I rigged my 256 GB Sammy SSD:





That's just a gross overview of the way I do things.  Others may and will do things differently.

Mark will need to walk you through it the first time. It's takes a while to wrap your mind around the concept.

Have fun  :)
*-volume:1
                            description: BIOS Boot partition
                            vendor: EFI
                            physical id: 2
                            logical name: /dev/sdc2
                            serial: 388a53b3-7423-4476-9231-d4b2214c9efb
                            capacity: 1023KiB
                            capabilities: nofs
                            configuration: name=primary
No Job is impossible for the  person who doesn't have to do it!

Online VinDSL

  • Global Moderator
  • Hero
  • *****
  • Posts: 5039
  • Karma: 907
  • Peppermint Mod
    • View Profile
  • Peppermint version(s): Developmental Builds
Re: Installing Peppermint 9 on a new SSD
« Reply #5 on: January 09, 2019, 01:55:47 pm »
I noticed you have a different partition for your home folder.  What is the advantage, does it let you reinstall newer versions of peppermint without erasing your data?

ALso an etiquite question:  should I include the whole string of comments in the reply posts (Like I did in this case)? 

Question #1 - Yes, you're warm... as a matter of fact, you're hot.  But, it's frowned upon, even if one is familiar with chroot, and so forth. It's best to backup your data and start anew, when upgrading Peppermint to a new version.

Put another way, officially, there is NO upgrade path in Peppermint. If one tries to 'cheat' the system, they're on their own.  ;)

Question #2 - Er... if you're asking me about etiquette, you're talking to the wrong guy  ;D
« Last Edit: January 09, 2019, 05:25:22 pm by VinDSL, Reason: Clarification »

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 24787
  • Karma: 2732
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Installing Peppermint 9 on a new SSD
« Reply #6 on: January 09, 2019, 03:31:02 pm »
Is Windows the ONLY currently installed OS ?

If so, can you boot a Peppermint 9 64bit LiveUSB and post the output from:
Code: [Select]
sudo fdisk -l
and
Code: [Select]
efibootmgr -v
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline sdgengineer

  • Jr. Member
  • **
  • Posts: 76
  • Karma: 3
  • Forum User
    • View Profile
    • Scott Gardner PE
  • Peppermint version(s): 1, 3, 4, 5, 6, 8, 9
Re: Installing Peppermint 9 on a new SSD
« Reply #7 on: January 09, 2019, 11:01:54 pm »
Is Windows the ONLY currently installed OS ?

If so, can you boot a Peppermint 9 64bit LiveUSB and post the output from:
Code: [Select]
sudo fdisk -l
and
Code: [Select]
efibootmgr -v

Yes Win 10 is presently the only OS installed on the computer...Except I am running a a persistent Peppermint 9 on a USB drive on it.  So per your request: 

sudo fdisk-l

Disk /dev/loop0: 1.2 GiB, 1286332416 bytes, 2512368 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/sda: 465.8 GiB, 500107862016 bytes, 976773168 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: 598923FD-8A26-44E4-AB0B-518B350AFDE8

Device       Start       End   Sectors   Size Type
/dev/sda1     2048   1023999   1021952   499M Windows recovery environment
/dev/sda2  1024000   1226751    202752    99M EFI System
/dev/sda3  1226752   1259519     32768    16M Microsoft reserved
/dev/sda4  1259520 976773119 975513600 465.2G Microsoft basic data


Disk /dev/sdb: 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: dos
Disk identifier: 0x80971e36

Device     Boot     Start       End   Sectors  Size Id Type
/dev/sdb1            2048  20006911  20004864  9.6G 82 Linux swap / Solaris
/dev/sdb2        20006912 102408191  82401280 39.3G 83 Linux
/dev/sdb3       102408192 299671551 197263360 94.1G 83 Linux
/dev/sdb4       299671552 500117503 200445952 95.6G  5 Extended




Disk /dev/sdc: 14.6 GiB, 15693664256 bytes, 30651688 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: 7860B72A-9609-49CA-BA7A-0F2291EB5AFE

Device        Start      End  Sectors  Size Type
/dev/sdc1  25442304 30650367  5208064  2.5G Microsoft basic data
/dev/sdc2      2048     4095     2048    1M BIOS boot
/dev/sdc3      4096   503807   499712  244M EFI System
/dev/sdc4    503808  3225599  2721792  1.3G Linux filesystem
/dev/sdc5   3225600 25442303 22216704 10.6G Linux filesystem

Partition table entries are not in disk order.


Disk /dev/zram0: 659.2 MiB, 691200000 bytes, 168750 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/zram1: 659.2 MiB, 691200000 bytes, 168750 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/zram2: 659.2 MiB, 691200000 bytes, 168750 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/zram3: 659.2 MiB, 691200000 bytes, 168750 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/zram4: 659.2 MiB, 691200000 bytes, 168750 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/zram5: 659.2 MiB, 691200000 bytes, 168750 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

I partitioned the new drive sdb into a linux swap,  a pepppermint root, and a peppermint home directory, should I have done that?  I also left about 95 GB unallocated with the idea of putting a different OS on it.

efibootmgr -v
BootCurrent: 0003
Timeout: 1 seconds
BootOrder: 0000,0003,0004,0001,0002
Boot0000* Windows Boot Manager   HD(2,GPT,97901c6c-5943-412d-ae20-972187e7ce00,0xfa000,0x31800)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0001* Hard Drive   BBS(HD,,0x0)..GO..NO........o.S.a.m.s.u.n.g. .S.S.D. .8.6.0. .E.V.O. .5.0.0.G.B....................A...........................>..Gd-.;.A..MQ..L.3.S.1.Z.W.N.K.0.0.A.2.2.1.5. .H. . . . ........BO..NO........o.S.P.C.C. .S.o.l.i.d. .S.t.a.t.e. .D.i.s.k....................A...........................>..Gd-.;.A..MQ..L.A.A.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.5.2.5........BO..NO........k.S.a.n.D.i.s.k. .E.x.t.r.e.m.e. .0.0.0.1....................A.......................>..Gd-.;.A..MQ..L.A.A.0.1.0.6.0.7.1.6.0.0.2.6.0.8.0.2.7.8........BO
Boot0002* CD/DVD Drive   BBS(CDROM,,0x0)..GO..NO........o.A.S.U.S. . . . .D.R.W.-.2.4.B.1.S.T. . . .j....................A...........................>..Gd-.;.A..MQ..L.6.J.0.D.L.C.1.0.6.1.1.5. . . . . . . . ........BO
Boot0003* UEFI: SanDisk Extreme 0001, Partition 3   PciRoot(0x0)/Pci(0x14,0x0)/USB(20,0)/HD(3,GPT,a00c4691-f501-4104-8da2-536192e04253,0x1000,0x7a000)..BO
Boot0004* UEFI: SanDisk Extreme 0001, Partition 4   PciRoot(0x0)/Pci(0x14,0x0)/USB(20,0)/HD(4,GPT,70f27ab7-8650-4f26-89f6-29e1d710eef6,0x7b000,0x298800)/CDROM(1,0x39c,0x4900)..BO



« Last Edit: January 09, 2019, 11:06:20 pm by sdgengineer »
No Job is impossible for the  person who doesn't have to do it!

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 24787
  • Karma: 2732
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Installing Peppermint 9 on a new SSD
« Reply #8 on: January 10, 2019, 07:32:02 am »
Here's what I would have done

a) with the PC shut down, disconnected all drives except the new one.

b) Installed Peppermint on the new one just accepting the defaults (wipe disk and install Peppermint)

c) shut down the PC

d) reattached the other drives, setting the Peppermint drive (may be listed as "ubuntu") as the first boot drive in the UEFI BIOS

e) When Peppermint boots, run:
Code: [Select]
sudo update-grub
which should add Windows to the GRUB menu.

That way you've isolated the windows drive entirely during the Peppermint installation .. it will also still have its own EFI partition, so removing the Peppermint drive will not stop Windows from booting .. but whilst the Peppermint drive is installed GRUB will give you the option which OS to boot.

Just my 2 cents :)



Your current partitioning scheme doesn't have an EFI partition on sdb .. so if you install Peppermint there, you're going to have to add the ubuntu EFI bootloader to the Windows drive .. which is not only a small risk, but will mean Peppermint cannot boot unless the Windows drive is present.

sdb is also currently formatted with a DOS style partition table .. you should change that to GPT for UEFI (EFI requires it).

In my opinion it also pays to leave about 5-10% of an SSD as unpartitioned space (aka. overprovisioning) .. this space will automatically be used to reallocate failing blocks as they wear, and for other wear levelling routines by the SSD's firmware.
(this is a bit of a self-imposed balancing act .. the more you leave unpartitioned the longer the SSD may last, though they generally last longer that HDD's now anyway, but it does feel like wasted space)
« Last Edit: January 10, 2019, 07:55:51 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline sdgengineer

  • Jr. Member
  • **
  • Posts: 76
  • Karma: 3
  • Forum User
    • View Profile
    • Scott Gardner PE
  • Peppermint version(s): 1, 3, 4, 5, 6, 8, 9
Re: Installing Peppermint 9 on a new SSD
« Reply #9 on: January 10, 2019, 12:11:49 pm »
Thanks, I will do what you recommend.  (it is pretty easy)  One question; Do I run Gparted and create the unpartioned space before I install peppermint?  Or do I wait until peppermint is installed and shrink the main partition?

Never mind the question:  I verified I can do it after I install Peppermint.  I will use my USB drive persistent drive to run it.  Thanks

Here's what I would have done

a) with the PC shut down, disconnected all drives except the new one.

b) Installed Peppermint on the new one just accepting the defaults (wipe disk and install Peppermint)

c) shut down the PC

d) reattached the other drives, setting the Peppermint drive (may be listed as "ubuntu") as the first boot drive in the UEFI BIOS

e) When Peppermint boots, run:
Code: [Select]
sudo update-grub
which should add Windows to the GRUB menu.

That way you've isolated the windows drive entirely during the Peppermint installation .. it will also still have its own EFI partition, so removing the Peppermint drive will not stop Windows from booting .. but whilst the Peppermint drive is installed GRUB will give you the option which OS to boot.

Just my 2 cents :)



Your current partitioning scheme doesn't have an EFI partition on sdb .. so if you install Peppermint there, you're going to have to add the ubuntu EFI bootloader to the Windows drive .. which is not only a small risk, but will mean Peppermint cannot boot unless the Windows drive is present.

sdb is also currently formatted with a DOS style partition table .. you should change that to GPT for UEFI (EFI requires it).

In my opinion it also pays to leave about 5-10% of an SSD as unpartitioned space (aka. overprovisioning) .. this space will automatically be used to reallocate failing blocks as they wear, and for other wear levelling routines by the SSD's firmware.
(this is a bit of a self-imposed balancing act .. the more you leave unpartitioned the longer the SSD may last, though they generally last longer that HDD's now anyway, but it does feel like wasted space)
« Last Edit: January 10, 2019, 12:34:18 pm by sdgengineer »
No Job is impossible for the  person who doesn't have to do it!

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 24787
  • Karma: 2732
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Installing Peppermint 9 on a new SSD
« Reply #10 on: January 10, 2019, 12:49:34 pm »
Yeah I've usually done it by shrinking post install ;)
(it's easy with GPT because there's no extended partitions to worry about)

BTW, be sure to set a GPT partition table.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline sdgengineer

  • Jr. Member
  • **
  • Posts: 76
  • Karma: 3
  • Forum User
    • View Profile
    • Scott Gardner PE
  • Peppermint version(s): 1, 3, 4, 5, 6, 8, 9
Re: Installing Peppermint 9 on a new SSD
« Reply #11 on: January 10, 2019, 03:30:31 pm »
I am afraid I am stuck again 

When I try to install it on the now unformatted SSD I get the error "The installer needs to commit changes to partition tables but cannot because partitions on the following mount points could not be unmounted.  /cdrom. Please close any applications using these mount points."  The install then freezes.

Update:  I searched and ran "umount -l- r -f /cdrom from the CL



I have never had this problem before.  Is this an issue with my USB installer?

Also how  how do I set a GPT partition table?
« Last Edit: January 10, 2019, 03:42:12 pm by sdgengineer »
No Job is impossible for the  person who doesn't have to do it!

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 24787
  • Karma: 2732
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Installing Peppermint 9 on a new SSD
« Reply #12 on: January 10, 2019, 03:40:31 pm »
How did you create the LiveUSB ?



Quote
Also how  how do I set a GPT partition table?

You use GParted from the LiveUSB .. select your SSD .. select Device > Create Partition Table > GPT
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline sdgengineer

  • Jr. Member
  • **
  • Posts: 76
  • Karma: 3
  • Forum User
    • View Profile
    • Scott Gardner PE
  • Peppermint version(s): 1, 3, 4, 5, 6, 8, 9
Re: Installing Peppermint 9 on a new SSD, (SOLVED)
« Reply #13 on: January 10, 2019, 03:56:53 pm »
I used a linux persistent USB drive creator called mkusb   I finally got it to work by running sudo umount -l -r -f /cdrom after I selected try out peppermint, and before I installed it..  It successfully installed, and  is updating.  I will them run gparted from the usb and shrink the partition per your recommendation.

Then I will reconnect the Windows and CDROM drives.

Good to go.. GRUB works, I can Boot Windows, as well as Linux, and I have space for another distribution if I want.  Marked SOLVED
« Last Edit: January 10, 2019, 04:55:36 pm by sdgengineer »
No Job is impossible for the  person who doesn't have to do it!