How to run 'GParted Live' directly from the hard drive.
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How to run 'GParted Live' directly from the hard drive.
My H.P Compaq notebook is dual booted with Xubuntu 14.04 and Windows 7.
I want to run GParted Live direct from the hard drive. To this end I have downloaded 'gparted-live-0.20.0-2-i486.iso' onto my '/home/gordon/Downloads'folder. The folder is in partition 'dev/sda5' which is within extended partition 'dev/sda4'.
To get 'GParted Live' to boot from the Grub start menu I understand I have to add a specific script to file 'grub.d/40_custom' and save it. I then have to update the 'grub.cfg' file by putting the command 'sudo grub-mkconfg -o /boot/grub/grub.cfg' into Terminal.
My problem is that I do not know the script to add into the 'grub.d/40_custom' file in order to get GParted Live to boot.
Would someone with knowledge of this procedure be able to tell me exactly what script I have to type please.
The simplest way is at the link posted by Head_on_a_Stick above using the second Grub2 option with setisofile. The line below in the example assumes the gparted iso file in in /home/isos, so if it is not, you need to change the path to where it actually is or move it.
Quote:
set isofile="/home/isos/gparted-live-0.5.2-9.iso"
I've used the other method for Grub2 with the GParted files extracted. Don't try to modify the partition on which you have GParted as that won't work.
Many thanks yancek. I was successful when I followed the Head_on_a _stick guide. One of the many mistakes I made on the way was to use the update command 'sudo grub-mkconfig -o /boot/grub/grub.cfg' to update grub. I should have used 'sudo update-grub2'. One of the difficulties when searching for guides, as I am sure everybody knows, is being able to identify a guide that is up-to date and has relevance to your particular setup. I spent a number of frustrating hours following duff leads when trying to get GParted Live onto the hard drive.
Last edited by gordont8; 01-18-2015 at 09:07 AM.
Reason: spelling yancek
John, Your comment leaves me a little puzzled. My understanding is/was that, by setting up the iso on the hard drive and amending the 'grub config' file in the manner shown in the 'Head on a stick' guide, booting it up from the grub menu left all the partitions unmounted. In fact, when I did just as described, no partitions were mounted, including the /home partition where the iso file resided. I did read in one webpage a comment which said the iso file probably had to be in root for it to work. However, as I could not fathom how to get the downloaded iso into root I left it in '/home/gordon/Downloads' and it all worked fine. I do have a separate GParted that I probably installed directly from Ubuntu Software but that ,of course, shows the partitions mounted when you run it from the whiskers menu. The reason I put the iso onto the hard drive was because, having downloaded it onto a USB flash drive with one of the necessary appendages, I could not get the flash drive to boot. I did not try loading it onto a CD. That would have been my final shot if the hard drive download had not worked.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.