AW: Windows Partition has to be preserved
Peter Burger
peter.burger at student.fh-reutlingen.de
Mon Jun 12 22:22:32 CEST 2006
I'm using FAI 2.10.1 with FAI-Kernel 1.10.3.
The error-message comes up after:
Calling task_partition:
...
'Here is the partition table'
...
Setup_harddisks version 0.38fai
Probing disks = /dev/hda
Disks found: hda.
Using config file: /fai/disk_config/FAIBASE
Mapping disk name disk1 to hda
Creating partition table: LC_ALL=C sfdisk -q /dev/hda <
/var/log/fai/current/partition.hda
Cp: cannot stat '/var/log/fai/current/disk_var.sh': No such file or
directory
Setup_harddisks did not create /var/log/fai/current/disk_var.sh file.
... and the system stops there.
Another fact is, if I use the same disk_config/FAIBASE and there is no
Windows XP installed on the machine, it works!!!! Maybe there is some
trouble with the partitioning Windows vs. Linux (sfdisk)?!?
Yes, I know that I loose the data, if i comment out the first line, but it
doesn't matter. It is only a test-system with a blank Win XP installation.
But I should do the same procedure with 30 other boxes, and there, the data
on the Windows partitions is critical.
Have you an idea what is going wrong there?
Thx Peter
-----Ursprüngliche Nachricht-----
Von: Michael Tautschnig [mailto:tautschn at model.in.tum.de]
Gesendet: Montag, 12. Juni 2006 18:21
An: Peter.Burger at Student.Hochschule-Reutlingen.DE
Cc: linux-fai at rrz.uni-koeln.de
Betreff: Re: Windows Partition has to be preserved
> Hi there,
>
> i have the following problem.
>
> We have a running Windows-system here, with three partitions. One
> primary, two logical. A forth logical one is reserved for the Debian
> installation with FAI.
>
> My config-file looks like that:
>
> disk_config disk1
>
> primary - preserve1 ro
> primary / 50-10000 rw;error=remount-ro ;-j ext3
> logical - preserve5 ro
> logical - preserve6 ro ;
> logical swap 1000
> logical /home 50- rw ;-j
> ext3
>
> But I 've got a error message saying this: cannot copy disk_var.sh to
> directory...
At what point of the installation is it saying so? After running all
scripts?
What version of FAI are you using?
>
> If I comment out the first line of the above disk_config it works!!!
>
Do you mean the line "primary - preserve1 ro"? In this case
you
will lose your Windows partition...
> So how has the disk_config file look like, that it works?
>
Your disk_config looks fine, this may be a bug in FAI; however, it is a
minor issue that won't affect your system at all. Actually, I don't know the
reason why this file is copied at all.
Regards,
Michael
More information about the linux-fai
mailing list