Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to have iso folder on a different partition? #47

Open
steve6375 opened this issue Mar 15, 2019 · 1 comment
Open

How to have iso folder on a different partition? #47

steve6375 opened this issue Mar 15, 2019 · 1 comment

Comments

@steve6375
Copy link

I want to store ISOs on a 2nd NTFS partition.

If I change the main.cfg to use:

set isopath=(hd0,msdos2)/iso

then the menuentry's do not work because of regexp failing to get variables

  regexp \
    --set 1:isoname \
    --set 2:version \
    --set 3:arch \
    "^${isopath}/clonezilla/(clonezilla-live-(.+)-([^-]+)\.iso)\$" "${isofile}"
@steve6375
Copy link
Author

steve6375 commented Mar 15, 2019

I found a way by setting root later on in main.cfg

set prefix=($root)/EFI/grub
#set isopath=/EFI/iso
set isopath=/iso
set root=hd0,msdos2

probe --set rootuuid --fs-uuid $root

# Required to have these available in other configfile files
export isopath
export theme
export isopath
export rootuuid


# Menu!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant