Gentoo Archives: gentoo-user-fr

From: grillot sebastien <sebastiengrillot@×××××××.fr>
To: gentoo-user-fr@l.g.o
Subject: Re: [gentoo-user-fr] [Fstab] Swap sur un autre DD
Date: Tue, 30 Nov 2004 06:07:33
Message-Id: 41AC0E22.1080501@wanadoo.fr
In Reply to: Re: [gentoo-user-fr] [Fstab] Swap sur un autre DD by oLaFKeWL
1 oLaFKeWL wrote:
2
3 >
4 >
5 > boot le systeme (en single user, mais c'est pas obligatoire), swapoff
6 > (ca desactive le swap) apres tu crees le nouvel espace de swap sur le
7 > 2nd disque, tu modifies de fstab et swapon (pour re activer le swap)
8 >
9 > --
10 > gentoo-user-fr@g.o mailing list
11 >
12 >
13 >
14
15 Bonjour bonjour !
16 Merci de ta reponse mais en faite je suis un peu (tres) debutant et donc
17 il me manque beaucoup d'etapes ;)
18 Alors :
19 1- swapoff ne fonctionne pas seul donc j'ai utilisé l'option -a
20 2- donc la c bon je fais un fdisk /dev/hdb puis
21
22 > alfred htdocs # fdisk /dev/hdb
23 >
24 > The number of cylinders for this disk is set to 1229.
25 > There is nothing wrong with that, but this is larger than 1024,
26 > and could in certain setups cause problems with:
27 > 1) software that runs at boot time (e.g., old versions of LILO)
28 > 2) booting and partitioning software from other OSs
29 > (e.g., DOS FDISK, OS/2 FDISK)
30 >
31 > Command (m for help): p
32 >
33 > Disk /dev/hdb: 10.1 GB, 10110320640 bytes
34 > 255 heads, 63 sectors/track, 1229 cylinders
35 > Units = cylinders of 16065 * 512 = 8225280 bytes
36 >
37 > Device Boot Start End Blocks Id System
38 > /dev/hdb1 1 1229 9871911 83 Linux
39 >
40 > Command (m for help): n
41 > Command action
42 > e extended
43 > p primary partition (1-4)
44 > p
45 > Partition number (1-4): 2
46 > No free sectors available
47 >
48 > Command (m for help):
49
50 je suis un peu frilleux sur ce coup la car j'ai un peu peur de perdre
51 mes données...
52
53 Merci à vous tous ;)
54
55 seb
56
57 --
58 registered Linux user #344952
59
60 This is the greatest thrill of my life! I'm king of the world! Wooo,
61 wooo! Wooo, wooo!
62
63 -- Homer Simpson
64 Bart The Daredevil
65
66
67 --
68 gentoo-user-fr@g.o mailing list

Replies

Subject Author
Re: [gentoo-user-fr] [Fstab] Swap sur un autre DD Sebastien Vincent <svincent@×××××.fr>
Re: [gentoo-user-fr] [Fstab] Swap sur un autre DD Yoann Pannier <gentoo-user-fr@×××××.org>