All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philip Rhoades <phil@pricom.com.au>
To: grub-devel@gnu.org
Subject: Exercise: Booting from a LiveUSB ISO and contents on /dev/sda6
Date: Mon, 02 Nov 2015 14:27:04 +1100	[thread overview]
Message-ID: <e9fe91b3173a384d2fbfd6d3e99dbaf9@localhost> (raw)

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


             reply	other threads:[~2015-11-02  3:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-02  3:27 Philip Rhoades [this message]
2015-11-02  3:56 ` Exercise: Booting from a LiveUSB ISO and contents on /dev/sda6 Fajar A. Nugraha
2015-11-02  5:43   ` Jordan Uggla
2015-11-02  5:36 ` Jordan Uggla

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e9fe91b3173a384d2fbfd6d3e99dbaf9@localhost \
    --to=phil@pricom.com.au \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.