Missing documentation, small fix #1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi! This project is really interesting. It's one-of-a-kind as far as I can tell.
If I get a chance, I can try to create one or more pull requests, but in the meantime here's what I had to do to get this working.
Bug
First I had to fix a small bug:
Documentation
Then I had to figure out how to actually use the project. This is what I figured out on my own, but I may have missed some things:
Necessary system packages
libparted-dev
(to usepython-parted
)ms-sys
wimtools
(forwimapply
)On Ubuntu I did this:
Necessary python packages
Maybe it would be good to put these in a
requirements.txt
file?clize
construct
python-parted
Unfortunately I wasn't able to run the script as my normal user since it requires root. But I didn't want to install those Python packages using
pip
as root due to conflicts with system packages, so I created a virtual env as root and installed the packages here:Determining the image name
I had to extract sources/install.wim from the Windows installation ISO, and then run this command to list the image names:
Running the script
As best as I could tell, these are the required arguments:
--iso
or--wim
--image-name
--disk
or--part
This is the full command I used:
Set boot flag on NTFS partition
Lastly, using GParted I had to set the boot flag on the NTFS partition, otherwise Windows wouldn't boot: In GParted, right-click the partition > Manage Flags > make sure boot is checked > Close