<![CDATA[Forum Ubuntu-fr.org / Créer une partition physique à partir d'une partition logique]]> http://forum.ubuntu-fr.org/viewtopic.php?id=1192011 Sun, 10 Feb 2013 01:42:56 +0000 FluxBB <![CDATA[Réponse à : Créer une partition physique à partir d'une partition logique]]> http://forum.ubuntu-fr.org/viewtopic.php?pid=12529141#p12529141 ok très bien je vais essayer pour ça ...

Merci bq pr ce fil de discussions smile

]]>
Sun, 10 Feb 2013 01:42:56 +0000 http://forum.ubuntu-fr.org/viewtopic.php?pid=12529141#p12529141
<![CDATA[Réponse à : Créer une partition physique à partir d'une partition logique]]> http://forum.ubuntu-fr.org/viewtopic.php?pid=12516441#p12516441 Réutilise uniquement la swap.
Fais un / de 20 Go et un /home de la taille que tu veux pour Ubuntu.

]]>
Sat, 09 Feb 2013 06:32:35 +0000 http://forum.ubuntu-fr.org/viewtopic.php?pid=12516441#p12516441
<![CDATA[Réponse à : Créer une partition physique à partir d'une partition logique]]> http://forum.ubuntu-fr.org/viewtopic.php?pid=12514521#p12514521 D'accord, donc je peux utiliser le même swap. ok

Je tente maint d'installer l'Ubuntu ...  Comme je vous ai dit avant, j'ai un Centos sur /dev/sda2  comme Os, qui utilise une parution logique swap, une partition logique  root et une autre home.   Et un autre disque physique /dev/sda1  pour /boot.

Je suis pas vraiment pro, qu'est ce vous me proposez de faire pour l'installation d'Ubuntu, vous avez dit pour swap je peux utiliser la même ... et pour le  /boot ça va être la même .... et pour les autres .. Merci.

]]>
Fri, 08 Feb 2013 21:55:58 +0000 http://forum.ubuntu-fr.org/viewtopic.php?pid=12514521#p12514521
<![CDATA[Réponse à : Créer une partition physique à partir d'une partition logique]]> http://forum.ubuntu-fr.org/viewtopic.php?pid=12514441#p12514441 Aucune influence tant que les volumes logiques ne sont pas partagés.  La swap peut être la même,  par contre... sauf si tu comptes utiliser  l'hibernation.

]]>
Fri, 08 Feb 2013 21:45:33 +0000 http://forum.ubuntu-fr.org/viewtopic.php?pid=12514441#p12514441
<![CDATA[Réponse à : Créer une partition physique à partir d'une partition logique]]> http://forum.ubuntu-fr.org/viewtopic.php?pid=12514251#p12514251 non je pense pas que ça influence en rien sur les données..

Avec fdisk, je vois que l'Id avant de la partition /dev/sda2  est 83
Je l'ai modifiée à 8e (pr le header), après j'ai lancé l’interface graphique d'installation Ubuntu ... Maintenant il reconnait toutes les partitions du volume.

Donc c'est résolu pr ce point. Juste une question de plus SVp, vous savez pas si l'installation dans une partition logique à coté d'un autre Os peut influencer sur le fonctionnement d'Ubuntu et est ce qu'il faut créer encore une partition swap pour Ubuntu ?

]]>
Fri, 08 Feb 2013 21:29:28 +0000 http://forum.ubuntu-fr.org/viewtopic.php?pid=12514251#p12514251
<![CDATA[Réponse à : Créer une partition physique à partir d'une partition logique]]> http://forum.ubuntu-fr.org/viewtopic.php?pid=12514131#p12514131 En effet elle est mal identifiée au niveau du type...

J'ai toujours peur de toucher à ça a posteriori, je n'ai jamais cherché à savoir s'il y a un risque de perte de données...

]]>
Fri, 08 Feb 2013 21:20:51 +0000 http://forum.ubuntu-fr.org/viewtopic.php?pid=12514131#p12514131
<![CDATA[Réponse à : Créer une partition physique à partir d'une partition logique]]> http://forum.ubuntu-fr.org/viewtopic.php?pid=12514091#p12514091 J'étais en discussion parallèle avec d'autre liens sur le même problème, on vient de trouver la solution..
le problème est qu'il faut changer l'Id de la partition en question.

]]>
Fri, 08 Feb 2013 21:18:12 +0000 http://forum.ubuntu-fr.org/viewtopic.php?pid=12514091#p12514091
<![CDATA[Réponse à : Créer une partition physique à partir d'une partition logique]]> http://forum.ubuntu-fr.org/viewtopic.php?pid=12514011#p12514011 c pas grave ... en tt cas merci bq   tiramiseb

]]>
Fri, 08 Feb 2013 21:10:34 +0000 http://forum.ubuntu-fr.org/viewtopic.php?pid=12514011#p12514011
<![CDATA[Réponse à : Créer une partition physique à partir d'une partition logique]]> http://forum.ubuntu-fr.org/viewtopic.php?pid=12514001#p12514001 Alors là je ne vois pas ce qu'il se passe... désolé hmm

]]>
Fri, 08 Feb 2013 21:07:36 +0000 http://forum.ubuntu-fr.org/viewtopic.php?pid=12514001#p12514001
<![CDATA[Réponse à : Créer une partition physique à partir d'une partition logique]]> http://forum.ubuntu-fr.org/viewtopic.php?pid=12513971#p12513971 non du tt, je vois la même chose qu'avant ...  !!!
il reconnait pas le VG

]]>
Fri, 08 Feb 2013 21:05:08 +0000 http://forum.ubuntu-fr.org/viewtopic.php?pid=12513971#p12513971
<![CDATA[Réponse à : Créer une partition physique à partir d'une partition logique]]> http://forum.ubuntu-fr.org/viewtopic.php?pid=12513931#p12513931 Oups désolé je n'avais pas tout lu...

Et l'installation d'Ubuntu ne propose pas d'utiliser le volume, maintenant ?

]]>
Fri, 08 Feb 2013 21:01:04 +0000 http://forum.ubuntu-fr.org/viewtopic.php?pid=12513931#p12513931
<![CDATA[Réponse à : Créer une partition physique à partir d'une partition logique]]> http://forum.ubuntu-fr.org/viewtopic.php?pid=12513891#p12513891 Oui c'est bien installé le Lvm2...
j'ai utilisé en ligne de commande  :  sudo apt-get install lvm2

Et il arrive après a détecter le VG, vous voyez où que ça marche pas ?

]]>
Fri, 08 Feb 2013 20:58:30 +0000 http://forum.ubuntu-fr.org/viewtopic.php?pid=12513891#p12513891
<![CDATA[Réponse à : Créer une partition physique à partir d'une partition logique]]> http://forum.ubuntu-fr.org/viewtopic.php?pid=12513851#p12513851 Le paquet lvm2 a-t-il bien été installé ?
Les derniers retours des commandes semblent montrer que ce n'est pas le cas...

]]>
Fri, 08 Feb 2013 20:53:03 +0000 http://forum.ubuntu-fr.org/viewtopic.php?pid=12513851#p12513851
<![CDATA[Réponse à : Créer une partition physique à partir d'une partition logique]]> http://forum.ubuntu-fr.org/viewtopic.php?pid=12513801#p12513801 Merci encore pour votre reponse.

En tapant les commades que vous avez citees avant, le live me retourne ;

ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x4cf94cf9

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048     1026047      512000   83  Linux
/dev/sda2         1026048  1953523711   976248832   83  Linux

Disk /dev/sdb: 2031 MB, 2031091712 bytes
16 heads, 32 sectors/track, 7748 cylinders, total 3966976 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *        8064     3966975     1979456    6  FAT16
ubuntu@ubuntu:~$ sudo pvscan
sudo: pvscan: command not found
ubuntu@ubuntu:~$ pvscan
The program 'pvscan' is currently not installed.  You can install it by typing:
sudo apt-get install lvm2
ubuntu@ubuntu:~$ sudo vgscan
sudo: vgscan: command not found
ubuntu@ubuntu:~$ vgscan
The program 'vgscan' is currently not installed.  You can install it by typing:
sudo apt-get install lvm2
ubuntu@ubuntu:~$ sudo vgscan
sudo: vgscan: command not found
ubuntu@ubuntu:~$ vgscan
The program 'vgscan' is currently not installed.  You can install it by typing:
sudo apt-get install lvm2
ubuntu@ubuntu:~$ sudo lvscan
sudo: lvscan: command not found
ubuntu@ubuntu:~$ lvscan
The program 'lvscan' is currently not installed.  You can install it by typing:
sudo apt-get install lvm2

Puis je vois qu il faut installer Lvm2, j installe le Lvm2 et je retape les commandes encore, il me retourne :

ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x4cf94cf9

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048     1026047      512000   83  Linux
/dev/sda2         1026048  1953523711   976248832   83  Linux

Disk /dev/sdb: 2031 MB, 2031091712 bytes
16 heads, 32 sectors/track, 7748 cylinders, total 3966976 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *        8064     3966975     1979456    6  FAT16
ubuntu@ubuntu:~$ sudo pvscan
sudo: pvscan: command not found
ubuntu@ubuntu:~$ pvscan
The program 'pvscan' is currently not installed.  You can install it by typing:
sudo apt-get install lvm2
ubuntu@ubuntu:~$ sudo vgscan
sudo: vgscan: command not found
ubuntu@ubuntu:~$ vgscan
The program 'vgscan' is currently not installed.  You can install it by typing:
sudo apt-get install lvm2
ubuntu@ubuntu:~$ sudo vgscan
sudo: vgscan: command not found
ubuntu@ubuntu:~$ vgscan
The program 'vgscan' is currently not installed.  You can install it by typing:
sudo apt-get install lvm2
ubuntu@ubuntu:~$ sudo lvscan
sudo: lvscan: command not found
ubuntu@ubuntu:~$ lvscan
The program 'lvscan' is currently not installed.  You can install it by typing:
sudo apt-get install lvm2
ubuntu@ubuntu:~$ ^C
ubuntu@ubuntu:~$ ^C
ubuntu@ubuntu:~$ ^C
ubuntu@ubuntu:~$ ^C
ubuntu@ubuntu:~$ sudo apt-get install lvm2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  watershed
The following NEW packages will be installed:
  lvm2 watershed
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 422 kB of archives.
After this operation, 1,048 kB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.
ubuntu@ubuntu:~$ 
ubuntu@ubuntu:~$ 
ubuntu@ubuntu:~$ clear

ubuntu@ubuntu:~$ sudo apt-get install lvm2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  watershed
The following NEW packages will be installed:
  lvm2 watershed
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 422 kB of archives.
After this operation, 1,048 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com/ubuntu/ precise/main watershed amd64 6 [11.8 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ precise/main lvm2 amd64 2.02.66-4ubuntu7 [410 kB]
Fetched 422 kB in 0s (488 kB/s)
Selecting previously unselected package watershed.
(Reading database ... 146180 files and directories currently installed.)
Unpacking watershed (from .../archives/watershed_6_amd64.deb) ...
Selecting previously unselected package lvm2.
Unpacking lvm2 (from .../lvm2_2.02.66-4ubuntu7_amd64.deb) ...
Processing triggers for man-db ...
Setting up watershed (6) ...
update-initramfs is disabled since running on read-only media
Setting up lvm2 (2.02.66-4ubuntu7) ...
update-initramfs is disabled since running on read-only media
ubuntu@ubuntu:~$ 
ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x4cf94cf9

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048     1026047      512000   83  Linux
/dev/sda2         1026048  1953523711   976248832   83  Linux

Disk /dev/sdb: 2031 MB, 2031091712 bytes
16 heads, 32 sectors/track, 7748 cylinders, total 3966976 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *        8064     3966975     1979456    6  FAT16
ubuntu@ubuntu:~$ sudo pvscan
  PV /dev/sda2   VG vg_regalcauchy   lvm2 [931.02 GiB / 600.00 GiB free]
  Total: 1 [931.02 GiB] / in use: 1 [931.02 GiB] / in no VG: 0 [0   ]
ubuntu@ubuntu:~$ sudo vgscan
  Reading all physical volumes.  This may take a while...
  Found volume group "vg_regalcauchy" using metadata type lvm2
ubuntu@ubuntu:~$ sudo lvscan
  inactive          '/dev/vg_regalcauchy/lv_root' [50.00 GiB] inherit
  inactive          '/dev/vg_regalcauchy/lv_home' [271.22 GiB] inherit
  inactive          '/dev/vg_regalcauchy/lv_swap' [9.80 GiB] inherit

Je pense qu Ubuntu ne connait pas par defaut le Lvm2, j ai lance apres l interface graphique d installation d Ubuntu mais tjs il reconnait pas le VG.

P.s : desole pr les accents, j utilise un clavier qwerty

]]>
Fri, 08 Feb 2013 20:48:10 +0000 http://forum.ubuntu-fr.org/viewtopic.php?pid=12513801#p12513801
<![CDATA[Réponse à : Créer une partition physique à partir d'une partition logique]]> http://forum.ubuntu-fr.org/viewtopic.php?pid=12504841#p12504841 C'est étrange que le Live d'Ubuntu ne reconnaisse pas ce volume LVM.

Peux-tu exécuter les commandes suivante dans le système du Live et nous en donner les retours (*).

sudo fdisk -l
sudo pvscan
sudo vgscan
sudo lvscan

(*) pour les retours des commandes, mets-les entre balies "[ code ]", que tu obtiendras en cliquant sur l'icône "< >" au-dessus du champ où tu tapes tes messages

]]>
Fri, 08 Feb 2013 06:23:25 +0000 http://forum.ubuntu-fr.org/viewtopic.php?pid=12504841#p12504841