How to partition the mobile hard disk under windows, keep some of the original files, write some to the linux installation image, and use this image to install the linux system in the rest?

problem description

how to partition a removable hard disk under windows so that one partition retains the original file, one partition is written to the linux installation image, and one partition installs the linux system using the image in the previous partition? (I just want to have a plug-and-use linux system installed on a mobile hard drive.) in addition, suppose you want to safely delete the linux system after installation, what are the things you should pay attention to? What software is better to do these things on windows? (preferably advertising-free, reliable, open source software)

the platform version of the problem and what methods you have tried

windows platform. At present, I have not tried because of the limitation of knowledge. (the boss who wants to answer can remind you what knowledge you need, such as file system, boot)


two reference methods

< H2 > use physical machine to install linux system < / H2 >

step

  1. download the ISO installation image of the linux distribution
  2. to make ISO image into USB boot disk, material is required

    • USB, capacity above 4GB
    • ISO write tool, rufus or unetbootin
  3. connect the finished USB disk and removable hard disk to the computer, and choose to boot from USB when rebooting
  4. then enter the linux installation interface, and you can partition the removable hard drive as needed
< H2 > install the linux system using a virtual machine < / H2 >

step

  1. physical machine installs vmware or virtualbox virtual machine software
  2. download the ISO installation image of the linux distribution
  3. create a new virtual machine instance, set up the ISO image, and mount the removable hard disk as the virtual machine hard disk
  4. start the virtual machine and enter the linux installation interface. You can partition the removable hard disk as needed
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bbd1e5-52fb7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bbd1e5-52fb7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?