* Gparted implanted on grub.cfg [grub2 version] does not want to boot
@ 2013-09-03 13:53 Stojsavljevic, Zoran
2013-09-04 14:33 ` Konrad Rzeszutek Wilk
0 siblings, 1 reply; 2+ messages in thread
From: Stojsavljevic, Zoran @ 2013-09-03 13:53 UTC (permalink / raw)
To: grub-devel@gnu.org
[-- Attachment #1.1.1: Type: text/plain, Size: 3129 bytes --]
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 decided to install on my VM Gparted as they advertised it @: http://gparted.sourceforge.net/livehd.php
I installed live-hd part of the gparted directory at /boot/live-hd:
Pwd: /boot/live-hd/
[root@localhost 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
[root@localhost 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".
[-- Attachment #1.1.2: Type: text/html, Size: 7291 bytes --]
[-- Attachment #1.2: Picture (Device Independent Bitmap) 1.jpg --]
[-- Type: image/jpeg, Size: 87748 bytes --]
[-- Attachment #2: gparted_failed.png --]
[-- Type: image/png, Size: 242919 bytes --]
[-- Attachment #3.1: Type: text/plain, Size: 331 bytes --]
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen, Deutschland
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Christian Lamprechter, Hannes Schwaderer, Douglas Lusk
Registergericht: Muenchen HRB 47456
Ust.-IdNr./VAT Registration No.: DE129385895
Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052
[-- Attachment #3.2: Type: text/html, Size: 368 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Gparted implanted on grub.cfg [grub2 version] does not want to boot
2013-09-03 13:53 Gparted implanted on grub.cfg [grub2 version] does not want to boot Stojsavljevic, Zoran
@ 2013-09-04 14:33 ` Konrad Rzeszutek Wilk
0 siblings, 0 replies; 2+ messages in thread
From: Konrad Rzeszutek Wilk @ 2013-09-04 14:33 UTC (permalink / raw)
To: The development of GNU GRUB
On Tue, Sep 03, 2013 at 01:53:33PM +0000, Stojsavljevic, Zoran wrote:
> 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 decided to install on my VM Gparted as they advertised it @: http://gparted.sourceforge.net/livehd.php
>
> I installed live-hd part of the gparted directory at /boot/live-hd:
>
> Pwd: /boot/live-hd/
> [root@localhost 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
> [root@localhost 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)???
So the grub part works - as you have clearly booted the guest.
Did you identify whether the storage driver (xen-blkfront) is loaded by the time you get the problem?
Do you see or can check whether /dev/mapper/fedora-root is present? If you mount it can you see the /live-hd file?
Is the /live-hd on /dev/mapper/fedora-root or is it somewhere else?
>
>
> 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".
>
>
> Intel GmbH
> Dornacher Strasse 1
> 85622 Feldkirchen/Muenchen, Deutschland
> Sitz der Gesellschaft: Feldkirchen bei Muenchen
> Geschaeftsfuehrer: Christian Lamprechter, Hannes Schwaderer, Douglas Lusk
> Registergericht: Muenchen HRB 47456
> Ust.-IdNr./VAT Registration No.: DE129385895
> Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-09-04 14:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-03 13:53 Gparted implanted on grub.cfg [grub2 version] does not want to boot Stojsavljevic, Zoran
2013-09-04 14:33 ` Konrad Rzeszutek Wilk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).