얕고넓은지식/linux

Partition 2 does not start on physical sector boundary.

쪽마 2021. 9. 23. 00:59
반응형

근데..이상한게 보이네??

https://m.blog.naver.com/PostView.naver?isHttpsRedirect=true&blogId=jesstter&logNo=220994100077 

 

Partition 1 does not start on physical sector boundary

# 오류는 파티션의 시작이 섹터의 경계에서 시작하지 않는다는 뜻임. 1. 물리섹터 사이즈가 512 bytes인 디...

blog.naver.com

 

블로그 참고해서 수정하면된다.

 

참고로 파티션 삭제하기는

#fdisk /dev/sdb (장치 위치는 df, fdisk -l로 확인)

Command(m for help) : p 

▲ 현재 파티션 정보 확인

Command(m for help) : d

▲ 파티션 삭제 (번호 고르기 sdb뒤에나오는 숫자로 확인)

Command(m for help) : n

▲ 파티션을 전부 삭제한 후 n을 쳐서 새로운 파티션 생성

Command(m for help) : l

▲ 선택할 수 있는 파티션 타입 확인(ex. Linux, fat 등등)

Command(m for help) : t

▲ 파티션 넘버를 선택한 후 위에서 기억한 파티션 타입 입력

Command(m for help) : w

▲ 저장하고 나옴

 

 

 

 

[root@localhost ~]# fdisk /dev/sd
sda#  sda1# sda2# sdb#  sdb1# sdb2#
[root@localhost ~]# fdisk /dev/sda2
Welcome to fdisk (util-linux 2.23.2).

Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Device does not contain a recognized partition table
Building a new DOS disklabel with disk identifier 0xe0e90344.
You must set cylinders.
You can do this from the extra functions menu.

The device presents a logical sector size that is smaller than
the physical sector size. Aligning to a physical sector (or optimal
I/O) size boundary is recommended, or performance may be impacted.

Command (m for help): u
Changing display/entry units to cylinders (DEPRECATED!).

Command (m for help): u
Changing display/entry units to sectors.

 

 

 

 

근데 잘안되네..

귀찮아서..그냥 파티셧 다시 포맷함...

 

mkfs

반응형