fdisk에서 만든 fat32가 linux partition?

lacovnk의 이미지

fdisk에서 linux 파티션을 만들었는데, fdisk -l 해보면

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1       30395   244147806   83  Linux

라고 나옵니다. 그런데 사실 이 파티션은 vfat입니다 -_-

dos compatibility 켜고 만들고, create a new empty DOS partition table도 하고 다시 만들어봤는데, 동일합니다.

mkfs.vfat에서 옵션을 뭔가 잘못 줘서 그런건가요? 음..

linux에서 마운트는 잘되는데, window에서는 "정상"이지만 파티션 타입이 아예 나오지 않는군요;

keizie의 이미지

위의 예와 반대로 해서, FAT 파티션을 만들고 mkfs.ext3 한 다음 윈도우에서 들어가려고 하면 포맷이 안 되어 있다면서 포맷할 거냐고 묻습니다. 포맷하면 안에 있던 자료는 사라지고 vfat 파일 시스템이 되는 거죠.

fdisk에서 l을 치면 파티션 타입에 쓸 수 있는 종류가 쭉 나옵니다. 윈도우에서 쓰는 건 b나 c 중에 하나로 기억합니다. "create a new empty DOS partition table"은 어떻게 하셨다는 건지 모르겠네요.

lacovnk의 이미지

fdisk의 명령어들

   a   toggle a bootable flag
   b   edit bsd disklabel
   c   toggle the DOS compatibility flag
   d   delete a partition
   l   list known partition types
   m   print this menu
   n   add a new partition
   o   create a new empty DOS partition table
   p   print the partition table
   q   quit without saving changes
   s   create a new empty Sun disklabel
   t   change a partition's system id
   u   change display/entry units
   v   verify the partition table
   w   write table to disk and exit
   x   extra functionality (experts only)

o 명령을 이용했는데, 이건 상관이 없던거였군요! t명령으로 바꿔줘야했습니다 -_-