How can I prevent Windows 8 from trying to format my external ext3-format hard disk?

2

1

How can I prevent Windows 8 from trying to format my external ext3-format hard disk?

Every time I connect my ext3-format hard disk for the guest virtual machine(ubuntu), Windows(host) shows the dialog that it is about to format my ext3-format disk.

ubuntu(guest) - virtual box - windows(host) - ext-format external disk

I'm afraid I may push the confirm button accidentally someday.

I do not want to see the dialog to format it.

Anyway, I'm using Windows 8.


EDIT:

  • I changed Windows into Windows 8
  • Sorry, everyone. I forgot to mention I'm using ext-format external disk for the virtual box guest machine. I forgot it since I had intended to ask this question inside my another question.

19 Lee

Posted 2013-05-22T15:30:33.853

Reputation: 95

Question was closed 2014-08-06T21:07:10.323

3Really? Two upvotes for such a useless comment? "Don't use Linux" is not an option here. – psusi – 2013-05-22T20:04:29.310

psusi, I don't see what's wrong with @Ramhound's comment. Read properly, he didn't say "don't use Linux". Since Windows doesn't recognise the ext file system, can you tell me one good reason why anyone should connect a disk formatted with it to a Windows PC? If you're not going to use FAT32/NTFS (for which Linux has drivers), or install an ext driver on Windows as Ali stated, why bother? Just don't connect the drive (no-one's forcing the OP to do so) and the problem is solved! – Karan – 2013-05-22T21:35:36.763

@Karan, because you install Linux on the only hard drive then you automatically have such an fs connected. – psusi – 2013-05-22T23:19:38.860

@psusi: The question was about connecting an external HDD formatted as ext. Again I ask you, who's forcing the OP to connect the drive to a Windows PC? – Karan – 2013-05-22T23:22:58.923

@Karan, external or internal makes no difference. – psusi – 2013-05-22T23:28:55.110

@psusi: Why does it make no difference? He is free to use the external drive for Linux and have it formatted as ext, but unlike an internal drive he can simply just stop himself from connecting the drive to a Windows PC if he doesn't want to format it or use it on that system. If he doesn't know what the drive contains, a sticker or marker can come in handy. – Karan – 2013-05-22T23:31:35.107

@Karan - You can unmount internal drives in Window or Linux. I stand by my statement about not plugging in a drive with an unsupported filesystem to a Windows installation – Ramhound – 2013-05-23T00:18:29.750

@Ramhound: You do understand I was defending your comment and agreeing with you, right? Read psusi's comment carefully, and my responses to him. Any response from you should be directed towards him.

– Karan – 2013-05-23T00:20:24.057

@Karan - of course I do my comment was more half serious in the realm of using a file system supported by both Linux an Windows – Ramhound – 2013-05-23T00:22:56.157

@Karan, just because you have the option to not plug in an external drive does not make "don't plug in such a drive" any more acceptable than it would be if it weren't external; Windows shouldn't be offering to format it, and it won't if it is partitioned correctly. – psusi – 2013-05-23T00:48:06.600

@psusi: "Windows shouldn't be offering to format it" - That should be a suggestion directed towards MS I guess, since Windows refuses to acknowledge the existence of any other OS and it is Linux that has always had to accommodate it given Windows' market share. As for your suggestion, I cannot confirm without further testing that it works, so no comment or vote either way (although Ramhound certainly seems to think it won't work). – Karan – 2013-05-23T00:55:20.873

@Karan, Windows has always acknowledged the existence of other OSes, which is why it ignores partitions that are marked as belonging to other OSes. The problem is when the partition is marked as belonging to Windows, then it is within its rights to offer to format it. – psusi – 2013-05-23T00:59:48.443

@Lee please edit your question. As you can see from the comments there's confusion about your use of the words 'ext format'. Are you talking about the Linux file system on an external hard disk? If so, ext-3 or 4? – Jan Doggen – 2013-05-23T06:44:30.657

1This happens every time I connect a truecrypt-formatted HD as well. Very annoying. – tomsv – 2013-05-23T09:08:58.613

@dontomaso - That likely only happens because you don't have TrueCrypt installed on the system itself. I don't have the same problem. – Ramhound – 2013-05-23T10:59:11.670

I'm very sorry that I confuse you. I connect an ext3-format external hard disk for the ubuntu virtual machine guest on the Windows 8 host machine. – 19 Lee – 2013-05-23T11:38:28.010

Answers

1

You could simply try to create a very small (some megabytes) FAT32 partition on your external drive. Then Windows would be able to find one understandable partition and therefore the format dialog should not appear anymore as the disk is not "Empty" (from Windows perspective).

