MS 서피스북2 Ubuntu window 듀얼부팅 & 부트테마
적용하는 방법을 공유합니다.
*본 포스팅내용은 이미 우분투 / 윈도우가 설치되어 있다는가정 하에
작성된 글입니다.
우선 MS서피스북의 기능을 우분투에서도
서피스 북의 기능을 사용하기 위해 커널을 설치해야 합니다.
지원 디바이스
- Surface Book
- Surface Book 2
- Surface Go
- Surface Laptop
- Surface Laptop 2
- Surface Pro 3
- Surface Pro 4
- Surface Pro 2017
- Surface Pro 6
- Surface Studio
작동하는 기능
- Keyboard (and backlight)
- Touchpad
- 2D/3D Acceleration
- Touchscreen
- Pen
- WiFi
- Bluetooth
- Speakers
- Power Button
- Volume Buttons
- SD Card Reader
- Cameras (partial support, disabled for now)
- Hibernate
- Sensors (accelerometer, gyroscope, ambient light sensor)
- Battery Readings
- Docking/Undocking Tablet and Keyboard
- Surface Docks
- DisplayPort
- USB-C (including for HDMI Out)
- Dedicated Nvidia GPU (Surface Book 2)
0. 의존 라이브러리 설치
sudo apt install git curl wget sed
1. linux-surface repo를 복사합니다.
git clone --depth 1 https://github.com/jakeday/linux-surface.git ~/linux-surface
2. 디렉토리를 linux-surface repo로 변경
cd ~/linux-surface
3. 스크립트 실행
sudo sh setup.sh
4.설치된 커널에서 재부팅.
설치 스크립트는 최신 커널 설치를 처리합니다.
원하는 버전을 다운로드하여 직접 설치할 수도 있습니다.
헤더, 커널 및 libc-dev를 설치하십시오 (먼저 다운로드 위치로 cd하십시오).
sudo dpkg -i linux-headers-[VERSION].deb linux-image-[VERSION].deb linux-libc-dev-[VERSION].deb
지금 부터는 서피스 북 2 커스텀 부트 테마 적용 방법입니다.
0. boot-repair 설치[중요]
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt update
sudo apt install -y boot-repair && boot-repair
1. GRUB 테마 디렉토리를 생성합니다. [이 과정은 필수입니다.]
sudo mkdir /usr/share/grub/themes
2. 다음 링크에서 파일을 다운받습니다.
https://github.com/timobaehr/Surface-Boot-Themes/archive/surface_book.zip
*git clone을 하면 이상하게 서피스북 디렉토리가 오지 않아 직접 링크로 받는게 편합니다.
복사가 완료되면 해당 파일이 있는 곳으로 이동하여
3. 다음 명령어를 실행 하여 압축을 해제합니다.
unzip [파일명].zip
4. 명령 실행
sudo cp --recursive ./surfacebook /usr/share/grub/themes
이떼 압축해제한 디렉터리에서 위 명령을 실행해야 합니다.
5. 명령 실행 -2
GRUB_THEME=/usr/share/grub/themes/surfacebook/theme.txt
6. /etc/grub.d/30_uefi-firmware 아래 항목 추가 후 저장
menuentry '$LABEL'
7. /etc/grub.d/25_custom 수정 아래처럼 수정
menuentry "Windows UEFI bkpbootmgfw.efi" --class windows {
search --fs-uuid --no-floppy --set=root BE36-A896
chainloader (${root})/EFI/Microsoft/Boot/bkpbootmgfw.efi
}
menuentry "Windows Boot UEFI loader" {
search --fs-uuid --no-floppy --set=root BE36-A896
chainloader (${root})/EFI/Boot/bkpbootx64.efi
}
/etc/grub.d/25_custom 여기서
" Windows UEFI bkpbootmgfw.efi "
를 수정하면 부트로더에서 뜨는 이름을 변경할수 있습니다.
해당 과정이 모드 완료되면 다음 명령을 실행후 재부팅 합니다.
sudo update-grub
sync
reboot
재부팅하면 적용된것을 확인할수 있습니다.
[참고]
https://github.com/jakeday/linux-surface#instructions
jakeday/linux-surface
Linux Kernel for Surface Devices. Contribute to jakeday/linux-surface development by creating an account on GitHub.
github.com
https://github.com/timobaehr/Surface-Boot-Themes/tree/surface_book
timobaehr/Surface-Boot-Themes
Themes for grub2. The intended device and OS for these are Microsoft Surface Pro and Ubuntu 12.10 & 13.04 - timobaehr/Surface-Boot-Themes
github.com
https://www.reddit.com/r/SurfaceLinux/comments/8sd3zy/how_to_dual_boot_ubuntu_1804_on_surface_book/
How to dual boot Ubuntu 18.04 on Surface Book
I just set up a dual boot of Windows 10 and Ubuntu 18.04 on my Surface Book. It was **waaaay** easier than I had expected and I thought I'd post...
www.reddit.com