150112 Adam Carter wrote:
>> I may 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 ?
> 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).

Thanks ! -- someone else who keeps careful notes : added to mine.

-- 
========================,,============================================
SUPPORT     ___________//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca


Reply via email to