SD 카드 파티션 나누기 질문입니다.
안녕하세요 리눅스 초보입니다.
SD 카드 파티션 나누는데 잘 되지않아서 질문드립니다.
sfdisk --in-order --Linux --unit M ${DISK} <<-__EOF__
1,,0x83,*
__EOF__
위의 명령어를 쳐서 파티션을 나누면
Checking that no-one is using this disk right now ...
BLKRRPART: Inappropriate ioctl for device
OK
Disk /dev/sdc: 1023 cylinders, 122 heads, 62 sectors/track
Old situation:
Warning: The partition table looks like it was made
for C/H/S=*/89/60 (instead of 1023/122/62).
For this listing I'll assume that geometry.
Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End MiB #blocks Id System
/dev/sdc1 * 1 3780 3780 3870720 83 Linux
start: (c,h,s) expected (0,34,9) found (0,33,3)
/dev/sdc2 0 - 0 0 0 Empty
/dev/sdc3 0 - 0 0 0 Empty
/dev/sdc4 0 - 0 0 0 Empty
New situation:
Warning: The partition table looks like it was made
for C/H/S=*/89/60 (instead of 1023/122/62).
For this listing I'll assume that geometry.
Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End MiB #blocks Id System
/dev/sdc1 * 1 3780 3780 3870720 83 Linux
start: (c,h,s) expected (0,34,9) found (0,33,3)
/dev/sdc2 0 - 0 0 0 Empty
/dev/sdc3 0 - 0 0 0 Empty
/dev/sdc4 0 - 0 0 0 Empty
Successfully wrote the new partition table
Re-reading the partition table ...
BLKRRPART: Success
If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)
위와 같이 메세지가 표시됩니다.
위를 보면 sdc1,~ sdc4 까지 생성된것 같은데요..
/dev쪽에 보면 sdc 하나만 있더군요..
제가 뭘 잘못하는 걸까요?
단순히 sd카드의 파티션 나누는 것이 목적이고 우분투
단순히 sd카드의 파티션 나누는 것이 목적이고 우분투 사용중이시라면,
gparted
사용하시면 될 듯 합니다. gui 환경입니다.
댓글 달기