LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-02-2016, 05:13 PM   #1
GabrielOliveira
LQ Newbie
 
Registered: Aug 2016
Posts: 2

Rep: Reputation: Disabled
Smile HD Partition


Good afternoon people.

I have debian 8 Jessie installed on a HD 500 GB, as shown in the partition:

Quote:
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 937195519 937193472 446,9G 83 Linux
/dev/sda2 937197566 976771071 39573506 18,9G 5 Extended
/dev/sda5 937197568 976771071 39573504 18,9G 82 Linux swap / Solaris

I need to partition the HD / dev / sda1, and create a new one with 100g - 150g for the Windows installation, leaving the rest for Debian. If I need little space as it will be just to use one software.

Can someone help me? The fear of receiving error is great kkk!

Thxx !!
 
Old 08-03-2016, 11:02 AM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,258

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
Boot up gparted live or similar and tell it to shrink sda1, just leave the freed space unallocated.

After you install Windows you'll need a Linux boot disk to be able to get back into Debian so you can reinstall the bootloader, since Windows will hijack it.

And of course, back up your entire disk and everything on it before starting.
 
Old 08-03-2016, 11:04 AM   #3
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
To use just one software use a virtual machine instead.
 
1 members found this post helpful.
Old 08-03-2016, 11:37 AM   #4
GabrielOliveira
LQ Newbie
 
Registered: Aug 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
@suicidaleggroll

thanks bro !

@Emerson

I would like to install in a virtual machine, but the windows will be totally slow!
There is the possibility to optimize the performance of the machine?
 
Old 08-03-2016, 02:23 PM   #5
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
It will not be slow if your hardware supports virtualization.
 
1 members found this post helpful.
Old 08-04-2016, 05:11 AM   #6
mrmazda
Member
 
Registered: Aug 2016
Location: USA
Distribution: several
Posts: 93

Rep: Reputation: Disabled
Quote:
Originally Posted by GabrielOliveira View Post
I need to partition the HD / dev / sda1, and create a new one with 100g - 150g for the Windows installation, leaving the rest for Debian. If I need little space as it will be just to use one software.
Why 100G or more? I upgraded a Win7 installation to Win10 about a week ago. RAM is 4G. Its C: partition is 48G. Freespace on it currently is 67%, only 15.4G has been used by Windows. To run only one app, even 48G seems a rather large waste of space that would otherwise be available natively to Debian.
 
Old 08-04-2016, 08:04 AM   #7
hydrurga
Senior Member
 
Registered: Nov 2008
Distribution: Linux Mint 18 MATE
Posts: 1,209

Rep: Reputation: 341Reputation: 341Reputation: 341Reputation: 341
A Virtual Machine also has the benefits that the software in it can be running at the same time as your host Linux system, and data/files can be readily exchanged between host and guest.

As long as your processor supports virtualization, the only major thing that you have to consider is whether you have enough RAM to support what is effectively 2 systems at once.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
HowTo convert Primary Partition to Logical (ie move it inside the Extended Partition) Tom6 Linux - Software 3 11-29-2010 04:40 PM
tricky backup of Linux system to NTFS partition to increase partition size Pandarsson Linux - General 5 07-09-2008 03:35 PM
Hard Drive Partition Management - Mandriva Double Partition with Swap File partition moshebagelfresser Linux - Hardware 2 05-23-2008 11:46 AM
Total partition size - User partition size is not equals to Free partition size navaneethanj Linux - General 5 06-14-2004 01:55 PM
Newbie Installing Debian3 on m68k w/250M Partition Needs help creating swap partition AppleMac Linux - Newbie 2 11-01-2002 09:45 AM


All times are GMT -5. The time now is 08:11 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration