January 22, 2019, 01:10:02 AM

Author Topic: formatting a linux disk for windows use  (Read 506 times)

Offline Ashmoor

  • Jr. Member
  • **
  • Posts: 20
formatting a linux disk for windows use
« on: July 19, 2018, 01:28:09 PM »
Is there a simple way to clean up a Linux hdd? It probably has Ubuntu installed but I don't know which version. I don't want to keep any data and can install it in a rack to operate on it from a win 10 machine. I just want it clean formatted/partitioned for a windows install. I've googled this but haven't found anything simple and I don't have a Linux installation disk to boot from it and clean the partitions.

Offline col

  • Sr. Member
  • ****
  • Posts: 407
Re: formatting a linux disk for windows use
« Reply #1 on: July 19, 2018, 01:44:50 PM »
Quote
I don't want to keep any data and can install it in a rack to operate on it from a win 10 machine

Right-click select the drive via a regular window ( mounted drives should be in the pane on the left, or choose 'This PC' from the pane on the left to see the drives as bigger icons that are mounted too ) and choose 'Format...'.

If its not recognised you could use the 'Disk Management' tool ( type disk manager into the search bar in the start menu ). That will show the drive and you can format/partition from there too.

I'd then clear the 'quick format' option before hitting 'Start' then go out for a nice meal :)
Any bugs in my code are proof of its hand-coded nature.
https://github.com/davecamp

Offline Derron

  • Hero Member
  • *****
  • Posts: 1557
Re: formatting a linux disk for windows use
« Reply #2 on: July 19, 2018, 02:42:40 PM »
During Windows installation just manage the disk partitions and remove all of them. Then create a new one - format will already be perfectly suiting for your Windows installation.


bye
Ron

Offline MagosDomina

  • Full Member
  • ***
  • Posts: 121
    • Aspiring game developer website.
Re: formatting a linux disk for windows use
« Reply #3 on: July 19, 2018, 11:36:04 PM »
Fdisk it. :)
Central hub for my Game Design related activities.
http://www.magosdomina.com/

Windows 7 PRO 64-bit, 48Gb RAM, CPU: Dual Hexacore Intel Xeon 3.33 GHZ, Nvidia Quadro 5800FX 4Gb x 2 SLI.

Offline Qube

  • Administrator
  • Hero Member
  • *****
  • Posts: 1373
Re: formatting a linux disk for windows use
« Reply #4 on: July 20, 2018, 04:52:48 AM »
During Windows installation just manage the disk partitions and remove all of them. Then create a new one - format will already be perfectly suiting for your Windows installation.
That's pretty much it. Delete every partition until you're left with one, format it, install Windows and off you go.
Until the next time...

Offline Derron

  • Hero Member
  • *****
  • Posts: 1557
Re: formatting a linux disk for windows use
« Reply #5 on: July 20, 2018, 07:07:30 AM »
> Delete every partition until you're left with one, format it [...]

Nope ... that is not strictly correct. If you leave one partition it most often wont fill up the whole disc space (eg you have 1.000 GB and have had a 250, 250, 250, 250 partition layout - your last left one will have 250 instead of 1.000 GB).
So maybe Qube wanted to say: remove all partitions until Windows tells you "unpartitioned space : XXX GB/TB/...". Create a new partition then - and the options you can set then there, are already suitable for your Windows installation.


bye
Ron

Offline col

  • Sr. Member
  • ****
  • Posts: 407
Re: formatting a linux disk for windows use
« Reply #6 on: July 20, 2018, 10:40:53 AM »
Clearly I've been working with forensics for too long and instantly thought of 'deep cleaning' the drive the easiest way :P
Any bugs in my code are proof of its hand-coded nature.
https://github.com/davecamp

Offline Qube

  • Administrator
  • Hero Member
  • *****
  • Posts: 1373
Re: formatting a linux disk for windows use
« Reply #7 on: July 20, 2018, 02:15:24 PM »
Quote
Nope ... that is not strictly correct
Sorry... forgot to cater for mr pedantic pants.

Remove all partitions until you are left with one unformated partition which matches the size of your drive. Then format that partition and install windows.
Until the next time...

Offline Derron

  • Hero Member
  • *****
  • Posts: 1557
Re: formatting a linux disk for windows use
« Reply #8 on: July 20, 2018, 02:37:03 PM »
Remove all partitions until you are left with one unformated partition which matches the size of your drive. Then format that partition and install windows.

Ahh, that's perfect.


@ pedantic
If one asks for things like "formatting a drive" or "creating proper partitions" then the best solution is to try to avoid "hurdles" to climb ;-).


bye
Ron

Offline Ashmoor

  • Jr. Member
  • **
  • Posts: 20
Re: formatting a linux disk for windows use
« Reply #9 on: July 21, 2018, 01:22:35 PM »
Thanks for all the replies. I did delete all partitions and created a new one the size of the whole disk. I don't want to tell you all the trouble I ran through. Getting the disk ready was the easiest part after reading your replies. It's a 2003, P4 computer, with freaking ide cables, that won't see a large usb stick and won't boot from a Windows 7 CD. I finally managed to install windows XP but the internet still doesn't work.

Offline Derron

  • Hero Member
  • *****
  • Posts: 1557
Re: formatting a linux disk for windows use
« Reply #10 on: July 21, 2018, 08:37:19 PM »
What you could do:

- create a Virtual Machine, create a virtual Disk (can be a real hard disk)
- boot up Windows installation there
- let it install until it tries to reboot
- power off the VM
- put the hard disk into your old computer and boot up from there
- it should try to finish the installation.

Exception are missing drivers for the mainboard (AHCI/IDE issues and the likes).


Best thing is to install Linux Mint XFCE or LXDE or so on that computer (if you just want to "use" it).


bye
Ron

Offline Ashmoor

  • Jr. Member
  • **
  • Posts: 20
Re: formatting a linux disk for windows use
« Reply #11 on: July 22, 2018, 09:24:55 PM »
@Derron

I would install Linux if it was my machine, but it belongs to a neighbor with very low computer skills so she needs something she is familiar with. It had Linux installed but for some reason she could not operate it so she asked me to install windows if possible.

I figured that the internet actually worked but the old Explorer was no longer supported by most websites so it looked like nothing loaded at all. I got a new chrome version installed and now it works ok.

Thanks for all the help. Much appreciated.