26 June 2011, 15:01 | #1 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 6,985
|
WinUAE can no longer be used to prepare a CF card for a real Amiga?
Current versions of WinUAE no longer have the -disableharddrivesafetycheck option but allow to write to a drive only if there are no Windows partitions on it.
However, thumb drives and card readers are treated by Windows as removable drives. Windows Disk Management does not allow to delete partitions from those drives and DiskPart does not show these drives at all. I don't see any other Windows built-in method to erase flash drives for use with WinUAE. My suggestion is either to change the "block zero write attempted" requester to have a Yes / No choice so that the user has an option to write to the disk nevertheless. Or to add an option to the "Add Harddrive" window to erase the MBR from the disk. |
26 June 2011, 16:26 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
It has always been bad idea to write to disk if it is mounted in Windows.
Sometimes it appeared to work but nothing was actually written. MBR/partition table must be erased, CF ejected and then re-inserted. Thats the only 100% safe way. Or use diskpart or any other utility that knows how dismount all partitions and tell Windows to re-read partition tables. |
26 June 2011, 16:55 | #3 | |||
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 6,985
|
Quote:
Quote:
Quote:
I found dd for Windows, but it's an expert's job to identify the correct drive to write to. |
|||
26 June 2011, 17:23 | #4 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
diskpart "list disk" seems to work fine here with CF cards (USB reader) and USB sticks. (Win7 x64)
|
26 June 2011, 17:36 | #5 |
Amibay Mod/Staff
Join Date: Jun 2010
Location: birmingham uk
Age: 48
Posts: 1,019
|
i use a usb multibay for my cf with win7 32 and diskpart works fine for me to. I use winuae 2.3 tho
|
26 June 2011, 18:06 | #6 |
PSPUAE DEV
|
I agree, I have been experimenting with a few different types of usb devices.
Thumb, stick and reader drives. Diskpart see's all fine. USB devices used; Sandisk 2GB sticks, Sandisk 8GB thumb drive, Orca 8 in 1 Multi Card reader, Linksys 20 in 1 Multi Card reader. @Toni can you tell which release -disablesafetycheck was removed and what has replaced it, as this was one of my main issues with new versions. I have to use earlier versions cause new version refuses to let me setup non rdb drive. |
26 June 2011, 18:15 | #7 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Use diskpart's CLEAN command.
Drive must be RDB partitioned or empty. The end. Anything else isn't safe or reliable. |
26 June 2011, 18:16 | #8 | |
PSPUAE DEV
|
Quote:
Why did it change? out of interest, cause it was nice and easy the old way. |
|
26 June 2011, 18:26 | #9 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Quote:
- write actually succeeds (but this can cause major issues if Windows decides to write to the drive, for example it had FAT partition that had some data in write cache) It was important to reinsert the card after RDB was written. - write appears to succeed (ok returned) but nothing was written. This was the cause for "block zero write failed"-message, after writing to block zero (and return code was ok), it re-read same block and checked if data matched. - error is returned I decided to only allow safest solution = drive that is guaranteed not mounted in Windows, blank or RDB partitioned. |
|
12 September 2011, 01:07 | #10 |
Registered User
Join Date: Dec 2010
Location: Norway
Posts: 817
|
Just to confirm: Diskpart deals with removable media under Windows Vista and 7, not XP.
On Linux you can use dd command. On Mac OS you can use disk utility. On Win XP you can use EaseUS Partition Master (Freeware). Last edited by fgh; 12 September 2011 at 01:55. Reason: Found solution for WinXP |
12 September 2011, 10:39 | #11 | |
PSPUAE DEV
|
Quote:
If you have a card reader, add it in WinUAE, then save the config. Now everytime I insert a fat formatted card, WinUAE assumes its empty and lets me alter it without using diskpart. Obviously, I only use card reader for WinUAE / Amiga. So its not a problem. I just always got worried while using diskpart, I would check it had right partition / disk selected about 5 or 6 times. |
|
16 January 2015, 23:24 | #12 |
Posts: n/a
|
thank you for all
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Getting CF card set-up as a real Amiga HD | keitha1200 | support.WinUAE | 42 | 30 April 2012 20:37 |
Worms: The Director's Cut no longer functioning under WinUAE [2.3.0] | squirminator2k | support.WinUAE | 13 | 12 October 2010 17:48 |
Formating a CF Card in WinUAE to Use in a real amiga | paulo_becas | support.WinUAE | 32 | 02 July 2010 18:29 |
CF card booting in Winuae but not on real Amiga 4000 | Sandman | support.Hardware | 1 | 03 July 2008 08:19 |
[half OT] Good news! Winamp 5.0x no longer interferes with WinUAE (fullscreen)! | andreas | support.WinUAE | 2 | 22 August 2004 02:26 |
|
|