본문 바로가기
서버/리눅스 서버

오드로이드 H2 초기 셋팅 (데이타 주의)

by ㅋㅋ잠자 2018. 11. 26.
반응형

일단 저는 테스터로 참가하였습니다.


아래의 케이스는 어떤 케이스인지 모르겠습니다.


2TB 하드와 4기가 * 2장 및 EMMC 8기가를 달고 있습니다. 용량이 너무 작아서 그냥 OMV 를 여기에는 올리지 않기로 하였습니다.





1. 조립기 및 바이오스 화면


일단 마클의 하드를 탈거 합니다.






그리고 하판 조립 ㅎㅎ 




보드가 작고 이쁩니다.



8기가 EMMC 및 사타포트 2개 입니다.


오드로이드 전원부 설계상 12V 3A 까지 밖에 안되기 때문에 하드를 2개 이상 달기가 애로합니다.


12V 추가 전원부를 만들어 주시는게 좋을것 같습니다.




하부에 하드를 안착시킵니다.







그리고 사타케이블 연결 ㅎㅎ






조립이 끝난 줄 알았지만, 아래 사진을 보시면 패널을 180도 반대로 꽂아서 전원버튼을 누를 수 없게 되었습니다. 다시 조립합니다 ㅎㅎ



일단 세팅이 완료 되었고 데비안 설치를 합니다.






2. 데비안 설치


데비안은 9버전을 이용했습니다.


그리고 설치과정은 아래의 영상을 봐주시면 좋겠습니다.


한편, 8기가 EMMC 의 경우 용량이 부족하다는 문제가 발생할 수 있는데요. 그냥 Manual 로 생성해서 쓰시면 됩니다.


EFI 파티션과 / 파티션을 두개 만드시고 넘어가시면 됩니다.


SWAP 공간은 하드에 생성 예정이라 ㅎㅎ



OMV 설치게시글은 아래를 참고하세요. 잘 될지는 모르겠습니다. 이전에 작성해 놓은 것입니다.


저는 이번에 OMV 를 설치하지 않았습니다.


https://blog.djjproject.com/402





3. 하드 마운트 및 기본 설정


# 디스크 목록 및 파티션 확인

root@djjproject:~# fdisk -l 

Disk /dev/mmcblk0: 7.3 GiB, 7818182656 bytes, 15269888 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

Disklabel type: gpt

Disk identifier: 80F564BF-60A3-400C-A3CB-8F03BF9D1733


Device          Start      End  Sectors  Size Type

/dev/mmcblk0p1   2048   999423   997376  487M EFI System

/dev/mmcblk0p2 999424 15267839 14268416  6.8G Linux filesystem





Disk /dev/mmcblk0boot1: 4 MiB, 4194304 bytes, 8192 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 /dev/mmcblk0boot0: 4 MiB, 4194304 bytes, 8192 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 /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 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

Disklabel type: gpt

Disk identifier: 072077E3-0B20-4F5A-92BC-0AA7579D96CC


Device       Start        End    Sectors  Size Type

/dev/sda1  1032192    5031935    3999744  1.9G Linux RAID

/dev/sda2  5031936    9031679    3999744  1.9G Linux RAID

/dev/sda3    30720    1032191    1001472  489M Microsoft basic data

/dev/sda4  9428992 3907028991 3897600000  1.8T Microsoft basic data

/dev/sda5  9031680    9226239     194560   95M Microsoft basic data

/dev/sda6  9226240    9422847     196608   96M Microsoft basic data

/dev/sda7  9422848    9424895       2048    1M Microsoft basic data

/dev/sda8  9424896    9428991       4096    2M Microsoft basic data


Partition table entries are not in disk order.



Disk /dev/md1: 1.9 GiB, 2047803392 bytes, 3999616 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 /dev/md0: 1.9 GiB, 2047803392 bytes, 3999616 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


# sda 파티션 작업 시작

root@djjproject:~# fdisk /dev/sda


Welcome to fdisk (util-linux 2.29.2).

Changes will remain in memory only, until you decide to write them.

Be careful before using the write command.



Command (m for help): m


Help:


  Generic

   d   delete a partition

   F   list free unpartitioned space

   l   list known partition types

   n   add a new partition

   p   print the partition table

   t   change a partition type

   v   verify the partition table

   i   print information about a partition


  Misc

   m   print this menu

   x   extra functionality (experts only)


  Script

   I   load disk layout from sfdisk script file

   O   dump disk layout to sfdisk script file


  Save & Exit

   w   write table to disk and exit

   q   quit without saving changes


  Create a new label

   g   create a new empty GPT partition table

   G   create a new empty SGI (IRIX) partition table

   o   create a new empty DOS partition table

   s   create a new empty Sun partition table


