[SOLVED] How to resize an extended logical partition?
Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I want to take 200GB from the /home Extended-Logical Partition, and install Archlinux on it, how do I do that?
Note: In this 200GB Free Extended Space I want to create another 4 Logical Partitions for Archlinux.
1. Backup your valuable data (optional if you have a new backup, which is recommended)
2. Boot from a live-medium that has GParted installed.
3. Start GParted and resize to your needs.
4. Reboot and install Arch.
1. Backup your valuable data (optional if you have a new backup, which is recommended)
2. Boot from a live-medium that has GParted installed.
3. Start GParted and resize to your needs.
4. Reboot and install Arch.
Thanks for the suggestions, downloading Gparted Live cd right now...
@TobiSGD
You said in "Step 1." to "backup your valuable data", does resizing damage the data or cause loss of data in the logical/extended partition?
The /home extended-logical partition that I want to resize contains all the user/app/system info for my account in Fedora.
Fiddling with partitions can always lead to data loss. Also user error or hardware failure. It is therefore recommended to regularly backup your important data, if you don't want to loose it. This is especially true when performing system critical tasks, like resizing partitions or installing new operation systems, but should also be done in normal use.
In short: Having a backup of your data is essential.
The resizing went fine, I created unallocated space "following" the extended partition. BUT:
I just tried to install Archlinux, when it came to selecting the Hard disk to manually partition (/dev/sda), it gave me the following error:
Bad Primary Partition 3: Partition ends in the final cylinder
What am I doing wrong ?
Here's the current partition:
Where it says FREE is the unallocated space that I just created with Gparted Live CD, that space was created "Free Space Following"
I want to install Archlinux in the FREE space (211 GB), I want to create 4 Logical Partitions ("/" "/home" "swap" "/boot") in that free space to be used for Arch...
From gparted, move the right boundary of the extended partition in a bit - say leave a meg after it.
I resized the extended partition (/dev/sda4 <check the screenshot below>) and left 1MB of unallocated space after it but that didn't work.
Arch still gives me the same error.
==============
Here's the output of "fidsk -l"
Code:
[root@host ~]# fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0001bdaf
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 1026047 512000 83 Linux
/dev/sda2 1026048 267266047 133120000 83 Linux
/dev/sda3 267266048 280578047 6656000 82 Linux swap / Solaris
/dev/sda4 280578048 976773119 348097536 5 Extended
/dev/sda5 280580096 565252095 142336000 83 Linux
----- EDIT
Nevermind when I moved the right boundary I used MB instead of Cylinder, after I used Cylinder the Archlinux setup doesn't seem to complain anymore... I'll finish the setup and post back...
Thank you all for the help... Appreciated!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.