Hello,

We are trying to use FAI on Ubuntu 11.04, to install
Ubuntu as dual-boot with windows.

In general it works well, but the partition of the disk
fails. We want to preserve the first primary partition,
where windows is installed, and install ubuntu on the
rest of the disk.

Attached is the log file format.log
We would appreciate if you could tell us what is the
problem and help us to fix it.

Best regards!
                                          
Starting setup-storage 1.3
disklist was: sda
Using config file: /var/lib/fai/config/disk_config/ARDHMERIA
Input was:
# example of new config file for setup-storage
#
# <type> <mountpoint> <size>   <fs type> <mount options> <misc options>

disk_config disk1 disklabel:msdos preserve_always:1 bootable:1 fstabkey:uuid

primary		-	100-	ntfs	rw
logical         swap    1000    swap    sw
logical         /       8000-   ext3    defaults,errors=remount-ro

(CMD) parted -s /dev/sda unit TiB print 1> /tmp/__zNapGYzT 2> /tmp/GXzxKKO3Ou
Executing: parted -s /dev/sda unit TiB print
(STDOUT) Model: ATA SAMSUNG HD080HJ (scsi)
(STDOUT) Disk /dev/sda: 0.07TiB
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) Partition Table: msdos
(STDOUT) 
(STDOUT) Number  Start    End      Size     Type      File system  Flags
(STDOUT)  1      0.00TiB  0.01TiB  0.01TiB  primary   ntfs         boot
(STDOUT)  2      0.01TiB  0.07TiB  0.06TiB  extended               lba
(STDOUT)  5      0.01TiB  0.07TiB  0.06TiB  logical   ntfs
(STDOUT) 
(CMD) parted -s /dev/sda unit B print free 1> /tmp/utyQZvjZfD 2> /tmp/Zslpw8xYMM
Executing: parted -s /dev/sda unit B print free
(STDOUT) Model: ATA SAMSUNG HD080HJ (scsi)
(STDOUT) Disk /dev/sda: 80026361856B
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) Partition Table: msdos
(STDOUT) 
(STDOUT) Number  Start         End           Size          Type      File system  Flags
(STDOUT)  1      9728B         14885584895B  14885575168B  primary   ntfs         boot
(STDOUT)  2      14885584896B  80023749119B  65138164224B  extended               lba
(STDOUT)  5      14885617152B  80023749119B  65138131968B  logical   ntfs
(STDOUT)         80023749120B  80026361855B  2612736B                Free Space
(STDOUT) 
(CMD) parted -s /dev/sda unit chs print free 1> /tmp/1vJs3dgafj 2> /tmp/P4ycB7EqZu
Executing: parted -s /dev/sda unit chs print free
(STDOUT) Model: ATA SAMSUNG HD080HJ (scsi)
(STDOUT) Disk /dev/sda: 9729,80,62
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) BIOS cylinder,head,sector geometry: 9729,255,63.  Each cylinder is 8225kB.
(STDOUT) Partition Table: msdos
(STDOUT) 
(STDOUT) Number  Start        End          Type      File system  Flags
(STDOUT)  1      0,0,19       1809,187,41  primary   ntfs         boot
(STDOUT)  2      1809,187,42  9728,254,62  extended               lba
(STDOUT)  5      1809,188,42  9728,254,62  logical   ntfs
(STDOUT)         9729,0,0     9729,80,62             Free Space
(STDOUT) 
    Creating directory "/var/lock/lvm"
    Finding all volume groups
  No volume groups found
(CMD) mdadm --examine --scan --verbose -c partitions 1> /tmp/PSpvdI8FCS 2> /tmp/narxkI0dxd
Executing: mdadm --examine --scan --verbose -c partitions
Previous partitions overflow begin of preserved partition /dev/sda1
Current disk layout
$VAR1 = {
          '/dev/sda' => {
                          'bios_heads' => '255',
                          'disklabel' => 'msdos',
                          'partitions' => {
                                            '1' => {
                                                     'count_byte' => '14885575168',
                                                     'filesystem' => 'ntfs',
                                                     'begin_byte' => '9728',
                                                     'is_extended' => 0,
                                                     'end_byte' => '14885584895'
                                                   },
                                            '2' => {
                                                     'count_byte' => '65138164224',
                                                     'filesystem' => '',
                                                     'begin_byte' => '14885584896',
                                                     'is_extended' => 1,
                                                     'end_byte' => '80023749119'
                                                   },
                                            '5' => {
                                                     'count_byte' => '65138131968',
                                                     'filesystem' => 'ntfs',
                                                     'begin_byte' => '14885617152',
                                                     'is_extended' => 0,
                                                     'end_byte' => '80023749119'
                                                   }
                                          },
                          'bios_cylinders' => '9729',
                          'size' => '80026361856',
                          'sector_size' => '512',
                          'begin_byte' => 0,
                          'end_byte' => '80026361855',
                          'bios_sectors_per_track' => '63'
                        }
        };
Current LVM layout
$VAR1 = {};
Current RAID layout
$VAR1 = {};

Antwort per Email an