From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VHE9A-0002VU-Jw for mharc-grub-devel@gnu.org; Wed, 04 Sep 2013 10:33:28 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48812) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHE92-0002Jd-C0 for grub-devel@gnu.org; Wed, 04 Sep 2013 10:33:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHE8u-0002sl-GO for grub-devel@gnu.org; Wed, 04 Sep 2013 10:33:20 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:36822) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHE8u-0002sX-A8 for grub-devel@gnu.org; Wed, 04 Sep 2013 10:33:12 -0400 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r84EX9TC014965 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 4 Sep 2013 14:33:10 GMT Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r84EX8CB003833 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 4 Sep 2013 14:33:09 GMT Received: from abhmt103.oracle.com (abhmt103.oracle.com [141.146.116.55]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r84EX8rX022929 for ; Wed, 4 Sep 2013 14:33:08 GMT Received: from phenom.dumpdata.com (/50.195.21.189) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 04 Sep 2013 07:33:08 -0700 Received: by phenom.dumpdata.com (Postfix, from userid 1000) id 8652A1BF307; Wed, 4 Sep 2013 10:33:07 -0400 (EDT) Date: Wed, 4 Sep 2013 10:33:07 -0400 From: Konrad Rzeszutek Wilk To: The development of GNU GRUB Subject: Re: Gparted implanted on grub.cfg [grub2 version] does not want to boot Message-ID: <20130904143307.GC3188@phenom.dumpdata.com> References: <67BFA875989E5748A862DFF55409F2A21B0F0EB4@IRSMSX104.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <67BFA875989E5748A862DFF55409F2A21B0F0EB4@IRSMSX104.ger.corp.intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Sep 2013 14:33:27 -0000 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