# GPT 로 초기화 하면서 파티션을 모두 날림

Command (m for help): g

Created a new GPT disklabel (GUID: A6A5B20B-D06B-4440-A3B0-7D406C93C776).


# 파티션 생성 작업

Command (m for help): n

Partition number (1-128, default 1): 1

First sector (2048-3907029134, default 2048): 

Last sector, +sectors or +size{K,M,G,T,P} (2048-3907029134, default 3907029134): 


Created a new partition 1 of type 'Linux filesystem' and of size 1.8 TiB.


# 변경된 것 쓰기

Command (m for help): w

The partition table has been altered.

Calling ioctl() to re-read partition table.

Re-reading the partition table failed.: Device or resource busy


The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8).


# 혹시 마운트 되어 있는지 확인

root@djjproject:~# df -h

Filesystem      Size  Used Avail Use% Mounted on

udev            3.6G     0  3.6G   0% /dev

tmpfs           737M  8.6M  729M   2% /run

/dev/mmcblk0p2  6.7G  704M  5.6G  11% /

tmpfs           3.6G     0  3.6G   0% /dev/shm

tmpfs           5.0M     0  5.0M   0% /run/lock

tmpfs           3.6G     0  3.6G   0% /sys/fs/cgroup

/dev/mmcblk0p1  487M  132K  486M   1% /boot/efi

tmpfs           737M     0  737M   0% /run/user/0


# 파티션 제대로 되었는지 확인

root@djjproject:~# fdisk /dev/sda


Welcome to fdisk (util-linux 2.29.2).

Changes will remain in memory only, until you decide to write them.

Be careful before using the write command.



Command (m for help): p

Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 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

Disklabel type: gpt

Disk identifier: A6A5B20B-D06B-4440-A3B0-7D406C93C776


Device     Start        End    Sectors  Size Type

/dev/sda1   2048 3907029134 3907027087  1.8T Linux filesystem


Command (m for help): ^C


# XFS 로 하드 포맷

root@djjproject:~# mkfs.xfs /dev/sda1

-bash: mkfs.xfs: command not found


# 백포트 및 non-free contrib 레포 주소 추가

root@djjproject:~# nano /etc/apt/sources.list


deb http://debian-archive.trafficmanager.net/debian/ stretch main contrib non-free

deb-src http://debian-archive.trafficmanager.net/debian/ stretch main contrib non-free


deb http://security.debian.org/debian-security stretch/updates main contrib non-free

deb-src http://security.debian.org/debian-security stretch/updates main contrib non-free


# stretch-updates, previously known as 'volatile'

deb http://debian-archive.trafficmanager.net/debian/ stretch-updates main contrib non-free

deb-src http://debian-archive.trafficmanager.net/debian/ stretch-updates main contrib non-free


# strech-backports

deb http://debian-archive.trafficmanager.net/debian/ stretch-backports main contrib non-free

deb-src http://debian-archive.trafficmanager.net/debian/ stretch-backports main contrib non-free



# 패키지 리스트 갱신

root@djjproject:~# apt-get update

Ign:1 http://debian-archive.trafficmanager.net/debian stretch InRelease

Hit:2 http://debian-archive.trafficmanager.net/debian stretch-updates InRelease

Get:3 http://debian-archive.trafficmanager.net/debian stretch-backports InRelease [91.8 kB]

Hit:4 http://debian-archive.trafficmanager.net/debian stretch Release

Hit:5 http://security.debian.org/debian-security stretch/updates InRelease

Get:6 http://debian-archive.trafficmanager.net/debian stretch-backports/main Sources [518 kB]

Get:8 http://debian-archive.trafficmanager.net/debian stretch-backports/contrib Sources [4,808 B]

Get:9 http://debian-archive.trafficmanager.net/debian stretch-backports/non-free Sources [7,928 B]

Get:10 http://debian-archive.trafficmanager.net/debian stretch-backports/main amd64 Packages [515 kB]

Get:11 http://debian-archive.trafficmanager.net/debian stretch-backports/main Translation-en [392 kB]

Get:12 http://debian-archive.trafficmanager.net/debian stretch-backports/contrib amd64 Packages [7,620 B]

Get:13 http://debian-archive.trafficmanager.net/debian stretch-backports/contrib Translation-en [6,233 B]

Get:14 http://debian-archive.trafficmanager.net/debian stretch-backports/non-free amd64 Packages [29.1 kB]

Get:15 http://debian-archive.trafficmanager.net/debian stretch-backports/non-free Translation-en [33.8 kB]

Get:16 http://debian-archive.trafficmanager.net/debian stretch/non-free Sources [79.5 kB]

Get:17 http://debian-archive.trafficmanager.net/debian stretch/contrib Sources [44.7 kB]

