You are not logged in.

#1 2022-07-07 16:17:50

Kizuo
Member
Registered: 2022-07-07
Posts: 2

Custom startup sequence on boot

Hey guys! I installed Arch a couple of months ago and am running it with no desktop environment. It is so great. My friend's MacBook died and because of the inflation, they decided to buy a laptop. They delivered it to me because they saw that you could install MacOS through a VM online. So is there any way I could do the following on boot?

-Power on Laptop
-Show Plymouth boot screen (apple logo with animated progress bar)
-Load into GRUB and exit into Arch with the screen black (I don't want to see GRUB, I just want it to automatically go into arch)
-Load another Apple logo screen
-When Arch is booted, immediately login as root with no login screen
-Immediately open a QEMU VM that has been setup in Virt-Manger with no GUI, just full screen and with USB passthrough support without showing any Arch linux stuff
-When computer is shut down from MacOS, I want it to turn off the whole computer

I know this is quite demanding but I want to surprise my friend with MacOS on the laptop. Virtualization is already on, and I want MacOS to have the whole drive with the whole Arch layer only having 10 gb of space.

Thank you so much!

Offline

#2 2022-07-17 02:27:38

Kizuo
Member
Registered: 2022-07-07
Posts: 2

Re: Custom startup sequence on boot

bump

Offline

#3 2022-07-17 02:33:52

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,692

Re: Custom startup sequence on boot

Kizuo wrote:

bump

Do not bump.   If you desire attention, tell us what you have learned or tried since you last posted.  Or, at least, provide more information.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#4 2022-07-17 02:36:12

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,496
Website

Re: Custom startup sequence on boot

Kizuo wrote:

bump

Don't do that - it's against our forum rules.

Kizuo wrote:

So is there any way I could do the following on boot?

Yes there is.  In fact in contrast to what you suspect, it's not at all demanding.  It's all quite trivial.  Unless of course you see reading the wiki as demanding as every one of your questions could be quickly answered if you bothered to even do a basic search before posting here.  It certainly would have been faster than the week you spent waiting for someone to spoon feed you the answers.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB