Peppermint OS

Support => New Users => Topic started by: lswarte on January 02, 2015, 02:19:47 pm

Title: How to replace Peppermint 4 by Peppermint 5? [SOLVED]
Post by: lswarte on January 02, 2015, 02:19:47 pm
I am trying to replace PM4 for PM5 on a dual boot laptop. Following the standart installation procedure it suggests to install PM5 next to PM4 and Windows Vista.

I want to remove PM4 and install PM5 instead.

If I use the partition manager and select the PM4 partition as the partition to install PM5 I receive and error "This partition lacks a base file system". (Loosely translated from Dutch ... ;-)

How do I have to replace PM4 by PM5?

Thank you in advance,

Laurens Swarte
the Netherlands
Title: Re: How to replace Peppermint 4 by Peppermint 5?
Post by: iamesperambient on January 02, 2015, 02:23:36 pm
a fresh install via usb or disc would be the best choice thats really the only way to do it as far as i know
Title: Re: How to replace Peppermint 4 by Peppermint 5?
Post by: PCNetSpec on January 02, 2015, 02:31:13 pm
What's the output from:
Code: [Select]
fdisk -l
Title: Re: How to replace Peppermint 4 by Peppermint 5?
Post by: nomko on January 02, 2015, 04:10:55 pm
I am trying to replace PM4 for PM5 on a dual boot laptop. Following the standart installation procedure it suggests to install PM5 next to PM4 and Windows Vista
I want to remove PM4 and install PM5 instead.
How do I have to replace PM4 by PM5?
If there's no reason to have PM4 AND PM5, but you only want PM%, use a live-cd of Gparted and boot with the live-cd of Gparted (http://gparted.org/) to erase the partition containing PM4.
Before doing so, make sure to backup all your important files!!

With a live-cd of PM5 you then can install PM5 on the part of your harddrive.


Ps.: I'm Dutch too, so if it is much easier to have assistance in Dutch mail me.
Title: Re: How to replace Peppermint 4 by Peppermint 5?
Post by: lswarte on January 02, 2015, 11:22:51 pm
The output from
Code: [Select]
fdisk -l is

Code: [Select]
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 koppen, 63 sectoren/spoor, 60801 cilinders, totaal 976773168 sectoren
Eenheid = sectoren van 1 * 512 = 512 bytes
Sectorgrootte (logischl/fysiek): 512 bytes / 512 bytes
in-/uitvoergrootte (minimaal/optimaal): 512 bytes / 512 bytes
Schijf-ID: 0x22cc128e

 Apparaat Opstart   Begin       Einde     Blokken   ID  Systeem
/dev/sda1              63    25173854    12586896   27  Hidden NTFS WinRE
/dev/sda2   *    25174016   571479502   273152743+   7  HPFS/NTFS/exFAT
/dev/sda3       969521152   976771071     3624960   12  Compaq diagnostiek
/dev/sda4       571480062   969521151   199020545    5  uitgebreid
/dev/sda5       571480064   961271807   194895872   83  Linux
/dev/sda6       961273856   969521151     4123648   82  Linux wisselgeheugen

Partitietabel-items liggen niet in schijfvolgorde.

@nomko: I did exactly what you suggested. I intented to remove the PM4 partition, format it and install PM5. Instead I did get the message "Deze partitie kent geen bekend basis bestandssysteem" ("This partition lacks a base file system").

Thank you in advance.

Laurens Swarte
the Netherlands.
Title: Re: How to replace Peppermint 4 by Peppermint 5?
Post by: AndyInMokum on January 03, 2015, 03:04:41 am
Hi Laurens, are you intending to install PM5 to the partition,/dev/sda5?
Title: Re: How to replace Peppermint 4 by Peppermint 5?
Post by: nomko on January 03, 2015, 05:00:48 am
Hi Laurens, are you intending to install PM5 to the partition,/dev/sda5?

I think it should be /dev/sda4....
And not sure what /dev/sda5 contains....
Title: Re: How to replace Peppermint 4 by Peppermint 5?
Post by: PCNetSpec on January 03, 2015, 05:36:38 am
No /dev/sda4 is just an extended partition

OK, here's what you have (and in thiis order on the disk
Primary partition - sda1 - WinRE (recovery)
Primary partition - sda2 - Windows
Etended partition - sda4 - containing both Linux partitions sda5 (/) and sda6 (swap)
Primary partition - sda3 - Compaq Diagnostic partition

Which is why you're getting the message "partitions not in disk order" .. this is not a problem though.

What you need to do is boot to the Peppermint 5 LiveCD/LiveUSB, fire up GParted then delete these partitions IN THIS ORDER

/dev/sda6
/dev/sda5
then lastly delete the extended partition /dev/sda4

If when you attempt to delete sda6 it says the partition is in use, right-click sda6 in GParted and select Swapoff .. then try to delete it again.

once you've deleted those (leaving unpartitioned space) and applied the changes, close GParted and fire up the Peppermint installer from the "Install Peppermint" desktop icon .. the installer should offer to install Peppermint to the free space alongside Windows.

If that didn't make sense .. ask any questions you may have NOW as Windows will become unbootable too when you delete the Linux partitions .. but it should be added back to the GRUB bootloader once Peppermint 5 is installed.

Just be damn sure not to delete the Windows partitions (sda1, sda2, sda3) ;)
Title: Re: How to replace Peppermint 4 by Peppermint 5?
Post by: nomko on January 03, 2015, 11:55:29 am
No /dev/sda4 is just an extended partition
You are correct!

@Laurens:
Try PCNetSpec's solutions first. This sounds the most plausible solution so far.
Title: Re: How to replace Peppermint 4 by Peppermint 5?
Post by: lswarte on January 04, 2015, 12:27:21 pm
Worked like a charm PC NetSpec!  8)

As always, you are the Peppermint Savior!

Thank you very much.

Laurens Swarte
the Netherlands
Title: Re: How to replace Peppermint 4 by Peppermint 5? [SOLVED]
Post by: PCNetSpec on January 04, 2015, 05:17:46 pm
You're most welcome Laurens .. happy I could help :)