리눅스 분류
리눅스 파티션을 변경하고 싶습니다.
작성자 정보
- chloe 작성
- 작성일
컨텐츠 정보
- 3,260 조회
- 1 댓글
- 0 추천
- 목록
본문
sohn@sohn-All-Series:~/work$ sudo fdisk -l
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00002de9
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 1953791 975872 83 Linux
/dev/sda2 1953792 31250431 14648320 82 Linux swap / Solaris
/dev/sda3 31250432 488396799 228573184 83 Linux
Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0008363f
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 3907026943 1953512448 83 Linux
전체 파티션에 대한 정보는 위와 같습니다.
sohn@sohn-All-Series:~/work$ df
df: `/home/sohn/.gvfs': Transport endpoint is not connected
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 224986620 14815188 198742776 7% /
udev 3965524 12 3965512 1% /dev
tmpfs 1589136 1000 1588136 1% /run
none 5120 0 5120 0% /run/lock
none 3972836 124 3972712 1% /run/shm
/dev/sda1 960504 958708 0 100% /boot
/dev/sdb1 1922858800 1306720 1823876460 1% /home
보시는 것처럼 /dev/sda1이 /boot에 해당하는데요,
용량이 매우 부족한 상태입니다. ㅠㅠ 그래서 /dev/sda3의 남아도는 용량을
/dev/sda1으로 재 설정해주고 싶습니다.
어떤 명령어를 어떻게 사용해야 가장 효율적이고 안전한 방법으로 파티션 재 설정을 할 수 있나요?
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00002de9
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 1953791 975872 83 Linux
/dev/sda2 1953792 31250431 14648320 82 Linux swap / Solaris
/dev/sda3 31250432 488396799 228573184 83 Linux
Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0008363f
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 3907026943 1953512448 83 Linux
전체 파티션에 대한 정보는 위와 같습니다.
sohn@sohn-All-Series:~/work$ df
df: `/home/sohn/.gvfs': Transport endpoint is not connected
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 224986620 14815188 198742776 7% /
udev 3965524 12 3965512 1% /dev
tmpfs 1589136 1000 1588136 1% /run
none 5120 0 5120 0% /run/lock
none 3972836 124 3972712 1% /run/shm
/dev/sda1 960504 958708 0 100% /boot
/dev/sdb1 1922858800 1306720 1823876460 1% /home
보시는 것처럼 /dev/sda1이 /boot에 해당하는데요,
용량이 매우 부족한 상태입니다. ㅠㅠ 그래서 /dev/sda3의 남아도는 용량을
/dev/sda1으로 재 설정해주고 싶습니다.
어떤 명령어를 어떻게 사용해야 가장 효율적이고 안전한 방법으로 파티션 재 설정을 할 수 있나요?
관련자료
-
이전
-
다음
댓글 1
눈여울님의 댓글
- 눈여울
- 작성일
파일 시스템이 리사이즈를 지원을 하지만
/ 파티션을 리사이즈하는 건 위험합니다
차라니 /boot 안의 사용하지 않는 커널이미지를 삭제하세요
/ 파티션을 리사이즈하는 건 위험합니다
차라니 /boot 안의 사용하지 않는 커널이미지를 삭제하세요