Main Page

From Rescatux Wiki

Jump to: navigation, search

Contents

Rescatux webpage

This is Wiki / Documentation page for Rescatux. For Rescatux webpage please check: Rescatux.

Description

Rescatux is a GNU/Linux rescue cd (and eventually also Windows) but it is not like other rescue disks. Rescatux comes with Rescapp. Rescapp is a nice wizard that will guide you through your rescue tasks.

How to make a Rescatux USB

Wizards

The most updated and correct information about how to make a Rescatux USB can be found at Wizard Step – Put Rescatux into an usb pendrive. You are also invited to check other wizards at Wizard page.

Other methods (recommended)

Universal Usb installer (Windows)

Note: If you are working with 0.30 beta 4 (or newer) version you should extract the iso which it is found inside the iso you have download. ( boot/boot-isos folder ) and use that instead of the downloaded iso.

ImageWriter (Ubuntu)

Ubuntu (and derivatives) provide the imageWriter package which is able to create bootable usb drives.

  • You can install by openning a terminal and typing:
sudo apt-get install usb-imagewriter
  • After installing it you can found it on the main menu.
  • Launch imageWriter
  • Select your ISO image
  • Select your USB device
  • Write to device

Note: Some early versions of imageWriter only accept .img files. If the tool won't accept .iso files, simply rename the ISO file from .iso to .img.

Official method (not recommended)

Introduction

Official method is not recommend because it wipes your usb device and you will probably don't want to:

  • Lose all your pendrive contents
  • Don't be able to use your pendrive for other tasks

However, it is the method that should always work.

Gnu/Linux

  • Make sure that you start this process without your usb plugged into the computer. Otherwise extract it.
  • Run:
mount
  • Save somewhere the mount output or just make you open a new terminal when running mount again later. As an example output might be:
/dev/sda6 on / type ext3 (rw,errors=remount-ro,commit=0)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,size=5242880,mode=755,size=5242880,mode=755)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=755,size=10%,mode=755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,size=20%,mode=1777,size=20%,mode=1777)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620,gid=5,mode=620)
/dev/sda9 on /home type ext3 (rw,user_xattr)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
  • Insert your usb. In most Gnu/Linux systems it will be automounted. Otherwise mount it manually.
  • Close the Nautilus / Dolphin window that has just appeared.
  • Run again:
mount
  • Take a look at its output. As an example it might be:
/dev/sda6 on / type ext3 (rw,errors=remount-ro,commit=0)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,size=5242880,mode=755,size=5242880,mode=755)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=755,size=10%,mode=755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,size=20%,mode=1777,size=20%,mode=1777)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620,gid=5,mode=620)
/dev/sda9 on /home type ext3 (rw,user_xattr)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
/dev/sdc1 on /media/UNI type vfat (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,uhelper=udisks)
  • Compare the first and the second mount runs. Detect one more line in the second run.
  • Line should be something as:
/dev/sdc1 on /media/UNI type vfat (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,uhelper=udisks)
  • Now let's focus at first part of it: /dev/sdc1
  • Usb Partition device (the mounted one) is /dev/sdc1
  • Usb device is /dev/sdc (Note that the partition number has been lost. That it is right.)
  • Umount the partition device
sudo umount /dev/sdc1 # Ubuntu users
umount /dev/sdc1 # Non sudo distributions
  • Now we are going to dump the Rescatux.
  • REMEMBER THAT YOU WILL LOSE ALL THE PENDRIVE CONTENTS
  • Make sure to adapt the command to your needs:
    • Change /home/user/Desktop for the actual path for your rescatux iso file. You might want to use /tmp
    • Change rescatux_0.30b3.iso for the iso filename that you have downloaded.
    • /dev/sdc should be your usb device.
sudo dd if=/home/user/Desktop/rescatux_0.30b3.iso of=/dev/sdc
  • Just to be sure we will finish with:
sudo sync
  • That's it! Usb device is bootable and should contain Rescatux.

