Re: [PATCH]: Save boot record before writing to the dest_drive

2009-09-24 Thread kashyap garimella
On Wed, Sep 23, 2009 at 1:38 PM, Mikko Rantalainen < mikko.rantalai...@peda.net> wrote: > I looked at the patch and it seems that the problem could be caused by > following code: > > > + if (!backup_fp) > > + { > > +strcpy(grub_errmsg,"Unable to create the backup file"); > > +goto unable

Re: [PATCH]: Save boot record before writing to the dest_drive

2009-09-23 Thread Mikko Rantalainen
kashyap garimella wrote at 2009-09-12: > Greetings! > > I have added the following new features: > > 1) when grub-setup runs, it automatically stores the areas of (mbr + embed) > region, which are overwritten, into the file (in the following specified > format) in root directory. > > 2) grub-set

Re: [PATCH]: Save boot record before writing to the dest_drive

2009-09-20 Thread Robert Millan
On Sat, Sep 19, 2009 at 11:09:17PM +0100, Colin Watson wrote: > On Sat, Sep 19, 2009 at 11:10:49PM +0200, Robert Millan wrote: > > I'm sorry, but I really see very limited usefulness in this. It's only > > potentially useful to expert users, but those should know how to backup > > sectors in their

Re: [PATCH]: Save boot record before writing to the dest_drive

2009-09-19 Thread richardvo...@gmail.com
On Sat, Sep 19, 2009 at 5:09 PM, Colin Watson wrote: > On Sat, Sep 19, 2009 at 11:10:49PM +0200, Robert Millan wrote: >> I'm sorry, but I really see very limited usefulness in this.  It's only >> potentially useful to expert users, but those should know how to backup >> sectors in their disk alrea

Re: [PATCH]: Save boot record before writing to the dest_drive

2009-09-19 Thread Colin Watson
On Sat, Sep 19, 2009 at 11:10:49PM +0200, Robert Millan wrote: > I'm sorry, but I really see very limited usefulness in this. It's only > potentially useful to expert users, but those should know how to backup > sectors in their disk already. Of course, like many restore facilities, it's only use

Re: [PATCH]: Save boot record before writing to the dest_drive

2009-09-19 Thread Robert Millan
On Mon, Sep 14, 2009 at 09:14:49PM +0530, kashyap garimella wrote: > On Mon, Sep 14, 2009 at 9:05 PM, Robert Millan wrote: > > > On Sat, Sep 12, 2009 at 07:35:45PM +0530, kashyap garimella wrote: > > > Greetings! > > > > > > I have added the following new features: > > > > > > 1) when grub-setup

Re: [PATCH]: Save boot record before writing to the dest_drive

2009-09-14 Thread kashyap garimella
On Mon, Sep 14, 2009 at 9:05 PM, Robert Millan wrote: > On Sat, Sep 12, 2009 at 07:35:45PM +0530, kashyap garimella wrote: > > Greetings! > > > > I have added the following new features: > > > > 1) when grub-setup runs, it automatically stores the areas of (mbr + > embed) > > region, which are ov

Re: [PATCH]: Save boot record before writing to the dest_drive

2009-09-14 Thread Robert Millan
On Sat, Sep 12, 2009 at 07:35:45PM +0530, kashyap garimella wrote: > Greetings! > > I have added the following new features: > > 1) when grub-setup runs, it automatically stores the areas of (mbr + embed) > region, which are overwritten, into the file (in the following specified > format) in root

[PATCH]: Save boot record before writing to the dest_drive

2009-09-12 Thread kashyap garimella
Greetings! I have added the following new features: 1) when grub-setup runs, it automatically stores the areas of (mbr + embed) region, which are overwritten, into the file (in the following specified format) in root directory. 2) grub-setup can restore the stored mbr in the following format bac