New image framework generation

The CD now boots directly from the ISO 9660 filesystem instead of using
MBR partitioning with Minix file systems. This saves some space on the
CD and reduces memory requirements by some unknown amount as the root
ramdisk is completely eliminated.

The x86 hard drive image creation is also rewritten in the same
fashion.

The setup is modified to be more NetBSD-like (unpacking sets
tarballs instead of blindly copying the CD contents). Splitting MINIX
into sets is done in another commit due to it being a nightmare to
rebase.

Since MINIX lacks union mounts for now, a bunch of ramdisks are
generated at run-time to make parts of the filesystem writeable for the
CD. This solution isn't ideal, but it's enough for an installation CD.

Change-Id: Icbd9cca4dafebf7b42c345b107a17679a622d5cd
This commit is contained in:
Jean-Baptiste Boric
2015-09-14 21:46:48 +02:00
committed by Lionel Sambuc
parent b5400f9ff4
commit 69eead77ff
20 changed files with 762 additions and 371 deletions

View File

@@ -353,8 +353,8 @@ str_press_key: .asciz "\r\nPress any key to boot from CD"
str_dot: .asciz "."
str_read_error: .asciz "Can't read CD"
str_no_pvd: .asciz "Can't find Primary Volume Descriptor"
str_no_loader: .asciz "Can't find /boot"
str_loader: .asciz "BOOT.;1"
str_no_loader: .asciz "Can't find /minixboot"
str_loader: .asciz "MINIXBOOT.;1"
/* Used to calculate free bytes */
free_space = end - .