티스토리 뷰
출처 : [VMware] CentOS 6.5 설치 (64bit)
Windows 8.1 설치
출처 : [Windows 7] (UEFI 환경에서)설치하기
UEFI 바이오스에 Windows 7를 깔자. (with USB 2.0)
Windows 8.1과 멀티 부팅을 위해서 Windows 8.1를 먼저 설치합니다.
grub2 에서 Windows 8.1를 인식하지 않아 몇 번을 포멧하고 설치했는데,
UEFI 환경에서는 GPT로 설치하니 바로 인식하네요.
용어 정리
(U)EFI = (Unified) Extensible Firmware Interface
MBR = Master Boot Record
GPT = GUID Partition Table
UEFI 부팅가능 윈도우8.1 설치 USB 만들기
출처 : How To Make UEFI Bootable USB Flash Drive to Install Windows 8
Windows 7, UEFI & MBR (Legacy) USB 메모리 부팅 디스크 만들기 정리
Rufus 다운로드 - https://rufus.akeo.ie/
GPT 파티션 설정
출처 : UEFI 기반 디스크 파티션 권장 구성
샘플: Windows PE 및 DiskPart를 사용하여 UEFI/GPT 기반 하드 드라이브 파티션 구성
[DiskPart] 새로운 파티션의 생성과 파티션 생성에 관한 이야기들 - Create Partition
GUI 모드 설치 동안 명령 프롬프트를 사용하는 방법
윈도우 설치시 [Shift] + [F10] 눌러 명령 프롬프트에서 diskpart 명령으로 disk를 gpt로 파티션을 설정합니다.
수동으로 efi나 msr를 나눌수 있지만 저의 경우는 수동으로 하는 경우 설치가 되지 않았습니다.
convert gpt만 하고 나머지는 윈도우 설치시 자동으로 만들어지도록 했습니다.
GPT 파티션 설정1 - 성공
select disk 0 clean convert gpt exit
GPT 파티션 설정2 - 실패(참고용)
select disk 0 clean convert gpt create partition efi size=200 format quick fs=fat32 label="System" assign letter="S" create partition msr size=128 create partition primary size=409600 format quick fs=ntfs label="Windows" assign letter="C" create partition primary format quick fs=ntfs label="Data" assign letter="E" exit
CentOS 7 설치
파티션 나누기
/boot/efi 200MB
/boot 500MBswap 16G
/ 나머지
원격데스크탑(xrdp) 서버
출처 : CentOS 7 xrdp 설치 (원격데스크탑)
How to setup multimedia on CentOS 7
CentOS EPEL 설치
Nux Dextop 설치
# yum -y install http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
tigervnc-server 설치
서비스 시작
# systemctl start xrdp.service # netstat -antup | grep xrdp
서비스 등록
# systemctl enable xrdp.service
방화벽 등록
# firewall-cmd --permanent --zone=public --add-port=3389/tcp # firewall-cmd --reload
리눅스에서 파티션의 파일 시스템 타입 확인하기
출처 : 리눅스에서 파티션의 파일 시스템 타입 확인하기
# df -T Filesystem Type 1K-blocks Used Available Use% Mounted on /dev/sda4 xfs 107879972 4023324 103856648 4% / devtmpfs devtmpfs 3926824 0 3926824 0% /dev tmpfs tmpfs 3935416 92 3935324 1% /dev/shm tmpfs tmpfs 3935416 9060 3926356 1% /run tmpfs tmpfs 3935416 0 3935416 0% /sys/fs/cgroup /dev/sda2 xfs 508588 94708 413880 19% /boot /dev/sda1 vfat 204580 9764 194816 5% /boot/efi
GRUB2 - 멀티부팅 Windows 8.1 추가
출처 : GRUB2 문제해결 방안 (업그레이드)
리눅스에서 USB에 Grub2를 설치하여 멀티부팅하기
Installed Centos 7 after Windows and can't boot into CentOS
[기초] 리눅스와 솔라리스에서 HDD의 디바이스명
How can I change default Operating System in start up boot menu?
GRUB2 편집(설정)하기
Searching for grub configuration file in CentOS 7
HDD 번호 구하기
$ cd /dev $ ls sd[a-b]* sda sda1 sda2 sda3 sda4 sdb sdb1 sdb2 sdb3
HDD 번호 구하기
# fdisk -l Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes, 1953525168 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 label type: dos Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sdb1 1 4294967295 2147483647+ ee GPT Partition 1 does not start on physical sector boundary. WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion. Disk /dev/sda: 128.0 GB, 128035676160 bytes, 250069680 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 label type: gpt ## Start End Size Type Name 1 2048 411647 200M EFI System EFI System Partition 2 411648 1435647 500M Microsoft basic 3 1435648 17819647 7.8G Linux swap 4 17819648 250068991 110.8G Microsoft basic
HDD 번호 구하기
# blkid /dev/sdb2: UUID="9AC6C014C6BFEE9F" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="d485b724-7359-44f1-bc99-665753184bfe" /dev/sda1: SEC_TYPE="msdos" UUID="B103-32BF" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="0400f6fa-6526-4e7d-a6b4-de74988b5fa1" /dev/sda2: UUID="02c346cb-1715-4f10-b980-3ea4249971cf" TYPE="xfs" PARTUUID="4032751a-ca18-4501-a77b-318c4e28c803" /dev/sda3: UUID="f1c1b570-7d4e-4e89-8d30-7aabfc1c0e48" TYPE="swap" PARTUUID="6ffe21fa-d375-423c-af13-6064a1547e13" /dev/sda4: UUID="9ecf80da-6052-4260-bca9-93a797297b48" TYPE="xfs" PARTUUID="12c2f2b8-4f2f-414c-8f70-1ce21cfc2f81"
자동 설정
출처 : GRUB2 간단하게 시작하기
GRUB2는 초기부터 grub2-mkconfig 프로그램으로 설정 파일을 생성하여 설정했습니다.
grub2-mkconfig는 /etc/grub.d의 템플릿 섹션을 기반으로 설정파일을 만듭니다. 기본 템플릿은 대부분의 일반 부팅 설정을 다루어야합니다.
/boot/grub2/grub.cfg 내용 일부
### BEGIN /etc/grub.d/30_os-prober ### menuentry 'Windows Boot Manager (on /dev/sdb2)' --class windows --class os $menuentry_id_option 'osprober-efi-107D-CF7F' { insmod part_gpt insmod fat set root='hd1,gpt2' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 107D-CF7F else search --no-floppy --fs-uuid --set=root 107D-CF7F fi chainloader /EFI/Microsoft/Boot/bootmgfw.efi } ### END /etc/grub.d/30_os-prober ###
grub-customizer 설치
출처 : grub-customizer-4.0.6-1.el7.x86_64.rpm
YUM epel 저장소 추가
epel-release 다운받기
http://dl.fedoraproject.org/pub/epel/7/x86_64/
epel-release 설치
# rpm -Uvh epel-release*rpm 경고: epel-release-7-5.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY 준비 중... ################################# [100%] Updating / installing... 1:epel-release-7-5 ################################# [100%]
grub-customizer 설치
# yum install grub-customizer
- Total
- Today
- Yesterday
- 지스타2007
- SAS
- KOBA
- 송주경
- ffmpeg
- BPI-M4
- sas2009
- 튜닝쇼 2008
- Java
- JavaScript
- MySQL
- Spring MVC
- Xcode
- flex
- 서울오토살롱
- Spring
- koba2010
- 레이싱모델 익스트림 포토 페스티벌
- 일본여행
- Delphi Tip
- ble
- android
- Delphi
- Linux
- Mac
- NDK
- oracle
- ubuntu
- 전예희
- 동경
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |