immitating Magiccard with linux.

2005-10-19 Thread Elazar Leibovich
There's a PCI card called Magiccard[1] which is recoverring one of your 
harddrive's partitions after each period of time or manually. The main use of 
that is
to back up a windows partition, and make ruining it impossible.
I'd like to immitate it on software. My plan is to 
divide the harddrives into three partitions 
windows, backup and linux, on the MBR we'll install Lilo,grub or such
First we'd make a backup of windows to backup using, say, 
partimage. Now, when loading the linux you'll be fronted with an option to 
restore backup
or to update backup.
The problem is dates. I'm not aware of any way to cause a LILO or grub choosing 
an OS
using some condition (IE date, a file's content in a partition). Also I'm not 
aware of
any way to load windows after linux is loaded. I think I can handle patching 
grub or lilo
to do as I command, if someone would give me a brief pointers. I'll release 
this mini-project
to the public if it'll be of managable form.

Except - maybe there's already same project (or  similar project) I'm not aware 
of.

Regards E Lazar Leib.ovich
[1] http://www.rogev.com/products/info.htm


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: immitating Magiccard with linux.

2005-10-19 Thread Yedidyah Bar-David
On Wed, Oct 19, 2005 at 12:37:09PM +0200, Elazar Leibovich wrote:
 There's a PCI card called Magiccard[1] which is recoverring one of your 
 harddrive's partitions after each period of time or manually. The main use of 
 that is
 to back up a windows partition, and make ruining it impossible.
 I'd like to immitate it on software. My plan is to 
 divide the harddrives into three partitions 
 windows, backup and linux, on the MBR we'll install Lilo,grub or such
 First we'd make a backup of windows to backup using, say, 
 partimage. Now, when loading the linux you'll be fronted with an option to 
 restore backup
 or to update backup.
 The problem is dates. I'm not aware of any way to cause a LILO or grub 
 choosing an OS
 using some condition (IE date, a file's content in a partition). Also I'm not 
 aware of
 any way to load windows after linux is loaded. I think I can handle patching 
 grub or lilo
 to do as I command, if someone would give me a brief pointers. I'll release 
 this mini-project
 to the public if it'll be of managable form.

I am not sure what I suggest is worth it for a single workstation.
What we did in tau is boot from the network, with PXE or etherboot
loading pxegrub/nbgrub, and grub loading its conf from the network too.
This way you can schedule on the dhcp server automatic changing of the
conf file etc.
You can, BTW, boot a small initrd from the network that does the backup
or restore, and won't need to install linux locally, if that's the only
use for it. Also if you have a fast network keep the image there. In
short, using the network greatly enhances your options.
-- 
Didi


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]