Conversation
Notices
-
Embed this notice
(parted) mkpart primary ext4 0 2000GB
Warning: The resulting partition is not properly aligned for best performance: 34s % 2048s != 0s
Ignore/Cancel? i
(parted) mkpart primary ext4 0B 2000GB
Error: Unable to satisfy all constraints on the partition.
I think parted will always be a mystery to me.
-
Embed this notice
@Zergling_man If it's too hard to do it by hand, just use gparted.
-
Embed this notice
@Zergling_man gparted can ask for the root password just fine and you can just run it as roog.
-
Embed this notice
@Suiseiseki I can't lol, I don't have a... Way for GUI programs to prompt for elevated privileges.
And since gparted is the only thing that I ever want this for, it's easier to use fdisk.
-
Embed this notice
@Zergling_man >wayland breaks everything.
Many such cases.
DISPLAY=:0 gparted as root works fine on Xorg.
-
Embed this notice
@Suiseiseki >gparted can ask for the root password just fine
Incorrect:
yun-wuxin:[wisknort]:~$ gparted
localuser:root being added to access control list
Error executing command as another user: No authentication agent found.
localuser:root being removed from access control list
It defers in some way, and the DE is expected to pick it up from there, and hyprland defers that to the user to sort out, and I never bothered to do so. (I believe I just need to install some package, but see above for why I haven't.)
>you can just run it as roog.
Also incorrect:
yun-wuxin:[wisknort]:~$ sudo gparted
[sudo] password for wisknort:
Authorization required, but no authorization protocol specified
(gpartedbin:21653): Gtk-WARNING **: 22:51:57.774: cannot open display: :0
I don't know how it comes out with a different auth error, or why, but I assume that's not actually breaking it, I assume it is the display issue, and that's non-trivial to fix, especially with the extra layer of abstraction involved (xwayland).
Although, interestingly, unsetting DISPLAY manages to suppress the authorisation error (what), but it still can't open a null display.