A quick question, which I would've posted in one of the microsoft TA's except that I doubt many folks in those TAs are familiar with dd - so here it goes:
I want to install windows 98 on a partition that exists on a drive that already has windows XP installed. I'm fairly certain that the 98 installation process will blow away my boot sector as a matter of course, so I want to preserve it (and restore it) after the 98 install is complete (I'm fairly confident that the XP bootloader can handle the 98 installation). I've done a bit of googling and come up with the following...
To backup the boot sector:
dd if=/dev/hda of=backup.boot bs=512 count=1
To restore the boot sector:
dd if=backup.boot of=/dev/hda bs=1
I would be booting off a CD-based distro and using a floppy for the backup medium.
Will this work?
Cheers,
-Jon
Start Free Trial