Get:18 http://debian-archive.trafficmanager.net/debian stretch/contrib amd64 Packages [50.9 kB]

Get:19 http://debian-archive.trafficmanager.net/debian stretch/contrib Translation-en [45.9 kB]

Get:20 http://debian-archive.trafficmanager.net/debian stretch/non-free amd64 Packages [78.6 kB]

Get:21 http://debian-archive.trafficmanager.net/debian stretch/non-free Translation-en [80.4 kB]

Fetched 1,985 kB in 1s (1,155 kB/s)                                

Reading package lists... Done


# XFS 마운트 패키지 설치

root@djjproject:~# apt install xfsprogs

Reading package lists... Done

Building dependency tree       

Reading state information... Done

The following additional packages will be installed:

  libreadline5

Suggested packages:

  xfsdump acl attr quota

The following NEW packages will be installed:

  libreadline5 xfsprogs

0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.

Need to get 931 kB of archives.

After this operation, 4,789 kB of additional disk space will be used.

Do you want to continue? [Y/n] 

Get:1 http://debian-archive.trafficmanager.net/debian stretch/main amd64 libreadline5 amd64 5.2+dfsg-3+b1 [119 kB]

Get:2 http://debian-archive.trafficmanager.net/debian stretch/main amd64 xfsprogs amd64 4.9.0+nmu1 [811 kB]

Fetched 931 kB in 0s (1,867 kB/s) 

Selecting previously unselected package libreadline5:amd64.

(Reading database ... 19313 files and directories currently installed.)

Preparing to unpack .../libreadline5_5.2+dfsg-3+b1_amd64.deb ...

Unpacking libreadline5:amd64 (5.2+dfsg-3+b1) ...

Selecting previously unselected package xfsprogs.

Preparing to unpack .../xfsprogs_4.9.0+nmu1_amd64.deb ...

Unpacking xfsprogs (4.9.0+nmu1) ...

Processing triggers for libc-bin (2.24-11+deb9u3) ...

Setting up libreadline5:amd64 (5.2+dfsg-3+b1) ...

Setting up xfsprogs (4.9.0+nmu1) ...

update-initramfs: deferring update (trigger activated)

Processing triggers for libc-bin (2.24-11+deb9u3) ...

Processing triggers for initramfs-tools (0.130) ...

update-initramfs: Generating /boot/initrd.img-4.9.0-8-amd64

W: Possible missing firmware /lib/firmware/rtl_nic/rtl8107e-2.fw for module r8169

W: Possible missing firmware /lib/firmware/rtl_nic/rtl8107e-1.fw for module r8169

W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168h-2.fw for module r8169

W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168h-1.fw for module r8169

W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168g-3.fw for module r8169

W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168g-2.fw for module r8169

W: Possible missing firmware /lib/firmware/rtl_nic/rtl8106e-2.fw for module r8169

W: Possible missing firmware /lib/firmware/rtl_nic/rtl8106e-1.fw for module r8169

W: Possible missing firmware /lib/firmware/rtl_nic/rtl8411-2.fw for module r8169

W: Possible missing firmware /lib/firmware/rtl_nic/rtl8411-1.fw for module r8169

W: Possible missing firmware /lib/firmware/rtl_nic/rtl8402-1.fw for module r8169

W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-2.fw for module r8169

W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-1.fw for module r8169

W: Possible missing firmware /lib/firmware/rtl_nic/rtl8105e-1.fw for module r8169

W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-3.fw for module r8169

W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-2.fw for module r8169

W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-1.fw for module r8169

W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-2.fw for module r8169

W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-1.fw for module r8169


# 모듈이 없다는 에러 해결을 위한 펌웨어 리얼텍 패키지 설치

root@djjproject:~# apt install firmware-realtek

Reading package lists... Done

Building dependency tree       

Reading state information... Done

The following NEW packages will be installed:

  firmware-realtek

0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.

Need to get 342 kB of archives.

After this operation, 1,148 kB of additional disk space will be used.

Get:1 http://debian-archive.trafficmanager.net/debian stretch/non-free amd64 firmware-realtek all 20161130-4 [342 kB]

Fetched 342 kB in 0s (1,577 kB/s)        

Selecting previously unselected package firmware-realtek.

(Reading database ... 19382 files and directories currently installed.)

Preparing to unpack .../firmware-realtek_20161130-4_all.deb ...

Unpacking firmware-realtek (20161130-4) ...

Setting up firmware-realtek (20161130-4) ...

update-initramfs: deferring update (trigger activated)

Processing triggers for initramfs-tools (0.130) ...

update-initramfs: Generating /boot/initrd.img-4.9.0-8-amd64


# 포맷

root@djjproject:~# mkfs.xfs /dev/sda1

