Re: FAI 3.2.12: new problem with setup-storage

2008-10-17 Diskussionsfäden Michael Tautschnig
[...]
> The experimental repository et FAI version both work fine, I have  
> checked that both problems I've had are now fixed.
>
That's good news :-)

> The only thing I've seen that could work better is management of errors  
> in the disk config file: with the following files, setup-storage seems  
> to crash, and even suggests to report the bug, whereas it could just say  
> that the file is lousy.
>
> File 1: forget the line for the preserved primary partition
>
> disk_config sda preserve_always:1 bootable:2
>
> primary/boot 512ext3rw
> logical-   37000---
>
> disk_config lvm
> vg vg0 sda5
> vg0-swapswap2048swapsw
> [...]
>
>
> File 2: define a primary partition and use a logical one
>
> disk_config sda preserve_always:1 bootable:2
>
> primary -  0-   -
> primary/boot 512ext3rw
> primary-   37000---
>
> disk_config lvm
> vg vg0 sda5
> vg0-swapswap2048swapsw
> [...]
>

Could you provide some logs for these cases? That would be really cool and
helpful :-)

Thanks a lot for your testing work,
Michael



pgpwEPhhVIMY8.pgp
Description: PGP signature


Re: FAI 3.2.12: new problem with setup-storage

2008-10-17 Diskussionsfäden Nicolas Courtel

Michael Tautschnig a écrit :
  
The only thing I've seen that could work better is management of errors  
in the disk config file: with the following files, setup-storage seems  
to crash, and even suggests to report the bug, whereas it could just say  
that the file is lousy.


[...]



Could you provide some logs for these cases? That would be really cool and
helpful :-)


  

Sure, you'll find the logs there:

debug disabled: http://paste.debian.net/19413/, 
http://paste.debian.net/19414/


debug enabled: http://paste.debian.net/19415/, 
http://paste.debian.net/19417/


--
Nicolas


Re: FAI 3.2.12: new problem with setup-storage

2008-10-17 Diskussionsfäden Nicolas Courtel

Michael Tautschnig a écrit :


Thanks for the detailed report, this is now known as bug #502462 and fixed in
the experimental packages which are now available using

deb http://www.informatik.uni-koeln.de/fai/download experimental koeln

in your sources.list (you need to tweak /etc/fai/apt/sources.list as well). This
is in fact the first time that the experimental builds are available in a proper
apt repository, so consider this as a very first announcement :-)

  


The experimental repository et FAI version both work fine, I have 
checked that both problems I've had are now fixed.


The only thing I've seen that could work better is management of errors 
in the disk config file: with the following files, setup-storage seems 
to crash, and even suggests to report the bug, whereas it could just say 
that the file is lousy.


File 1: forget the line for the preserved primary partition

disk_config sda preserve_always:1 bootable:2

primary/boot 512ext3rw
logical-   37000---

disk_config lvm
vg vg0 sda5
vg0-swapswap2048swapsw
[...]


File 2: define a primary partition and use a logical one

disk_config sda preserve_always:1 bootable:2

primary -  0-   -
primary/boot 512ext3rw
primary-   37000---

disk_config lvm
vg vg0 sda5
vg0-swapswap2048swapsw
[...]

Thanks for setup-storage, and all these quick fixes, it's a very nice tool!

--
Nicolas


Re: FAI 3.2.12: new problem with setup-storage

2008-10-17 Diskussionsfäden Michael Tautschnig
> Michael Tautschnig a écrit :
>>   
>>> The only thing I've seen that could work better is management of 
>>> errors  in the disk config file: with the following files, 
>>> setup-storage seems  to crash, and even suggests to report the bug, 
>>> whereas it could just say  that the file is lousy.
>>>
>>> [...]
>>> 
>>
>> Could you provide some logs for these cases? That would be really cool and
>> helpful :-)
>>
>>
>>   
> Sure, you'll find the logs there:
>
> debug disabled: http://paste.debian.net/19413/,  
> http://paste.debian.net/19414/
>
> debug enabled: http://paste.debian.net/19415/,  
> http://paste.debian.net/19417/
>

