3장. Debian GNU/Hurd 설치 하기

이 방법은 Debian GNU/Hurd 공식 사이트에 나와 있는 방법으로 리눅스 시스템 혹은 그에 상응하는 시스템에서 다음의 세 파일을 한 디렉토리에 받아 놓고 설치를 시작한다.

또 dpkg가 필요하므로 사용하는 시스템에서 실행되는 dpkg를 받아 설치해야한다. dpkg는 데비안 미러 사이트의 debian/project/dpkg 에 있다.

가장 먼저 할 일은 Hurd를 설치할 파티션을 초기화 하고 마운트 하는 것이다. 마운트는 /gnu에 한다고 가정한다.

# mke2fs -o hurd /dev/sda1
mke2fs 1.27 (8-Mar-2002)
Filesystem label=
OS type: GNU/Hurd
Block size=4096 (log=2)
Fragment size=4096 (log=2)
109536 inodes, 218877 blocks
10943 blocks (5.00%) reserved for the super user
First data block=0
7 block groups
32768 blocks per group, 32768 fragments per group
15648 inodes per group
Superblock backups stored on blocks: 
        32768, 98304, 163840

Writing inode tables: done                            
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 29 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
# mount /dev/sda1 /gnu

마운트가 완료되면 위에서 받은 세 파일이 있는 디렉토리로 가서 cross-install을 실행한다.

./cross-install /gnu -download ftp://ftp.nuri.net/pub/debian

-download 옵션은 기본 다운로드할 사이트를 원하는 곳으로 바꾼다.

문제는 이제 부터인데 아마도 cross-install 등이 만들어진 날짜가 오래되서 그런지 deb 패키지를 받지 못하는 것이 좀있다. 필자도 수동을 받아 설치하려고 찾아봤지만 없는 것이 있고 cross-install을 수정해야하는 부담도 있고해서 이 방법으로 설치하는 것은 포기하고 말았다.