mkfs.xfs: /dev/sda1 appears to contain an existing filesystem (linux_raid_member).

mkfs.xfs: Use the -f option to force overwrite.


# 강제 옵션으로 시도

root@djjproject:~# mkfs.xfs /dev/sda1 -f

mkfs.xfs: cannot open /dev/sda1: Device or resource busy


# 마이클라우드에서 쓰던 것이라 raid 중지

root@djjproject:~# mdadm --stop /dev/md0

mdadm: stopped /dev/md0


# 다시 포맷 시도

root@djjproject:~# mkfs.xfs /dev/sda1 -f

meta-data=/dev/sda1              isize=512    agcount=4, agsize=124992 blks

         =                       sectsz=512   attr=2, projid32bit=1

         =                       crc=1        finobt=1, sparse=0, rmapbt=0, reflink=0

data     =                       bsize=4096   blocks=499968, imaxpct=25

         =                       sunit=0      swidth=0 blks

naming   =version 2              bsize=4096   ascii-ci=0 ftype=1

log      =internal log           bsize=4096   blocks=2560, version=2

         =                       sectsz=512   sunit=0 blks, lazy-count=1

realtime =none                   extsz=4096   blocks=0, rtextents=0

root@djjproject:~# 


# 폴더 생성 후 마운트 시도

root@djjproject:~# cd /media/

root@djjproject:/media# mkdir volume1

root@djjproject:/media# mount /dev/sda1 volume1/

root@djjproject:/media# cd volume1/

root@djjproject:/media/volume1# ls


# 정상 마운트 확인

root@djjproject:/media/volume1# df -h

Filesystem      Size  Used Avail Use% Mounted on

udev            3.6G     0  3.6G   0% /dev

tmpfs           737M  8.7M  729M   2% /run

/dev/mmcblk0p2  6.7G  724M  5.6G  12% /

tmpfs           3.6G     0  3.6G   0% /dev/shm

tmpfs           5.0M     0  5.0M   0% /run/lock

tmpfs           3.6G     0  3.6G   0% /sys/fs/cgroup

/dev/mmcblk0p1  487M  132K  486M   1% /boot/efi

tmpfs           737M     0  737M   0% /run/user/0

/dev/sda1       1.9G   35M  1.9G   2% /media/volume1

root@djjproject:/media/volume1# 


# UUID 마운트 시도 , 아직 이전 파티션 정보가 남아 있습니다.

root@djjproject:/media/volume1# blkid

/dev/mmcblk0p2: UUID="1bb152ad-4f44-4efc-baf2-93cb16238ed9" TYPE="ext4" PARTUUID="c8d6bba3-a7c5-4bdb-8d89-a8d3d66f1653"

/dev/mmcblk0: PTUUID="80f564bf-60a3-400c-a3cb-8f03bf9d1733" PTTYPE="gpt"

/dev/mmcblk0p1: UUID="3160-37B2" TYPE="vfat" PARTUUID="c0f38727-8d28-4d82-800c-397d825e90a1"

/dev/sda1: UUID="02acbfc5-b9cc-4468-b6d4-2854241935e0" TYPE="xfs"

/dev/sda2: UUID="ae9a1390-a5d0-8f12-997c-eb89519129b4" TYPE="linux_raid_member"

/dev/sda3: UUID="34ad7ff9-099c-4eac-b6af-c2998cf1c237" TYPE="swap"

/dev/sda4: UUID="61f74be1-bcce-437c-9574-af5c33dda97c" TYPE="xfs"

/dev/md1: UUID="d2d562c4-8778-4a4a-a203-c5834fbb363c" TYPE="ext3"



# fstab 수정

root@djjproject:/media/volume1# nano /etc/fstab


# 2TB disk mount
UUID=02acbfc5-b9cc-4468-b6d4-2854241935e0       /media/volume1  xfs     defaluts    0       0


# 재부팅 후 마운트 확인

root@djjproject:~# df -h

Filesystem      Size  Used Avail Use% Mounted on

udev            3.6G     0  3.6G   0% /dev

tmpfs           737M  8.6M  729M   2% /run

/dev/mmcblk0p2  6.7G  708M  5.6G  11% /

tmpfs           3.6G     0  3.6G   0% /dev/shm

tmpfs           5.0M     0  5.0M   0% /run/lock

tmpfs           3.6G     0  3.6G   0% /sys/fs/cgroup

/dev/mmcblk0p1  487M  132K  486M   1% /boot/efi

/dev/sda1       1.9T  1.9G  1.9T   1% /media/volume1

tmpfs           737M     0  737M   0% /run/user/0

root@djjproject:~# 


# 백포트 커널 버전 확인

root@djjproject:~# apt-cache search -t stretch-backports linux-image

linux-headers-4.9.0-8-amd64 - Header files for Linux 4.9.0-8-amd64

