Problem with 3.2.16 and disk mappings.

Nikola Knežević laladelausanne at gmail.com
Fri Jan 23 15:47:15 CET 2009


Hi,

When I tried to use FAI to install debian lenny on a new machines, it  
fails in task_partition.

My config/disk_config/NSLNEW is:
---8<---
disk_config disk1 disklabel:msdos
#disk_config disk1

primary  /             10024-       ext3 rw
primary  swap           512-2048   swap rw
--->8---

Yet, fai.log shows this:
---8<---
Using config file: /var/lib/fai/config/disk_config/NSLNEW
Mapping disk name disk1 to sda
Creating partition table: LC_ALL=C sfdisk -q  /dev/sda < /tmp/fai/ 
partition.sda
Creating file systems:
   mke2fs -q /dev/sda1
   mkswap  /dev/sda2
Write fstab to /tmp/fai/fstab
Write FAI variables to file /tmp/fai/disk_var.sh
Calling task_mountdisks
Enable swap device /dev/sda2
Mounting /dev/sda1 to /target/
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
        missing codepage or helper program, or other error
        In some cases useful info is found in syslog - try
        dmesg | tail  or so

Calling task_extrbase

--->8----

This configuration used to work with 3.2.10.

Was there any change in the syntax of disk_config files?

Cheers,
Nikola


More information about the linux-fai mailing list