The second one should be fixed in experimental7, the first one requires a bit
more work it seems, but I'll try to get it done as well. Thanks a lot for the
logs, and if you find the time to give it another try, I'd be even more grateful
:-)

Thanks,
Michael



pgpw4ReQt0PZn.pgp
Description: PGP signature


Re: FAI 3.2.12: new problem with setup-storage

2008-10-17 Diskussionsfäden Nicolas Courtel

Michael Tautschnig a écrit :


debug disabled: http://paste.debian.net/19413/,  
http://paste.debian.net/19414/


debug enabled: http://paste.debian.net/19415/,  
http://paste.debian.net/19417/





The second one should be fixed in experimental7, the first one requires a bit
more work it seems, but I'll try to get it done as well. Thanks a lot for the
logs, and if you find the time to give it another try, I'd be even more grateful
:-)
  


It does work, the error message is now easy to understand. My pleasure :-) .

--
Nicolas


fai-cd 3.3.4: problem creating boot image on USB stick

2008-10-17 Diskussionsfäden TOUZEAU DAVID

Dear,
The usb stick is formated has ext2 and a boot flag is added.

usb information :
  Device Boot  Start End  Blocks   Id  System
/dev/sdg1   *   1 122  979933+  83  Linux

blkid
/dev/sdg1: UUID="87b6c945-ead3-4ca0-8c44-758d326921f1" TYPE="ext2"

i'm using fai-cd has these commands

mounted usb stick
# mount -t ext2 /dev/sdg1 /mnt

#fai-cd -m /home/mirror -n -u /mnt

fai send success after operation

sent 711578750 bytes  received 212676 bytes  1590595.37 bytes/sec
total size is 710838442  speedup is 1.00
Root partition is  (hd2,0), device is: (hd2)
Installing grub.
Probing devices to guess BIOS drives. This may take a long time.

But no computer want to boot on this stick, i have tried 3 computers, 
with bios changed to boot on usb and none want to boot.


Whats wrong ?

best regards