linux-headers-4.9.0-8-rt-amd64 - Header files for Linux 4.9.0-8-rt-amd64

linux-image-4.9.0-8-amd64 - Linux 4.9 for 64-bit PCs

linux-image-4.9.0-8-amd64-dbg - Debug symbols for linux-image-4.9.0-8-amd64

linux-image-4.9.0-8-rt-amd64 - Linux 4.9 for 64-bit PCs, PREEMPT_RT

linux-image-4.9.0-8-rt-amd64-dbg - Debug symbols for linux-image-4.9.0-8-rt-amd64

linux-image-amd64-dbg - Debugging symbols for Linux amd64 configuration (meta-package)

linux-image-rt-amd64 - Linux for 64-bit PCs (meta-package), PREEMPT_RT

linux-image-rt-amd64-dbg - Debugging symbols for Linux rt-amd64 configuration (meta-package)

linux-headers-4.9.0-3-amd64 - Header files for Linux 4.9.0-3-amd64

linux-headers-4.9.0-3-rt-amd64 - Header files for Linux 4.9.0-3-rt-amd64

linux-headers-4.9.0-4-amd64 - Header files for Linux 4.9.0-4-amd64

linux-headers-4.9.0-4-rt-amd64 - Header files for Linux 4.9.0-4-rt-amd64

linux-headers-4.9.0-5-amd64 - Header files for Linux 4.9.0-5-amd64

linux-headers-4.9.0-5-rt-amd64 - Header files for Linux 4.9.0-5-rt-amd64

linux-headers-4.9.0-6-amd64 - Header files for Linux 4.9.0-6-amd64

linux-headers-4.9.0-6-rt-amd64 - Header files for Linux 4.9.0-6-rt-amd64

linux-headers-4.9.0-7-amd64 - Header files for Linux 4.9.0-7-amd64

linux-headers-4.9.0-7-rt-amd64 - Header files for Linux 4.9.0-7-rt-amd64

linux-image-4.9.0-3-amd64 - Linux 4.9 for 64-bit PCs

linux-image-4.9.0-3-amd64-dbg - Debug symbols for linux-image-4.9.0-3-amd64

linux-image-4.9.0-3-rt-amd64 - Linux 4.9 for 64-bit PCs, PREEMPT_RT

linux-image-4.9.0-3-rt-amd64-dbg - Debug symbols for linux-image-4.9.0-3-rt-amd64

linux-image-4.9.0-4-amd64 - Linux 4.9 for 64-bit PCs

linux-image-4.9.0-4-amd64-dbg - Debug symbols for linux-image-4.9.0-4-amd64

linux-image-4.9.0-4-rt-amd64 - Linux 4.9 for 64-bit PCs, PREEMPT_RT

linux-image-4.9.0-4-rt-amd64-dbg - Debug symbols for linux-image-4.9.0-4-rt-amd64

linux-image-4.9.0-5-amd64 - Linux 4.9 for 64-bit PCs

linux-image-4.9.0-5-amd64-dbg - Debug symbols for linux-image-4.9.0-5-amd64

linux-image-4.9.0-5-rt-amd64 - Linux 4.9 for 64-bit PCs, PREEMPT_RT

linux-image-4.9.0-5-rt-amd64-dbg - Debug symbols for linux-image-4.9.0-5-rt-amd64

linux-image-4.9.0-6-amd64 - Linux 4.9 for 64-bit PCs

linux-image-4.9.0-6-amd64-dbg - Debug symbols for linux-image-4.9.0-6-amd64

linux-image-4.9.0-6-rt-amd64 - Linux 4.9 for 64-bit PCs, PREEMPT_RT

linux-image-4.9.0-6-rt-amd64-dbg - Debug symbols for linux-image-4.9.0-6-rt-amd64

linux-image-4.9.0-7-amd64 - Linux 4.9 for 64-bit PCs

linux-image-4.9.0-7-amd64-dbg - Debug symbols for linux-image-4.9.0-7-amd64

linux-image-4.9.0-7-rt-amd64 - Linux 4.9 for 64-bit PCs, PREEMPT_RT

linux-image-4.9.0-7-rt-amd64-dbg - Debug symbols for linux-image-4.9.0-7-rt-amd64

linux-headers-4.17.0-0.bpo.1-amd64 - Header files for Linux 4.17.0-0.bpo.1-amd64

linux-headers-4.17.0-0.bpo.1-cloud-amd64 - Header files for Linux 4.17.0-0.bpo.1-cloud-amd64

linux-headers-4.17.0-0.bpo.3-amd64 - Header files for Linux 4.17.0-0.bpo.3-amd64

linux-headers-4.17.0-0.bpo.3-cloud-amd64 - Header files for Linux 4.17.0-0.bpo.3-cloud-amd64

