BG-Rescue Linux
Requirements
Contents
Downloads
Installation
TODO
Special-Thanks
FAQ
Links
Version: 7.0.0 - Released: 2019/08/05 - Take a look at the
Changelog
For other releases please take a look at our Release Page.
BG-Rescue Linux is a very small Linux distribution (download-size < 15MB) which is intended mainly for rescue purposes.
The system runs entirely in ram and can be booted either from USB-stick or CD-ROM.
Besides i386 it also includes a 64bit Linux kernel generating the possibility to chroot into a 64bit (amd64) userspace environment.
The system can serve as a full rescue / backup / restore system for Linux or Windows based computers or to facilitate the installation of a recent Debian oder Ubuntu Linux via debootstrap.
All the relevant major filesystems and many network cards are supported as well as mounting samba (cifs) and nfs shares over network.
A wide range of disk- and filesystem utilities as well as strong compression tools are integrated, including a 64bit version of lrzip. A graphical frontend (ytree) is also included.
Requirements
You need at least a 586 machine with 64 mb ram to run BG-Rescue Linux.
If running a 64bit (amd64) system booting a 64bit SMP kernel is supported.
To use the optional VESA graphic modes You need a VESA 2.0 compilant VGA card.
Back to top
Contents
The system is a BusyBox and musl libc based rescue system with Linux kernel 5.2.
The user can choose between 32 different (including swiss) keyboard layouts.
If an executable script "bgrescue.rc" or "bgrescue/bgrescue.rc" on the usb-stick or cdrom exists it is executed at bootup.
If using the 64bit kernel an optimized 64bit version of lrzip is available.
USB-stick images will expand to the full size of the USB-stick on the first usage.
The system includes debootstrap with a custom script to facilitate the installation of a recent Debian Linux.
Supported Hardware:
- Block Devices
- Multiple devices driver support (RAID and LVM)
- Normal floppy disk
- SCSI Disk / CD-Rom
- Serial ATA and Parallel ATA
- USB Mass Storage support
- Network devices
- Ethernet (10 or 100Mbit)
- Ethernet (1000 Mbit)
- Ethernet (10000 Mbit)
- USB network devices
- Console
- VESA VGA graphics console 8bit
- VGA Text console
- BUS / Ports
- Keyboard support (generic / USB)
- Parallel Port
- PCI Express / PCI / ISA Bus
- USB support (USB 3.0, USB 2.0, USB 1.1)
- ACPI (Advanced Configuration and Power Interface)
Included Software:
- LINUX-Kernel 5.2.1 (32bit & 64bit)
- musl libc (i386) 1.1.21
- BusyBox 1.30.1
- Filesystem-Tools
- dosfstools 4.1
- e2fsprogs 1.45.2
- exfat-utils 1.3.0
- fuse-exfat 1.3.0
- ntfs-3g_ntfsprogs 2017.3.23
- Disk-Tools
- gddrescue 1.23
- fuse 2.9.9
- gpart 0.3-6 (with Debian patches)
- lila-mdev 20190718
- lilo 24.2-4 (with Debian and Gentoo patches)
- LVM2 2.03.02
- mdadm 4.1
- ms-sys 2.6.0
- syslinux 6.04~git20190206.bf6db5b4 (with Debian patches)
- tphdisk
- util-linux 2.33.1 (fdisk, sfdisk)
- Compression-Utilities
- cabextract 1.9
- lrzip 0.631 (32bit & 64bit)
- tar 1.30
- zip 3.0
- ar, bzip2, cpio, dpkg, dpkg-deb, gzip, lzop, rpm, rpm2cpio, uncompress, unlzma, unzip and unxz are integrated in BusyBox
- Libraries
- bzip2 1.0.6 (libbz2)
- libaio 0.3.112 (needed for LVM2)
- lzo 2.10 (liblzo2)
- zlib 1.2.11.dfsg
- Graphical Frontend
- ytree 1.99pl1 (with netbsd-curses 5.9)
- cmdftp 0.9.8
- linld 0.97
- regutils 0.15
Supported Filesystems: exfat, ext4 (with ext2 / ext3), hfs, hfs+, iso9660, ntfs-3g (ntfs), tmpfs, udf, vfat (msdos)
Network filesystems: cifs (samba / smbfs), nfs
Back to top
Downloads
Download problems: "RIGHTCLICK" and "Save link as..."
For direct linking (of the current version) please use:
Back to top
Installation on a USB-Stick (or SD-Card)
Please replace X.Y.Z with the current version number (eg: 7.0.0)...
You can use BG-Rescue Linux to boot from a USB-Stick or a SD-Card if your system supports it.
During the installation process ALL DATA on the USB-stick will be erased.
- Under Windows:
- Download and unzip bgrescue-X.Y.Z.iso.zip
- Flash bgrescue-X.Y.Z.iso to your usb-stick using Win32 Disk Imager.
- On the first boot you are given the opportunity to expand the image to fill the whole usb-stick.
- Under Linux:
- Download bgrescue-X.Y.Z.iso.xz
- Flash your usb-stick using: xzcat bgrescue-X.Y.Z.iso.xz | sudo dd of=/dev/sdX bs=1M
- Please be sure to use the right device-name pointing to your stick (eg /dev/sdc).
- If you provide a wrong name all data on your harddisk may be destroyed.
- On the first boot you are given the opportunity to expand the image to fill the whole usb-stick.
- Under MacOS:
- Download bgrescue-X.Y.Z.iso.gz
- Flash your usb-stick using: gzcat bgrescue-X.Y.Z.iso.gz | sudo dd of=/dev/diskX bs=1m
- Please be sure to use the right device-name pointing to your stick (eg /dev/disk2).
- If you provide a wrong name all data on your harddisk may be destroyed.
- On the first boot you are given the opportunity to expand the image to fill the whole usb-stick.
Installation on CD-Rom
Please replace X.Y.Z with the current version number (eg: 7.0.0)...
- To create a bootable CD-Rom you just have to burn bgrescue-X.Y.Z.iso onto an empty cdrom.
Back to top
TODO...
- Include (U)EFI-support
- Include more network devices
- Find a reasonable way to load modules / firmware
- Maybe include wireless support in the distant future?!?
Back to top
Special-Thanks to...
- Linus Torwalds for inventing LINUX and distributing it under the terms of the GPL
- Christian Perle for Hal91 and for helping me with my first steps in rescue systems
- Tom Oehser for tomsrtbt and for writing the bzip2 kernel patch
- Christian Ludwig for updating and publishing the bzip2 kernel patch
- Erik Andersen and his team for BusyBox and uClibc
- Tom for helping me out with some great ideas and for finding cmdftp on the internet
- Henrik Carlqvist for writing ms-sys and for helping me with my compiling-problems
- Stephan Schulz for correcting a typo in welcome.txt
- Ralf Brinkmann for finding the smbclient-pipe patch on the internet
- Ed Clark for writing the Busybox-1.00-unzip patch
- Robert Hamersky for notifying me about the F-Prot > 4.5 problems
- Igor Pavlov for the LZMA SDK
- Matthias Kilian, Dave Cinege, David L. Parsley for inittar
- Ming-Ching Tiew for the LZMA kernel patches
- Con Kolivas for Long Range ZIP and for helping me with my compiling-problems
Back to top
Frequently asked Questions
- Where can I find the kernel configuration file (.config)?
The kernel configuration file is named kernel_config and can be found
in the bgrescue-X.Y.Z-src.zip along all other BG-Rescue Linux related files.
- How can I transfer pipes through network?
The program You are searching is netcat. It can be used to send almost
anything directly over the network. To use it, You have first to configure
Your network devices on both systems correctly. Then type:
sender: nc [IP of reciever] [port] < [input-file]
reciever: nc -lp [port] > [output-file]
An expample for copying a harddrive would be:
sender: dd if=/dev/hdX | gzip | nc 10.0.0.100 32767
reciever: nc -lp 32767 | gunzip | dd of=/dev/hdX
- How can I setup a compile environment for BG-Rescue Linux?
BG-Rescue Linux is compiled using a build-system built with buildroot and musl libc
with several custom config files. In bgrescue-X.Y.Z-src.zip you will find the patches.
Back to top
Links
Another excellent mini distribution is maintained by Christian Perle - Hal91.
The ONE-DISK-LINUX of the ONE-DISK-LINUXes is maintained by Tom Oehser - tomsrtbt.
A really interesting article: How Linux Saved My Files and My Job - PDF-Version.
Please visit also our page at Sourceforge - BG-Rescue Linux.
Please visit also our page at Freecode - BG-Rescue Linux (stalled).
Back to top
HOME
You are user number since 2003/07/20...
© 2003-2019 by Bodo Giannone
Alle Angaben ohne Gewähr !!! Caveat lector