On Tuesday 11 May 2010 01:10:50 Rob Owens wrote: > On Mon, May 10, 2010 at 11:52:51AM -0400, Ryan Manikowski wrote: > > On 5/10/2010 11:37 AM, Vincze Janos Istvan wrote: > > > Hi list, > > > > > > My debian server will soon get a complete new hardware (motherboard, > > > cpu, memory, stb.). > > > Have anybody a good idea how to replace the old computer without > > > reinstall the whole system? > > > > > > I have installed and configured: > > > - The most important is ASTERISK PBX > > > - Apache2 web server > > > - Samba > > > - Postfix & Dovecot > > > - ProFTP > > > - etc. > > > > > > I do not want to reinstall everything. > > > > > > Current debian installation: > > > - Debian lenny 5.0.4 > > > - Kernel: 2.6.26-2-686 > > > > > > thank you very much in advance, > > > > > > Vinyo > > > > Having recently ported a machine (placing drives into new physical > > hardware), this process was very simple and painless. You really have > > two primary concerns here. > > > > 1) Does the currently running kernel support the hardware you are moving > > the drive(s) to? If so then its a matter of ensuring the hard drives are > > attached and presented by the BIOS in the correct order (/dev/sdX > > mappings). As long as this is the same, the system will boot. Changes on > > your end, should the drive mappings change, would be to modify > > /etc/fstab and grub's menu.lst (assuming you're using grub in the first > > place). > > You could use UUID's instead of device names (/dev/sdX) to get around this > issue.
There was a thread on this recently, and I think it was said that even UUID's can change with changing hardware. It was suggested, if I remember correctly, that the only safe way to prevent a name change is to label the partitions when you first partition the drive and use labels in fstab etc.. I am sure someone will correct me if I have got this wrong, so if noone does so I have probably remebered correctly. HTH Lisi -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201005110811.41664.lisi.re...@gmail.com