Release ISO Optical Drive


Could this happens also when the system is turned off ?
From what I remember this worked for me:
  1. Turn off PC
  2. Mount image on Pandora
  3. Plug-in Pandora to PC
  4. Turn on PC
But sometimes it still was a bit hit a miss, and just kept trying until it works.
 
did anyone try if g_mass_storage works better than g_file_storage yet? maybe it's more compatible and will work with powergods bios?
 
Good news and bad news with SZ 1.75.
  • Good news: ISO images can now boot my laptop (UEFI even) using storage gadget in CD-ROM mode. Command used:
    Code:
    modprobe g_file_storage file=file.iso stall=0 removable=1 cdrom=1
  • Bad news: After getting to initramfs stage the boot sequence stops, complaining about missing root filesystem. This happened with Fedora netinst, Ubuntu liveCD and SystemRescueCd images. Changing storage gadget to CD-ROM mode or USB-HDD mode didn't matter.

Swapping the SD card with ISO images to my other Pandora (with broken screen) which has SZ 1.74 allows booting with those same images in USB mode. I didn't try it in CD-ROM mode.

Later I will try to see if setting Legacy boot (instead of UEFI) in laptop BIOS settings improves things for booting from SZ 1.75 storage gadget.
 
@Yoyobuae if you are testing right now anyway, why not swap the kernel module to g_mass_storage as previously suggested. maye that will work better?
 
I experimented a bit with your Commands and...
..and...yay i got a complete OS booting from the Pandora :D
It was ZorinOS..a Linux Iso for my Test.
the exactly Command was:
Code:
sudo rmmod g_cdc
sudo modprobe g_file_storage file=/media/fat32/zorinOS.iso stall=0 removable=1

My Reason to try this without cdrom=1 in that case was an old Trick to boot Cdrom Isos without a Cdrom Drive.
The old Trick was to copy the iso with DiskDump directly to a USB Pendrive and boot from Usb-Pendrive

Now the Pandoras Mounted Iso is rekognized from my Bios as Usb-Pendrive and boot fine the whole OS from it.


Can you confirm that with your Hardware?
For me it work now realy realy fine here for booting;)

(Windows itself rekognize it as unformated Drive but that is not importand to boot the Isos)

@PowerGod
Now you can add that Command in that way to your PND and maybe ask before Drive Emulating:
Do you whish to boot from this? Then you can use my Command...
...or..
Do you whish to emulate this Iso as Cd/DvdRom? ..then you can use the older Command :)
 
Now you can add that Command in that way to your PND and maybe ask before Drive Emulating:
Do you whish to boot from this? Then you can use my Command...
...or..
Do you whish to emulate this Iso as Cd/DvdRom? ..then you can use the older Command :)

Indeed :)

Have you also tried with "g_mass_storage" ? I still have to understand if something changes between those two commands...
 
I had found no Differrence with that g_mass_storage.
g_mass_storage worked not for me with the cdrom=1 command too.

Nice that it work fine :D
 
*ver. 2.1 (still BETA ;P)

- Added the choice "Optical Drive / BOOT Device"
- The interface shows what emulation is enabled, also the "OK" button is now a "REMOVE VIRTUAL DRIVE" button

I'll leave the update only here for now, I can't try it, so tell me how it works... :)
 

Attachments

  • iso_optical_drive.pnd
    11.4 KB · Views: 431
So, I see no complaints about the new version, should I push it to the repo ?
 
Back
Top