Re: how to copy MBR??

2005-12-04 Thread Robert Slade
On Sun, 2005-12-04 at 01:49, Javier Matos wrote:
 Hi, I will change the hard drive of my computer and I was thinking that maybe 
 it can run if I make partitions in the new hard drive (the same number of 
 partitions using the same device name), copy all the files contained in the 
 old hard drive to the new one and finally copy MBR from old hard drive to the 
 new one... .
 
 Can it be a solution to the problem of changing hard drives of my computer or 
 that that I tell is a stupid thing??
 
 Thx

Javier,

Have a look at man dd.

Rob

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to copy MBR???

2005-12-04 Thread Damon Blom
javier
   Take a look at freebsd cheat sheets - moving to a larger hard drive.
  Damon
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: how to copy MBR??

2005-12-04 Thread Gayn Winters
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Javier Matos
 Sent: Saturday, December 03, 2005 5:50 PM
 To: freebsd-questions@freebsd.org
 Subject: how to copy MBR??
 
 
 Hi, I will change the hard drive of my computer and I was 
 thinking that maybe it can run if I make partitions in the 
 new hard drive (the same number of partitions using the same 
 device name), copy all the files contained in the old hard 
 drive to the new one and finally copy MBR from old hard drive 
 to the new one... .
 
 Can it be a solution to the problem of changing hard drives 
 of my computer or that that I tell is a stupid thing??
 
 Javier,

You should do a little reading first.  The Handbook has a good section
on this, and there are MANY posts on the topic.  The bottom line is that
a naïve copy using dd or cp won't work.  (Well, dd will work but
assuming your new disk is larger, it won't be optimal.)  You are
probably better off with a new install on the new disk, and then doing
dump and restore to transfer the relevant user data.  This is a good
time to rethink how your data are stored, and the handbook has a section
on rearranging your directories.  This is a popular topic and there are
any HOWTO's out there that Google will find for you.  If you have room
physically, using the old disk as an extra drive is something I'd
suggest as well.  In fact, it makes the dump|restore work particularly
well.

-gayn


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to copy MBR??

2005-12-04 Thread Steve Quinn
--- Javier Matos [EMAIL PROTECTED] wrote:

 Hi, I will change the hard drive of my computer and I was thinking that maybe 
 it can run if I
 make partitions in the new hard drive (the same number of partitions using 
 the same device
 name), copy all the files contained in the old hard drive to the new one and 
 finally copy MBR
 from old hard drive to the new one... .
 
 Can it be a solution to the problem of changing hard drives of my computer or 
 that that I tell
 is a stupid thing??
 
 Thx

Hello Javier

If I am interpreting your question correctly, It sounds like you want to copy 
your FreeBSD
installation to a different disk

If so, I have had great success with this procedure

http://lantech.geekvenue.net/chucktips/jason/chuck/1004897633/index_html

I hope this helps

Take care

Steve



__ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


how to copy MBR??

2005-12-03 Thread Javier Matos
Hi, I will change the hard drive of my computer and I was thinking that maybe 
it can run if I make partitions in the new hard drive (the same number of 
partitions using the same device name), copy all the files contained in the old 
hard drive to the new one and finally copy MBR from old hard drive to the new 
one... .

Can it be a solution to the problem of changing hard drives of my computer or 
that that I tell is a stupid thing??

Thx
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]