debug mounting second partition
authorRalph Ronnquist <ralph.ronnquist@gmail.com>
Fri, 9 Jun 2023 15:14:51 +0000 (01:14 +1000)
committerRalph Ronnquist <ralph.ronnquist@gmail.com>
Fri, 9 Jun 2023 15:14:51 +0000 (01:14 +1000)
mkit.sh

diff --git a/mkit.sh b/mkit.sh
index 7637bf30b2c5db705b03c288d9bbacba8a8df210..162eb716001a3675a79519dbb6515f636714c3c8 100755 (executable)
--- a/mkit.sh
+++ b/mkit.sh
@@ -94,7 +94,10 @@ MODULES=(
     # disk
     scsi_common scsi_mod libata ata_piix ata_generic cdrom sr_mod
     crc32-pclmul crct10dif_common crc-t10dif crc64 crc64-rocksoft
-    t10-pi sd_mod sg nls_cp437 nls_ascii fat vfat ext4 isofs
+    t10-pi sd_mod sg
+    nls_cp437 nls_ascii fat vfat
+    crc32c_generic jbd2 mbcache crc16 ext4
+    isofs
     # input
     psmouse evdev
     # network
@@ -159,7 +162,7 @@ IMG="-i bootimage.raw@@$((2048*512))"
 
 # Add an ext2 filesystem at offset 61440*512
 # Copy initrd.gz and kernel into the fat filesystem root
-mke2fs -E offset=$((61440*512)) -F bootimage.raw
+mke2fs -t ext4 -E offset=$((34816*512)) -F bootimage.raw
 
 mcopy $IMG initrd.gz ::
 mcopy $IMG kernel/boot/vm* ::/vmlinuz