LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 06-03-2015, 04:42 AM   #1
koolimy
LQ Newbie
 
Registered: Jun 2015
Posts: 6

Rep: Reputation: Disabled
Question Partition problem after shrinking using Windows disk management


Hello, I am a newbie to Linux who wants to install and dual boot Slackware 14.1 64 bit to my HP Probook 450 G1, which came with Windows 7 installed.

Following online tutorials, I shrank the main Windows partition (It came with 3 partitions: Windows (main), HP Recovery, and HP Tools) to free up 150 GB, which I wanted to use for the Slackware installation. However, after I shrank the partition, it created a new 1 GB NTFS partition called "SYSTEM", which apparently became the boot partition according to cfdisk.

My main problem is, I have tried to use cfdisk to create a new partition for linux, but I cannot create a new partition, as it says the 150GB space is unusable. All the current partitions on my harddrive seem to be primary partitions.

Using cgdisk, it seems that I can create a new partition in the 150GB space, but it gives me a warning message on startup that my harddrive may not be of GPT variety.

Sorry if I have not given you all the information you may need, I would be grateful if you could offer any help with installing Slackware onto this notebook.

Thank you.

p.s. Is there a command for taking screenshots in linux? And also is it possible to put images into posts here? Thanks.
 
Old 06-03-2015, 11:17 PM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
You can use gparted to change the partititon layout.
Does your computer boot into UEFI?
 
Old 06-03-2015, 11:31 PM   #3
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
The problem is that you already have 4 primary partitions.
To take screenshot use Alt+PrintScr then paste to Paint.
 
Old 06-04-2015, 06:47 AM   #4
oldtechaa
Member
 
Registered: May 2015
Location: US
Distribution: Fedora
Posts: 364

Rep: Reputation: 83
Exclamation Do at your own risk!

As EDDY1 said, the problem is that you already have 4 primary partitions, the limit in primary partitions. The next problem is that logical partitions need to be put inside an extended partition, which is a primary partition. But you have to delete one of your partitions to make a new extended partition. For example, if you never use either of the HP partitions you could delete one of them. However, there is no warranty with this info, nor am I reccommending any course of action! Only delete a partition at your own risk!

However, there is one alternative. Download and burn a boot CD for a partition management tool, like GParted boot CD, or Ultimate Boot CD, and if HP tools partition has only files stored on it, nothing bootable, copy it to free space on the Windows partition, under some easily recognizable folder, or to a large USB stick, or some other media. Then boot your Boot CD, open Parted Magic/GParted, and delete the partition you are sure is HP tools!!!! Create a new extended partition, and put a new HP tools logical partition (if you really want it still) and new logical Linux partitions inside the extended. Then you move HP tools back in their proper partition in Windows. Again, no warranty comes with this.

Please let us know before you decide on a course of action.
 
Old 06-04-2015, 04:43 PM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
n I would make a backup image of whichever partition I wanted to remove.
I have backed up my recovery partition before & was able to restore that partition & do a factory restore, by placing the image back on the drive, but that was acer pqservice.
 
Old 06-04-2015, 08:13 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
Try to always use windows to work in windows stuff. Windows 7 is supposed to be able t shrink and expand partitions correctly.

Try to expand it back.

System, isn't that the 100mb reserved area?

If your system is newish and supports a virtual machine, might use it.


If you want you can create a live usb.
 
Old 06-11-2015, 08:57 PM   #7
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Quote:
Originally Posted by koolimy View Post
Hello, I am a newbie to Linux who wants to install and dual boot Slackware 14.1 64 bit to my HP Probook 450 G1, which came with Windows 7 installed.

Following online tutorials, I shrank the main Windows partition (It came with 3 partitions: Windows (main), HP Recovery, and HP Tools) to free up 150 GB, which I wanted to use for the Slackware installation. However, after I shrank the partition, it created a new 1 GB NTFS partition called "SYSTEM", which apparently became the boot partition according to cfdisk.

My main problem is, I have tried to use cfdisk to create a new partition for linux, but I cannot create a new partition, as it says the 150GB space is unusable. All the current partitions on my harddrive seem to be primary partitions.

Using cgdisk, it seems that I can create a new partition in the 150GB space, but it gives me a warning message on startup that my harddrive may not be of GPT variety.

Sorry if I have not given you all the information you may need, I would be grateful if you could offer any help with installing Slackware onto this notebook.

Thank you.

p.s. Is there a command for taking screenshots in linux? And also is it possible to put images into posts here? Thanks.
1. If you haven't created your HP system recovery disk, now would be a good time to do so. DO THIS FIRST or else you won't be able to recover Windows 7 if needed.

2. After you have created the recovery disk set, use Windows Partition Manager to remove the recovery and tools partitions.

3. Install Slackware using a single /(root) partition, and a swap partition. Because you're using MBR and a single root, use Ext4 (faster) or JFS (safer). Use cfdisk to create a single Linux 8300 partition and a Linux swap 8200 partition.
 
Old 06-16-2015, 09:39 PM   #8
koolimy
LQ Newbie
 
Registered: Jun 2015
Posts: 6

Original Poster
Rep: Reputation: Disabled
Sorry for replying so lately, but your help was great. The problem was, as many of you said, of having 4 primary partitions. I solved the problem in a not so elegant way by formatting the windows partition I had and installing a new windows to a new partition. I deleted both the system and the windows partition, which gave me 2 free partitions to play with (I did not touch the HP partitions), so I was able to install windows into a new partition (with the new installation, I did not get the SYSTEM partition). I later created 2 logical partitions (1 for Slackware and 1 for swap), and installed Slackware to the logical partition. Anyways, thanks for all your replies and help! Although it hasn't been easy using Slackware, it has been quite fun!

Last edited by koolimy; 06-16-2015 at 09:45 PM. Reason: I want to include some missing information
 
1 members found this post helpful.
  


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
VG management -- shrinking a VG Ghostwheel Linux - General 1 02-05-2014 08:39 AM
Elementary OS disk and partition management. awakenthedead Linux - Software 7 12-25-2013 03:40 AM
[SOLVED] Shrinking a Windows partition - is it safe? Ormu Linux - General 8 11-29-2011 03:32 PM
Shrinking the disk partition with Logical Volumes on it problem vofka Linux - General 0 06-17-2009 08:43 AM
Shrinking the Windows partition trainee Linux - Software 8 07-06-2005 09:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

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