Booting Linux off of Google Drive
Booting Linux off of Google Drive
Competitiveness is a vice of mine. When I heard that a friend got Linux to boot off of NFS, I had to one-up her. I had to prove that I could create...
![Booting Linux off of Google Drive](https://lemmy.ml/pictrs/image/a30a9922-6e7d-4442-bb69-867a0559ed3a.png?format=webp&thumbnail=256)
Now this is why foss software is important 😁
6 1 ReplyIf you use a swapfile on that setup...
Does that mean you've literally DOWNLOADED RAM???
166 0 ReplyYOU WOULDN'T DOWNLOAD A RAM
3 0 ReplyI remember LinusTechTips doing this with that title. But atleadt that was swap only on gdrive now this is full os in gdrive
2 0 Reply20 0 ReplyFelony!!!
14 0 ReplyLol this is exactly where my mind went
4 0 Reply
Respect, but...
106 2 ReplyLinux uh... Finds a way.
65 0 Reply
Ladies, gentlemen, none of the above. We have come full circle. The mainframe + Terminal combination is back
105 1 ReplyMainframes are just other people's computers
53 0 Reply
That's some God tier linux wizardry
47 0 ReplyNot Stallman approved
39 0 ReplyHow is that latency haha
36 0 ReplyCompetitive with 1970s?
5 0 Reply
The first paragraph is savage LOL
9 0 ReplyIf he only went with void instead of arch, it's just cheating using a systemd distri
8 2 ReplySystemd FTW
13 2 ReplyBtw.
- The firmware (BIOS/UEFI) starts up and loads the bootloader
- The bootloader loads the kernel
- The kernel unpacks a temporary filesystem into RAM which has the tools to mount the real filesystem
- The kernel mounts the real filesystem and switches the process to the init system running on the new filesystem
Why can't the kernel just load fs and start init, for stability?
It could be
-
- Uefi loads kernel (it has fat32 drivers)
-
- Kernel loads fs and starts init
3 0 ReplyYou can make it work mostly that way. Create a UKI (unified kernel image including EFI stub loader, kernel, initial filesystem and kernel parameters), then tell uefi to directly boot it. The four steps still run, but using only a single file.
3 0 ReplyArch and Gentoo wiki only mention systemd-stub, are unified kernel images not possible with other init systems? With efistub seems possible but i couldn't get that to work on my MB.
Edit: i found something to Alpine Linux.
1 0 Reply
Is coreboot doing something like this?
1 0 Reply
@Chewy7324 It seems be fun but the latency should be terrible 😅
7 1 ReplyLatency isn't the only issue.
it's slow, symbolic and hard linking don't work correctly, and permissions and attributes aren't recorded.
12 0 ReplyYou could have a secondary layer that tarred every file on write, since tar maintains permission flags. It could also fix symbolic linking, but not hard linking. As an added benefit, it would drastically reduce the usefulness of the system.
8 0 Reply
Once it all gets to ram, you should be just fine
6 0 Reply