Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a mac from 2006 and it is already not supported by new Apple system. So I did get back to Linux and I did chose Ubuntu 13.04. I did install Ubuntu side by side with OSX, but I did notice that Ubuntu did install itself on fat partition. Why Ubuntu uses fat partition? And can I change it to EXT4 without loosing already configured data?

share|improve this question
1  
Ubuntu can not be installed on a FAT partition so you will have to be more specific to glean the source of your misunderstanding. –  psusi May 6 '13 at 0:38
    
My suspicion is that Zagroda is seeing the EFI System Partition (ESP), which is FAT. Another possibility is that an OS X utility is reporting partition types based on their type codes; Ubuntu 13.04 still uses the same type code for its data partitions as Windows uses for FAT and NTFS. A fix to libparted has been in the works for two years, but the libparted developers have been sluggish in pushing it out. The output of both sudo parted /dev/sda print and sudo gdisk -l /dev/sda would be informative. (The latter will require installing the gdisk package.) –  Rod Smith May 6 '13 at 2:22
    
Rod Smith is right, OSX disk manager did lye to me, he did show fat partition and other apps did show ext4. –  Zagroda May 6 '13 at 8:05
    
It's not so much that Disk Manager was "lying;" it's just that it was relyong on the GPT type code data, which Linux sets incorrectly. You can fix this by using gdisk from either Linux or OS X: Launch it, type p to view the partitions, and then use t to change the type code of any Linux partition shown as being of type 0700 so that it's of type 8300. When you're done, review your changes with p and then type w to save them. –  Rod Smith May 6 '13 at 14:34
    
@RodSmith might be worth putting your comment as an answer below so this question can be marked as solved (I'd gladly do it, but don't want to take credit for your work in solving this misunderstanding ;) ) –  Oyibo Jun 6 '13 at 14:05

1 Answer 1

Note: Originally posted as comment; re-entered as an answer, as suggested by Oyibo.

My suspicion is that Zagroda is seeing the EFI System Partition (ESP), which is FAT. Another possibility is that an OS X utility is reporting partition types based on their type codes; Ubuntu 13.04 still uses the same type code for its data partitions as Windows uses for FAT and NTFS. A fix to libparted has been in the works for two years, but the libparted developers have been sluggish in pushing it out. The output of both sudo parted /dev/sda print and sudo gdisk -l /dev/sda would be informative. (The latter will require installing the gdisk package.)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.