Hi.
With ref. to my entry here (https://forums.opensuse.org/english/get-technical-help-here/pre-release-beta/491135-opensuse-13-1-rc1-observations-8.html), about testing 13.1RC1 using a modified shim:
I have attempted to redo my 13.1RC1 tests using the modified shim.
However, I have no result yet, as I am stopped at a basic point:
I can’t make the modified DVD-image bootable (yet) - neither the USB-stick, nor the image sent to the DVD burner proper.
It seemed simple enough at first: Copy the image to the USB, mount it, then adjust the file(s) in question (=the shim-rpm). No luck: The USB mounted as ReadOnly. Fair enough, as the device is simulating a DVD drive, which is RO in itself. Another solution is needed.
A search on the internet, revealed an intriguing script: live-fat-stick. It allows you to combine several iso-images on the same stick, while at the same time allowing you to store other files on it without disturbing your bootable iso-images. That’s a win in both ends!
This wasn’t much better. The iso-image was displayed in the boot-menu, but it just accessed USB-stick, then went on to display the boot-menu from the HDD (grub-2 boot menu, W8/12.3).
I also tried burning the modified image to the DVD proper. The DVD wasn’t even displayed as a boot option. Trying the same with a DVD from the original 13.1RC1 image did result in a boot-from-DVD boot option.
Clearly, my modified image wasn’t bootable.
Further experimentation on this takes time, as each attempt takes a considerable amount of time - and I can also see many possible combinations (which will probably be cosiderably reduced in number as I get more into it). My hope is that someone can help out here to reduce the time needed just now, and I can pick up mkisofs (actually all the mk*fs commands look interesting) later on. If not, I’ll just continue investigating.
Here’s approximately what I did:
mkdir ./fake_iso
mkdir ./tobe_iso
mount -o loop ./OpenSuse13.1RC1.iso ./fake_iso
cp -R ./fake_iso/* ./tobe_iso
cd ./tobe_iso
cd suse/x86_64
cp ../../../shim-0.4-75.5.x86_64.rpm ./shim-0.4-10.2.2.x86_64.rpm
cd ../../..
umount ./fake_iso
mkisofs -r -o ./OpenSuse13.1RC1mod.iso ./tobe_iso
// Then burn the OpenSuse13.1RC1mod.iso to the DVD or
// copy it to USB using the live-fat-stick script.
As you will probably quickly see, the culprit here is my use of mkisofs, which is incomplete as to making a new iso bootable.
**My specific question is: **
For 13.1RC1, which file is the boot-file (/boot/x86_64/loader/isolinux.bin?), and which file is the boot catalog file(/boot/x86_64/loader/isolinux.cfg?)?
Given the two boot-files and the environment outlined above, would this mkisofs-variant produce a working bootable iso image?
mkisofs -b ./tobe_iso/<fully-specified-path-and-name-to-BOOTFILE> /
-c ./tobe_iso/<fully-specified-path-and-name-to-CATALOGFILE> /
-o ./OpenSuse13.1RC1mod.iso /
-J -r -R -v -T -x
Obviously, the generic question would be how to determine which file is the boot-file and which file is the boot catalog when looking at a working, bootable iso-image/CD/DVD, but I guess that is a question for another thread in another sub-forum…
Thank you for any assistance in this.
dayfinger