It may be necessary to create this partition as the first partition on the disk.

Robert

Posted 2013-05-22T15:30:33.853

Reputation: 4 857

1

This does not work for me. Windows displays multiple drives (D: and E:) for my external drive and wants to format the ext4 one. This answer shows how to tell windows to hide the disk and this question asks how to get Windows to read that disk (I now use ext2fsd to read my ext4 internal and external disks).

– idbrii – 2014-08-04T18:01:41.713

You're genius! I'll try this. Thank you!! It will take time that I partition it without loosing data. I don't know how to do it, and I'm not sure whether it's possible. I'm working on it. If it works, I'll choose this answer. – 19 Lee – 2013-05-23T11:18:23.113

3

Try installing the Ext driver for windows: http://www.ext2fsd.com/

Ali

Posted 2013-05-22T15:30:33.853

Reputation: 1 151

A note on the site: :WARNINGS: The driver may crash your system and ruin your data unexpectedly, since there might be software conflicts and I could only test it on some of the popular platforms. You should use it with care and use it at your own risk!" – Carl B – 2013-05-22T18:22:51.693

Great suggestion! I have forgotten this. Now, I remember I tried similar things at first time. But, I think no free ext-format driver software supported Windows 8. I'm using Windows 8. – 19 Lee – 2013-05-23T11:13:28.760

-1

You can't.

Whenever Windows sees a partition that it doesn't understand it will assume it still needs to be formatted with a format that Windows can understand.

So you will have to be careful, very careful NOT to hit the wrong button when you get the format dialog.
(Press Escape when you get it. You are less likely to make a mistake by using the keyboard then by using the mouse to cancel the dialog.)

Tonny

Posted 2013-05-22T15:30:33.853

Reputation: 19 919

-1

Prevent is not possible.

Make a Backup and format it. Then store all your files back. Othe only way you can avoid the format dialog.

TIP: Format your extHDD with a Linux system, Ubuntu for example. Live CD is more than enough to do it. Start it with CD/DVD on Startup, mount your extHDD and format it in NTFS.

I had simular troubles not long ago, my ArchLinux detected, that my extHDD needs to repair. It repairs and since then, my Windows never pops up the format dialog again.

zeyorama

Posted 2013-05-22T15:30:33.853

Reputation: 117

-1

If the disk is using GPT instead of MSDOS partitioning, you need to use the gdisk utility to change the partition type to linux instead of Windows. Debian and its derivatives set up GPT partitions using the Microsoft type code, so Windows assigns them a drive letter and offers to format them if it doesn't recognize the filesystem.

psusi

Posted 2013-05-22T15:30:33.853

Reputation: 7 195

Just to confirm, are you saying that if gdisk is used to change the GPT partition type to Linux instead of Windows, then plugging the drive into a Windows PC will not cause the format dialog to pop up due to an unrecognised file system, and the drive will simply be silently ignored? Also, what's your solution for MBR formatted disks? – Karan – 2013-05-22T21:41:07.120

@Karan, same thing only you can set the type with fdisk or parted, but it should already have the correct type. – psusi – 2013-05-22T23:18:23.603

Ok, but does your answer solve the OP's issue is what I am asking. If he does what you suggest and then connects the USB HDD formatted as ext to a Windows PC, will it stop asking him to format the drive because of an unrecognised file system? Will it just silently ignore the drive altogether? – Karan – 2013-05-22T23:24:35.463

@Karan, yes... that's exactly what I said. – psusi – 2013-05-22T23:28:20.980

1@pseudo - even in your answer you say it will STILL ask him to format the drive. – Ramhound – 2013-05-23T00:19:49.520

@Ramhound, no, I don't. I clearly explained exactly why it offers to format, and what to change to make it not do that. – psusi – 2013-05-23T00:44:20.770

@Ramhound: Can you test this suggestion? And psusi: 1) By gdisk you meant GPT fdisk, right? 2) What's the Linux type code to be used? 3) Any major distro other than Debian that gets this "right"? 4) How can a drive with such "Linux type" MBR/GPT partitions be formatted in Windows, since no drive letter will be assigned to it? Will it be visible under Disk Management?

– Karan – 2013-05-23T01:36:42.110

@Karan, 1) yep, 2) the program has a menu that lists the codes, 3) Yes, it will be visible in disk management as an unknown partition, rather than having a drive letter assigned for you to accidentally open in explorer and be prompted to format it. – psusi – 2013-05-23T01:40:21.317