LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-28-2018, 08:39 AM   #1
enginestar
Member
 
Registered: May 2018
Posts: 67

Rep: Reputation: Disabled
Installing on a new hard drive - anything extra I need to do?


I've got an SSD hard drive.
I was going to install Linux Mint.

Just wondering... is there anything I 'should' do... like partition the hard drive or something beforehand?

I'm assuming the ISO will have everything I need to just install? But then the whole hard drive is taken up? Or are there disk management tools I can use later to partition and format as much as I like?

Also... 2 things...

1. If I want multiple boot of different Linux... what should I do? How can I add and remove different OS?

2. If I want to wipe and use for Windows, what should I do to format and prepare the hard drive?

Thanks.

Last edited by enginestar; 06-28-2018 at 08:41 AM.
 
Old 06-28-2018, 08:54 AM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Although the installation process allows you to partition the disk as you require, I tend to pre-partition my disk with GParted Live. That encourages me to pre-plan how I am going to allocate space to the various operating systems.

It is entirely up to you how you allocate filesystems, and there are differing views as to how this should be done, but just for info, a basic summary of my multi-distro system would be the following (it's actually more complicated than this because I also have Windows installed, I have a separate /home/data partition shared between distros for Linux-specific work, and my main data partition is encrypted NTFS):

20GiB / (Mint 19)
20GiB /home (Mint 19)
40GiB TimeShift snapshots partition (Mint 19 - I tend to keep a lot of these, hence the size)
20GiB / (another distro)
20GiB /home (another distro)
7GiB swap partition (I have 6GiB RAM)
400GiB data partition (shared between distros - documents, videos, photos, music etc)
 
Old 06-28-2018, 09:17 AM   #3
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
treat it like a hard drive, and do with it whatever you'd do with a hard drive, except defrag it, use trim instead.
 
Old 06-28-2018, 09:37 AM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
The Mint ISO will allow you to partition the entire drive.

There are disk management tools, included with Mint or able to be installed, which will allow you to later partition things differently.

If you want to multiple boot different Linux you can either do something in advance like what hydrurga has recommended, or you can address it when you install that next Linux distribution.

Adding and removing different operating systems is something you can do.

Wiping the drive and using it for Windows is also something you can do.

You can do all of the things which you are asking about.

A concern is that you are asking complex, or advanced, questions without offering what your preferences are. And I'm not sure that some detailed answer as to how to map out your partitions or a recommendation to use a partitioning tool is the correct answer here. Some people can get their selves into more trouble using tools like that, or at least until they have the breadth of experience to know exactly what they want and the confidence to know that they can fix an "oops", or at least recover from it.

Some answers depend upon what you envision yourself doing with this computer, in the future.

Meanwhile, leaving open many possibilities is not always everyone's style. Believe me, I've done that and then promptly never used anything I set aside to use for some future purpose that wasn't fully defined.

Some of us never leave open any possibility of reclaiming or installing Windows again. I myself have enough spare equipment, that I test new distributions on a non-used computer and also rarely use dual boot.

It would help to know your experience level, as well as the concerns which make you ask these numerous questions of varying possibilities.
 
2 members found this post helpful.
Old 06-28-2018, 09:43 AM   #5
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Adding to what others have already said (which for the most part I agree with); you'll need a SWAP partition if you would like to be able to hibernate your system.
 
Old 06-28-2018, 10:17 AM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,519

Rep: Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493
It isn't clear from your post whether you have another OS (windows?) currently installed and if so, which is it? If you have 8/10 it is almost certainly a UEFI install so you would need to install Mint UEFI also or you will have problems switching to boot another OS. Best to use the manual install method if you have and want to retain another OS. In Mint it is called Something Else. And if you do have windows installed, shrink the largest partition with Disk Management to create free space first and don't bother trying to create partitions. The GParted partition manager should be on the Mint install DVD/flash drive.
 
Old 06-28-2018, 01:09 PM   #7
enginestar
Member
 
Registered: May 2018
Posts: 67

Original Poster
Rep: Reputation: Disabled
thanks for the replies guys.

long term: leave dreaded windows and have 1 main version of linux i always use.

i have a lenovo x201 with windows 10 on.
and i have a completely blank, nothing installed ssd hard drive.
the ssd is 120GB - so don't have ample space to do as @hydrurga mentioned.

apart from the main version... i'd like maybe 2 smaller partitions on which i'll install different linux OS.

gpartedlive - this is a linux app and needs to be used from linux?
or should i boot from usb stick and make adjustments before first install of mint?

unsure about the swap drive (which i definitely want and need). assume this will be an option i can configure when installing mint?

thanks.
 
Old 06-28-2018, 03:06 PM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,519

Rep: Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493
Is windows on a different drive than the SSD on which you want to install Mint? If you have windows 10 and keep it, make sure you read something on installing Mint UEFI so you don't have boot compatibility problems.

If you want to install other Linux systems later, select 20-25GB for Mint a few GB for a swap and leave the rest unallocated and you can use it later to install another Linux.

GParted is a partition manager and is on the Mint install medium, just open a terminal and type: sudo gparted when you want to use it. You don't need a separate GParted Live CD, just use the one on Mint if you want to partition in advance prior to the install.
 
1 members found this post helpful.
Old 06-28-2018, 03:29 PM   #9
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,638

Rep: Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697
If, as you say, the drive is currently totally blank then order matters. If you are going to install Windows, you might partition it first. If you do, you need to know what partitions Windows will expect/require and prepare them properly. Always finish Windows BEFORE you install Linux, as Windows will attempt to take over the entire disk. Safely adding Linux as a follow-up step is orders of magnitude easier and safer than adding Windows later! Plan this well from the start.

You must configure the system to support one standard, and only use OS installations compatible with that standard. In other words: if any ONE OS is UEFI then they ALL must be UEFI. If any ONE is classic/BIOS then they must all be. Plan this well from the start.

My personal preference is to run Linux (or for a server: BSD), with my secondary OS instances as virtual machines. YMMV
 
Old 06-28-2018, 04:16 PM   #10
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Member response

Hi,

Even though you have been a LQ member for a month; Welcome to LQ.
Quote:
Originally Posted by enginestar View Post
I've got an SSD hard drive.
I was going to install Linux Mint.

Just wondering... is there anything I 'should' do... like partition the hard drive or something beforehand?

I'm assuming the ISO will have everything I need to just install? But then the whole hard drive is taken up? Or are there disk management tools I can use later to partition and format as much as I like?

Also... 2 things...

1. If I want multiple boot of different Linux... what should I do? How can I add and remove different OS?

2. If I want to wipe and use for Windows, what should I do to format and prepare the hard drive?

Thanks.
These type of queries happen all the time. I suggest that you do a LQ Search using key terms. And you will find loads of answers for this type of query.

As a newbie, you can get yourself into some corners that may be hard to back out of, so be careful.

Quote:
Just a few links to aid you to gaining some understanding;
FYI: I suggest that you look at 'How to Ask Questions the Smart Way' so in the future your queries provide information that will aid us in helping you solve the problem or query.


Please consider reading; https://www.linuxquestions.org/quest...#faq_lqwelcome

Hope this helps.
Have fun & enjoy!
 
1 members found this post helpful.
Old 06-28-2018, 07:57 PM   #11
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
I always choose manual partitioning during installation, and just make the partitions how I want.
 
Old 06-30-2018, 03:05 PM   #12
enginestar
Member
 
Registered: May 2018
Posts: 67

Original Poster
Rep: Reputation: Disabled
thanks for all awesome replies guys.
@onebuck i'm going to read every single link you gave.
but... just to give me a head start...
what's the best way to start if i want to keep windows in partition 1?
say keep 60GB for windows and 40gb for mint (including for hibernating) + 20gb for messing around with another OS.
thanks.
 
Old 06-30-2018, 04:01 PM   #13
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Member response

Hi,

Back-up all you wish to save so you can get back to where you are now. You never know what can happen, back-ups will save you any hassle.

You can use a partition manager to resize the hard drive to allow you to add additional partition(s). Look at 'gparted';
Quote:
From 'man gparted';
NAME
gparted - GNOME Partition Editor for manipulating disk partitions.

SYNOPSIS
gparted [device]...

DESCRIPTION
The gparted application is the GNOME partition editor for creating, reorganizing, and deleting disk partitions.

A disk device can be subdivided into one or more partitions. The gparted application enables you to change the partition organization on a disk device while
preserving the contents of the partition.

With gparted you can accomplish the following tasks:
- Create a partition table on a disk device.
- Enable and disable partition flags such as boot and hidden.
- Perform actions with partitions such as create, delete, resize, move, check, label, copy, and paste.

More documentation can be found in the application help manual, and online at:
http://gparted.org

EXAMPLES
You can run gparted from a command line and specify one or more disk devices.

For example, to start gparted with the devices /dev/sda and /dev/sdc you would use the following command:

gparted /dev/sda /dev/sdc
Most newer Gnu/Linux will have partition managers.
Quote:
From SlackwareŽ-Links
---- Disk Partitioning:
Parted Magic <- is ~30MB LiveCD/US + ' Parted Magic is a Linux LiveCD/USB/PXE with its elemental purpose being to partition hard drives.'
Partition Manager <- Ranish boot manager & HD partition tool + Dual Booting Partition setup Guide (pdf)
Qtparted <- 'QTParted is a Partition Magic clone written in C++ using the Qt toolkit.' + Qtparted Home
Gparted <- Live cd for partitioning. Easy to use gui.
PAUD - Parted And Utilities Disk <- 'PAUD is a disk image that contains system utilities, such as fdisk, mc (midnight commander), parted, ntfsresize, and more. PAUD is ideal for rescue/administration purposes and transferring files from one filesystem to another for windows users.'
G4L <- Ghost for Linux
How To Resize ext3 Partitions <- Without Losing Data
Ranish <- 'Ranish Partition Manager is a powerful hard disk partitioning tool. It gives users high level of control for running multiple operating systems, such as Linux, Windows 98/XP, FreeDOS, and FreeBSD on a single disk.'
-- Cloning:
List of disk cloning software <- 'This list of software works with Windows, Mac, and Linux (or can be used from a Live CD)
Clonezilla Live <- 'Clonezilla Live is a small bootable GNU/Linux distribution for x86/amd64 (x86-64) based computers.' + Clonezilla Tutorial
G4L <- Ghost for Linux
PartImage (SystemRescueCd) <- 'Great to have on hand when in a twist'
Computer Cloning with Partition Image <- 'So you want a backup partition' + 'Tutorials' + 'PartImage Wiki'
A LiveCD/DVD can be useful and most modern Gnu/Linux will have the tools to help you when admin a system.

Most install CD/DVD will have the necessary tools to perform the required tasks. I use Slackware and recommend Slackware Live. Look here to get ISO and other helpful information; https://docs.slackware.com/slackware:liveslak?s
Hope this helps.
Have fun & enjoy!
 
Old 07-18-2018, 07:40 PM   #14
enginestar
Member
 
Registered: May 2018
Posts: 67

Original Poster
Rep: Reputation: Disabled
guys i need some help on the replies you have given above.

gparted. i've looked at this. seen one video on youtube.
it isn't obvious to me where to start.
say i have an empty SSD hard drive.
i want windows 10 on first partition and linux mint on another partition. i want to allow hibernation - do i need dedicated partitions?

slackware: this is a version of Linux?
i assume its better than others and i should consider using (for the purposes of parititioning)

i launched manjaro on live usb. it didn't pickup wifi. it was a buggy in other aspects - like mouse scrolling being hit and miss as well as mouse clicking.

linux mint looked ok. wifi working ok. i was planning to go for this.
can i launch linux mint and use a partition manager?
or maybe use gparted?

'manually partitioning': i assume this is using gparted, then installing and choosing one of the ready made partitions?

thanks.

Last edited by enginestar; 07-18-2018 at 07:55 PM.
 
Old 07-18-2018, 07:57 PM   #15
tofino_surfer
Member
 
Registered: Aug 2007
Posts: 483

Rep: Reputation: 153Reputation: 153
Quote:
i want windows 10 on first partition and linux mint on another partition. i want to allow hibernation - do i need dedicated partitions?
Are you talking about hibernating Windows or Linux ? For Linux disk hibernation you should create a separate swap partition equal to memory size.

Quote:
slackware: this is a version of Linux?
i assume its better than others and i should consider using (for the purposes of parititioning)
Slackware is one of the original Linux distributions. It is not for beginners. Stick with Mint. You don't need a whole distribution just to partition a drive.


Quote:
linux mint looked ok. wifi working ok. i was planning to go for this.
can i launch linux mint and use a partition manager?
or maybe use gparted?
Linux Mint Live DVD may have GParted installed. Generally distributions that use GTK widgets use GParted.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I use my extra PC as an external hard drive? punchy71 Linux - Hardware 3 08-26-2012 10:56 AM
Extra Hard drive invisible? Hopeful Red Hat 1 05-19-2005 12:27 PM
mounting extra hard drive Brother Michael Linux - Newbie 1 08-18-2003 06:15 PM
Extra hard drive. New distro? Misteree Linux - General 21 02-20-2003 04:42 PM
extra hard drive finger51 Linux - Newbie 7 09-24-2002 08:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration