Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 16/12/2021, à 20:29

zogzog78

Resize partition

Hello I have an ubuntu with a dual boot mac os x.
I run out into space on my ubuntu partition and would like to get some from mac os partition.
Running Gparted I get :
Partition             /  Name                                     file system / mounted on / Label                     / Size         / Used        / Unused
- /dev/sda1        / Name : EFI Sustem Partition  fat32 /         /boo/efi            EFI                       / 200 Mio    / 22 Mio     / 178 Mio
- /dev/sda2        / Customer                               hfs+ /                                   Macintosh HD      / 140 Gio    / 103 Gio     / 36 Gio
- /dev/sda3       /                                                hfs+ /                                   Recovery HD       / 620 Mio    / 541 Mio     / 78 Mio
- /dev/sda4       /                                               ext4 /             /                                                  / 77 Go       / 74 Gio       / 3 Gio
- /dev/sda5       /                                               linux-swap                                                       / 15 Gio      / 0  o            /    15 Gio
- Not allocated /                                               not allocated                                                    / 128 Mio    /                  /

My ubuntu is using  /dev/sda4, and I would like to get additional space from my mac os partition : /dev/sda2 or extending the /dev/sda3 after shrinking /dev/sda2
I don't have the boot disk and would like to know if using only Gparted is possible to resize my ubuntu partition while using it ?


Modération : merci d'utiliser les balises code (explications ici).
Et on est sur un forum francophone, donc message à réécrire en français.

Dernière modification par cqfd93 (Le 16/12/2021, à 20:53)

Hors ligne

#2 Le 16/12/2021, à 22:42

geole

Re : Resize partition

zogzog78 a écrit :

Running Gparted I get :

Partition             /  Name                                     file system / mounted on / Label                     / Size         / Used        / Unused
- /dev/sda1        / Name : EFI Sustem Partition  fat32 /         /boo/efi            EFI                       / 200 Mio    / 22 Mio     / 178 Mio
- /dev/sda2        / Customer                               hfs+ /                                   Macintosh HD      / 140 Gio    / 103 Gio     / 36 Gio
- /dev/sda3       /                                                hfs+ /                                   Recovery HD       / 620 Mio    / 541 Mio     / 78 Mio
- /dev/sda4       /                                               ext4 /             /                                                  / 77 Go       / 74 Gio       / 3 Gio
- /dev/sda5       /                                               linux-swap                                                       / 15 Gio      / 0  o            /    15 Gio
- Not allocated /                                               not allocated                                                     / 128 Mio    /                  /

My ubuntu is using  /dev/sda4, and I would like to get additional space from my mac os partition : /dev/sda2 or extending the /dev/sda3 after shrinking /dev/sda2
I don't have the boot disk and would like to know if using only Gparted is possible to resize my ubuntu partition while using it ?

Use gparted in live-usb.  Install missing software.

sudo apt install hfsplus

shrink sda2 about 37 Go
Translate sda3 about 37 Go
And grow sda4 about 37  Go.
See https://doc.ubuntu-fr.org/gparted

Dernière modification par geole (Le 16/12/2021, à 22:50)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne