Rescue: Difference between revisions

From ALT Linux Wiki
(support FSF, they're so right in this regard)
m (kernel grows...)
(36 intermediate revisions by the same user 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]]
|-
|'''[http://nightly.altlinux.org/sisyphus/tested/regular-rescue-latest-x86_64.iso x86_64]''' <small>(~550&nbsp;Мб)</small>
|-
|[http://nightly.altlinux.org/sisyphus/tested/regular-rescue-latest-i586.iso i586] <small>(~450&nbsp;Мб)</small>
|-
|'''[http://mirror.yandex.ru/altlinux-nightly/tested/ mirror]'''
|-
|-
|__TOC__
|__TOC__
Line 6: Line 13:
|-
|-
|<gallery perrow="1">
|<gallery perrow="1">
Image:Altlinux-rescue-uefi-memtest86.jpg|memtest86.efi
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 15: Line 23:
= What is it for =
= What is it for =


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>roughly 400 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:
* perform hardware diagnostics
* perform hardware diagnostics
* '''resize partitions'''
* '''resize partitions'''
Line 24: Line 32:
* 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 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 '''x86''' systems:
The resulting media should be bootable on most '''x86''' systems:
* 32-bit ones starting roughly with Intel Pentium II/128M or equivalent,
* 32-bit ones starting roughly with Intel Pentium II/160M or equivalent,
* 64-bit 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</ref>.
* 64-bit 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>.
 
But above all, [http://www.cyberciti.biz/tips/my-10-unix-command-line-mistakes.html don't panic, we've been there too]!


= Download =
= Download =
Line 39: Line 48:
{| 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]
* '''[http://nightly.altlinux.org/sisyphus/tested/regular-rescue-latest-x86_64.iso x86_64]''' ([http://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]
* '''[http://nightly.altlinux.org/sisyphus/tested/regular-rescue-latest-i586.iso i586]''' ([http://mirror.yandex.ru/altlinux-nightly/tested/regular-rescue-latest-i586.iso mirror])


This is [http://www.gnu.org/philosophy/free-sw free software], you can use it, share it and enchance it too!
This is [http://www.gnu.org/philosophy/free-sw free software], you can use it, share it and enchance it too! And here are some [http://alternativeto.net/software/alt-linux-rescue/ alternatives].
 
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 [http://nightly.altlinux.org/sisyphus/ChangeLog the latest one or pretty close to that], BTW</ref>.  Contents can be extended in runtime, 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.rodsbooks.com/refind/ refind] to cope with the lack of EFI boot manager menu
* [http://sourceforge.net/apps/trac/smartmontools/wiki smartmontools] for HDD/SSD S.M.A.R.T. monitoring
* [http://www.smartmontools.org/wiki/LiveCDs 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, wipefreespace...
* [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 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.ohloh.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://www.forensicswiki.org/wiki/Forensic_Live_CD_issues root filesystem spoofing].


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 imageYou 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>.
"'''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 shellPlease do change the password upon login.


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

Revision as of 12:13, 14 November 2018

Download.png
x86_64 (~550 Мб)
i586 (~450 Мб)
mirror
Screenshots

What is it for

ALT Linux Rescue is a moderate sized[1] 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 x86 systems:

  • 32-bit ones starting roughly with Intel Pentium II/160M or equivalent,
  • 64-bit ones on any AMD64 compatible hardware with BIOS or UEFI[4].

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 enchance 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, just dhcpcd; apt-get update and install away.

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

  • refind to cope with the lack of EFI boot manager menu
  • 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. roughly 400 Mb in 64-bit 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