![]() |
Resizing a partition - Printable Version +- Linux Lite Forums (https://www.linuxliteos.com/forums) +-- Forum: Hardware - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=6) +--- Forum: Hard Drives and SSDs (https://www.linuxliteos.com/forums/forumdisplay.php?fid=26) +--- Thread: Resizing a partition (/showthread.php?tid=4005) Pages:
1
2
|
Resizing a partition - JohnD - 04-29-2017 Hello. I've given LL a small partition of 2 GB for home, because I use a larger partition for the user files from different linux installations. But the home of LL is running out of space. So I've tried to resize it. I 've copied the hole partition as backup: Code: johnd@central-desktop:~$ sudo dd if=/dev/sda10 of=/media/central_home/Recovery/sda10.img bs=20M & watch --interval=1 "du -h /media/central_home/Recovery/sda10.img" To make the home partition larger with GParted was not possible, I only could shrink it. Therefore I decided to delete it an build it new from scratch. But GParted does not allow to build a new larger partition. I assume, that the sequence of the partition numbers is not the same than the sequence of the real partitions on the drive. How can I check the real sequence of the partitions on linux command line? Ok. I assume only with fdisk and the list of start blocks start and end blocks. Can I reorganize it without problems? Second Problem: If tried to use the free unallocated space at the end of the hard drive, but GParted tells me that I have to create an extended partition first. But (!) there is an extended partition and there are about 19 partitions. What may be the problem? ![]() I've tried to resize sda20 on which LL home has lived, until Friday evening. : ![]() Regards JohnD Re: Resizing a partition - bitsnpcs - 04-29-2017 Hello, have you tried using Menu>All>Disks Update - I have found some gparted tutorials about this for you, in case there is a small step needed - https://askubuntu.com/questions/126153/how-to-resize-partitions http://gparted.org/display-doc.php?name=help-manual&lang=C#gparted-resize-partition https://www.howtogeek.com/114503/how-to-resize-your-ubuntu-partitions/ Re: Resizing a partition - JohnD - 04-29-2017 (04-29-2017, 10:38 AM)bitsnpcs link Wrote: Hello, I'm not sure, I think: no, I have not. I thought, that it would be impossible to resize the parition since it is in use. Therefore I've tried to do it from another linux on the same system. Re: Resizing a partition - bitsnpcs - 04-29-2017 (04-29-2017, 10:46 AM)JohnD link Wrote: [quote author=bitsnpcs link=topic=4155.msg31597#msg31597 date=1493462331] I'm not sure, I think: no, I have not. I thought, that it would be impossible to resize the parition since it is in use. Therefore I've tried to do it from another linux on the same system. [/quote] Hello JohnD, you have to unmount it, it says one way is to use a live cd or usb. I added some tutorial links above that I found on resizing using gparted. Re: Resizing a partition - bitsnpcs - 04-29-2017 (04-29-2017, 10:08 AM)JohnD link Wrote: Hello. Is this the correct command showing the orders you wanted, its shows the tree structure, size labels and mount point ? Code: sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL or this command shows the order of partitions and the start and end numbers of the blocks used - Code: sudo fdisk -l Update - Hello, I have just reread you post, the maximum number of primary partition is 4, it says on the Ubuntu link. Of your, about 19 partitions, how many are primary ? Re: Resizing a partition - JohnD - 04-29-2017 (04-29-2017, 11:02 AM)bitsnpcs link Wrote: Update - Three. ![]() Re: Resizing a partition - JohnD - 04-29-2017 (04-29-2017, 10:51 AM)bitsnpcs link Wrote: Hello JohnD, Ok, I try it again. I looking for the CD/DVD with GParted, I've downloaded and burned on Friday. See you later under GParted. ![]() Update: No success. GParted allows not to use the free hd space at the end of the drive. Re: Resizing a partition - bitsnpcs - 04-29-2017 It will be on LL dvd. Can you post the screenshot of Code: fdisk -l Re: Resizing a partition - JohnD - 04-29-2017 (04-29-2017, 11:39 AM)bitsnpcs link Wrote: Can you post the screenshot of ![]() I've deleted sda20 since my intial posting. Re: Resizing a partition - bitsnpcs - 04-29-2017 Is this having windows (re; dos and ntfs) as the first partition ? Or is this the issue https://unix.stackexchange.com/questions/114485/fdisk-l-shows-ext3-file-system-as-hpfs-ntfs |