Quote:
I'd like to use hdparm via Grub to configure HDD APM before booting Windows
|
It is a windows issue
I would not touch hdparm as those values are wrong for some drives. You have been warned!
Quote:
grub2-install --disk-module=native /dev/sda
|
So what has this to do with your running Spyware 95 from microsoft?
I am using grub2-install to tell my UEFI ASUS bios, hey i have gentoo linux on my drive, make partition sda2 bootable please. Job done, thanks.
Quote:
Setting the disk controller to IDE/ATA mode is possible but what are its side effects? Windows wouldn't like it?
|
ATA modes are afaik only an indicator on how "fast" a drive works.
optical drives reports lower ata modes as harddrives
First popup window in google chrome, search term: AHCI mode
Quote:
IDE mode is the simplest mode. In IDE mode, the hard drive is set to run as an IDE or Parallel ATA (PATA) hard drive. Advanced Host Controller Interface (AHCI) mode enables the use of advanced features on SATA drives, such as hot swapping and Native Command Queuing (NCQ).
|
you definitely want AHCI
Newbie feature so they can run windows95 on that platform most probably.
https://en.wikipedia.org/wiki/Advanc...ller_Interface
Quote:
Many SATA controllers offer selectable modes of operation: legacy Parallel ATA emulation, standard AHCI mode (also known as native mode), or vendor-specific RAID (which generally enables AHCI
in order to take advantage of its capabilities).
|
Makes things clear.
Parallel ATA emulation, => Hey my windows 95 does not run on my fancy pants notebook. Than you enable this!
standard AHCI mode (also known as native mode) => default mode, as designed for, usual best transfer rate. RAnt: why do they call it native mode?
vendor-specific RAID => fake raid, do not touch it for several reasons which are out of the scope.
-- the side effects may be that your box will refuse to load your spyware 95 maybe when you enable IDE emulation
-- It also seems you are mixing up shell commands, with build in grub recovery shell commands(which should maybe use busybox, but not sure!), with bios features.
--
When you want to disable the power down feature, do it in linux, do it windows.
linux. e.g. /etc/init.d/ custom script (Assuming you use something which is not SYSTEMD disease)
spyware95 e.g. fancy pants startup software which does this
--
Quote:
and it tells what to do when the disk controller is in AHCI mode but Grub is not.
|
Indicates you are wanting to change settings in your bios, which you should not when you do not know exactly what it does.
edit:
-- Warning. Not any of my past 7 drives had any correct smartctl values or hdparm values. Those linux tools are outdated. The manufacturers can choose whatever they like, whatever they like to interpret those values. Most of the time you see something like is not in teh drive database, and even so these values may work or not work.
Warning: When you are really on an old hdd with windows 7, which is dated, you may replace the drive asap. as the drive may die tommorrow without any notice and all your fancy data will be unrecoverable.
Hint: Also backups may help, but backups on unreliable media will be also unrecoverable.
--
The grub recovery shell has a subset of features. It is a recovery shell. Could be busybox based or not. too lazy to look that up. Just treat it as busybox alike shell, with same constraints.