Resizing usb drive partitions after EasyOS install

Moderator: BarryK

Post Reply
bean
Posts: 70
Joined: Sat Aug 06, 2022 1:11 pm
Has thanked: 8 times
Been thanked: 4 times

Resizing usb drive partitions after EasyOS install

Post by bean »

Hi my EasyOs 5.2 installed to fast Sdcard 64GB card in a USB 3.1 USB adaptor Rufus img/iso installer program creates a 7Mb vFat boot partition and uses the remaining for a 57.9Gb ext 4 partition

can i via Gparted decrease the size of the 57.9Gb partition by say 10Gb and create another NTFS partition with the 10G space. Dont want to lose anything as i have spend many hours getting it all running how i like. After installing 10-20 times testing breaking. etc etc

Ps i edited limine.cfg timeout from 10 to now 2 to see if i could shave off a few seconds, mine boots from pressing select drive in bios to desktop in about 29 secs now so pretty fast

I am enjoying EasyOs so much its unbelievable how well it runs, the occasion glitch when i loose USB function no mouse/pad/keybord, replug mouse into next usb slot exit to commandline xwin brings back mouse working in orig slot, NO keyboard, reboot sorts out tho.

User avatar
BarryK
Posts: 2738
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 135 times
Been thanked: 745 times

Re: EasyOS partitioning usb drive after install

Post by BarryK »

Yes, should be ok resizing the working partition with gparted.

One thing that gparted knows nothing about is the ext4 encrypt flag. After resizing, perhaps run "tune2fs -l /dev/<partition>" and check the encrypt feature still there.

bean
Posts: 70
Joined: Sat Aug 06, 2022 1:11 pm
Has thanked: 8 times
Been thanked: 4 times

Re: Resizing usb drive partitions after EasyOS install

Post by bean »

Thanks Barry,

looks like you cant resize from live running system, not a train smash,

the orig initial install to sd via Rufus 3.21 wont allow any resizing, so not possible there

PS

20 min later Bingo resized from another PC Fossapup success

on rebooting had to enter my password as normal so assume encryption working fine, it booted and running fine

fwiw i ran your command run "tune2fs -l /dev/<partition>"

it came back with
bash: tune2fs -l /dev/<partition>: No such file or directory

for info sake my partitions are now boot sdb1 sdb2 Easy sdb3 new NTFS

all good

regards
Kenneth

User avatar
BarryK
Posts: 2738
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 135 times
Been thanked: 745 times

Re: Resizing usb drive partitions after EasyOS install

Post by BarryK »

bean wrote: Sat Apr 01, 2023 12:14 pm

Thanks Barry,

looks like you cant resize from live running system, not a train smash,

the orig initial install to sd via Rufus 3.21 wont allow any resizing, so not possible there

PS

20 min later Bingo resized from another PC Fossapup success

on rebooting had to enter my password as normal so assume encryption working fine, it booted and running fine

fwiw i ran your command run "tune2fs -l /dev/<partition>"

it came back with
bash: tune2fs -l /dev/<partition>: No such file or directory

for info sake my partitions are now boot sdb1 sdb2 Easy sdb3 new NTFS

all good

regards
Kenneth

"<partition>" means to replace with the actual partition, for example "sdb2"

Yes, if it accepted your password, then all is well, ext4 encrypt still ok.

Post Reply

Return to “EasyOS”