Skip to content

A program, which removes Windows and installs Linux while keeping user data and apps intact.

License

Notifications You must be signed in to change notification settings

Marios-7272/windows-removal-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 

Repository files navigation

Windows Removal Tool

Welcome to the Windows Removal Tool site! This is a concept of a program which is supposed to:

  • delete Windows,
  • install Linux,
  • help with distro selection
  • install all the previously present programs.

It is targeted to people who either want to start their Linux adventure with some training wheels or need their grandma's computer to run linux, because it is 10 years old and it would be a pitty to discard it yet, or want to prank school's IT guy, or are the IT guy themselves and want automation.

Disclaimer:

I am a Polish student who can't code at all but uses Linux daily. This is my first project ever. I will make a ton of misakes, so please do not expect everything to be correct, let alone neat and easily understandable.

Inner workings (el plan):

Part one: preperations in Windows

General plan:

The first part is preperations to overwrite Windows. I think it should look more or less like this:

  1. elevate,
  2. ask whether to dualboot or singleboot,
  3. distro selection (look at the details),
  4. program compatibility check,
  5. create temp folder: %systemdrive%\e,
  6. ask about usernames and their passwords and which is the administrator,
  7. fetch time, date, device name, language,
  8. save in %systemdrive%\e\systemconfig.cfg,
  9. make a list of all installed programes,
  10. "translate" them to something linux understands (again, the details),
  11. save in %systemdrive%\e\programlist.cfg,
  12. make configs of particular users (ease of access, wallpapers, colors, desktop icon layout),
  13. save in %systemdrive%\e\userconfig.cfg,
  14. ask for confirmation,
  15. 'Did you back up all your data?', if yes: proceed to 16 if no: tell the user to do so and come back later
  16. 'Do you have a thumb drive with nothing important on it?',

if yes: use the thumb drive

if no:

diskpart
sel vol=%systemdrive%
shrink desired=k* 1024 where k is a natural number determined by the size of the iso file
cre par efi size=k* 1024
  if error:
  cre par pri size= k* 1024
assign letter l
  1. download iso,
  2. unpack (fat32 partiton)/burn .iso,
  3. modify the copy (includes copying %systemdrive%/e),
  4. add Linux to boot options,
  5. remove Windows from boot options,

Details and remarks:

point 3: In this section I want the program to explain what is a distro, show basic info and a ton of screenshots from various places and apps, all standardized, maybe a "compare" view.

point 4: A searchbox and tags: 'stable', 'nieche', 'made by an evil corporation', 'bleeding edge', 'similar to' and most popular equivalents.

point 10: By 'translating' I mean creating a scipt which will be all sudo apt install programs-name. Furthermore not everything availible on Windows will be availible on Linux. In such situations alternatives will have to be presented to the user or existing installs will need to be copied with the intention of running the programs with WINE or Proton.

point 18: .iso has to be stock, it cannot have any modifications regarding self installation. An autoinstall script will be made by this program based on a given template.

point 18 again: I know Ubuntu can do that. I also know that not every distribution can do that.

Part two: Linux installation

General plan:

  1. boot,
  2. format,
  3. install,
  4. apply systemconfig and a little bit of userconfig,

Details and remarks:

none

Part three: Self-made OOBE

General plan:

  1. elevate,
  2. apply the rest of userconfig,
  3. apply programconfig,
  4. update and reboot,
  5. prompt user to copy everthing they have

Details and remarks:

none

I hope that's all for now.

About

A program, which removes Windows and installs Linux while keeping user data and apps intact.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published