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

Unraid Custom ISO #29

Closed
Reziem opened this issue Jan 16, 2024 · 13 comments
Closed

Unraid Custom ISO #29

Reziem opened this issue Jan 16, 2024 · 13 comments

Comments

@Reziem
Copy link

Reziem commented Jan 16, 2024

Please pardon my inability to get this working. I am doing my best but I know I am probably being dumb or over looking something.

I am trying to use a custom.iso (Windows LTSC 2021) I made a new share on my Unraid machine and placed the ISO there which is mapped accordingly /storage --> /mnt/disk1/docker-virtuals/WindowsinDocker/

Do I still specify the version here?
image

I also added the environment variable.
image

It seems to be still downloading Windows 10 Pro and installing that and not using my custom.iso
Again, my apologies I definitely feel like I am missing something or a step.

Thank you :)

@kroese
Copy link
Contributor

kroese commented Jan 16, 2024

What files do you have in /mnt/disk1/docker-virtuals/WindowsinDocker/ ?

If for example there is a data.qcow2 with Win10 installed, it will boot off this harddrive instead of the DVD with the custom ISO. So in that case you can solve it by deleting data.qcow2.

@Reziem
Copy link
Author

Reziem commented Jan 16, 2024

What files do you have in /mnt/disk1/docker-virtuals/WindowsinDocker/ ?

If for example there is a data.qcow2 with Win10 installed, it will boot off this harddrive instead of the DVD with the custom ISO. So in that case you can solve it by deleting data.qcow2.

Here is what is in mnt/disk1/docker-virtuals/WindowsinDocker/

image

Sweet I'll try deleting that file.

@kroese
Copy link
Contributor

kroese commented Jan 16, 2024

The harddisk has higher boot priority than the optical drive, so you should delete data.qcow2 and win10x64.iso and keep only custom.img and then it should work.

I will create a new version of the container soon which will work easier for custom images, because I can understand the way it works now is confusing.

@Reziem
Copy link
Author

Reziem commented Jan 16, 2024

The harddisk has higher boot priority than the optical drive, so you should delete data.qcow2 and win10x64.iso and keep only custom.img and then it should work.

I deleted those two files and it still appears to be downloading win10x64

image

I will create a new version of the container soon which will work easier for custom images, because I can understand the way it works now is confusing.

No worries, I appreciate it. That will be very nice :)

@kroese
Copy link
Contributor

kroese commented Jan 16, 2024

Yes that is because you named the file custom.ISO and not custom.iso. On Linux files are case-sensitive, so it cannot find the file. On Windows it doesnt matter if you use upper or lowercase.

@Reziem
Copy link
Author

Reziem commented Jan 16, 2024

Yes that is because you named the file custom.ISO and not custom.iso. On Linux files are case-sensitive, so it cannot find the file. On Windows it doesnt matter if you use upper or lowercase.

Ah weird, never noticed that. good catch, not sure why it was like that. Sorry about that haha.

@Reziem
Copy link
Author

Reziem commented Jan 16, 2024

I really appreciate your help with this and being patient with my lack of attention to detail. This docker container is sweet and I have some cool ideas / use cases for this :) Thank you again

@Reziem
Copy link
Author

Reziem commented Jan 16, 2024

Dang it, sorry one more thing. Is this a permissions issue maybe?

image

@Reziem
Copy link
Author

Reziem commented Jan 16, 2024

image

Never mind. I think I got it now. :)

A little odd it says custom.iso.iso but regardless it seems to be working.

@kroese
Copy link
Contributor

kroese commented Jan 16, 2024

No it's not a permission issue.. If it does not list any editions it means none qualify for installation. Did you enter a product key before that screen? Because in that case it might have something to do with the key not being valid.

@kroese kroese closed this as completed Jan 16, 2024
@Fsystem
Copy link

Fsystem commented Feb 29, 2024

Dang it, sorry one more thing. Is this a permissions issue maybe?

image

How did you solve this problem? I encountered the same issue when running this docker image on my VMware Debian vm.

@kroese
Copy link
Contributor

kroese commented Feb 29, 2024

@Fsystem It can happen if the automatic install XML tries to select an edition that does not exist in the custom ISO. If you follow the steps for manual installation in the FAQ, you can workaround this.

@Fsystem
Copy link

Fsystem commented Feb 29, 2024

@Fsystem It can happen if the automatic install XML tries to select an edition that does not exist in the custom ISO. If you follow the steps for manual installation in the FAQ, you can workaround this.

OK,My custom.iso is win81 enterprise. manual installation failed. So I replaced with win81 pro. It works

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

3 participants