Enterprise icon indicating copy to clipboard operation
Enterprise copied to clipboard

Request: ability to specify absolute path for iso

Open steve6375 opened this issue 9 years ago • 8 comments

e.g. isoroot

entry Ubuntu-14.10 family Ubuntu iso ubu/ubu.iso isoroot /

steve6375 avatar Feb 28 '15 12:02 steve6375

The reason I do relative paths is because it makes things easier to deal with when passing the information to GRUB. I have been looking into this, but I'm looking into the most user-friendly way. Perhaps others can chime in with suggestions?

On Feb 28, 2015, at 7:24 AM, steve6375 [email protected] wrote:

e.g. isoroot

entry Ubuntu-14.10 family Ubuntu iso ubu/ubu.iso isoroot /

— Reply to this email directly or view it on GitHub.

SevenBits avatar Feb 28 '15 15:02 SevenBits

So at the moment iso can only reside in /efi/boot folder? And not in

(usb root)/isos/distribution/somedistro.iso

as ../../ is simply not processed correctly

sc

bezik46 avatar Feb 28 '15 18:02 bezik46

@scerazy That it correct, that is why the OP requested the feature to add absolute paths, which would allow what you are suggesting.

ISOs can be placed in the /efi/boot directory though, or (I believe) in a sub-folder. To be honest this is one of the weaker elements of Enterprise at the moment; I expect to overhaul this soon with newer features.

On Feb 28, 2015, at 1:38 PM, scerazy [email protected] wrote:

So at the moment iso can only reside in /efi/boot folder? And not in

(usb root)/isos/distribution/somedistro.iso

sc

— Reply to this email directly or view it on GitHub.

SevenBits avatar Feb 28 '15 18:02 SevenBits

To me absolute would be:

(root)/folder1/file1

Relative would be (to where we start reading the config file from):

././folder1/file1

So if we have: (root)/EFI/boot/.MLUL-Live-USB and (root)/isos/ubuntu/ubu.iso

then it would mean (to me) iso ././isos/ubuntu/ubu.iso

Which is not the case, so if you could change the code it would be brilliant

sc

bezik46 avatar Feb 28 '15 18:02 bezik46

yes, isos in subfolders do work, e.g. \EFI\boot\ubu\ubu.iso

entry Ubuntu-14.10 family Ubuntu iso ubu/ubu.iso

steve6375 avatar Feb 28 '15 18:02 steve6375

They also work in subfolders

EFI/boot/isos/Linux/ubuntu.iso

bezik46 avatar Feb 28 '15 19:02 bezik46

@steve6375 @scerazy Okay, thank you. I will take these suggestions into consideration.

SevenBits avatar Feb 28 '15 22:02 SevenBits

I struggled a long time getting access to ISOs not in the efi/boot folder. As the documentation said "relative", I thought a path like "../../_ISO/LINUX/ubuntu.iso" would do fine. It did not.

However, I do believe that "../ubuntu.iso" worked (and putting the file in /efi), but I've lost track with my testing attempts so I'm not sure.

I'm trying to build a multi-platform bootable USB stick using Easy2Boot for PC booting, which requires ISOs to be placed in a certain structure, e.g. /_ISO/LINUX. Since the ISOs themselves can be booted on Mac as well, it feels just plain stupid to have to duplicate them for Enterprise. :-(

I see that this issue is filed as an enhancement, but to me it's a bug that you cannot use relative paths properly.

magicus avatar Feb 15 '17 23:02 magicus