[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: repartionnement



Le Sat, 03 Feb 2007 10:47:10 +0100
Bayrouni <bayrouni@brutele.be> a écrit:

> C'est pourquoi je m'adresse à la liste àfin d'avoir des conseils.
> 
> Sur le portable en question voici ce que donne fdisk:
>  Device Boot      Start         End      Blocks   Id  System
> /dev/hdc1               1       12161    97683201    5  Extended
> /dev/hdc5               1           7       56164+  82  Linux swap / Solaris
> /dev/hdc6               8          14       56196   83  Linux
> /dev/hdc7              15        1838    14651248+  83  Linux
> /dev/hdc8            1839        3662    14651248+  83  Linux
> /dev/hdc9            3663       12161    68268186   83  Linux
> 
> 
> Je suis habitué à fdisk et au partionnement, mais repartionner une
> partition, je ne l'ai encore jamais fait.
> 
> Est-il possible d'augmenter ma partion swap en prenant un peu de la
> partioin / ou home?


Tu peux rajouter un fichier swap:

totoche:/tmp/Gre# dd if=/dev/zero of=Swp bs=100M count=1
1+0 enregistrements lus.
1+0 enregistrements écrits.
104857600 bytes transferred in 3,032297 seconds (34580253 bytes/sec)
totoche:/tmp/Gre# mkswap Swp
Setting up swapspace version 1, size = 104853 kB
no label, UUID=2b866cac-60bb-4710-9b41-8283e4d9b4e0 swapon
totoche:/tmp/Gre# swapon Swp totoche:/tmp/Gre# 

et voilà 100M de swap rajouté.

François Boisson

Tu te rajoutes un fichier de démarrage
et hop c'est réglé.



Reply to: