grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gparted implanted on grub.cfg [grub2 version] does not want to boot


From: Konrad Rzeszutek Wilk
Subject: Re: Gparted implanted on grub.cfg [grub2 version] does not want to boot
Date: Wed, 4 Sep 2013 10:33:07 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

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/
> 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)???

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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/grub-devel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]