USB 메모리를 준비하려면 GNU/리눅스가 동작하고 USB를 지원하는 시스템이 필요합니다. 최신의 GNU/리눅스 시스템에서는 USB 메모리를 연결하면 자동으로 인식합니다. 자동으로 인식이 안 된다면 usb-storage 커널 모듈을 읽어들였는지 확인하십시오. USB 메모리를 연결하면 그 장치는 /dev/sdX
에 연결됩니다. 여기서 “X”는 a-z 범위의 알파벳입니다. USB 메모리를 연결하고 dmesg 명령을 실행하면 그 USB 메모리가 어떤 장치에 연결되었는 지 알아볼 수 있습니다. USB 메모리에 쓰려면, 쓰기 방지 스위치를 풀어 놓아야 할 수도 있습니다.
![]() |
주의 |
---|---|
여기서 설명한 대로 하면 해당 장치에 들어 있는 내용이 모두 지워집니다! USB 메모리의 장치 이름을 올바르게 사용하도록 주의하십시오. 예를 들어 장치 이름을 잘못 사용해 하드 디스크에 들어 있는 내용이 모두 지워질 수도 잇습니다. |
Debian installation images can now be written directly to a USB stick, which is a very easy way to make a bootable USB stick. Simply choose an image (such as the netinst, CD, DVD-1, or netboot) that will fit on your USB stick. See 4.1절. “Official 데비안 GNU/리눅스 installation images” to get an installation image.
아주 작은 USB 메모리의 경우(수 메가바이트 정도 뿐인 경우) mini.iso
이미지를 netboot
디렉터리에서(4.2.1절. “설치 이미지를 찾을 위치”에서 언급된 위치에서) 다운로드할 수 있습니다.
The installation image you choose should be written directly to the USB stick, overwriting its current contents. For example, when using an existing GNU/Linux system, the image file can be written to a USB stick as follows, after having made sure that the stick is unmounted:
#
cp
debian.iso
/dev/sdX
#
sync
Information about how to do this on other operating systems can be found in the Debian CD FAQ.
![]() |
중요 |
---|---|
이미지는 파티션이 아니라 전체 디스크에 해당하는 장치에 써야 합니다. 예를 들어 /dev/sdb에 쓰면 되지만 /dev/sdb1에 쓰면 안 됩니다. unetbootin 같은 도구를 사용해 이미지를 수정합니다. |
![]() |
중요 |
---|---|
Simply writing the installation image to USB like this should work fine for most users. The other options below are more complex, mainly for people with specialised needs. |
USB 메모리의 하이브리드 이미지는 저장 공간을 모두 사용하지 않습니다. 그러니 빈 공간에 펌웨어 파일, 추가 패키지, 또는 기타 파일을 원하는대로 저장하면 좋을 수도 있습니다. USB 메모리가 하나밖에 없거나 설치에 필요한 사항을 한 개 안에 넣으려고 할 때 좋습니다.
USB 메모리에 두 번째 FAT 파티션을 만들고, 파티션을 마운트해 펌웨어를 복사하거나 풀어 놓습니다. 예를 들어:
# mount /dev/sdX2
/mnt # cd /mnt # tar zxvf/path/to/
firmware.tar.gz # cd / # umount /mnt
mini.iso
파일을 USB 스틱에 넣었을 수도 있습니다. 그러면 두 번째 파티션이 이미 있기 때문에 새로 만들 필요가 없습니다. USB 메모리를 빼고 다시 넣으면 두 개의 파티션이 보입니다.
An alternative way to set up your USB stick is to manually copy the installer files, and also an installation image to it. Note that the USB stick should be at least 1 GB in size (smaller setups are possible if you follow 4.3.3절. “수동으로 USB 메모리에 파일 복사하기 — 유연한 방법”).
모든 설치 프로그램 파일(커널 포함)이 들어간 hd-media/boot.img.gz
라는 올인원 파일이 있습니다.
이 방식은 편리하기는 하지만 한 가지 큰 단점이 있습니다. USB 메모리 용량이 아무리 크더라도 장치의 논리 크기가 1GB까지 밖에 안 됩니다. USB 메모리의 파티션을 나눠서 새 파일 시스템을 만들어야 다른 용도로 사용할 수 있습니다.
After that, mount the USB memory stick which will now have on it, and copy a 데비안 ISO image (netinst or full CD/DVD) to it. Unmount the stick (umount /mnt
) and you are done.