(2006-09-11) rescue-bootcd
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
|
||||
|
||||
# pivotar y cambiar el rootcambiar el roor
|
||||
pivot_root . .
|
||||
chroot / /bin/sh
|
||||
/sbin/pivot_root . .
|
||||
/sbin/chroot / /bin/sh
|
||||
|
||||
|
||||
## desiniciar el sistema
|
||||
|
||||
@@ -28,8 +28,8 @@ 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
|
||||
partimage -b restore /dev/scsi/host0/bus0/target0/lun0/part1 /mnt/cdrom/winxp.000
|
||||
partimage -b restmbr /mnt/cdrom/winxp.000
|
||||
|
||||
# desmontar
|
||||
umount /mnt/cdrom
|
||||
|
||||
Reference in New Issue
Block a user