Re: Proposal: Install gparted to Live installers
Ian McInerney left as an exercise for the reader: > There are a couple of advantages to gparted (that I haven't found analogous > operations for in gnome-disks): (apologies if this mail is received twice; i attached an image first, and it was blocked by the listserv) A few years ago, I wrote a tool "growlight" designed for disk preparation, especially during the install/rescue timeframe: https://nick-black.com/images/growlight-2020-06.png I've kept it up to date, and it provides most of this functionality (it lacks the queuing described above), along with an informative TUI. It's not nearly as well-known as gparted or gnome-disks, but might be worth taking a look at: https://nick-black.com/dankwiki/index.php/Growlight I can easily package it for Fedora now that Notcurses is present in F33. -- nick black -=- https://www.nick-black.com to make an apple pie from scratch, you need first invent a universe. signature.asc Description: PGP signature ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: Proposal: Install gparted to Live installers
Richard Shaw wrote: > In troubleshooting this and working around it I'm using the F32 live > installer, but I keep having to install gparted. The installer would be > much more useful with it preinstalled. The KDE Live image includes the KDE Partition Manager (KPM). Kevin Kofler ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: Proposal: Install gparted to Live installers
Am 04.06.20 um 18:52 schrieb Michael Catanzaro: > > I don't think we actually have the technical capability to ship it in > live media without also installing it by default on the installed system. > That won't be the worst consequence ;) best regards, Marius ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: Proposal: Install gparted to Live installers
Am 04.06.20 um 17:47 schrieb Felipe Borges: > > We already ship Disks (gnome-disks) in the live image. Doesn't it > suffice for the type of task you need to perform? > > :D Gparted does all the needed steps you would need to do manual with gnome-disks . It way better for this kind of work. Gnome-disks has other advantages. best regards, Marius ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: Proposal: Install gparted to Live installers
On 6/4/20 11:37 AM, Adam Williamson wrote: > On Thu, 2020-06-04 at 11:32 -0700, Samuel Sieb wrote: >> On 6/4/20 9:52 AM, Michael Catanzaro wrote: >>> I don't think we actually have the technical capability to ship it >>> in >>> live media without also installing it by default on the installed >>> system. >>> >>> It currently has to run as root, which is not acceptable, so would >>> require some work to split out privileged operations into a >>> separate >>> backend process and use polkit for authentication. I think it would >>> make >>> more sense to focus on improving Disks to do what you need rather >>> than >>> rewriting GParted. >> As far as I can tell, it's already using polkit. It asks for >> authentication before running. On the live image, the user doesn't >> have >> a password, so you might not see the dialog. (There was a bug with >> that >> previously.) > Well, it does actually use polkit, but it doesn't do the important > thing - it just uses polkit to authorize running *the entire app* as > root. The /usr/bin/gparted wrapper is more or less functionally > equivalent to just doing 'sudo gpartedbin'. The way this is 'supposed > to be done' is that the app would run as a regular user, and use polkit > to authorize only running the *specific operations* that require root > privileges as root. Interestingly enough, this is the way partitionmanager (a KDE app) works. I'll be sure to dodge the KDE hate. Erich Eickmeyer Fedora Jam ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: Proposal: Install gparted to Live installers
On Thu, Jun 4, 2020 at 12:53 PM Michael Catanzaro wrote: > > > I don't think we actually have the technical capability to ship it in > live media without also installing it by default on the installed > system. > > It currently has to run as root, which is not acceptable, so would > require some work to split out privileged operations into a separate > backend process and use polkit for authentication. I think it would > make more sense to focus on improving Disks to do what you need rather > than rewriting GParted. > Not that I wouldn't mind seeing GNOME Disks improved, wouldn't blivet-gui help here, since it's the same partitioning engine Anaconda offers, with a gparted-style interface? -- 真実はいつも一つ!/ Always, there's only one truth! ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: Proposal: Install gparted to Live installers
On Thu, 2020-06-04 at 11:32 -0700, Samuel Sieb wrote: > On 6/4/20 9:52 AM, Michael Catanzaro wrote: > > > > I don't think we actually have the technical capability to ship it > > in > > live media without also installing it by default on the installed > > system. > > > > It currently has to run as root, which is not acceptable, so would > > require some work to split out privileged operations into a > > separate > > backend process and use polkit for authentication. I think it would > > make > > more sense to focus on improving Disks to do what you need rather > > than > > rewriting GParted. > > As far as I can tell, it's already using polkit. It asks for > authentication before running. On the live image, the user doesn't > have > a password, so you might not see the dialog. (There was a bug with > that > previously.) Well, it does actually use polkit, but it doesn't do the important thing - it just uses polkit to authorize running *the entire app* as root. The /usr/bin/gparted wrapper is more or less functionally equivalent to just doing 'sudo gpartedbin'. The way this is 'supposed to be done' is that the app would run as a regular user, and use polkit to authorize only running the *specific operations* that require root privileges as root. -- Adam Williamson Fedora QA Community Monkey IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net http://www.happyassassin.net ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: Proposal: Install gparted to Live installers
On 6/4/20 9:52 AM, Michael Catanzaro wrote: I don't think we actually have the technical capability to ship it in live media without also installing it by default on the installed system. It currently has to run as root, which is not acceptable, so would require some work to split out privileged operations into a separate backend process and use polkit for authentication. I think it would make more sense to focus on improving Disks to do what you need rather than rewriting GParted. As far as I can tell, it's already using polkit. It asks for authentication before running. On the live image, the user doesn't have a password, so you might not see the dialog. (There was a bug with that previously.) ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: Proposal: Install gparted to Live installers
On Thursday, 04 June 2020 at 17:00, Richard Shaw wrote: > I'm trying to install Fedora 32 to a MS Surface GO which has some sort of > non-standard UEFI install. It refuses to boot anything but Windows from the > ESP partition even though I can see it using efibootmgr. Have you tried renaming your Fedora boot entry to be named like the original Windows boot entry? On one of my machines, I had to rename the "Fedora" entry added by installer to "Windows Boot Manager", otherwise it wouldn't boot in SecureBoot mode. Regards, Dominik -- Fedora https://getfedora.org | RPM Fusion http://rpmfusion.org There should be a science of discontent. People need hard times and oppression to develop psychic muscles. -- from "Collected Sayings of Muad'Dib" by the Princess Irulan ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: Proposal: Install gparted to Live installers
I don't think we actually have the technical capability to ship it in live media without also installing it by default on the installed system. It currently has to run as root, which is not acceptable, so would require some work to split out privileged operations into a separate backend process and use polkit for authentication. I think it would make more sense to focus on improving Disks to do what you need rather than rewriting GParted. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: Proposal: Install gparted to Live installers
On Thu, 2020-06-04 at 17:12 +0100, Ian McInerney wrote: > On Thu, Jun 4, 2020 at 4:48 PM Felipe Borges > wrote: > > On Thu, Jun 4, 2020 at 5:21 PM Ian McInerney < > > ian.s.mciner...@ieee.org> wrote: > > > > > > > > > > On Thu, Jun 4, 2020 at 4:01 PM Richard Shaw > > wrote: > > > > >> > > > > >> I'm trying to install Fedora 32 to a MS Surface GO which has > > some sort of non-standard UEFI install. It refuses to boot anything > > but Windows from the ESP partition even though I can see it using > > efibootmgr. > > > > >> > > > > >> In troubleshooting this and working around it I'm using the F32 > > live installer, but I keep having to install gparted. The installer > > would be much more useful with it preinstalled. > > > > > > > > We already ship Disks (gnome-disks) in the live image. Doesn't it > > > > suffice for the type of task you need to perform? > > > > There are a couple of advantages to gparted (that I haven't found > analogous operations for in gnome-disks): > * gnome-disks doesn't give you as easy access to the range of volume > types that gparted does (I don't see anyway to get FAT16, or the > older EXT2/3 filesystems directly on the format partition dialog, > instead you have to go through and make a partition, wait for that > change to apply, then change the format afterwards). gparted lets you > choose the format right away. > > * gparted allows you to queue operations before performing them - so > you can stage all your disk changes to ensure you can get the layout > you intend and perform them all at once (so you don't accidentally > change the disk while designing a partition layout) > > * gparted gives the fine-grained control of partition information > (such as flags) > > * gparted allows copy/paste of partition information, so you can > quickly do some repetitive partitioning tasks. > > -Ian I was sure that we already had this discussion [1] [2] [3] , I also use gparted for installations and seems to me that is a tool that should be in a live CD . [1] https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/X4VJIXLY3HIZ7KIP4LI4FKEOHAEXCA75/#KB2DWZRP6NS3JGTLJPIOOUOYYWTG4SJR [2] https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/43P6S34QGDMGZDTZ6O25PXIAY4RGRWFO/#C7NF5BLC74GRQDCTJZH3YJB4OAOH4GJP [3] https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/UEVXSR2IWPSIKP7WCFL536BTLCK23GUN/#UEVXSR2IWPSIKP7WCFL536BTLCK23GUN -- Sérgio M. B. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: Proposal: Install gparted to Live installers
On 04.06.2020 17:00, Richard Shaw wrote: > In troubleshooting this and working around it I'm using the F32 live > installer, but I keep having to install gparted. The installer would be > much more useful with it preinstalled. XFCE Live ships both GParted and Gnome Disks. You can use it. -- Sincerely, Vitaly Zaitsev (vit...@easycoding.org) ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: Proposal: Install gparted to Live installers
YES! PLEASE! I recently had an issue where gparted would have saved me *hours* of head banging! No one should have to use `fdisk`... *No one...* *NO ONE...* Sincerely, Lyes Saadi. Le 04/06/2020 à 16:00, Richard Shaw a écrit : I'm trying to install Fedora 32 to a MS Surface GO which has some sort of non-standard UEFI install. It refuses to boot anything but Windows from the ESP partition even though I can see it using efibootmgr. In troubleshooting this and working around it I'm using the F32 live installer, but I keep having to install gparted. The installer would be much more useful with it preinstalled. I nearly have resorted to system rescue cd since it does come pre-installed... It only adds a little more than 8MB installed... Thanks, Richard ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: Proposal: Install gparted to Live installers
On Thu, Jun 4, 2020 at 4:48 PM Felipe Borges wrote: > On Thu, Jun 4, 2020 at 5:21 PM Ian McInerney > wrote: > > > > On Thu, Jun 4, 2020 at 4:01 PM Richard Shaw > wrote: > >> > >> I'm trying to install Fedora 32 to a MS Surface GO which has some sort > of non-standard UEFI install. It refuses to boot anything but Windows from > the ESP partition even though I can see it using efibootmgr. > >> > >> In troubleshooting this and working around it I'm using the F32 live > installer, but I keep having to install gparted. The installer would be > much more useful with it preinstalled. > > We already ship Disks (gnome-disks) in the live image. Doesn't it > suffice for the type of task you need to perform? > > There are a couple of advantages to gparted (that I haven't found analogous operations for in gnome-disks): * gnome-disks doesn't give you as easy access to the range of volume types that gparted does (I don't see anyway to get FAT16, or the older EXT2/3 filesystems directly on the format partition dialog, instead you have to go through and make a partition, wait for that change to apply, then change the format afterwards). gparted lets you choose the format right away. * gparted allows you to queue operations before performing them - so you can stage all your disk changes to ensure you can get the layout you intend and perform them all at once (so you don't accidentally change the disk while designing a partition layout) * gparted gives the fine-grained control of partition information (such as flags) * gparted allows copy/paste of partition information, so you can quickly do some repetitive partitioning tasks. -Ian ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: Proposal: Install gparted to Live installers
On Thu, Jun 4, 2020 at 10:49 AM Felipe Borges wrote: > On Thu, Jun 4, 2020 at 5:21 PM Ian McInerney > wrote: > > > > On Thu, Jun 4, 2020 at 4:01 PM Richard Shaw > wrote: > >> > >> I'm trying to install Fedora 32 to a MS Surface GO which has some sort > of non-standard UEFI install. It refuses to boot anything but Windows from > the ESP partition even though I can see it using efibootmgr. > >> > >> In troubleshooting this and working around it I'm using the F32 live > installer, but I keep having to install gparted. The installer would be > much more useful with it preinstalled. > > We already ship Disks (gnome-disks) in the live image. Doesn't it > suffice for the type of task you need to perform? > It doesn't seem to support all the partition flags necessary, and honestly, gparted is just way more intuitive and has a lot more features. Thanks, Richard ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: Proposal: Install gparted to Live installers
On Thu, Jun 4, 2020 at 5:21 PM Ian McInerney wrote: > > On Thu, Jun 4, 2020 at 4:01 PM Richard Shaw wrote: >> >> I'm trying to install Fedora 32 to a MS Surface GO which has some sort of >> non-standard UEFI install. It refuses to boot anything but Windows from the >> ESP partition even though I can see it using efibootmgr. >> >> In troubleshooting this and working around it I'm using the F32 live >> installer, but I keep having to install gparted. The installer would be much >> more useful with it preinstalled. We already ship Disks (gnome-disks) in the live image. Doesn't it suffice for the type of task you need to perform? >> >> I nearly have resorted to system rescue cd since it does come >> pre-installed... >> >> It only adds a little more than 8MB installed... >> >> Thanks, >> Richard > > > I like this idea. I frequently use the live CDs to do partitioning tasks > outside of installations and have always found installing gparted before I do > that a bit annoying. > > -Ian > ___ > devel mailing list -- devel@lists.fedoraproject.org > To unsubscribe send an email to devel-le...@lists.fedoraproject.org > Fedora Code of Conduct: > https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: Proposal: Install gparted to Live installers
On Thu, Jun 4, 2020 at 4:01 PM Richard Shaw wrote: > I'm trying to install Fedora 32 to a MS Surface GO which has some sort of > non-standard UEFI install. It refuses to boot anything but Windows from the > ESP partition even though I can see it using efibootmgr. > > In troubleshooting this and working around it I'm using the F32 live > installer, but I keep having to install gparted. The installer would be > much more useful with it preinstalled. > > I nearly have resorted to system rescue cd since it does come > pre-installed... > > It only adds a little more than 8MB installed... > > Thanks, > Richard > I like this idea. I frequently use the live CDs to do partitioning tasks outside of installations and have always found installing gparted before I do that a bit annoying. -Ian ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Proposal: Install gparted to Live installers
I'm trying to install Fedora 32 to a MS Surface GO which has some sort of non-standard UEFI install. It refuses to boot anything but Windows from the ESP partition even though I can see it using efibootmgr. In troubleshooting this and working around it I'm using the F32 live installer, but I keep having to install gparted. The installer would be much more useful with it preinstalled. I nearly have resorted to system rescue cd since it does come pre-installed... It only adds a little more than 8MB installed... Thanks, Richard ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org