|
|
#1 |
|
Prospect
Join Date: Jul 2004
Posts: 27
|
How to convert UFS to HFS+ on drive?
When I last loaded my laptop, I partitioned the drive and created a storage drive titled Media&Docs. For some reason, I chose UFS (new to Unix and Mac OS X)
Now I want to convert the partition to HFS+, however I can't seem to do this. In Bash I have been using the diskutil command however I get an error when I try to erase this partition using HFS+ Here is my config (the partition in bold green is the partition I am interested in converting.) Jason-Grovers-Computer:~ Jason$ diskutil info / Device Node: /dev/disk0s3 Device Identifier: disk0s3 Mount Point: / Volume Name: OSX File System: Journaled HFS+ Journal size 8192 k at offset 0xa0000 Permissions: Enabled Partition Type: Apple_HFS Bootable: Is bootable Media Type: Generic Protocol: ATA Total Size: 19.7 GB Free Space: 14.5 GB Read Only: No Ejectable: No Jason-Grovers-Computer:~ Jason$ diskutil info /dev/disk0s5 Device Node: /dev/disk0s5 Device Identifier: disk0s5 Mount Point: /Volumes/Media&Docs Volume Name: Media&Docs File System: UFS Partition Type: Apple_UFS Bootable: Is bootable Media Type: Generic Protocol: ATA Total Size: 35.0 GB Free Space: 32.7 GB Read Only: No Ejectable: No here is the command I've been using diskutil erasevolume HFS+ Storage /dev/disk0s5 And the response I get is Could not unmount disk for making it bootable error with erase Could not unmount disk (-10000) Any help or suggestions? I've tried the search to no avail. This is all on a PB 1.3g with OSX 10.3.4 Thanks in advanced! Jason |
|
|
|
|
|
#2 |
|
Prospect
Join Date: Jul 2004
Posts: 27
|
Disregard the above - problem solved by booting to the recovery disk and using diskutil on it.
I am still unsure why it couldn't unmount the disk, no system files or installations were on it. one of those things I guess... |
|
|
|
|
|
#3 |
|
League Commissioner
Join Date: Sep 2003
Location: Tokyo
Posts: 6,046
|
Next time, try prefixing your system-level commands with `sudo`: only the root user can play with the hardware. This is why Disk Utility asks for your password if you are not an admin user already
|
|
|
|
|
|
#4 |
|
Prospect
Join Date: Jul 2004
Posts: 27
|
<smacks forehead>
Doh! That's obvious now that you mention it... Thanks! |
|
|
|
|
|
#5 | |||||||||||||||||||||||
|
Registered User
Join Date: May 2005
Posts: 1
|
It's not sudo in my case
That is not it. I get completely the same, even when using sudo. My guess is that you just cannot do this for a bootable partition on your startup disk. Even adding 'nonbootable' to the command will not help $ sudo diskutil eraseVolume 'UFS' Classic nonbootable /dev/disk0s10 Password: error with erase Could not unmount disk (-10000) The end situation is that the disk is unounted, but not reformatted. It can be remounted using disktool, but still something like sudo diskutil eraseVolume UFS Classic /dev/disk0s10 just does not work, whatever I try. And something simple as unmounting a volume, changing the file system from HFS+ to UFS does not work either. But I did notice that this works: $ sudo diskutil eraseVolume 'HFS+' Classic nonbootable /dev/disk0s10 Password: Started erase on disk disk0s10 Classic Erasing Mounting Disk Finished erase on disk disk0s10 Classic but this doesn't: $ sudo diskutil eraseVolume 'UFS' Classic nonbootable /dev/disk0s10 Password: error with erase Could not unmount disk (-10000) Finished erase on disk disk0s10 Classic So it is from HFS+ to UFS that does not work. But from HFS+ to HFS+ does work. |
|||||||||||||||||||||||
|
|
|
|
|
#6 |
|
Prospect
Join Date: May 2005
Posts: 41
|
A volume that is in use can not be unmounted. In use can include:
iTunes playing music from that volume Any program with an open file from that volume Any shell being 'in' a directory on that volume Any program running from that volume -Dave |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|