Choose style:

Author Topic: installing using gparted  (Read 981 times)

0 Members and 1 Guest are viewing this topic.

Offline maxy2

  • Jr. Member
  • **
  • Posts: 45
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 8 and 9
installing using gparted
« on: February 02, 2019, 08:06:37 am »
This may not be in the right section, please advise and I will relocate. I am new to Linux.

I am trying to install PM8 onto my SSD using the 'something else' method. I have PM 8  live on a usb running well. I have a ssd with windows 10 and a Hdd for data. 114 GB and 1 TB respectively.

There are no passwords on the live usb (I assume root has none either and can be accessed by sudo?)

I have not partitioned before so I am trying to get some advice. I have read quite a lot around it and am reasonably confident in partition allocation etc. But I have some basic issues though.

I am trying to use Gparted as provided in PM8. I cannot get GP to work (greyed out menus) and it says I need root privileges.

If I partition using GParted I am concerned that my new partitions will only be root accessible and not myself as user - due to install from Gparted and live ISO? I would like to be able to access partitions and  transer all files from windows and Linux and vice versa without permission problems post partition.

I realise there is a lot in the above but any guidance would be helpful.


Offline pin

  • Trusted User
  • Veteran
  • *****
  • Posts: 1823
  • Karma: 250
    • View Profile
Re: installing using gparted
« Reply #1 on: February 02, 2019, 08:28:00 am »
There's no password on the live system. Launch gparted from the terminal by issuing
Code: [Select]
sudo gparted
The GUI will launch and you will be able to access the menus.
Don't worry the partition once the system is installed will have the correct permissions.

Why are you installing PM8? PM9 has been available for sometime...

To access files from both Peppermint and Windows it would be nice with a data partition as described by Slim here, https://forum.peppermintos.com/index.php/topic,1835.0.html
« Last Edit: February 02, 2019, 08:31:22 am by pin »

Offline zebedeeboss

  • Global Moderator
  • Hero
  • *****
  • Posts: 2995
  • Karma: 560
  • Life first... Peppermint a close 2nd :)
    • View Profile
  • Peppermint version(s): P10 / P9 Respin
Re: installing using gparted
« Reply #2 on: February 02, 2019, 08:28:12 am »
Hi maxy2,

I am not sure why gparted is greyed out.  It is supposed to run from the live usb for just the reason you suggest.

Partitioning is dependent on the machine hardware - please run

Code: [Select]
inxi -Fz

and post the result back here (Please remember to click the "#" icon before pasting, so the output looks correct). Then the more technical members of the Forum will have some more to work on.

Regards Zeb...
Be Kind Whenever Possible...   It is Always Possible - Dalai Lama

Linux User #565092
P10 x64 Desktop - AMD Threadripper 2950X - 64Gb RAM - NVIDIA RTX2080Ti 11Gb - 2 x 27" 4k 3840x2160 - 1 x 34" 5120x2160
P9/10 @ P9 x64 Laptop - i7-7700HQ @ 2.80GHz - 8Gb RAM - Nvidia GTX1050 4Gb - 15.6" HD 1920x1080

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25286
  • Karma: 2793
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: installing using gparted
« Reply #3 on: February 02, 2019, 09:09:52 am »
gparted should be started with the command
Code: [Select]
gparted-pkexec
if it prompts for a password (on a LiveUSB) just leave it blank.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline maxy2

  • Jr. Member
  • **
  • Posts: 45
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 8 and 9
Re: installing using gparted
« Reply #4 on: February 02, 2019, 09:48:39 am »
Thanks for the replies:

Tried PM 8 because I could not get PM 9 to load to my MSI hardware from Live ISO. I had to try various USBs with an old W7 OS to get PM 8 to load

sudo Gparted launches the GUI but the menus are greyed out.

gparted-pkexec produces the same.

I have noticed a small key symbol on the basic data partition (ie the SSD). Maybe that is locking it?

Is it possible to post a screenshot of this on the thread?

