On Thursday 29 April 2004 17:52, Enda wrote:
> >> I would be very surprised if you could copy the MBR in this way.
> Its perfectly valid to copy the MBR in this way, but the values will
> probably be wrong. If its a lilo boot loader, you'll need to edit the old
> /etc/lilo.conf and point the moutn points to the scsi instead of the ide,
> and write it to the MBR using lilo -C path_to_edited_lilo.conf
What is the point of copying the MBR
if you then use LILO or grub-install to write it out again?
IMO there is zero probability of an MBR from one disk working on another,
so as I said it seems entirely pointless to copy it.
Of course there is some point in copying the MBR with dd
for later re-copying to the same disk if something goes wrong,
particularly if you are using an obsolete boot loader like LILO.
> >> I would use "cp -a" as you suggest.
> However, I'd recommend using the r switch too, cp -ar
On my system (Fedora-1) cp -a already includes -r = --recursive .
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
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!