BTS

Issue831

Title findiso bootoption: ignore boot medium but prefer specified argument
Priority feature Status resolved
Superseder Nosy List ch, mika
Assigned To Topics

Created on 2010-03-23.02:02:13 by mika, last changed 2011-03-14.21:20:55 by ch.

Messages
msg3686 (view) Author: ch Date: 2011-03-14.21:20:54
Apparently we shipped this, at least since 2.0.12-1+grml.04.
msg3569 (view) Author: mika Date: 2010-12-02.14:25:13
git commit ebe5a713317b3a90be62fd1b5e97289648e25a67 in live-boot-grml.git pending.
msg3560 (view) Author: mika Date: 2010-12-02.13:32:38
Within live-boot's debian/patches/07_support_findiso.dpatch we're using code 
from the main live script nowadays, though AFAICT the following part is missing:

        if [ -n "$FROMISO" ] && [ "${TORAM}" ]
        then
          losetup -d /dev/loop0
          grep -q /isofrom /proc/mounts && umount /
isofrom                                                
        fi

Needs testing/debugging.
msg3110 (view) Author: mika Date: 2010-03-23.02:02:12
If booting with:

kvm [...] -hda /grml/test.img -kernel linux26 -initrd initrd.gz \
  -append "boot=live findiso=/foobar/grml.iso"

it works fine, though with:

  kvm [...] -hda /grml/test.img -boot d -cdrom ./grml.iso -boot d

and "findiso=/foobar/grml.iso" as additional bootoption the CD-ROM is used 
instead of the ISO from the harddisk. We might have to prepare the findiso 
handling in live-premount/ already instead of live-bottom/05mountpoints  so the 
(non-specified) boot medium does not win over the specified harddisk file.
History
Date User Action Args
2011-03-14 21:20:55chsetstatus: in-progress -> resolved
topic: - release-stopper
messages: + msg3686
nosy: mika, ch
2010-12-02 14:25:13mikasetstatus: chatting -> in-progress
nosy: mika, ch
messages: + msg3569
2010-12-02 13:32:38mikasettopic: + release-stopper
nosy: + ch
status: unread -> chatting
messages: + msg3560
2010-03-23 02:02:13mikacreate