Penguin

Differences between version 10 and predecessor to the previous major change of AutoInstall.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 10 Last edited on Tuesday, January 27, 2004 1:43:37 pm by CraigBox Revert
Older page: version 9 Last edited on Thursday, May 1, 2003 4:04:17 pm by CraigBox Revert
@@ -58,6 +58,28 @@
  - os.mkdir(moddir) 
  + os.makedirs(moddir) 
  os.system("cp %s %s" % (depmodrealpath, moddir)) 
 ----- 
+  
+A better idea when using a CD is to replace the mkmodules script (or at least the bit at the end) with a nice simple one:  
+  
+ # Copy the modules in.  
+ os.mkdir("modules")  
+ modroot = "modules/%s" % kernelversion  
+ os.mkdir(modroot)  
+ os.system("cp -r %s/%s/* %s" % (modpath, kernelversion, modroot))  
+  
+Then it copies the entire modules tree.  
+  
+To do this you will need to make a bigger initrd: in /usr/bin/make-autoinst-initrd, replace the lines  
+  
+ dd if=/dev/zero of=$TMPPATH/initrd bs=1024 count=4096  
+ /sbin/mke2fs -Fq -N 2048 $TMPPATH/initrd  
+  
+with  
+  
+ dd if=/dev/zero of=$TMPPATH/initrd bs=1024 count=8192  
+ /sbin/mke2fs -Fq -N 4096 $TMPPATH/initrd  
+  
+to make an 8mb ramdisk instead. Then, edit conf/isolinux/isolinux.cfg to append "ramdisk_size=8192" to your kernel parameters. Thanks to DanielLawson for the heads up on this one.  
  
 Part of LinuxInstallationNotes