본문 바로가기
PC관련/잡다

Ubuntu 22.04 설치 및 프리징, sh auto

by Cum 2023. 11. 20.
728x90
반응형

우분투 사이트

https://ubuntu.com/download/desktop 

우분투 22.04 다운로드 후 RuFus를 사용하여 우분투 usb 만들기

 

or

 

 

설치 시 우분투 프리징이 될 때

 

이유 : 드라이버 충돌

 

Try Ubuntu without installing 화면에서 install ubuntu에 커서를 옮기고 e 버튼 누름

화면에서 splash --- 뒤에 modprobe.blacklist=nouveau 추가 후 Ctrl + X or F10

ex) splash --- modprobe.blacklist=nouveau

 

 

Gnome Dispaly Maneger 멈춤 해결 방법

설치 전 설정 화면 창에서 e 버튼 클릭

quiet splash 뒤에 quiet splash backlight=vendor nomodeset acpi=off 추가

quiet splash --- 라고 되어있다면 ---를 지우고 추가

 

바이오스 설정

Boot Sequence에서 UEFI

Secure Boot 섹션 > Secure Boot Enable에서 Disabled

Configured SATA를 AHCI로 변경

 

x86/cpu sgx disabled by bios 에러 발생 시

바이오스에서 SGX를 찾아서 Enable

Grub Install Fatal Error

Executing 'grub-install /dev/sda' failed.

This is a fatal error 발생시

 

Try Ubuntu 진입

인터넷 연결

터미널창 오픈

sudo add-apt-repository ppa:yannubuntu/boot-repair

sudo apt-get updates

sudo apt-get install boot-repair

boot-repair 실행

Recommended repair 클릭

Yes 클릭

 

파티션 분할

free space 를 클릭하고 왼쪽 아래 + 버튼을 눌러 파티션 생성

free space가 없을시 -버튼을 눌러 용량 확보 필요

 

swqp area DRAM 용량 2배 

efi              500MB 

ext4 mount point / 나머지 

 

설정 후 install

 

설치 완료 후

 

우분투 설치 후에는 아래를 실행하여 드라이버를 설치

sudo apt update
sudo apt upgrade
sudo ubuntu-drivers autoinstall

sudo update-grub

 

sh file auto start

파일 생성

cd /etc/init.d
sudo vi auto_start.sh

#!/bin/bash
sh test.sh

 

권한설정
sudo chmod 755 /etc/init.d/auto_start.sh

 

자동실행 등록
sudo update-rc.d auto_start.sh defaults

해제
sudo update-rc.d -f auto_start.sh remove

 

$ crontab -e
@reboot /home/ubuntu/shell/auto_start.sh > /dev/null 2>&1

728x90
반응형

'PC관련 > 잡다' 카테고리의 다른 글

데스크탑 PC 전원 인가 자동 부팅 설정 법  (0) 2022.09.27

댓글