linux-headers-4.18.0-0.bpo.1-amd64 - Header files for Linux 4.18.0-0.bpo.1-amd64

linux-headers-4.18.0-0.bpo.1-cloud-amd64 - Header files for Linux 4.18.0-0.bpo.1-cloud-amd64

linux-headers-4.18.0-0.bpo.1-rt-amd64 - Header files for Linux 4.18.0-0.bpo.1-rt-amd64

linux-image-4.17.0-0.bpo.1-amd64 - Linux 4.17 for 64-bit PCs

linux-image-4.17.0-0.bpo.1-amd64-dbg - Debug symbols for linux-image-4.17.0-0.bpo.1-amd64

linux-image-4.17.0-0.bpo.1-cloud-amd64 - Linux 4.17 for x86-64 cloud

linux-image-4.17.0-0.bpo.1-cloud-amd64-dbg - Debug symbols for linux-image-4.17.0-0.bpo.1-cloud-amd64

linux-image-4.17.0-0.bpo.3-amd64 - Linux 4.17 for 64-bit PCs

linux-image-4.17.0-0.bpo.3-amd64-dbg - Debug symbols for linux-image-4.17.0-0.bpo.3-amd64

linux-image-4.17.0-0.bpo.3-cloud-amd64 - Linux 4.17 for x86-64 cloud

linux-image-4.17.0-0.bpo.3-cloud-amd64-dbg - Debug symbols for linux-image-4.17.0-0.bpo.3-cloud-amd64

linux-image-4.18.0-0.bpo.1-amd64 - Linux 4.18 for 64-bit PCs

linux-image-4.18.0-0.bpo.1-amd64-dbg - Debug symbols for linux-image-4.18.0-0.bpo.1-amd64

linux-image-4.18.0-0.bpo.1-cloud-amd64 - Linux 4.18 for x86-64 cloud

linux-image-4.18.0-0.bpo.1-cloud-amd64-dbg - Debug symbols for linux-image-4.18.0-0.bpo.1-cloud-amd64

linux-image-4.18.0-0.bpo.1-rt-amd64 - Linux 4.18 for 64-bit PCs, PREEMPT_RT

linux-image-4.18.0-0.bpo.1-rt-amd64-dbg - Debug symbols for linux-image-4.18.0-0.bpo.1-rt-amd64

linux-headers-4.9.0-4-grsec-amd64 - Header files for Linux 4.9.0-4-grsec-amd64

linux-image-4.9.0-4-grsec-amd64 - Linux 4.9 for 64-bit PCs, Grsecurity protection (unofficial patch)

linux-image-grsec-amd64 - Linux image meta-package, grsec featureset

linux-image-amd64 - Linux for 64-bit PCs (meta-package)

linux-image-cloud-amd64 - Linux for x86-64 cloud (meta-package)

linux-image-cloud-amd64-dbg - Debugging symbols for Linux cloud-amd64 configuration (meta-package)

root@djjproject:~# apt-cache search -t stretch-backports linux-headers

aufs-dkms - DKMS files to build and install aufs

linux-libc-dev-arm64-cross - Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-armel-cross - Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-armhf-cross - Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-mips-cross - Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-mips64el-cross - Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-mipsel-cross - Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-ppc64el-cross - Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-s390x-cross - Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-alpha-cross - Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-hppa-cross - Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-m68k-cross - Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-mips64-cross - Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-powerpc-cross - Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-powerpcspe-cross - Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-ppc64-cross - Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-sh4-cross - Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-sparc64-cross - Linux Kernel Headers for development (for cross-compiling)

linux-headers-4.9.0-8-all - All header files for Linux 4.9 (meta-package)

linux-headers-4.9.0-8-all-amd64 - All header files for Linux 4.9 (meta-package)

linux-headers-4.9.0-8-amd64 - Header files for Linux 4.9.0-8-amd64

linux-headers-4.9.0-8-common - Common header files for Linux 4.9.0-8

linux-headers-4.9.0-8-common-rt - Common header files for Linux 4.9.0-8-rt

linux-headers-4.9.0-8-rt-amd64 - Header files for Linux 4.9.0-8-rt-amd64

linux-headers-amd64 - Header files for Linux amd64 configuration (meta-package)

linux-headers-rt-amd64 - Header files for Linux rt-amd64 configuration (meta-package)

linux-headers-4.9.0-3-all - All header files for Linux 4.9 (meta-package)

linux-headers-4.9.0-3-all-amd64 - All header files for Linux 4.9 (meta-package)

linux-headers-4.9.0-3-amd64 - Header files for Linux 4.9.0-3-amd64

linux-headers-4.9.0-3-common - Common header files for Linux 4.9.0-3

