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 08-17-2018, 03:48 PM   #1
rlcosta14
LQ Newbie
 
Registered: Aug 2018
Posts: 13

Rep: Reputation: Disabled
Formatting drive in Debian 9.5 Setup


Hi, i'm new in Linux but i'm eager to learn more. I've chosen Debian as my main distro, and i came across a slight problem.

I have an SSD 250GB in which i have Windows installed and a flash drive in which i burned the ISO file using Rufus.
After doing so i've been able to go through all the easy steps of configuration although i don't know how to format my SSD in the 'Partition disks' section.

I've booted into my flash drive.

https://imgur.com/fI1z3EU

Can anyone offer any assistance?
Thanks in advance.

Last edited by rlcosta14; 08-17-2018 at 03:50 PM.
 
Old 08-17-2018, 04:55 PM   #2
jmgibson1981
Senior Member
 
Registered: Jun 2015
Location: Tucson, AZ USA
Distribution: Debian
Posts: 1,141

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
Shrink the 245gb partition to give yourself some free space for linux to work with. Windows disk management is the best way to do this. Maybe give yourself 100gb of free space. Then create partitions with that free space as needed for linux, 15-20gb for root and rest of free for /home or /data
 
Old 08-17-2018, 04:56 PM   #3
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
Quote:
Originally Posted by rlcosta14 View Post
Hi, i'm new in Linux but i'm eager to learn more. I've chosen Debian as my main distro, and i came across a slight problem.

I have an SSD 250GB in which i have Windows installed and a flash drive in which i burned the ISO file using Rufus.
After doing so i've been able to go through all the easy steps of configuration although i don't know how to format my SSD in the 'Partition disks' section.

I've booted into my flash drive.

https://imgur.com/fI1z3EU

Can anyone offer any assistance?
Thanks in advance.
The problem is that you only have just under 3MiB of free space available as far as I can see from your screenshot and therefore, you would need to shrink your Windows partition(s) to make room for Debian. Then you could format your newly created partitions for Debian.
 
Old 08-17-2018, 05:01 PM   #4
rlcosta14
LQ Newbie
 
Registered: Aug 2018
Posts: 13

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jsbjsb001 View Post
you would need to shrink your Windows partition(s) to make room for Debian. Then you could format your newly created partitions for Debian.
So i would boot into windows, shrink it, create a new partition, place Debian into that allocated space and only then would i be able to format windows?

Last edited by rlcosta14; 08-17-2018 at 05:03 PM.
 
Old 08-17-2018, 05:06 PM   #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
Quote:
Originally Posted by rlcosta14 View Post
So i would resize the 248gb partition, give around 100gb for the Debian partition and only then would i be able to format windows from the ssd?
Yes, you could do that, provided that there is enough unused space on that partition - as in: the files on that partition don't take up more than 147/148GiB of space on that same partition.

That's only partition you could resize/shrink anyway by the looks of it.
 
1 members found this post helpful.
Old 08-17-2018, 05:24 PM   #6
rlcosta14
LQ Newbie
 
Registered: Aug 2018
Posts: 13

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jsbjsb001 View Post
Yes, you could do that, provided that there is enough unused space on that partition - as in: the files on that partition don't take up more than 147/148GiB of space on that same partition.
So this is what i have:
https://imgur.com/KH7ngdD

Should i use it as Ext4 and the mouse point as root? I'm not sure how to procede from here because bootable flag doesn't seem to want to turn on...
 
Old 08-17-2018, 05:32 PM   #7
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
Quote:
Originally Posted by rlcosta14 View Post
So this is what i have:
https://imgur.com/KH7ngdD

Should i use it as Ext4 and the mouse point as root? I'm not sure how to procede from here because bootable flag doesn't seem to want to turn on...
ext4 is a safe choice in relation to the filesystem you wish to use for Linux, and it's well supported in Linux.

It's up to you exactly how you partition the drive for Linux now it seems you have resized your Windows partition. Personally, I create a "home" partition, a SWAP partition and the "root" partition (where the OS/Linux itself is installed to). You'll need a SWAP partition if you plan on being able to hibernate your system in Linux.

I let the installer program for my distro of choice (being currently CentOS) worry about making my "root" partition "bootable". Never do it myself manually.

Last edited by jsbjsb001; 08-17-2018 at 05:35 PM. Reason: typo
 
Old 08-17-2018, 05:39 PM   #8
rlcosta14
LQ Newbie
 
Registered: Aug 2018
Posts: 13

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jsbjsb001 View Post
ext4 is a safe choice in relation to the filesystem you wish to use for Linux, and it's well supported in Linux.

It's up to you exactly how you partition the drive for Linux now it seems you have resized your Windows partition. Personally, I create a "home" partition, a SWAP partition and the "root" partition (where the OS/Linux itself is installed to). You'll need a SWAP partition if you plan on being able to hibernate your system in Linux.

I let the installer program for my distro of choice (being currently CentOS) worry about making my "root" partition "bootable". Never do it myself manually.
Let's say i'll divide the partition that i've created into the Home,swap and root partitions. What sizes would each partition require in average?

Since i've created a partition there's no real necessity into doing this manually right? I could just do guided and place everything in one partition?

Last edited by rlcosta14; 08-17-2018 at 05:48 PM.
 
Old 08-17-2018, 05:48 PM   #9
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
Quote:
Originally Posted by rlcosta14 View Post
Let's say i'll divide the partition that i've created into the Home,swap and root partitions. What sizes would each partition require in average?
In relation to the SWAP partition, it depends on how much RAM/memory your machine has. Let's say it has 8GiB of memory, in that case the SWAP partition should be the same amount (8GiB).

In that above example you could then allocate 40GiB to the "root" partition, and the remaining space to your "home" partition. The primary factor in deciding the amount of space for your "root" partition is how much space the Debian install plus whatever else you want to install after OS installation takes up. Make sure you don't make the "root" partition too small, otherwise you'll have problems later on. Up to you.
 
  


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
Formatting and Mounting questions. Trying to setup periodic internal backups. Aunnix Linux - Newbie 8 11-23-2012 04:51 PM
formatting drive with EXT3 for data drive digity Linux - Newbie 2 09-16-2008 07:56 PM
Setup Issue - Formatting Swap partition JJMitchell Slackware - Installation 6 01-22-2006 10:31 PM
slackware setup formatting diskette as 1.68 but its only 1.44 veritas Slackware 3 04-01-2004 04:17 PM
i need help formatting a drive scorpion777 Linux - Newbie 3 08-06-2003 10:36 PM

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

All times are GMT -5. The time now is 07:02 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