LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-13-2020, 08:12 PM   #1
david6421
LQ Newbie
 
Registered: Apr 2020
Posts: 1

Rep: Reputation: Disabled
Want to change partition table and am scared


Hi, I am new here and this is my first post. I am also a Linux newbie so please be patient. I have a dual-boot machine and would like to change my partition table. I messed with it about a year ago and had a heck of a time getting everything working again so I'd like some advice on how to go about doing it. Here is some output from parted:

Number Start End Size Type File system Flags
0.00B 1049kB 1049kB Free Space
1 1049kB 1574MB 1573MB primary ntfs diag (Windows rec. env.)
2 1574MB 106GB 105GB primary ntfs (Windows partition)
106GB 334GB 227GB Free Space
3 334GB 388GB 54.4GB primary ext4 boot (Linux partition)
388GB 389GB 524MB Free Space
4 389GB 400GB 11.5GB primary ntfs hidden (HDD recovery)

I'd like to expand my Linux partition but it is at the end of the disk with only a 1/2 GB of free space after it, plus a hard disk recovery partition that came with my laptop. Also, there is a large amount of free space between sda2 and sda3 that I'd like to make an extended partition but I already have four primary partitions. Please help. Thank you.
 
Old 04-14-2020, 10:30 AM   #2
Steve R.
Member
 
Registered: Jun 2009
Location: Morehead City, NC
Distribution: Mint 20.3
Posts: 521

Rep: Reputation: 98
1. Use "disks", if it is available on your Linux distribution to get a visual idea of how your hard drive is configured and how you want it changed. I have also done a print screen and printed that out as a hard copy before making any changes. To a degree this step is unnecessary as you have already identified "there is a large amount of free space between sda2 and sda3".

2. Run "gparted" from a live CD. With "gparted" you should be able to "extend" sda3 (the Linux partition) into the free space between sda2 and sda3. Before doing anything read a "gparted" tutorial.
 
Old 04-14-2020, 11:04 AM   #3
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
My approach would be to create a backup copy of the Linux partition to an external drive, then use the Windows Disk Administrator tool to delete the Linux partition and create an extended partition. Then you can split the extended partition to accommodate your Linux partition and any further partitions you may want. Once this is complete you can restore the Linux partition from backup and adjust your bootloader as required.
 
Old 04-14-2020, 11:12 AM   #4
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
Want to change partition table and am scared

Me too, what are you trying to do?

I try to use gparted, or cfdisk if I need to. gparted shows a nice gui on the partitioning scheme. partition type , mount point, gives the ability to resize, move, and other useful things.

for windows side and not just a ntfs partition, but the one windows is using for its OS, and restore partitions, I do not tought that one, just the windows OS one and Use its (windows) disk manager software. as stated, it too can be used to create a raw partition then go into linux and have it establish it as a ext2 type or the other types of Linux formats available to it to use.

as far as say a ntfs storage partition to go between windows and Linux on the same laptop/PC it is a case by case on which one I use to manipulate it, though mostly I set it to a size then leave it alone. if is by chance gets corrupted I use windows to fix it.

Last edited by BW-userx; 04-14-2020 at 11:17 AM.
 
Old 04-14-2020, 06:16 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
The simplest answer is as per post #2, just use the gparted livecd to absorb the space. If you really want/need to create an extended partition, you'll have to delete a current partition. I always create a recovery USB from Win10 and delete the recovery partition from the hard disk. You could then slide the Linux partition "down" to abut the Windows partition with gparted - this will consolidate all the free space. Then create the extended and do as you wish.
Your choice.
 
Old 04-14-2020, 08:34 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
Would Windows 10 come as a gpt or only if large drive???
 
Old 04-14-2020, 09:08 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
It was me that mentioned Win10, not the OP - my bad.

My understanding is that new pre-installed Win10 systems are always [U]EFI - which requires gpt. Win7 (BIOS) systems that were upgraded to Win10 can be on MBR (msdos) partitioned disk. I still have one in the house like this.
I also have a system that was bought new and is UEFI, and Win10 is on a non-gpt disk. Search the web and almost everyone says that is impossible, but I have one, large as life.

So, ... it depends ...
 
  


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
What are the differences between the normal symbol table, the dynamic symbol table, and the debugging symbol table? watchintv Linux - Software 5 10-22-2016 08:38 AM
[SOLVED] MySQL run SELECT on a table if column A form table 1 equals column A from table 2 robertjinx Linux - Software 1 01-15-2016 10:48 AM
"No partition table or unknown signature on partition table" 10.1 install madcow007 Slackware 4 02-09-2009 11:04 AM
I want to try Suse but am scared. jesuscakes SUSE / openSUSE 8 06-04-2006 11:11 AM
Slack 10: S-ATA = "No partition table or unknown signature on partition table"? dissolved soul Slackware - Installation 11 08-05-2004 02:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:03 AM.

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