--
David Touzeau -- Linux Ubuntu 7.04 feisty 
FreePascal-Lazarus,perl,delphi,php artica for postfix management console 
(http://www.artica.fr) icq:160018849


Re: fai-cd 3.3.4: problem creating boot image on USB stick

2008-10-17 Diskussionsfäden Michael Tautschnig
> Dear,
> The usb stick is formated has ext2 and a boot flag is added.
>
> usb information :
>   Device Boot  Start End  Blocks   Id  System
> /dev/sdg1   *   1 122  979933+  83  Linux
>
> blkid
> /dev/sdg1: UUID="87b6c945-ead3-4ca0-8c44-758d326921f1" TYPE="ext2"
>
> i'm using fai-cd has these commands
>
> mounted usb stick
> # mount -t ext2 /dev/sdg1 /mnt
>
> #fai-cd -m /home/mirror -n -u /mnt
>
> fai send success after operation
>
> sent 711578750 bytes  received 212676 bytes  1590595.37 bytes/sec
> total size is 710838442  speedup is 1.00
> Root partition is  (hd2,0), device is: (hd2)
> Installing grub.
> Probing devices to guess BIOS drives. This may take a long time.
>
> But no computer want to boot on this stick, i have tried 3 computers,  
> with bios changed to boot on usb and none want to boot.
>

- Did you properly umount /mnt afterwards?
- Could you give some details on what "none want to boot" means? Some error
  message or the like?
- Some pages on the net claim that it may depend on your USB-stick whether it
  can be made bootable or not, so maybe try another USB drive.

HTH,
Michael



pgpj59ID1Mi0G.pgp
Description: PGP signature


Re: fai-cd 3.3.4: problem creating boot image on USB stick

2008-10-17 Diskussionsfäden TOUZEAU DAVID

Dear

Yes i umount properly the device
About details of none want to boot:
Computers claims that there is no system and didn't loading datas on USB 
even usb device is detected on bios.


I have tested 2 different usb sticks : EMTEC and VERBATIM
I will test anothers usb trademarks and send you status

i need to know too if i'm using the right process in order to build an 
FAI usb boot stick ?



best regards

Michael Tautschnig a écrit :

Dear,
The usb stick is formated has ext2 and a boot flag is added.

usb information :
  Device Boot  Start End  Blocks   Id  System
/dev/sdg1   *   1 122  979933+  83  Linux

blkid
/dev/sdg1: UUID="87b6c945-ead3-4ca0-8c44-758d326921f1" TYPE="ext2"

i'm using fai-cd has these commands

mounted usb stick
# mount -t ext2 /dev/sdg1 /mnt

#fai-cd -m /home/mirror -n -u /mnt

fai send success after operation

sent 711578750 bytes  received 212676 bytes  1590595.37 bytes/sec
total size is 710838442  speedup is 1.00
Root partition is  (hd2,0), device is: (hd2)
Installing grub.
Probing devices to guess BIOS drives. This may take a long time.

But no computer want to boot on this stick, i have tried 3 computers,  
with bios changed to boot on usb and none want to boot.





- Did you properly umount /mnt afterwards?
- Could you give some details on what "none want to boot" means? Some error
  message or the like?
- Some pages on the net claim that it may depend on your USB-stick whether it
  can be made bootable or not, so maybe try another USB drive.

HTH,
Michael

  


--
David Touzeau -- Linux Ubuntu 7.04 feisty 
FreePascal-Lazarus,perl,delphi,php artica for postfix management console 
(http://www.artica.fr) icq:160018849





Re: problem with setup_storage and fai

2008-10-17 Diskussionsfäden kegstand
On Tue, Oct 14, 2008 at 11:32 PM, Michael Tautschnig <[EMAIL PROTECTED]> wrote:
> Hi!
>
> Thank you for your detailed report.
>
>> > No. You have DEBUG=1, but not debug=1. Could you please fix this and 
>> > report once
>> > again?
>>
> [...]
>
>> INTERNAL ERROR in setup-storage:
>> Table header not seen yet
>> Please report this error to the Debian Bug Tracking System.
>> (STDOUT) Error: /dev/sda: unrecognised disk label
> [...]
>
> This will be fixed in FAI 3.2.12, which is about to be released today or
> tomorrow.

3.2.12 fixes this.

thanks!


Re: fai-cd 3.3.4: problem creating boot image on USB stick

2008-10-17 Diskussionsfäden TOUZEAU DAVID

You right,

tested on CORSAIR usb stick was success

Michael Tautschnig a e'crit:

Dear,
The usb stick is formated has ext2 and a boot flag is added.

usb information :
  Device Boot  Start End  Blocks   Id  System
/dev/sdg1   *   1 122  979933+  83  Linux

blkid
/dev/sdg1: UUID="87b6c945-ead3-4ca0-8c44-758d326921f1" TYPE="ext2"

i'm using fai-cd has these commands

mounted usb stick
# mount -t ext2 /dev/sdg1 /mnt

#fai-cd -m /home/mirror -n -u /mnt

fai send success after operation

sent 711578750 bytes  received 212676 bytes  1590595.37 bytes/sec
total size is 710838442  speedup is 1.00
Root partition is  (hd2,0), device is: (hd2)
Installing grub.
Probing devices to guess BIOS drives. This may take a long time.

But no computer want to boot on this stick, i have tried 3 computers,  
with bios changed to boot on usb and none want to boot.





- Did you properly umount /mnt afterwards?
- Could you give some details on what "none want to boot" means? Some error
  message or the like?
- Some pages on the net claim that it may depend on your USB-stick whether it
  can be made bootable or not, so maybe try another USB drive.

HTH,
Michael

  


--
David Touzeau -- Linux Ubuntu 7.04 feisty 
FreePascal-Lazarus,perl,delphi,php artica for postfix management console 
(http://www.artica.fr) icq:160018849