Showing posts with label install. Show all posts
Showing posts with label install. Show all posts

Friday, March 26, 2021

How to delete the Recovery Partition in Windows 10

 Source : https://superuser.com/questions/1023765/how-to-delete-the-recovery-partition-in-windows-10

https://www.diskinternals.com/partition-recovery/recovery-partition-and-how-to-delete-it/

A recovery partition is a partition on the disk that helps to restore the factory settings of the OS (operating system) if there is some kind of system failure. This partition has no drive letter, and you can use only Help in Disk Management.

As mentioned above, when a system is updated, a new recovery partition is created. This means the old recovery partition will be outdated. That means, that you better keep the current one and delete the old recovery partition.

But which one is old and which one is current, you may ask?

recovery partition in cmd

For that, you will need to use the command line: right-click Start and select "Command Prompt (administrator)". In the window titled "cmd.exe", type the following command: "reagentc / info" and press Enter. In the Windows RE location line, you will get something like: "...\device\harddisk1\partition2\..." Now you need to recheck it with Diskpart; and with that tool, you can also delete it.

To erase the disk recovery partition, you can use the built-in utility Diskpart.

So, in the same Command Prompt window enter "diskpart". Then type "list disk":


DISKPART> list disk DISKPART> select disk 4 Disk 4 is now the selected disk. DISKPART> list partition Partition ### Type Size Offset ------------- ---------------- ------- ------- Partition 1 Primary 223 GB 1024 KB Partition 3 Recovery 450 MB 223 GB DISKPART> select partition 3 Partition 3 is now the selected partition. DISKPART> delete partition override DiskPart successfully deleted the selected partition. DISKPART> list partition Partition ### Type Size Offset ------------- ---------------- ------- ------- Partition 1 Primary 223 GB 1024 KB


 

Monday, January 30, 2017

windows cannot be installed on this disk. The selected disk is of the GPT partition style.

fresh computer build, on the screen choosing which partition to use i see "windows cannot be installed to disk 0 partition 2. (show details)", when i click show details i get the message, "windows cannot be installed on this disk. The selected disk is of the GPT partition style." What can i do to install window?

Method #1:
1. Boot up to installation DVD/CD.
2. Click install but don't follow through.
3. Press SHIFT-F10 to bring up console.
4. Type "diskpart"
5. Once inside diskpart type:
-> list disk (find the one you want to convert)
-> select disk 0 (select the one you want from the list)
-> convert mbr (should take a second or two)
-> quit
6. Continue with install

Method #2:
1. Boot up to installation DVD/CD.
2. Click install but don't follow through.
3. Press SHIFT-F10 to bring up console.
4. Type "diskpart"
5. Once inside diskpart type:
-> list disk (find the one you want to convert)
-> select disk 0 (select the one you want from the list)
-> clean (wait an hour or so until its done)
-> quit
6. Continue with install

https://answers.microsoft.com/en-us/windows/forum/windows_7-windows_install/windows-cannot-be-installed-on-this-disk-the/8fa72a3e-10c5-47da-a040-1e0db62af309

Tuesday, November 29, 2016

How to Create Bootable Windows USB Disk

https://anandthearchitect.com/2014/03/07/how-to-create-a-bootable-windows-2012-r2-usb-disk-applies-to-windows-8-1-also/

Pre-requisites: 7-Zip software (Download it from here: http://7-zip.org/), Windows 2012 (R2) ISO (or Windows 8.1 ISO), 8GB or more USB disk

Open Command Prompt in elevated mode (Run as Administrator)
Type diskpart and press Enter
Type list disk and press Enter. Note the list of existing disks.
Insert the USB Disk
Type list disk and press enter again. Note the new disk showed up which is our USB disk. I assume the new disk is 2 for example purpose.
Type select disk X where X is your USB disk. E.g., select disk 2. Press Enter.
Type clean and press enter.
Type create partition primary and press enter to create primary partition 1.
Type select partition 1 and press enter.
Type active and press enter to make the partition 1 active
Type format fs=ntfs and press enter. This will format the partition 1 as NTFS volume.
Type assign and press enter to assign the USB disk to a drive letter.

Now right click on Windows Server 2012 R2 or Windows 8.1 ISO file, select 7-Zip –> Extract Files…
Select your USB disk to extract the ISO contents to the USB disk

Friday, July 08, 2016

Clean Install Windows 7 from Hard Drive

source : http://www.instructables.com/id/Install-Windows-7-without-USB-or-DVD-without-upgra/

How to CLEAN Install Windows 7 directly from Hard drive – NO DVD or USB needed!!

For example, you have a netbook or desktop that you want to install Windows 7 onto, but can’t use DVD or USB for whatever reason (or don't want to, like me). This method will allow you to boot and install Windows directly from the hard drive. This guide involves plugging the hard drive into another working computer,preparing the hard drive, placing it back in the system, and installing Windows as usual.

This guide will work for Windows 7 and Windows 8.  I have a Windows 8 instructable, but it's essentially the same guide with some Windows 8 pictures.  This guide will not work for Windows Vista - I have an instructable for that.

Part 1: Preparing the HD with Windows 7 setup files.

- Connect the hard drive to another working computer.
- Format the hard drive to NTFS (Quick format works fine; multiple partitions also work).
- Copy the following from your Windows 7 disc:

    Boot
    Sources
    Bootmgr

Part 2: Making the HD bootable

Using Windows XP, Vista, or 7, open CMD as Admin (Windows key + R, type CMD, hit Enter)

Enter the following commands, (replace X with what applies to your hard drive):

diskpart
list disk
select disk X
list partition
select partition X
active
exit
X:\boot\bootsect.exe /nt60 X:

(See picture for example)

Exit and shutdown.


Note: If you’re working on a 32-bit system, and you want to install 64-bit Windows, you may get problems trying to run the last command (X:\boot\bootsect.exe /nt60 X:).
Solutions:

    Use a computer with a 64-bit version of Windows

OR

    A little trick that worked for me: If you have a 32-bit Windows 7 disc, you can copy bootsect.exe from that and replace the 64-bit one (boot\bootsect.exe).

Part 3: Booting and installing Windows

Place the hard drive back into the target machine. Make sure that the BIOS is configured to boot from the hard drive. If you did everything correctly, you should see “Windows is loading files” and setup will load (really fast, too, because it's loading from the hard drive). Install Windows as usual (but don’t format your drive this time in the installer – otherwise it will erase the Windows 7 setup files too!).

Part 4: Final steps/housecleaning

We’ll have to quickly edit the boot menu once Windows is installed.

In Windows 7, hit the Windows key + R. Type msconfig, and hit Enter.
Click to the Boot tab at the top.
Click 'Windows Setup (\windows)', and hit Delete.
Click OK.
Click 'Exit without restart'.


And lastly, delete the ‘Sources’ folder from your hard drive root (this will free up 2-3gb).