Skip to content

Batt-cd

Latest
Compare
Choose a tag to compare
@otofoto otofoto released this 14 Aug 16:24
· 1 commit to master since this release
55e99e6

About this CD

The system booting from this CD is a minimalistic Linux,
based on RedHat 8.0.
It contains many system utils and can be used as a rescue
CD for general Linux distributions.

The CD starts with six consoles open, accessible via
ALT+F1 to ALT+F6. There's no login prompt - all the
six consoles are started with a straight root shell.
Only the first console runs the battery refurbishment
wrapper script - the five remaining consoles offer
plain bash prompt.

The root directory is running off a ramdisk and is
therefore writeable. The CD is mounted under /usr

  • therefore, /usr is read-only. The /bin and /sbin
    directories are symlinks to /usr/bin and /usr/sbin
    and are therefore read-only, too.
    You can put your own stuff in /var or /tmp.

The i2c/battery stuff is in /usr/battery - apart from
the binaries, there's C source code for all the utils
and there's a Makefile. Feel free to hack it in any
way you want. Feel free to run the utils by hand
if the scripted options don't satisfy your needs.

The dump files from the `eeprom' util are stored
in /var/battery.

If you want to transfer files to some non-volatile
media, you can always mount a floppy or a system
hard disk - the Kernel should be able to mount
MSDOS FAT partitions from FAT12 to FAT32/VFAT,
EXT2, EXT3 and minix.