#Partition disk

1 messages · Page 1 of 1 (latest)

past crag
#

I'm using arch only how can i partition my disk

errant whale
#

parted,fdisk,cfdisk,sfdisk,gdisk,cgdisk,sgdisk

robust coral
#

yeah, there's tonnes of tools

#

gparted is good for most things

past crag
#

will i need to boot into arch iso to do that?? @errant whale @robust coral

errant whale
#

yes or any environment or your own system (as long as it doesnt hinder the rootfs) tbh

past crag
errant whale
past crag
#

after opening cfdisk

errant whale
past crag
#
Disk /dev/nvme0n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: HFM512GDJTNG-8310A
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: D1FDFAA2-B489-4893-8D8B-67157E2D015F

Device           Start        End   Sectors   Size Type
/dev/nvme0n1p1    2048    1048575   1046528   511M EFI System
/dev/nvme0n1p2 1050624 1000214527 999163904 476.4G Linux filesystem
errant whale
#

either from gparted live
or from a live environment that has it
like mint or ubuntu livecds

past crag
#

i dont understand what u mean

errant whale
#

what i mean is to use gparted
since it's gui

download mint iso
flash it into your usb
boot into that usb and open gparted
then resize and partition your disk

past crag
#

coz im gonna install win after that so... it'll be less work

errant whale
past crag
#

@errant whale is it ok to install gparted in arch and use that?

inner wind
#

And even if you install gparted on arch, you need to unmount all partitions

errant whale
inner wind
#

Make a ventoy usvt then copy gparted live to it

#

.aw ventoy

abstract aspenBOT
inner wind
#

.aw partitioning

abstract aspenBOT
inner wind
past crag
#

@inner wind how to resize in gparted cli?

#

@errant whale

#

i booted into gparted live usb

#

in cli mode

#

coz X wasn't working

errant whale
#

gparted has a cli?

#

does it just use parted? or no

past crag
errant whale
#

could you show me what the cli looks like

past crag
#

i ran the command parted it says
GNU Parted 3.5
Using /dev/sda

past crag
#

and i dont have any phone

#

prompt says root@debian:/#

#

parted started

#

so i used the resize command and now the system is not booting up

errant whale
past crag
errant whale
#

im too tired to tell you command by command rn
so id just recommend installing mint iso
and open gparted from there

past crag
#

the system is broken already

errant whale
#

fuck

past crag
#

ig theres no way to resize boot partition

errant whale
#

oh bruh
did you just do that
cus if you do that
youll have to reinstall your bootloader

past crag
#

anyways now i know