From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Zt5mU-0001DJ-3O for mharc-grub-devel@gnu.org; Sun, 01 Nov 2015 22:27:38 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51791) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zt5mR-0001CJ-74 for grub-devel@gnu.org; Sun, 01 Nov 2015 22:27:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zt5mM-00081W-7K for grub-devel@gnu.org; Sun, 01 Nov 2015 22:27:35 -0500 Received: from pricom.com.au ([110.142.211.14]:37553) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zt5mL-00080b-Im for grub-devel@gnu.org; Sun, 01 Nov 2015 22:27:30 -0500 Received: (qmail 13694 invoked from network); 2 Nov 2015 14:27:14 +1100 Received: from unknown (HELO prix) (127.0.0.1) by pricom.com.au with SMTP; 2 Nov 2015 14:27:14 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 02 Nov 2015 14:27:04 +1100 From: Philip Rhoades To: grub-devel@gnu.org Subject: Exercise: Booting from a LiveUSB ISO and contents on /dev/sda6 Mail-Reply-To: phil@pricom.com.au Message-ID: X-Sender: phil@pricom.com.au User-Agent: Roundcube Webmail/1.1.2 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 110.142.211.14 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: Mon, 02 Nov 2015 03:27:36 -0000 People, I want to enlarge my root partition on a Fedora 23 x86_64 system and I know I can boot on a LiveUSB stick and use [g]parted from there to do what I want but I thought I would try creating a small partition with the ISO and its contents in it to see if I could do what I want without needing to use the USB stick. The contents of /dev/sda6 is: dr-xr-xr-x 3 root root 4096 May 22 05:03 EFI dr-xr-xr-x 2 root root 4096 May 22 05:05 LiveOS dr-xr-xr-x 2 root root 4096 May 22 05:03 isolinux drwx------ 2 root root 16384 Nov 2 06:08 lost+found -r--r--r-- 1 root root 2460 May 22 05:04 Fedora-Legal-README.txt -rw-r----- 1 qemu qemu 1007681536 Oct 7 20:14 Fedora-Live-Xfce-x86_64-22-3.iso -r--r--r-- 1 root root 1063 May 22 05:04 LICENSE I have made a little progress but I still can't get a boot - here is the current state of the relevant section of my grub2.cfg (I have been trying various changes): menuentry "Fedora 22 XFCE ISO Boot (x86_64 bit)" { insmod part_gpt set isoname="Fedora-Live-Xfce-x86_64-22-3" echo $isoname set isofile="${isoname}.iso" echo $isofile loopback loop (hd0,gpt6)/$isofile echo $loop linux (loop)/isolinux/vmlinuz0 root=live:CDLABEL=${isoname} rootfstype=auto ro rd.live.image rd.luks=0 rd.md=0 rd.dm=0 iso-scan/filename=${isofile} initrd (loop)/isolinux/initrd0.img } During the attempted boot I see the first two "echo"s but then get messages that "linux" and "initrd" commands do not exist . . is it something simple I am missing? Thanks, Phil. -- Philip Rhoades PO Box 896 Cowra NSW 2794 Australia E-mail: phil@pricom.com.au