Saturday, August 24, 2019

How to format linux filesystem within Windows 7?


I have a PC that once had Ubuntu Linux installed on it across 2 SATA hard drives.


The first hard drive had the root ( / ) and swap on it.


The second had ( /home ) directory as mount point. This has a large amount of data on it, formatted in ext4 I believe.


I decided to remove the first hard drive and replace it with another, and installed Windows 7 Ultimate on it. I kept the second hard drive in the PC because I want to format it into NTFS and use it as a backup/storage drive.


After installing Windows 7 on the new first drive, in Computer Management it doesn't see the other hard drive.


How can I get Windows 7 to detect and see the second hard drive in Computer Management? I would like to format it into NTFS-- Note: I do not want to have Win7 read/write to the linux filesystem, nor do I care to keep the files on it intact. I am fine with losing them since I have them backed up.


Answer



You can directly try the 3rd step here, but if you don't see your second disk, you'll need to go to BIOS and recheck starting from there.
1. Reboot and enter BIOS settings.
2. Confirm second disk is visible.
3. Boot into Windows 7 and reach Administrative Tools, Disk Management
Delete the second disk partition and reformat it to your choice.


Just in case you are wondering, you can read your ext4 partition data with Ext2Read.
And, if you don't see your second drive in step 1 above, you might want to start from checking the cables in your PC -- you may have left them unplugged while changing drives :-)


No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...