Rescue: Difference between revisions

From ALT Linux Wiki
m (+changelog link)
No edit summary
 
(52 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| style="border:1px solid #AAA; background:#F9F9F9; width:200px; margin: 0 0 1em 1em; padding:.2em; text-align:center; float: right;" class=noprint
{| style="border:1px solid #AAA; background:#F9F9F9; width:200px; margin: 0 0 1em 1em; padding:.2em; text-align:center; float: right; class=noprint"
|[[Image:Download.png|link=Download]]
|-
|'''[https://nightly.altlinux.org/sisyphus/tested/regular-rescue-latest-x86_64.iso x86_64]''' <small>(~800&nbsp;Mb)</small>
|-
|[https://nightly.altlinux.org/sisyphus/tested/regular-rescue-latest-i586.iso i586] <small>(~750&nbsp;Mb)</small>
|-
|'''[http://mirror.yandex.ru/altlinux-nightly/tested/ mirror]'''
|-
|-
|__TOC__
|__TOC__
Line 7: Line 14:
|<gallery perrow="1">
|<gallery perrow="1">
Image:Regular-rescue.jpg|boot menu
Image:Regular-rescue.jpg|boot menu
Image:Regular-rescue-shell.jpg|linux shell
Image:Altlinux-p7-rescue-20150612-x86_64.jpg|remote rescue
Image:Regular-rescue-apt.jpg|apt-get it!
Image:Regular-rescue-apt.jpg|apt-get it!
</gallery>
</gallery>
Line 14: Line 21:


= What is it for =
= What is it for =
{| class="wikitable" style="float: right; text-align:center; margin: 0 0 1em 1em;"
|''🇷🇺 From [[:ru:rescue|Russia]] with love!''
|}


ALT Linux Rescue is a moderate sized<ref>roughly 300 Mb in 64-bit flavour</ref> '''LiveCD''' distribution that is designed to '''help sysadmins fix and repair''' many kinds of problems with systems they are or feel responsible for; so it comes with tools aiding to:
ALT Linux Rescue is a moderate sized<ref>about 800 Mb in 64-bit x86 flavour</ref> console '''LiveCD''' distribution that is designed to '''help sysadmins fix and repair''' many kinds of problems with systems they are or feel responsible for; so it comes with tools aiding to:
* perform hardware diagnostics
* perform hardware diagnostics
* '''resize partitions'''
* '''resize partitions'''
Line 24: Line 34:
* optimize filesystem usage
* optimize filesystem usage
* diagnose '''network problems''' and remote services
* diagnose '''network problems''' and remote services
* '''wipe''' partitons or drives clean of residual information<ref>...which could be undeletable</ref>
* '''wipe''' partitions or drives clean of residual information<ref>...which could be undeletable</ref>
<!-- wait for 20131106
* access Android devices, reset Windows passwords, etc
* access Android devices, reset Windows passwords, etc
-->
* investigate '''unauthorized access'''/security breach events
 
All of that is packaged into a convenient '''hybrid ISO''' image file [[write|suitable]] for both CD/DVD media and USB Flash pendrives<ref>with <tt>dd(8)</tt> or [http://sourceforge.net/projects/win32diskimager/files/Archive/win32diskimager-v0.9-binary.zip/download win32diskimager]</ref>.


All of that is packaged into a convenient '''hybrid ISO''' image file suitable for both CD/DVD media and USB Flash pendrives<ref>with <tt>dd(8)</tt> or [http://sourceforge.net/projects/win32diskimager/files/Archive/win32diskimager-v0.9-binary.zip/download win32diskimager]</ref>.
The resulting media should be bootable on most of the common systems with RAM 384 MB:
* i586 ones starting roughly with Intel Pentium III or equivalent,
* x86_64 ones on any AMD64 compatible hardware with '''BIOS or UEFI'''<ref>you might prefer to [http://www.fsf.org/campaigns/secure-boot-vs-restricted-boot disable SecureBoot] though even if it's handled in late November 2013 snapshots and on</ref>,
* aarch64 ones on any ARMv8 compatible hardware with '''UEFI'''.


The resulting media should be bootable on most '''x86''' systems:
But above all, [http://www.cyberciti.biz/tips/my-10-unix-command-line-mistakes.html don't panic, we've been there too]!
* 32-bit ones starting roughly with Intel Pentium II/128M or equivalent,
* 64-bit ones on any AMD64 compatible hardware with '''BIOS or UEFI'''<ref>you might prefer to disable SecureBoot though</ref>.


= Download =
= Download =


{| style="border:1px solid #AAA; background:#F9F9F9; width:200px; margin: 0 0 1em 1em; padding:.2em; text-align:center; float: right;" class=noprint
{| style="border:1px solid #AAA; background:#F9F9F9; width:200px; margin: 0 0 1em 1em; padding:.2em; text-align:center; float: right; class=noprint"
|-
|-
|[[Image:Gnome-media-optical.svg]] A [[Regular]] Build
|[[Image:Gnome-media-optical.svg]] '''A&nbsp;[[Regular]]&nbsp;Build'''
|-
|-
|}
|}


These images are automatically built weekly, here are the '''direct download links''' to files which have been verified to boot already:
These images are automatically built [[regular|weekly]]<ref>there are quarterly [[starterkits]] including a twin rescue image built using stable branch</ref>, here are the '''direct download links''' to files which have been verified to boot already:
* [http://nightly.altlinux.org/sisyphus/tested/regular-rescue-latest-i586.iso i586]
* '''[https://nightly.altlinux.org/sisyphus/tested/regular-rescue-latest-x86_64.iso x86_64]''' ([https://mirror.yandex.ru/altlinux-nightly/tested/regular-rescue-latest-x86_64.iso mirror])
* [http://nightly.altlinux.org/sisyphus/tested/regular-rescue-latest-x86_64.iso x86_64]
<!--* '''[https://nightly.altlinux.org/sisyphus/tested/regular-rescue-latest-i586.iso i586]''' ([https://mirror.yandex.ru/altlinux-nightly/tested/regular-rescue-latest-i586.iso mirror])-->
* '''[https://nightly.altlinux.org/sisyphus-aarch64/tested/regular-rescue-latest-aarch64.iso aarch64]'''
 
This is [http://www.gnu.org/philosophy/free-sw free software], you can use it, share it and enhance it too!  And here are some [http://alternativeto.net/software/alt-linux-rescue/ alternatives].


This is [http://www.gnu.org/philosophy/free-sw free software], you can use it, share it and enchance it too!
Note the [[write|tips on suitable utilities]] to write the hybrid ISO image to bootable media; please do '''not''' use UNetbootin, Rufus, or UltraISO as those will cripple the result unfortunately.


= Software spotlights =
= Software spotlights =


This is a GNU/*/Linux based LiveCD so all the software runs under '''Linux kernel'''<ref>the kernel version usually either [http://nightly.altlinux.org/sisyphus/ChangeLog the latest one or pretty close to that], BTW</ref>.  And the contents can be extended in runtime, '''apt-get''' works there!
This is a GNU/*/Linux based [http://livecdlist.com/alt-linux-rescue LiveCD] so all the software runs under '''Linux kernel'''<ref>the kernel version usually either [https://nightly.altlinux.org/sisyphus/ChangeLog the latest one or pretty close to that], BTW</ref>.  Contents can be extended in runtime using APT-RPM, just '''dhcpcd; apt-get update''' and install away.


Here are some of the packages included to get you started:
Here are some of the packages included to get you started:
* [http://www.rodsbooks.com/refind/ refind] to cope with the lack of EFI boot manager menu
* [http://www.smartmontools.org/wiki/LiveCDs smartmontools] for HDD/SSD S.M.A.R.T. monitoring
* [http://sourceforge.net/apps/trac/smartmontools/wiki smartmontools] for HDD/SSD S.M.A.R.T. monitoring
* [http://www.cgsecurity.org/wiki/TestDisk testdisk]/[http://www.cgsecurity.org/wiki/PhotoRec photorec] to recover partitions and data files
* [http://www.cgsecurity.org/wiki/TestDisk testdisk]/[http://www.cgsecurity.org/wiki/PhotoRec photorec] to recover partitions and data files
* bonnie++, chntpw, cpuburn, ddrescue, exfat-utils, gpart, hdparm, ipmitool, lft, memtest86+, netcat, parted, rsync, scalpel, uudeview, whdd, wipefrespace...
* [http://memtest86.com/ memtest86] for UEFI<ref>with PassMark's permission</ref> and [http://memtest.org/ memtest86+] for BIOS
* android-tools, bonnie++, chntpw, cpuburn, dc3dd/dcfldd/ddrescue, exfat-utils, gpart, hdparm, ipmitool, lft, netcat, parted, rsync, scalpel, sleuthkit (aff/ewf), uudeview, whdd, wipefreespace...


There's more than a hundred of specialized programs there and many more are available through ALT Linux Sisyphus repository which serves as the base for this rescue image.  You can also rebuild it with the tools you need<ref>contact mike at altlinux org, it's about [https://www.ohloh.net/p/mkimage-profiles mkimage-profiles]</ref>.
There's more than a hundred of specialized programs there and many more are available through ALT Linux Sisyphus repository which serves as the base for this rescue image providing it with [http://distrowatch.com/table.php?distribution=alt recent software versions].  You can also rebuild it with the tools you need<ref>contact mike at altlinux org, it's about [https://www.openhub.net/p/mkimage-profiles mkimage-profiles]</ref>.
 
'''Forensic mode''' boot aims to [http://www.forensicswiki.org/wiki/ALT_Linux_Rescue minimize impact on media] by avoiding activation of swap partitions, software RAID and LVM, mounting no filesystems and switching {{cmd|mount-system}} to readonly mode using loopback devices; press F2 and choose the appropriate option if UEFI booting.  This mode enables '''hardening''' against rescue [http://web.archive.org/web/20171209162852/https://forensicswiki.org/wiki/Forensic_Live_CD_issues root filesystem spoofing].
 
"'''Rescue with remote SSH access (DHCP)'''" might come handy with laggy '''iKVM''' as it would bring up networking via DHCP, generate a root password, start SSH server and print the access parameters to the terminal so that only a few IP-KVM keystrokes are required to obtain faster shell.  Please do change the password upon login.


= References =
= References =
<references />
{| style="border:0px; margin: 0 0 1em 1em; padding:1em; vertical-align:top; text-align:left; float:left;"
|-
|[[Image:Windows-infographic share.png]]<br />[https://www.fsf.org/windows Upgrade from Windows!]
| &nbsp;
| <references />
* [http://distrowatch.com/table.php?distribution=alt DistroWatch] (see the Sisyphus column for versions)
|-
|}


[[Category:Sisyphus]]
[[Category:Sisyphus]]

Latest revision as of 20:00, 20 June 2024

Download.png
x86_64 (~800 Mb)
i586 (~750 Mb)
mirror
Screenshots

What is it for

🇷🇺 From Russia with love!

ALT Linux Rescue is a moderate sized[1] console LiveCD distribution that is designed to help sysadmins fix and repair many kinds of problems with systems they are or feel responsible for; so it comes with tools aiding to:

  • perform hardware diagnostics
  • resize partitions
  • fix bootloaders, partitions, filesystems
  • recover partitions and files deleted by accident
  • backup and restore to network servers
  • deal with optical, tape and file archives
  • optimize filesystem usage
  • diagnose network problems and remote services
  • wipe partitions or drives clean of residual information[2]
  • access Android devices, reset Windows passwords, etc
  • investigate unauthorized access/security breach events

All of that is packaged into a convenient hybrid ISO image file suitable for both CD/DVD media and USB Flash pendrives[3].

The resulting media should be bootable on most of the common systems with RAM 384 MB:

  • i586 ones starting roughly with Intel Pentium III or equivalent,
  • x86_64 ones on any AMD64 compatible hardware with BIOS or UEFI[4],
  • aarch64 ones on any ARMv8 compatible hardware with UEFI.

But above all, don't panic, we've been there too!

Download

Gnome-media-optical.svg Regular Build

These images are automatically built weekly[5], here are the direct download links to files which have been verified to boot already:

This is free software, you can use it, share it and enhance it too! And here are some alternatives.

Note the tips on suitable utilities to write the hybrid ISO image to bootable media; please do not use UNetbootin, Rufus, or UltraISO as those will cripple the result unfortunately.

Software spotlights

This is a GNU/*/Linux based LiveCD so all the software runs under Linux kernel[6]. Contents can be extended in runtime using APT-RPM, just dhcpcd; apt-get update and install away.

Here are some of the packages included to get you started:

  • smartmontools for HDD/SSD S.M.A.R.T. monitoring
  • testdisk/photorec to recover partitions and data files
  • memtest86 for UEFI[7] and memtest86+ for BIOS
  • android-tools, bonnie++, chntpw, cpuburn, dc3dd/dcfldd/ddrescue, exfat-utils, gpart, hdparm, ipmitool, lft, netcat, parted, rsync, scalpel, sleuthkit (aff/ewf), uudeview, whdd, wipefreespace...

There's more than a hundred of specialized programs there and many more are available through ALT Linux Sisyphus repository which serves as the base for this rescue image providing it with recent software versions. You can also rebuild it with the tools you need[8].

Forensic mode boot aims to minimize impact on media by avoiding activation of swap partitions, software RAID and LVM, mounting no filesystems and switching mount-system to readonly mode using loopback devices; press F2 and choose the appropriate option if UEFI booting. This mode enables hardening against rescue root filesystem spoofing.

"Rescue with remote SSH access (DHCP)" might come handy with laggy iKVM as it would bring up networking via DHCP, generate a root password, start SSH server and print the access parameters to the terminal so that only a few IP-KVM keystrokes are required to obtain faster shell. Please do change the password upon login.

References

Windows-infographic share.png
Upgrade from Windows!
 
  1. about 800 Mb in 64-bit x86 flavour
  2. ...which could be undeletable
  3. with dd(8) or win32diskimager
  4. you might prefer to disable SecureBoot though even if it's handled in late November 2013 snapshots and on
  5. there are quarterly starterkits including a twin rescue image built using stable branch
  6. the kernel version usually either the latest one or pretty close to that, BTW
  7. with PassMark's permission
  8. contact mike at altlinux org, it's about mkimage-profiles