우분투 너 나랑 싸우자

지니🧸·2023년 10월 3일
0

Ubuntu

목록 보기
2/3

맨땅에 헤딩

ubuntu 22.04.3
mac m1 (utm)


  • black screen with blinking cursor
  • black screen after installing ubuntu
  • asks for reinstallation after installing ubuntu
  • installing ubuntu server in ubuntu desktop
  • google cloud debian arch error

The list goes on


Attempts

1. Install Ubuntu server on UTM

Problem

After installation, I have to reboot ubuntu. When I click reboot, ubuntu returns a black screen with a blinking cursor.

Attempted but failed solution

The Internet told me the problem is that I didn't remove the USB drive with the image. But I ignored this solution because I didn't use a physical USB drive to start with.

2. Install Ubuntu desktop on UTM

At least with this one I could open Ubuntu and start downloading the kernel.

Problem 1

Unfortunately, in the process of building the kernel, I kept getting "no space left on device" errors.

Solution 1

Per my previous post on emptying space, I have tried to solve this problem but to no avail.

Problem 2

I realized that solution 1 did not work because the deskotp is only a live session. Hence, there is a big chunk of space consumed by folders required for this particular .iso.

Solution 2

I tried installing ubuntu server on ubuntu desktop even though it's the stupidest thing to do. To no one's surprise it failed, the reason being it kept asking me to reinstall the server even when the installation is completed successfully.

3. Github Codespaces

Github Codespaces is always my go-to for any project that requires Ubuntu.

Problem

Everything goes fine until I have to reboot the system after building the kernel.

System has not been booted with systemd as init.

Explanation

This happens because the codespace in and of itself is a container. It's a docker based system.

4. Google cloud

Then I thought why not Google Cloud?

Problem

All seemed well until I had to build the kernel. It kept giving me an error.

make[2]: *** [debian/rules:7: build-arch] Error 2

I tried many ways to fix this but none of them worked.
I believe it has to do with disabling certain values such as SYSTEM_TRUST_KEYS, but even after application I haven't gotten any success.

scripts/config --disable SYSTEM_TRUST_KEYS

5. Back to UTM with Ubuntu server

Now.. we're back.

Build the kernel on ubuntu server for UTM. If your Ubuntu doesn't reboot properly (esp. black screen with blinking cursor), you have to remove USB drive.

You have to remove the .iso file in CD/DVD

자꾸 이 에러 뜬다하면 AskUbuntu에서 usb drive 제거하라길래 아 나는 usb file 아닌데라는 멍청한 생각만 하고 있었다고 한다 ㅎㅎ
UTM 짜증나서 쳐다보다가 이걸 깨달았을 때 얼마나 어이없었는지...

profile
우당탕탕

0개의 댓글