Thursday, September 29, 2022

Linux 0.0.1 compiling on Ubuntu 64


You might need some packages first

$ sudo apt-get install bin86 kvm qemu gcc build-essential qemu-system-x86 gcc-multilib

clone the github repo with 64 build fixes https://github.com/mariuz/linux-0.01


$ gh repo clone mariuz/linux-0.01

$ unzip hd_oldlinux.img.zip

$ make

$ make run 

or 

$ make run-curses 



SeaBIOS (version 1.13.0-1ubuntu1.1)
iPXE (http://ipxe.org) 00:03.0 CA00 PCI2.10 PnP PMM+0078EBD0+006CEBD0 CA00
Booting from Floppy...
Loading system ...
Partition table ok.
31278/40950 free blocks
13544/13664 free inodes
1494 buffers = 1529856 bytes buffer space
Ok.
#