setup-storage and preserving partitions
Andreas Heinlein
aheinlein at gmx.com
Wed Jun 16 14:00:48 CEST 2010
Am 16.06.2010 10:23, schrieb Thomas Lange:
>>>>>> On Wed, 16 Jun 2010 09:39:23 +0200, Andreas Heinlein <aheinlein at gmx.com> said:
>>>>>>
> > disk_config disk1 disklabel:msdos bootable:1 preserve_reinstall:7
> > primary 10240 / ext4 rw,errors=remount-ro
> > logical 2048 swap swap -
> > logical 1024 /tmp ext3 defaults
> > logical 1024- /media/daten ext4 acl
>
> > Preserving works when installing without "initial", but when installing
> > a new machine with "initial" Flag given, setup-storage still complains
> > that /dev/sda7 cannot be preserved because it does not exist, instead of
> > creating it.
> Please give us some parts of the log files. Without log files,
> debugging is very difficult.
>
>
Hello,
I think I found the problem - I tried to redefine FAI_FLAGS using a
hook, and append "initial" if no partition sda7 with ext4 filesystem can
be found. That way I would not have to deal with changing boot setup for
new clients, and I would really like to keep it that way
Appending to FAI_FLAGS seems to work, I get
echo $FAI_FLAGS
verbose sshd createvt reboot initial
on the console after setup-storage dies,
but variables.log says
FAI_FLAGS='verbose sshd createvt reboot'
If I append "initial" to FAI_FLAGS on the boot command line, everything
works and variables.log says
FAI_FLAGS='verbose sshd createvt reboot initial'
The hook I am using is called partition.MYCLASS.source.
I am appending a log of a run where it did not work.
Thanks,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: install-20100616_114813.tar.bz2
Type: application/x-bzip
Size: 16575 bytes
Desc: not available
Url : http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20100616/87eb6685/attachment-0001.bin
More information about the linux-fai
mailing list