Putting GParted Live on the hard drive and boot menu?

Bo Berglund bo.berglund at gmail.com
Sun Oct 31 10:59:16 UTC 2021


On Sun, 31 Oct 2021 10:50:30 +0100, Bo Berglund <bo.berglund at gmail.com> wrote:

>Has anyone here had success in putting GParted Live on the boot menu of your PC?
>
>I have Windows and 2 flavours of Ubuntu 20.04.3 (desktop and server) on my boot
>menu and I would love to also have GParted Live there when managing the disk
>rather than attaching a USB stick and going through the hoops to make it boot
>off of USB.
>My system uses UEFI.
....
>
>Alternate test
>--------------
>On the grub-user list I got advice to use grub-imageboot and I found this
>how-to:
>https://itectec.com/ubuntu/ubuntu-how-to-boot-from-an-iso-file-in-grub2-duplicate/
>
>But it also does not work even though it reaches the boot menu.
>When I use the GParted entry in the menu it throws an error:
>
>error: file '/boot/memdisk' not found.
>error: you need to load the kernel first.
>
>Unfortunetely the grub-user list seems to be pretty quiet, there are no other
>replies or new posts after I received the single advice to use grub-imageboot.
>:(

I received a reply that solved the problem on the grub-user mail list!

When using grub-imageboot then the ISO file must exist *physically* in the
Ubuntu desktop /boot/images directory. It cannot be mounted to this place from
another partition!

When I removed the mount command and copied the ISO into /boot/images, then it
worked so now I have a GParted Live item on the boot menu, which can be started.

Still cannot understand how the GParted ISO file can be part of a partition like
this, because to me it will mean that GParted Live should not be able to work on
that partition, which was my whole point of putting it into the boot menu.

But I will use it and see what happens.


-- 
Bo Berglund
Developer in Sweden





More information about the ubuntu-users mailing list