Discussion:
MGA9 - hdparm missing during rescue boot
(too old to reply)
Markus Robert Kessler
2023-09-20 14:42:40 UTC
Permalink
Hi everyone,

maybe this is not relevant for most users, but:

When making backups I usually boot the properly installed machine via MGA
installation DVD, mount the internal harddisk and an externally attached
USB drive as /mnt/sda1 and /mnt/sdb1.

Then I make a tar or tgz archive from sda1 and store it somewhere on sdb1.

In the case that the external drive is (hardware) password protected, a
command like hdparm --security-unlock is needed. But this one is not
available during rescue boot. Other boot disks like Knoppix do have this
in their list of tools, but at the moment Mageia does not.

Any idea where and against whom a "ticket" could be raised?

Thanks!

Best regards,

Markus
--
Please reply to group only.
For private email please use http://www.dipl-ing-kessler.de/email.htm
David W. Hodgins
2023-09-20 14:52:27 UTC
Permalink
Post by Markus Robert Kessler
Hi everyone,
When making backups I usually boot the properly installed machine via MGA
installation DVD, mount the internal harddisk and an externally attached
USB drive as /mnt/sda1 and /mnt/sdb1.
Then I make a tar or tgz archive from sda1 and store it somewhere on sdb1.
In the case that the external drive is (hardware) password protected, a
command like hdparm --security-unlock is needed. But this one is not
available during rescue boot. Other boot disks like Knoppix do have this
in their list of tools, but at the moment Mageia does not.
Any idea where and against whom a "ticket" could be raised?
# grep hdparm */*.lst */*.idx
Mageia-9-Live-GNOME-x86_64/Mageia-9-Live-GNOME-x86_64.lst:hdparm-9.65-1.mga9
Mageia-9-Live-Plasma-x86_64/Mageia-9-Live-Plasma-x86_64.lst:hdparm-9.65-1.mga9
Mageia-9-Live-Xfce-i586/Mageia-9-Live-Xfce-i586.lst:hdparm-9.65-1.mga9
Mageia-9-Live-Xfce-x86_64/Mageia-9-Live-Xfce-x86_64.lst:hdparm-9.65-1.mga9
Mageia-9-i586/Mageia-9-i586.idx:Mageia-9-i586 hdparm-9.65 (i586)
Mageia-9-x86_64/Mageia-9-x86_64.idx:Mageia-9-x86_64 hdparm-9.65 (x86_64)

Where is it missing? If you mean it isn't installed by default, that's because
most people will never use it. It's easy to install if wanted.

Regards, Dave Hodgins
Markus Robert Kessler
2023-09-20 16:51:33 UTC
Permalink
On Wed, 20 Sep 2023 10:42:40 -0400, Markus Robert Kessler
Post by Markus Robert Kessler
Hi everyone,
When making backups I usually boot the properly installed machine via
MGA installation DVD, mount the internal harddisk and an externally
attached USB drive as /mnt/sda1 and /mnt/sdb1.
Then I make a tar or tgz archive from sda1 and store it somewhere on sdb1.
In the case that the external drive is (hardware) password protected, a
command like hdparm --security-unlock is needed. But this one is not
available during rescue boot. Other boot disks like Knoppix do have
this in their list of tools, but at the moment Mageia does not.
Any idea where and against whom a "ticket" could be raised?
# grep hdparm */*.lst */*.idx
Mageia-9-Live-GNOME-x86_64/Mageia-9-Live-GNOME-
x86_64.lst:hdparm-9.65-1.mga9
Mageia-9-Live-Plasma-x86_64/Mageia-9-Live-Plasma-
x86_64.lst:hdparm-9.65-1.mga9
Mageia-9-Live-Xfce-i586/Mageia-9-Live-Xfce-i586.lst:hdparm-9.65-1.mga9
Mageia-9-Live-Xfce-x86_64/Mageia-9-Live-Xfce-
x86_64.lst:hdparm-9.65-1.mga9
Mageia-9-i586/Mageia-9-i586.idx:Mageia-9-i586 hdparm-9.65 (i586)
Mageia-9-x86_64/Mageia-9-x86_64.idx:Mageia-9-x86_64 hdparm-9.65 (x86_64)
Where is it missing? If you mean it isn't installed by default, that's
because most people will never use it. It's easy to install if wanted.
Regards, Dave Hodgins
Hi, thanks!

I meant that when using the installation DVD rather than some Live disk
and you boot into "rescue" mode, then you can get a console, but hdparm
isn't reachable. Even though on the same DVD it is there as rpm.

Maybe some Live disks provide such tools, but it would be much more handy
to only have to have one disk for installing, rescue booting and unlocking
the harddisk.

Best regards,

Markus
--
Please reply to group only.
For private email please use http://www.dipl-ing-kessler.de/email.htm
David W. Hodgins
2023-09-20 18:32:41 UTC
Permalink
Post by Markus Robert Kessler
I meant that when using the installation DVD rather than some Live disk
and you boot into "rescue" mode, then you can get a console, but hdparm
isn't reachable. Even though on the same DVD it is there as rpm.
Maybe some Live disks provide such tools, but it would be much more handy
to only have to have one disk for installing, rescue booting and unlocking
the harddisk.
Understood. Please open a bug report for Mageia 10 requesting that it be added
to the drakx-installer-rescue package.

Regards, Dave Hodgins
Markus Robert Kessler
2023-09-21 07:34:06 UTC
Permalink
On Wed, 20 Sep 2023 12:51:33 -0400, Markus Robert Kessler
Post by Markus Robert Kessler
I meant that when using the installation DVD rather than some Live disk
and you boot into "rescue" mode, then you can get a console, but hdparm
isn't reachable. Even though on the same DVD it is there as rpm.
Maybe some Live disks provide such tools, but it would be much more
handy to only have to have one disk for installing, rescue booting and
unlocking the harddisk.
Understood. Please open a bug report for Mageia 10 requesting that it be
added to the drakx-installer-rescue package.
Regards, Dave Hodgins
Thank you! -- Done:

https://bugs.mageia.org/show_bug.cgi?id=32307

Best regards,

Markus
--
Please reply to group only.
For private email please use http://www.dipl-ing-kessler.de/email.htm
Loading...