On Thu, 5 Feb 2004, Paul Reilly wrote:
> OK, so I copied a good partition map from a working system with sfdisk,
> I then re-apply it to a blank machine I want to clone it to. I copy over
> the MBR and untar whatever files Dell usually installs. Like so:
>> on good system:
>> sfdisk -d /dev/sda > disk.out
> dd if=/dev/sda of=/sda_446.mbr bs=446 count=1
AFAIK, the MBR has a size of 512 byte. Thats also the size of the
mbr backups that lilo creates (/boot/boot.xxxx xxxx=device id)
=> dd if=/dev/sda of=/mbr bs=512 count=1
Regards,
Achim Dreyer
--
A. Dreyer, Senior SysAdmin (UNIX&Network) / Internet Security Consultant
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!