On Sat, Feb 14, 2009 at 03:13:31PM +0100, Christian Franke wrote: > insmod ata_pthru
(note that module dependencies should make this unnecessary) > insmod hdparm > > # Make sure disks cannot be locked by an ATA password > hdparm --quiet --security-freeze (ata4) > hdparm --quiet --security-freeze (ata6) > > menuentry "Boot" { > > # Check health > if hdparm --quiet --health (ata4) ; then echo -n ; else > echo "Warning: SMART status check failed" > read > fi > > # Set boot disk to "fast", disable spin down > hdparm --quiet --aam=254 --standby-timeout=0 (ata4) > > # Set other disk to "quiet", spin down after 5min inactivity > hdparm --quiet --aam=128 --standby-timeout=60 (ata6) > > # Boot ... > } > > menuentry "Memory Test" { > > # Spin down both disks after 10min > hdparm --quiet --standby-timeout=120 (ata4) > hdparm --quiet --standby-timeout=120 (ata6) > > # Load memtest ... > } Very interesting. Do you think any of these features could be useful as a default option in grub-mkconfig? -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all." _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel