Re: setup-storage does not preserve my partitions
Michael Tautschnig a écrit : [...] Now sda1 sda2 are preserved, but setup-storage fails when building the ext3 filesystem on /boot (debug log is on http://paste.debian.net/19133/). This is weird, as running 'mkfs.ext3 /dev/sda3' works fine from the shell just after installation has stopped. Oh no, seems we need to move around the calls to udevsettle :-( I'll try to work out a patch later on this week; meanwhile: retrying might just work in this case... Could you indeed retry for me to see how high up this must be put in this week's priority list? Well, it works much better today, as my 4 successive tries on the same workstation have all succeeded. Yesterday, it has failed twice before I gave up. I guess I will only use setup-storage on even days from now :-) . [...] This one is supposedly also solved in the latest experimental packages. Best, Michael pgpYC2QH2uF7f.pgp Description: PGP signature
Re: setup-storage does not preserve my partitions
Michael Tautschnig a écrit : [...] Now sda1 sda2 are preserved, but setup-storage fails when building the ext3 filesystem on /boot (debug log is on http://paste.debian.net/19133/). This is weird, as running 'mkfs.ext3 /dev/sda3' works fine from the shell just after installation has stopped. Oh no, seems we need to move around the calls to udevsettle :-( I'll try to work out a patch later on this week; meanwhile: retrying might just work in this case... Could you indeed retry for me to see how high up this must be put in this week's priority list? Well, it works much better today, as my 4 successive tries on the same workstation have all succeeded. Yesterday, it has failed twice before I gave up. I guess I will only use setup-storage on even days from now :-) . Meanwhile I have only installed Etch on it, with my older FAI 3.1.8 server, for some other tests. -- Nicolas
Re: setup-storage does not preserve my partitions
Michael Tautschnig a écrit : disk_config sda preserve_always:1,2 bootable:3 primary /boot 512ext3rw logical - 22000--- disk_config lvm vg vg0 sda5 vg0-swapswap 2000swapsw vg0-root/6000ext3rw vg0-var /var 2000ext3rw vg0-usr /usr 6000ext3rw vg0-local /local 6000ext3rw The installation works fine, but does not preserve my partitions, /boot goes to sda1. The log is on http://paste.debian.net/18763/. There are in fact two problems here: 1. Your configuration does not specify the partitions to be preserved; you should have disk_config sda preserve_always:1,2 bootable:3 primary - 0 - - primary - 0 - - primary /boot 512ext3rw logical - 22000--- Ok, my mistake, I have been mislead by a sentence on the FAI wiki, that seems to mean that the preserve option is now given _only_ on the disk_config line: The preserveX and boot options are one of the options now given on the disk_config line... Now sda1 sda2 are preserved, but setup-storage fails when building the ext3 filesystem on /boot (debug log is on http://paste.debian.net/19133/). This is weird, as running 'mkfs.ext3 /dev/sda3' works fine from the shell just after installation has stopped. 2. There was a bug in setup-storage (just reported as #501772), which your report made visible (thanks!!): It should not have destroyed your partitions, but instead have failed because your preserve_always specification and the disk_config wouldn't have been feasible. Given the corrected disk_config things should be fine even with the current setup-storage version, but you might also want to try the experimental packages from http://fai.alioth.debian.org, which include a fix for #501772. How am I supposed to use this url? adding it to sources.list doesn't work, as there is no Packages.gz file; shall I just use dpkg? -- Nicolas
Re: setup-storage does not preserve my partitions
[...] Now sda1 sda2 are preserved, but setup-storage fails when building the ext3 filesystem on /boot (debug log is on http://paste.debian.net/19133/). This is weird, as running 'mkfs.ext3 /dev/sda3' works fine from the shell just after installation has stopped. Oh no, seems we need to move around the calls to udevsettle :-( I'll try to work out a patch later on this week; meanwhile: retrying might just work in this case... Could you indeed retry for me to see how high up this must be put in this week's priority list? 2. There was a bug in setup-storage (just reported as #501772), which your report made visible (thanks!!): It should not have destroyed your partitions, but instead have failed because your preserve_always specification and the disk_config wouldn't have been feasible. Given the corrected disk_config things should be fine even with the current setup-storage version, but you might also want to try the experimental packages from http://fai.alioth.debian.org, which include a fix for #501772. How am I supposed to use this url? adding it to sources.list doesn't work, as there is no Packages.gz file; shall I just use dpkg? Yes, dpkg is the way to go. If you have one, you might want to put them in your local package repository; we're working on an apt-get'able repository for these experimental packages (@Thomas: hint ... :-) ). Best, Michael pgpReckZNXezL.pgp Description: PGP signature