}
// Load common modules
- mysystem("/sbin/modprobe isofs"); // CDROM
- mysystem("/sbin/modprobe ext4"); // 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:");