#include "install.h"
#define _GNU_SOURCE
-#define INST_FILECOUNT 15000
+#define INST_FILECOUNT 21000
#define UNATTENDED_CONF "/cdrom/boot/unattended.conf"
#define LICENSE_FILE "/cdrom/COPYING"
}
// Load common modules
- mysystem("/sbin/modprobe iso9660"); // CDROM
-// mysystem("/sbin/modprobe ext2"); // Boot patition
mysystem("/sbin/modprobe vfat"); // USB key
/* German is the default */
swap_file = memory / 4;
/* Calculating Root-Size dependend of Max Disk Space */
- if ( disk < 756 )
- root_partition = 200;
- else if ( disk >= 756 && disk <= 3072 )
- root_partition = 512;
+ if ( disk < 2048 )
+ root_partition = 1024;
+ else if ( disk >= 2048 && disk <= 3072 )
+ root_partition = 1536;
else
root_partition = 2048;
replace("/harddisk/boot/grub/grub.conf", "splashimage", "#splashimage");
replace("/harddisk/boot/grub/grub.conf", "#serial", "serial");
replace("/harddisk/boot/grub/grub.conf", "#terminal", "terminal");
- replace("/harddisk/boot/grub/grub.conf", " panic=10 ", " console=ttyS0,38400n8 panic=10 ");
+ replace("/harddisk/boot/grub/grub.conf", " panic=10 ", " console=ttyS0,115200n8 panic=10 ");
/*inittab*/
replace("/harddisk/etc/inittab", "1:2345:respawn:", "#1:2345:respawn:");