« Last Edit: February 04, 2019, 03:36:41 pm by maxy2 »

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25286
  • Karma: 2793
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: installing using gparted
« Reply #5 on: February 02, 2019, 09:57:18 am »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline maxy2

  • Jr. Member
  • **
  • Posts: 45
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 8 and 9
Re: installing using gparted
« Reply #6 on: February 02, 2019, 05:07:51 pm »
Thanks for how to post images.

I have worked out the problem with Gparted. Greyed out menus were due to target disks being mounted. When unmounted the targets can be adjusted.

How I want to partition looks fairly straight forward after having a little play with Gparted. I will backup w10 before actual partitioning I understand W10 sometimes does not like its partition being shrunk.

I am grateful for the tutorial on creating a data partition. I am thinking of a partition plan thus: / root partition on SSD. A swap partition on HDD and a home partition also there to hold my personal files and data.

I am a bit confused therefore about the difference between a data and home partition as they seem to fulfil the same purpose.
Also not sure about mount points and how this affects PM8 and Windows being able to interchange files and folders without problems.

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25286
  • Karma: 2793
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: installing using gparted
« Reply #7 on: February 02, 2019, 05:48:23 pm »
If I were you, I'd use Windows to shrink its own partition.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline scifidude79

  • Global Moderator
  • Hero
  • *****
  • Posts: 4029
  • Karma: 863
    • View Profile
  • Peppermint version(s): Peppermint 9
Re: installing using gparted
« Reply #8 on: February 02, 2019, 05:54:53 pm »
If I were you, I'd use Windows to shrink its own partition.

I 100% concur with this. Windows should be able to shrink its partition without messing up any of its files. You can't be sure that will happen using Linux to shrink it.

Offline maxy2

  • Jr. Member
  • **
  • Posts: 45
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 8 and 9
Re: installing using gparted
« Reply #9 on: February 02, 2019, 07:22:01 pm »
I will look into windows shrinking the partitions.

I have just discovered my PM8 live ISO with persistence did not preserve my set up when I logged out and logged back in? 

On checking I have a casper -rw item (2.2GB)  located at "/".

This is the correct allocation. Its permission show:

Owner root     r w

Group      read only

access      read only

Is this where the problem lies?  How can I ensure persistence?
« Last Edit: February 02, 2019, 08:40:56 pm by maxy2 »

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25286
  • Karma: 2793
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: installing using gparted
« Reply #10 on: February 03, 2019, 11:52:57 am »
There's no need for third party software to shrink a Windows partition .. the tools are already there in Windows itself
http://dailylinuxuser.com/2015/11/how-to-shrink-windows-10-to-make-space.html

I'm personally always more at ease using Windows for Windows file system operations .. and Linux for Linux file system operations.
« Last Edit: February 03, 2019, 11:55:55 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline alynur

  • Trusted User
  • Member
  • *****
  • Posts: 984
  • Karma: 54
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9R (64bit), P 10
Re: installing using gparted
« Reply #11 on: February 12, 2019, 10:21:02 am »
Hi maxy2, as far as a home or data partition goes, if you create a /home partition it will be relevant only to your current os instillation so you won't be able to upgrade or try other os distributions. A data partition on the other hand, is independent and you can symlink your home "folders" to if from any os, linking windows may be a little different because windows doesn't recognize ext4. Maybe somebody can clear that part of it up for you. I haven't used windows in years so I wouldn't know. I have had many different linux distros installed on my partitions and every time I change one out, I symlink the home folders to my data partition. Of course, if my hard drive goes out, I lose all my stuff so I do have an external backup storage device that has EVERYTHING on it. This also enables me to delete files that I most likely won't be accessing very often from my home folders and keeps my data partition with plenty of room.
What was I thinking?

Offline alynur

  • Trusted User
  • Member
  • *****
  • Posts: 984
  • Karma: 54
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9R (64bit), P 10
Re: installing using gparted
« Reply #12 on: February 12, 2019, 10:22:31 am »
Also, you will have to defrag your windows partition before resizing it.
What was I thinking?