linux-headers-4.9.0-3-common-rt - Common header files for Linux 4.9.0-3-rt

linux-headers-4.9.0-3-rt-amd64 - Header files for Linux 4.9.0-3-rt-amd64

linux-headers-4.9.0-4-all - All header files for Linux 4.9 (meta-package)

linux-headers-4.9.0-4-all-amd64 - All header files for Linux 4.9 (meta-package)

linux-headers-4.9.0-4-amd64 - Header files for Linux 4.9.0-4-amd64

linux-headers-4.9.0-4-common - Common header files for Linux 4.9.0-4

linux-headers-4.9.0-4-common-rt - Common header files for Linux 4.9.0-4-rt

linux-headers-4.9.0-4-rt-amd64 - Header files for Linux 4.9.0-4-rt-amd64

linux-headers-4.9.0-5-all - All header files for Linux 4.9 (meta-package)

linux-headers-4.9.0-5-all-amd64 - All header files for Linux 4.9 (meta-package)

linux-headers-4.9.0-5-amd64 - Header files for Linux 4.9.0-5-amd64

linux-headers-4.9.0-5-common - Common header files for Linux 4.9.0-5

linux-headers-4.9.0-5-common-rt - Common header files for Linux 4.9.0-5-rt

linux-headers-4.9.0-5-rt-amd64 - Header files for Linux 4.9.0-5-rt-amd64

linux-headers-4.9.0-6-all - All header files for Linux 4.9 (meta-package)

linux-headers-4.9.0-6-all-amd64 - All header files for Linux 4.9 (meta-package)

linux-headers-4.9.0-6-amd64 - Header files for Linux 4.9.0-6-amd64

linux-headers-4.9.0-6-common - Common header files for Linux 4.9.0-6

linux-headers-4.9.0-6-common-rt - Common header files for Linux 4.9.0-6-rt

linux-headers-4.9.0-6-rt-amd64 - Header files for Linux 4.9.0-6-rt-amd64

linux-headers-4.9.0-7-all - All header files for Linux 4.9 (meta-package)

linux-headers-4.9.0-7-all-amd64 - All header files for Linux 4.9 (meta-package)

linux-headers-4.9.0-7-amd64 - Header files for Linux 4.9.0-7-amd64

linux-headers-4.9.0-7-common - Common header files for Linux 4.9.0-7

linux-headers-4.9.0-7-common-rt - Common header files for Linux 4.9.0-7-rt

linux-headers-4.9.0-7-rt-amd64 - Header files for Linux 4.9.0-7-rt-amd64

linux-headers-4.17.0-0.bpo.1-all - All header files for Linux 4.17 (meta-package)

linux-headers-4.17.0-0.bpo.1-all-amd64 - All header files for Linux 4.17 (meta-package)

linux-headers-4.17.0-0.bpo.1-amd64 - Header files for Linux 4.17.0-0.bpo.1-amd64

linux-headers-4.17.0-0.bpo.1-cloud-amd64 - Header files for Linux 4.17.0-0.bpo.1-cloud-amd64

linux-headers-4.17.0-0.bpo.1-common - Common header files for Linux 4.17.0-0.bpo.1

linux-headers-4.17.0-0.bpo.3-all - All header files for Linux 4.17 (meta-package)

linux-headers-4.17.0-0.bpo.3-all-amd64 - All header files for Linux 4.17 (meta-package)

linux-headers-4.17.0-0.bpo.3-amd64 - Header files for Linux 4.17.0-0.bpo.3-amd64

linux-headers-4.17.0-0.bpo.3-cloud-amd64 - Header files for Linux 4.17.0-0.bpo.3-cloud-amd64

linux-headers-4.17.0-0.bpo.3-common - Common header files for Linux 4.17.0-0.bpo.3

linux-headers-4.18.0-0.bpo.1-all - All header files for Linux 4.18 (meta-package)

linux-headers-4.18.0-0.bpo.1-all-amd64 - All header files for Linux 4.18 (meta-package)

linux-headers-4.18.0-0.bpo.1-amd64 - Header files for Linux 4.18.0-0.bpo.1-amd64

linux-headers-4.18.0-0.bpo.1-cloud-amd64 - Header files for Linux 4.18.0-0.bpo.1-cloud-amd64

linux-headers-4.18.0-0.bpo.1-common - Common header files for Linux 4.18.0-0.bpo.1

linux-headers-4.18.0-0.bpo.1-common-rt - Common header files for Linux 4.18.0-0.bpo.1-rt

linux-headers-4.18.0-0.bpo.1-rt-amd64 - Header files for Linux 4.18.0-0.bpo.1-rt-amd64

linux-headers-4.9.0-4-common-grsec - Common header files for Linux 4.9.0-4-grsec