Windows

  • WARNING. These steps have not been actually tested.
  • Get Windows dd
  • Save it into C:\dd
  • Format your pendrive as FAT32
  • Delete all the partitions from your pendrive (Use Control Panel. Disk Management in Windows Vista or Windows 7)
  • Open command line. Start menu. Run. cmd
  • We will make sure we are at dd folder where its binary it is
cd c:\dd
  • Make sure you know which it is your usb device thanks to:
dd --list
  • Make sure you understand the output:
\\.\Volume{5cd94d2c-3251-11d9-9444-806d6172696f}\
link to \\?\Device\HarddiskVolume1
fixed media Mounted on \\.\c:
\\.\Volume{129b1243-3252-11d9-b167-806d6172696f}\
link to  \\?\Device\CdRom0
CD-ROM Mounted on \\.\r:
\\.\Volume{129b1242-3252-11d9-b167-806d6172696f}\
link to \\?\Device\Floppy0
removable media Mounted on \\.\a:
\\.\Volume{e3429891-0eb9-11da-b18f-000d60dc98cd}\
link to \\?\Device\Harddisk1\DP(1)0-0+3
removable media Mounted on \\.\d:


NT Block Device Objects
\\?\Device\CdRom0
\\?\Device\Floppy0
\\?\Device\Harddisk0\Partition0
link to \\?\Device\Harddisk0\DR0
Fixed hard disk media. Block size = 512
\\?\Device\Harddisk0\Partition1
link to \\?\Device\HarddiskVolume1
\\?\Device\Harddisk1\Partition0
link to \\?\Device\Harddisk1\DR2
Removable media other than floppy. Block size = 512
\\?\Device\Harddisk1\Partition1
link to \\?\Device\Harddisk1\DP(1)0-0+3
Removable media other than floppy. Block size = 512
  • If your usb device is mounted in d: what you care about it is:
\\?\Device\Harddisk1
  • REMEMBER THAT YOU WILL LOSE ALL THE PENDRIVE CONTENTS
  • Now we are going to dump Super Grub2 Disk image
  • Make sure you adapt the command for your needs:
    • We recommend to rename rescatux image to: rescatux.iso
    • Make sure that:
\\?\Device\Harddisk1

is the correct usb device

dd --progress --size bs=1M if=c:\rescatux.iso of=\\?\Device\Harddisk1
  • That's it! Usb device is bootable and should contain Rescatux.

Rescapp Documentation

Rescapp is the Rescatux main user interface.

Initial common steps for every option

  • Burn the Rescatux ISO in a cdrom
  • Make your PC boot from the cdrom
  • At Debian Live Boot screen just press ENTER

Grub options

  • Select Grub options

Recover Grub option

  • Select Restore grub / Fix Linux Boot option and click on OK button
  • Select the partition where your main Linux is and click on OK button
  • Select the hard disk where you want Grub to be installed (usually the first one)
  • Reorder hard disks according to hard disk boot order if needed
  • Grub was installed OK confirmation / Grub was not installed error will appear

Update grub configuration

This option at Rescatux 0.21 version only supports Debian based systems such as Ubuntu

  • Select Update Grub Configuration option and click on OK button
  • Rename hard disks if Rescatux's hard disks device names are not your usual names
  • Select the partition where your main Linux is and click on OK button
  • Reorder hard disks according to hard disk boot order if needed
  • Update Grub Configuration confirmation / Update Grub Configuration went wrong will appear


Final common steps for every option

  • Look for System -> Shutdown in the top tray in order to halt your machine


Tips and Tricks

How to change resolution

Introduction

It would seem that Rescapp is not prepared to scale on big hd screens. Changing the default resolution to a lower one might do the trick. This is supposed to be improved with some kind of menu in the future.

Changing it from standard boot

You select Super Grub2 Disk and then press ESC to return to Rescatux's boot main menu. You then highlight Rescatux and press 'e' to key. Just search the linux line and add to it:

LIVE_XORG_RESOLUTION=640x480

or:

LIVE_XORG_RESOLUTION=800x600

or

LIVE_XORG_RESOLUTION=1024x768

or whatever the Xorg resolution you want to force.

Then press ctrl+x (You hold Ctrl and then press x key. Release x key and then release Ctrl key) or alternatively you can press F10 key.

