Hi all, Finally setup_harddisks_2 is ready for testers. There are some TODOs left and probably a lot more will arise as soon as people start testing it. Before you start, just let me clarify that this is a very dangerous piece of software that has not been sufficiently tested for any cases where you want to retain any of your data. It will definitely destroy any data on any of your disks in your system. You have been warned.
If you're still interested, the following steps are required next: - install libparse-recdescent-perl, parted, lvm2 within your NFSROOT - grab setup_harddisks_2 from the SVN: http://svn.debian.org/wsvn/fai/people/michael/features/setup_harddisks_2/implementation/ (get all the shdd2* files) - For a first shot copy the files somewhere into your NFSROOT - create a disk_config for <CLASS> from the old one apart from (at least) the following changes: * the filesystem is now given as the 4th column, the mount options are now in column 5 * there is no ;-hack anymore -- anything given after the mount options is passed on to mkfs.<filesystem> * Partitions are marked as bootable using the bootable:<nr> option in the disk_config line * The other things should at least work like they did before, but there are some new things as well, like RAID support (which is surely incomplete), LVM support, mounting by label or UUID. Please take a look at the attached examples to get an idea of the new format. - create a hook partition.<CLASS> as follows #!/bin/sh cd <somewhere> debug=1 ./shdd2 # if you really brave, you can get things written to disk as well debug=1 ./shdd2 -X # skip the original parititioning skip partition - Give it a go and hope... There will be lots of debug output; if it finishes with the printout of an fstab file that is to your liking, it should have succeeded. Any feedback is highly appreciated!!! Good luck, Michael
pgpqhrpOPFosw.pgp
Description: PGP signature
