Page 1 of 1

Partimage in background ???

Posted: Mon Aug 20, 2007 8:21 am
by remss0069
Hello everybody,

I'm sorry for my bad English, I'm French.

I use Partimage with Cd bootable, System Rescue Cd.
My problem is that partimage turns in background when I use it with a script autorun.

I would like that, like when I launch it manually, the screen on blue bottom of partimage appears on the screen with the progress report of the restoration.

Here my script:

1 #! /bin/bash
2 (
3 to mkdir /mnt/backup
4 mount /dev/sda8 /mnt/backup
5 partimage restore - B - E - f2 /dev/sda1 /mnt/backup/IMAGE.000
6 )
7 sync
8 exit 0

System Rescue Cd is installed on a partition and is launched with Grub:

grub.conf:

default=0
hiddenmenu

Restore IMAGE
root (hd0,2)
kernel /sysrcd/rescuecd root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/sysrcd/sysrcd.dat splash=silent nosound subdir=sysrcd cdroot=/dev/sda3 setkmap=fr vga=5 ar_source=/dev/sda8 autoruns=0
initrd /sysrcd/rescuecd.igz
boot

For information :
- The command echo does not permit to post text with the screen !
- I used this autorun with old pc : it's run / with this new machine (Dell Optiplex 740) : Nothuing at the screen, just "Running autorun..."

Thank you in advance !