0
So, slight issue.
I'm attempting to label my Ubuntu partition on my Mac and cannot get access to a flash drive. Here are my resources:
- fuse-ext2 enabled terminal emulation
- Disk Utility
- Mac OS Yosemite
- Singular Ubuntu partition
- rEFInd
I'm trying to use the dont_scan_volumes
tag in the refind.conf
file in the EFI partition. However, in order to use it, one must obtain the label of the volume in question. My Ubuntu install, for some reason, did not apply a label to my partition, therefore the issue. I have attempted to do this through diskutil
. Here are my results:
>su
Password:
sh-3.2# mkdir /Volumes/Ubuntu
sh-3.2# mount -t fuse-ext2 /dev/disk0s4 /Volumes/Ubuntu
sh-3.2# diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *251.0 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 202.7 GB disk0s2
3: Apple_HFS Recovery HD 650.0 MB disk0s3
4: 0FC63DAF-8483-4772-8E79-3D69D8477DE4 46.8 GB disk0s4
5: Linux Swap 681.6 MB disk0s6
sh-3.2# diskutil rename /Volumes/Ubuntu Ubuntu
Volume must be mounted
As you can see, I clearly mount the partition through fuse-ext2 before attempting to rename it, and it gives me an unmounted error. I have no clue why this error is thrown or how to fix it. If you need more information or command outputs, let me know and I'll try to get some more info.
EDIT:
So, I got the computer to recognize it as mounted. YAY! However, I still cannot rename it, but due to a different error:
sh-3.2# diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *251.0 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 202.5 GB disk0s2
3: Apple_HFS Recovery HD 650.0 MB disk0s4
4: Microsoft Basic Data 46.8 GB disk0s5
5: Linux Swap 681.6 MB disk0s6
sh-3.2# diskutil renameVolume /Volumes/Untitled
Usage: diskutil rename[Volume] MountPoint|DiskIdentifier|DeviceNode newName
The new name is subject to file system-specific naming restrictions.
Ownership of the specified volume may be required.
sh-3.2# diskutil renameVolume /Volumes/Untitled ubuntu
ubuntu does not appear to be a valid volume name for its file system
So... all lowercase, no symbols, and less than 8 characters isn't enough for "Microsoft Basic Data", or am I doing something horribly, horribly wrong?
Also, I can put the disk into read/write mode through fuse-ext2, but it doesn't really help, as far as I can see.
If it shows as mounted on the desktop, will it not respond to 'click; Enter; rename' from there? – Tetsujin – 2015-07-18T06:42:07.593
Totally unresponsive. I can click on it on my desktop, and when I hit enter, it does not allow me to change its name. – Addison Crump – 2015-07-18T13:07:29.193
so it's mounted read-only? – Tetsujin – 2015-07-18T15:32:47.950
Yes. But it says that it's unmounted, and doesn't appear in Disk Utility as mounted. It looks more like it's a read-only filesystem. – Addison Crump – 2015-07-18T15:41:33.197
It will be read-only if you don't have something like Paragon ExtFS idk about fuse, been too long since I used it; it got flaky around OS X 10.7 & I stopped using it
– Tetsujin – 2015-07-18T15:45:35.733I got it to rw mode, but it hasn't helped whatsoever. – Addison Crump – 2015-07-18T17:28:02.490