Changing it from Yumi (or alike) boot

You need somehow to add:

LIVE_XORG_RESOLUTION=800x600

as explained above as a boot parametre.

I don't have a Yumi boot at hand so you will have to figure out yourself. If you do please document your experience at Super Grub Disk forum so that I can update the wiki.

Changing it from Xorg

The current XFCE desktop lets you change resolution.

  • Start menu
  • Preferences
  • Monitor Settings
  • Select desired resolution from dropdown
  • OK

Frequently Asked Questions (FAQ)

Why GNU/Linux Live CD to fix MBR with grub2 ?

  • Q: Why we need a GNU/Linux live CD to fix mbr with grub 2 ?
    • A: Grub1 could fix it's own grub on mbr with the root, install or setup commands. Grub2 does not have neither these commands nor equivalents. You need to boot into an installed or live GNU/Linux system to be able to use grub-install in order to install it.

What does mean Rescatux

  • Q: What does mean Rescatux?
    • A: Rescatux is an invented name. It comes from either "REScue A TUX machine" or from "RESCATa tu linUX" (Rescue your Linux in Spanish).

Restore GRUB to MBR

  • Q: Restore Grub to MBR says something went wrong. What should I do?
    • A1: At 0.30 version 64bit capabilities are not detected. So... It might be that your system is 64bit base. Please try to select: Live AMD64 from Boot menu.
    • A2: Make sure that you order ok your hard disks. You cannot say that all your hard disks are found in position 1.
      • This is right:
      • sda = 1
      • sdb = 2
      • sdc = 3
      • This is wrong:
      • sda = 1
      • sdb = 2
      • sdc = 2
    • A3: Please share the log at the forum. You can use Support -> Share log on forum option for that. We will advice you what to do you after reading it.

What Rescatux isn't able to do?

  • Q: Is there something that Rescatux isn't able to do?
    • A: Of course, Rescatux is by no means 42 so there are some tasks you might think Rescatux can do but it can't. Please check What Rescatux cannot do page.

How to explain problems

  • Q: Is there an standard way to explain my problem?

Why the Rescatux Desktop lacks so much usability

  • Q: I can't paste to the terminal. Clicking on folder in Desktop opens Iceweasel.
    • A1: One is supposed to use Rescatux only by the means of Rescapp. The idea is to provide a light-weight Desktop such as LXDE-GTK, Razor-qt or, probably in the future LXDE-QT. In 0.31 version Debian Testing Razor-qt 0.5.2 will be provided to try to focus only on QT software despite of Gparted or Zenity so that Live cd size is smaller.
    • A2: Please complain by the provided means on what needs to be improved exactly and I will probably improve it.

Program X not included

  • Q: Why X program is not included in Rescatux?
    • A1: Rescatux is not a distro about including new programs and that's it like other live cds might do. Yes, I, sometimes add some programs hidden as much as possible to final users in the Expert Tools options. But as I said Rescatux is about adding options to perform certain rescue tasks. E.g. Gparted is included as an expert tool even if it's quite intuitive. Why's that? Because, maybe in the future Rescapp will have an option like: Shrink your windows partition to make place for Gnu/Linux. Or even prepare your partitions to accomodate a new Gnu/Linux installation.
    • A2: All the programs have to have a rescue purpose or maybe be a helper program for a rescue task such as the Boot Info Script. That explains why I'm not very fan of adding Diagnostic tools. If requested, I might add them in the future inside Expert tools options, though.

Media

Non official media

Fixing MBR (With Rescatux) by Jose Ramon Ruiz on Youtube

Press strategy

RescatuxPressStrategy

Rescatux Development

How to build

How to build Rescatux

Debian Live

Squeeze Chroot

SG2D Integration

Debian Live

grub-install script

Obsolete


Bugs

  • Rescatux bugs
    • version-beta: E.g. 0.32-beta are errors only found on beta versions
    • version: E.g. 0.32 are errors only found in stable versions
    • version-freeze: E.g. 0.32-freeze are error only found on beta versions that we have decided need to be addressed in order to release its associated stable version.
  • Rescatux feature requests

Ideas

Ideas

Personal tools