Hello,
I have VM based on Fedora 18. Since this machine is upgradable, and everything works there just fine, I started doing there lot of work, so I overloaded the HDD. My /home partition appeared to be small for all what I wanted to do.
I Power OFF the VM, and resize the virtual HDD from 100 GB to 250 GB. All good, but I need also to resize the partitions (I have them 3 there).
I installed live-hd part of the gparted directory at /boot/live-hd:
Pwd: /boot/live-hd/
address@hidden live-hd]# ls -al
total 127071
dr-xr-xr-x. 2 root root 1024 May 1 03:25 .
dr-xr-xr-x. 5 root root 3072 Sep 3 12:52 ..
-r--r--r--. 1 root root 11085 May 1 03:22 filesystem.packages
-r--r--r--. 1 root root 116121600 May 1 03:22 filesystem.squashfs
-r--r--r--. 1 root root 10976796 May 1 03:22 initrd.img
-rw-r--r--. 1 root root 164508 Apr 22 2011 memtest
-r--r--r--. 1 root root 2833216 May 1 03:22 vmlinuz
address@hidden live-hd]#
Then I went to make manual entry in the grub.cfg, @ /boot/grub2/grub.cfg.
Here is how two entries look like:
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Fedora (3.10.9-100.fc18.x86_64)' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-17989633-e422-4b27-9134-13f5e8756710' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' de3b88b1-40be-45aa-97da-a2e98b8b7292
else
search --no-floppy --fs-uuid --set=root de3b88b1-40be-45aa-97da-a2e98b8b7292
fi
echo 'Loading Fedora (3.10.9-100.fc18.x86_64)'
linux /vmlinuz-3.10.9-100.fc18.x86_64 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/swap rd.md=0 rd.dm=0 rd.luks=0 vconsole.keymap=us rd.lvm.lv=fedora/root rhgb quiet LANG=en_US.UTF-8
echo 'Loading initial ramdisk ...'
initrd /initramfs-3.10.9-100.fc18.x86_64.img
}
menuentry "GParted live" {
set root='hd0,msdos1'
linux /live-hd/vmlinuz boot=live config union=aufs noswap noprompt vga=788 ip=frommedia live-media-path=/live-hd bootfrom=/dev/mapper/fedora-root toram=filesystem.squashfs LANG=en_US.UTF-8
initrd /live-hd/initrd.img
}
After I power OFF virtual machine and power ON again, I have chosen Gparted in sincere hope I’ll boot and repartition the Fedora’s VM virtual HDD.
While booting, the following happened: unable to find media containing the live file system (attached bmp image as well)???
But I already make Linux command line options referencing to /live-hd directory, which should have such a media.
What I am doing wrong here? Any suggestions?
Thank you,
Zoran
_______
Most of The Time you should be “intel inside” to be capable to think “out of the box”.