Edit
Please note that I fixed the original problem of not booting, but I still can't get it to run X-windows after being prompted for language, input, and display resolution.
Original question
I read about the latest gparted, and saw this article explaining how to install it on a hard drive. Seemed like it would be a good way to both try it out and have it available, but I've been unable to get it to work. No matter what I've done, I get an immediate reboot.
I'm pretty confident that I've followed the directions correctly, and specified the correct disk/partition, etc. Here's what I've tried...
Install from hard disk partition
The partition I used was /dev/sdc8
.
I mounted the partition as specified (sudo mount /dev/sdc8 /dev
), and unzipped the archive into the directory (/mnt
). I originally renamed the /live
directory to /live-hd
, as suggested, but later changed it back, because their directions seemed to sometimes get it wrong, so I didn't want to second-guess possible errors. But I got the same results either way.
I added this to /etc/grub.d/40_custom
:
menuentry "GParted live" {
set root=(hd2,8)
linux /live/vmlinuz boot=live config union=aufs noswap noprompt vga=788 ip=frommedia live-media-path=/live bootfrom=/dev/sdc8 toram=filesystem.squashfs
initrd /live/initrd.img
}
Then, I ran sudo update-grub2
to update my grub menu.
Boot from gparted iso
Next, I tried copying the iso file to /home/isos
, and substituted this in /etc/grub.d/40_custom
:
menuentry "Gparted live" {
set isofile="/home/isos/gparted-live-0.22.0-1-amd64.iso"
loopback loop $isofile
linux (loop)/live/vmlinuz boot=live config union=aufs noswap noprompt vga=788 ip=frommedia toram=filesystem.squashfs findiso=$isofile
initrd (loop)/live/initrd.img
}
Ran sudo upgrade-grub2
, rebooted, and got the same instant reboot.
I apologize if this is not the appropriate place to ask about this. I posted on the gparted forums, but the forums looked to be pretty sparse, and I've gotten no responses so far.
Edit
I managed to get the iso file to boot by adding a specifier for which partition to use for booting: loopback loop (hd0,gpt1)$isofile
(my boot partition is on a gpt formatted ssd).
Unfortunately, I have not been able to get X to run so far. So now my question is how to get X up and running, something I never have trouble with using any distros so far. I am prompted for some input parameters, including display resolution and driver. I've tried various resolutions, both vesa and ATI drivers, and auto, but all result in a black screen with a flashing text cursor in the upper left corner.
set root=(hd2,msdos8)
- that is assuming that you are using an extended/logical partition.