I can not list files in foxclone iso

sofasurfer

Member
Joined
May 24, 2022
Messages
30
Reaction score
11
Credits
264
I want to make a grub bootable foxclone script. I need to see where the
vmlinuz and initrd fyles reside. I am so far unable to extract or list the files in the iso. I am using foxcloneedge_50-07.iso and I have it stored in a seperate partition. The iso shows to be 870mb. Here is my script...
Code:
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above. (I removed the hyphens in the filename in the script and the filename). This a a script I found online so I know the paths to the init and initrd may be incorrect. This is why I need to view the files.
# foxclone ISO grub boot
menuentry "ISO Boot: FoxClone" {
   set isofile="/media/daryl/ISOstorage/foxcloneedge5007.iso"
   loopback loop (hd0, 2)$isofile
   linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile noprompt noeject quiet splash toram
   initrd (loop)/casper/initrd.lz
   }
 
Last edited:


osprey

Well-Known Member
Joined
Apr 15, 2022
Messages
405
Reaction score
322
Credits
3,709
sofasurfer wrote:
I need to see where the vmlinuz and initrd fyles reside.I am so far unable to extract or list the files in the iso.
The phyles/fyles/files/philes you have mentioned, vmlinuz and initrd are usually in /boot:
Code:
[[email protected] ~]$ ls /boot
config-5.19.0-2-amd64      initrd.img-6.0.0-4-amd64
config-6.0.0-2-amd64       System.map-5.19.0-2-amd64
config-6.0.0-4-amd64       System.map-6.0.0-2-amd64
efi                        System.map-6.0.0-4-amd64
grub                       vmlinuz-5.19.0-2-amd64
initrd.img-5.19.0-2-amd64  vmlinuz-6.0.0-2-amd64
initrd.img-6.0.0-2-amd64   vmlinuz-6.0.0-4-amd64

I'm not familiar with how foxclone does things, but to see what's on the iso, you can mount it as a loop device, and then navigate to the mount point directory and list what's on it and list through all the directories on it. See manpage loop and losetup if you need some command examples.
 

bob466

Well-Known Member
Joined
Oct 22, 2020
Messages
762
Reaction score
539
Credits
5,643
I think your question should be asked here...
https://www.foxclone.com/contact.php
or...
https://forum.foxclone.com/

I'm sure the developer can answer the question best...hope this helps.
m1213.gif
 
OP
S

sofasurfer

Member
Joined
May 24, 2022
Messages
30
Reaction score
11
Credits
264
ISOmaster works fine for me except...
It can read foxclone44-05.iso but when I click on foxclone_edge50-07.iso I get the message "failed to read volume info: first volume descriptor type not primary like iso9660 requires"
I downloaded it from https://www.foxclone.com/download.php
 

bob466

Well-Known Member
Joined
Oct 22, 2020
Messages
762
Reaction score
539
Credits
5,643
Well that's strange because I can...
screenshot-51.png


The question remains...why would you want to read the files in the first place...makes no sense. You burn the ISO to a Flash Drive and create an image...simple.
m1201.gif


Did you take my advice in post 3. ?
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Staff online


Top