July 1st, 2024

Booting Linux Off of Google Drive

A programmer's competitiveness leads to booting Linux from Google Drive, facing challenges like networking setup and mounting an Arch Linux root from an S3 bucket. Despite setbacks, Linux boots successfully, integrating Google Drive but facing performance issues and complexities.

Read original articleLink Icon
Booting Linux Off of Google Drive

Competitiveness drives a programmer to boot Linux off a Google Drive root, aiming for a self-contained setup without a second machine. Using FUSE programs in the Linux kernel initramfs and configuring networking, the project progresses. Challenges arise during the boot process, leading to manual networking setup and mounting an Arch Linux root from an S3 bucket. Despite initial setbacks, progress is made by tweaking the init script and using chroot instead of switch_root. Eventually, Linux successfully boots off an S3 bucket. The project expands to include Google Drive integration using google-drive-ocamlfuse, but faces issues with symlinks, hardlinks, and slow performance. Despite considering tweaks to the FUSE driver code, the project continues without kernel or driver modifications. Challenges persist with permissions and attributes, requiring manual symlink creation. The process involves adding token files and SSL certificates to the initramfs, with some settings adjustments for convenience. However, the boot process encounters a "File not found" error due to missing library dependencies, highlighting the complexities of Linux systems.

Link Icon 1 comments
By @jiqiren - 4 months