(2006-08-06) rescue-bootcd

This commit is contained in:
2006-08-06 00:00:00 +02:00
parent 2f796b816a
commit decb062d20
21091 changed files with 7076462 additions and 0 deletions

1
rootfs/bin/addgroup Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/adduser Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/ash Symbolic link
View File

@@ -0,0 +1 @@
busybox

BIN
rootfs/bin/busybox Executable file

Binary file not shown.

1
rootfs/bin/cat Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/chgrp Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/chmod Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/chown Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/cp Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/cpio Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/date Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/dd Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/delgroup Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/deluser Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/df Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/dmesg Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/dumpkmap Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/echo Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/egrep Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/false Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/fdflush Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/fgrep Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/grep Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/gunzip Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/gzip Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/hostname Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/ip Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/ipaddr Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/ipcalc Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/iplink Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/iproute Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/iptunnel Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/kill Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/ln Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/login Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/ls Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/mkdir Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/mknod Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/mktemp Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/more Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/mount Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/mt Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/mv Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/netstat Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/pidof Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/ping Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/ps Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/pwd Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/rm Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/rmdir Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/sed Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/sh Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/sleep Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/stty Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/su Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/sync Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/tar Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/touch Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/true Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/umount Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/uname Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/uncompress Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/usleep Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/vi Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
rootfs/bin/zcat Symbolic link
View File

@@ -0,0 +1 @@
busybox

40
rootfs/dodeeds.sh Executable file
View File

@@ -0,0 +1,40 @@
#!/bin/sh
# preguntar que se desea hacer
dialog --clear --title "Disco Recuperacion." \
--menu "Selecciona la accion a realizar." 20 51 4 \
"1" "Restaurar particion." \
"2" "Consola." \
"3" "Salir." 2> /tmpf
retval=$?
case $retval in
0)
echo "`cat /tmpf` elegido."
if test "`cat /tmpf`" = "1" ; then
echo "restaurar"
/restaurar.sh
fi
if test "`cat /tmpf`" = "2" ; then
echo "Consola"
/bin/sh
fi
;;
1)
echo "Salida";;
255)
if test -s /tmpf ; then
cat /tmpf
else
echo "Salida"
fi
;;
esac
# reiniciar
/sbin/reboot

0
rootfs/etc/fstab Normal file
View File

7
rootfs/etc/inittab Normal file
View File

@@ -0,0 +1,7 @@
::sysinit:/etc/rc.sysinit
::once:/dodeeds.sh
::ctrlaltdel:/sbin/reboot
::shutdown:/etc/rc.sysuninit
::restart:/sbin/init

0
rootfs/etc/mtab Normal file
View File

11
rootfs/etc/rc.sysinit Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/sh
# montar proc y sys
/bin/mount -n -t proc proc /proc
/bin/mount /dev/rd/0 / -o rw,remount
/bin/cat /proc/mounts > /etc/mtab
/bin/mount -n -t sysfs sysfs /sys
# iniciar una consola auxiliar
/usr/bin/openvt 2 /bin/sh

4
rootfs/etc/rc.sysuninit Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/sh
/bin/umount -a -r
/sbin/swapoff -a

15
rootfs/linuxrc Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/sh
# iniciar el sistema
/etc/rc.sysinit
# pivotar y cambiar el rootcambiar el roor
pivot_root . .
chroot / /bin/sh
## desiniciar el sistema
#/etc/rc.sysuninit
#/sbin/reboot

40
rootfs/restaurar.sh Executable file
View File

@@ -0,0 +1,40 @@
#!/bin/sh
mount_cd ()
{
for i in /dev/cdroms/*;
do
if mount -t iso9660 $i /mnt/cdrom;
then
if test -f /mnt/cdrom/bootcd
then
#umount $i
DEVICE=$i
return 0
else
umount $i
fi
fi
done
return 1
}
# Buscar el cdrom
echo "Buscar el cdrom"
mount_cd
retval=$?
if test $retval -eq 0 ; then
# restaurar
echo "Restaurar."
partimage -b restore /dev/ide/host0/bus0/target0/lun0/part1 /mnt/cdrom/win98se.000
partimage -b restmbr /mnt/cdrom/win98se.000
# desmontar
umount /mnt/cdrom
else
echo "No se encuentra el CD"
fi

1
rootfs/sbin/adjtimex Symbolic link
View File

@@ -0,0 +1 @@
../bin/busybox

1
rootfs/sbin/devfsd Symbolic link
View File

@@ -0,0 +1 @@
../bin/busybox

1
rootfs/sbin/fdisk Symbolic link
View File

@@ -0,0 +1 @@
../bin/busybox

1
rootfs/sbin/freeramdisk Symbolic link
View File

@@ -0,0 +1 @@
../bin/busybox

1
rootfs/sbin/fsck.minix Symbolic link
View File

@@ -0,0 +1 @@
../bin/busybox

1
rootfs/sbin/getty Symbolic link
View File

@@ -0,0 +1 @@
../bin/busybox

1
rootfs/sbin/halt Symbolic link
View File

@@ -0,0 +1 @@
../bin/busybox

1
rootfs/sbin/hdparm Symbolic link
View File

@@ -0,0 +1 @@
../bin/busybox

1
rootfs/sbin/hwclock Symbolic link
View File

@@ -0,0 +1 @@
../bin/busybox

1
rootfs/sbin/ifconfig Symbolic link
View File

@@ -0,0 +1 @@
../bin/busybox

1
rootfs/sbin/init Symbolic link
View File

@@ -0,0 +1 @@
../bin/busybox

1
rootfs/sbin/insmod Symbolic link
View File

@@ -0,0 +1 @@
../bin/busybox

1
rootfs/sbin/klogd Symbolic link
View File

@@ -0,0 +1 @@
../bin/busybox

1
rootfs/sbin/loadkmap Symbolic link
View File

@@ -0,0 +1 @@
../bin/busybox

1
rootfs/sbin/losetup Symbolic link
View File

@@ -0,0 +1 @@
../bin/busybox

1
rootfs/sbin/lsmod Symbolic link
View File

@@ -0,0 +1 @@
../bin/busybox

1
rootfs/sbin/makedevs Symbolic link
View File

@@ -0,0 +1 @@
../bin/busybox

1
rootfs/sbin/mkfs.minix Symbolic link
View File

@@ -0,0 +1 @@
../bin/busybox

1
rootfs/sbin/mkswap Symbolic link
View File

@@ -0,0 +1 @@
../bin/busybox

1
rootfs/sbin/modprobe Symbolic link
View File

@@ -0,0 +1 @@
../bin/busybox

1
rootfs/sbin/nameif Symbolic link
View File

@@ -0,0 +1 @@
../bin/busybox

1
rootfs/sbin/pivot_root Symbolic link
View File

@@ -0,0 +1 @@
../bin/busybox

1
rootfs/sbin/poweroff Symbolic link
View File

@@ -0,0 +1 @@
../bin/busybox

1
rootfs/sbin/reboot Symbolic link
View File

@@ -0,0 +1 @@
../bin/busybox

1
rootfs/sbin/rmmod Symbolic link
View File

@@ -0,0 +1 @@
../bin/busybox

1
rootfs/sbin/route Symbolic link
View File

@@ -0,0 +1 @@
../bin/busybox

1
rootfs/sbin/sulogin Symbolic link
View File

@@ -0,0 +1 @@
../bin/busybox

Some files were not shown because too many files have changed in this diff Show More