linux-headers-4.9.0-4-grsec-amd64 - Header files for Linux 4.9.0-4-grsec-amd64

linux-headers-grsec-amd64 - Header files for Linux amd64 configuration, grsec featureset (meta-package)

linux-headers-cloud-amd64 - Header files for Linux cloud-amd64 configuration (meta-package)

root@djjproject:~# 


# 백포트 커널 설치

root@djjproject:~# apt install -t stretch-backports linux-image-4.18.0-0.bpo.1-amd64 linux-headers-4.18.0-0.bpo.1-amd64

Reading package lists... Done

Building dependency tree       

Reading state information... Done

The following additional packages will be installed:

  apparmor binutils bzip2 cpp-6 dh-python file firmware-linux-free gcc-6 irqbalance libapparmor-perl libasan3 libatomic1 libc-dev-bin

  libc6-dev libcc1-0 libcilkrts5 libgcc-6-dev libglib2.0-0 libglib2.0-data libgomp1 libicu57 libisl15 libitm1 liblsan0 libmagic-mgc

  libmagic1 libmpc3 libmpdec2 libmpfr4 libmpx2 libnuma1 libpython3-stdlib libpython3.5-minimal libpython3.5-stdlib libquadmath0 libtsan0

  libubsan0 libxml2 linux-compiler-gcc-6-x86 linux-headers-4.18.0-0.bpo.1-common linux-kbuild-4.18 linux-libc-dev manpages manpages-dev

  mime-support python3 python3-minimal python3.5 python3.5-minimal sgml-base shared-mime-info xdg-user-dirs xml-core xz-utils

Suggested packages:

  apparmor-profiles apparmor-profiles-extra apparmor-utils binutils-doc bzip2-doc gcc-6-locales libdpkg-perl dpkg-dev gcc-6-multilib

  gcc-6-doc libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan3-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg

  libmpx2-dbg libquadmath0-dbg glibc-doc linux-doc-4.18 debian-kernel-handbook man-browser python3-doc python3-tk python3-venv

  python3.5-venv python3.5-doc binfmt-support sgml-base-doc debhelper

The following NEW packages will be installed:

  apparmor binutils bzip2 cpp-6 dh-python file firmware-linux-free gcc-6 irqbalance libapparmor-perl libasan3 libatomic1 libc-dev-bin

  libc6-dev libcc1-0 libcilkrts5 libgcc-6-dev libglib2.0-0 libglib2.0-data libgomp1 libicu57 libisl15 libitm1 liblsan0 libmagic-mgc

  libmagic1 libmpc3 libmpdec2 libmpfr4 libmpx2 libnuma1 libpython3-stdlib libpython3.5-minimal libpython3.5-stdlib libquadmath0 libtsan0

  libubsan0 libxml2 linux-compiler-gcc-6-x86 linux-headers-4.18.0-0.bpo.1-amd64 linux-headers-4.18.0-0.bpo.1-common

  linux-image-4.18.0-0.bpo.1-amd64 linux-kbuild-4.18 linux-libc-dev manpages manpages-dev mime-support python3 python3-minimal python3.5

  python3.5-minimal sgml-base shared-mime-info xdg-user-dirs xml-core xz-utils

0 upgraded, 56 newly installed, 0 to remove and 31 not upgraded.

Need to get 106 MB of archives.

After this operation, 520 MB of additional disk space will be used.

Do you want to continue? [Y/n] 


# 재부팅 후 커널 버전 확인

root@djjproject:~# uname -r

4.9.0-8-amd64

root@djjproject:~# reboot

Connection closing...Socket close.


Connection closed by foreign host.


Disconnected from remote host(OdroidH2) at 21:23:18.


Connecting to 192.168.0.3:22...

Connection established.

To escape to local shell, press 'Ctrl+Alt+]'.


Linux djjproject 4.18.0-0.bpo.1-amd64 #1 SMP Debian 4.18.6-1~bpo9+1 (2018-09-13) x86_64


The programs included with the Debian GNU/Linux system are free software;

the exact distribution terms for each program are described in the

individual files in /usr/share/doc/*/copyright.


Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent

permitted by applicable law.

Last login: Mon Nov 26 21:18:03 2018 from 192.168.0.149

root@djjproject:~# uname -r

4.18.0-0.bpo.1-amd64

root@djjproject:~# 


일단 기본설정 여기까지 마치겠습니다.


감사합니다.



이후에는 간단한 파일 공유 FTP SAMBA 에 대해서 알아보고 WEBDAV 와 그리고 MPD 까지 알아보겠습니다.


한편, PlexMediaServer 와 Libva 2.2 연동 및 PlexDrive 및 RCLONE 에 대해서 알아볼 예정입니다. 순서는 제 마음입니다 ㅎㅎ


감사합니다.

반응형

댓글