PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > upgrading hardware
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

upgrading hardware

Réponse
 
LinkBack Outils de la discussion
Vieux 08/05/2008, 07h30   #1
Jon L Miller
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut upgrading hardware

I'm currently using Debian 4.0 and I would like to know if I'm going to run
into any gotchas if I change the main board from a MSI w/ a single P4 CPU to
a Core2 Duo CPU on a gigabyte main board?



Jon L Miller, CCNA, MCNE, CNS

MMT Networks Pty Ltd

Perth, Western Australia




  Réponse avec citation
Vieux 08/05/2008, 08h00   #2
Andrei Popescu
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: upgrading hardware

On Thu, May 08, 2008 at 01:55:31PM +0800, Jon L Miller wrote:
> I'm currently using Debian 4.0 and I would like to know if I'm going to run
> into any gotchas if I change the main board from a MSI w/ a single P4 CPUto
> a Core2 Duo CPU on a gigabyte main board?


The default Debian kernel packages build a rather complete (and large!)
initrd which should run on a lot of machines without changes. You might
face some troubles with renaming of devices (HDDs) though so it would be
best to configure grub and fstab to use labels or UUIDs first (and also
rebuild your initrd).

Regards,
Andrei
--
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIIqLKqJyztHCFm9kRAn3xAJ4j/mgrnLuLDffL6HOfYjigDX3V0QCgq0/4
iKZlV2x6vNUq1SROocHZcgU=
=Yzw6
-----END PGP SIGNATURE-----

  Réponse avec citation
Vieux 08/05/2008, 14h00   #3
Ron Johnson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: upgrading hardware

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/08/08 00:55, Jon L Miller wrote:
> I’m currently using Debian 4.0 and I would like to know if I’m going to
> run into any gotchas if I change the main board from a MSI w/ a single
> P4 CPU to a Core2 Duo CPU on a gigabyte main board?


I think that I'd try to upgrade to the newest-possible kernel. Or
wait for "Etch and a half", which should be out "soon".

- --
Ron Johnson, Jr.
Jefferson LA USA

We want... a Shrubbery!!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIIvZjS9HxQb37XmcRAspBAJ4kQk+dkdXOx0JQg4U1Hl zCp1F45wCgtzgQ
tRc8qc9uq5ram4dugMWlNtk=
=n7WD
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 11/05/2008, 04h40   #4
Bob
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: upgrading hardware

Jon L Miller wrote:
>
> I’m currently using Debian 4.0 and I would like to know if I’m going
> to run into any gotchas if I change the main board from a MSI w/ a
> single P4 CPU to a Core2 Duo CPU on a gigabyte main board?
>


I tell you what I do in a situation like this, just use dd to mirror the
drive onto a spare and try it.

It should be OK, and as Andrei said reconfiguring thing to use partition
labels will .

This is the way I do it.

First Label all partitions for their mount point so label /home as
p_home, label / as p_root, label /var as p_var etc..
Read in /etc/fstab to identify partitions

with ext[23] partitions use
# e2label /dev/hdXX -L label
With xfs
# xfs_admin /dev/hdXX -L label
with jfs
# jfs_tune /dev/hdXX -L label

with swap use
# swapoff -av
# mkswap -L p_swap /dev/hdXX
# swapon /dev/hdXX

Now that you have labels on all your partitions, change the two files
like this
/boot/grub/menu.lst

from
kernel /boot/vmlinuz-2.6.18-6-k7 root=/dev/hda2 ro
to
kernel /boot/vmlinuz-2.6.18-6-k7 root=LABEL=p_root ro

And to change the default entry
# kopt=root=LABEL=p_root ro

Now edit /etc/fstab (just one example, the rest are similar):
from
/dev/hda3 /var ext3 defaults 0 2
to
LABEL=p_var /var ext3 defaults 0 2

Reboot and good luck


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 18h39.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08779 seconds with 12 queries