> One question, if anyone can help : in order to have a working system, > I think I'ld need to rewrite the master boot record onto the new SSD. > I use Lilo, which has a line 'boot=<device-name>': > would it be enough to simply run Lilo, perhaps from System-Rescue ? > Should I have a back-up copy of the present MBR to use & if so, > what is the correct command to copy it & later put it in the proper place ? > > If I do find myself facing this problem one day, I may not have e-mail, > so I'ld like to have the necessary info saved for when it's needed. >
>From some old notes: To copy boot record with partition table; dd if=/dev/sda of=/boot/mbr_backup bs=512 count=1 To restore boot record without partition table; dd if=/boot/mbr_backup of=/dev/sda bs=446 count=1 So you can just write the MBR to a file, and either include the partition table (bs=512) or exclude it (bs=446).

