LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Resizing a partition
#1
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?

[Image: QSEqUGo.png]

I've tried to resize sda20 on which LL home has lived, until Friday evening.  :Smile

Regards
JohnD
"Show up on time, know your lines, and don't bump into the furniture."
Reply
#2
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/h...partitions

http://gparted.org/display-doc.php?name=...-partition

https://www.howtogeek.com/114503/how-to-...artitions/
Reply
#3
(04-29-2017, 10:38 AM)bitsnpcs link Wrote: Hello,

have you tried using

Menu>All>Disks

to increase the partition size ?

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.

"Show up on time, know your lines, and don't bump into the furniture."
Reply
#4
(04-29-2017, 10:46 AM)JohnD link Wrote: [quote author=bitsnpcs link=topic=4155.msg31597#msg31597 date=1493462331]
Hello,

have you tried using

Menu>All>Disks

to increase the partition size ?

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.
Reply
#5
(04-29-2017, 10:08 AM)JohnD link Wrote: Hello.
How can I check the real sequence of the partitions on linux command line?

Regards
JohnD

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 ?
Reply
#6
(04-29-2017, 11:02 AM)bitsnpcs link Wrote: 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 ?

Three.  Smile
"Show up on time, know your lines, and don't bump into the furniture."
Reply
#7
(04-29-2017, 10:51 AM)bitsnpcs link Wrote: 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.

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. Wink

Update: No success. GParted allows not to use the free hd space at the end of the drive.
"Show up on time, know your lines, and don't bump into the furniture."
Reply
#8
It will be on LL dvd.

Can you post the screenshot of

Code:
fdisk -l
Reply
#9
(04-29-2017, 11:39 AM)bitsnpcs link Wrote: Can you post the screenshot of

Code:
fdisk -l

[Image: 59e7K1y.png]

I've deleted sda20 since my intial posting.
"Show up on time, know your lines, and don't bump into the furniture."
Reply
#10
Is this having windows (re; dos and ntfs) as the first partition ?

Or is this the issue

https://unix.stackexchange.com/questions...-hpfs-ntfs
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)