#1 Le 31/05/2015, à 03:46
- Polichinel59
[Question]Disque dur partitionné, retour en arrière possible ?
Bonjour à tous et toutes,
Voilà, lors de mon achat d'un pc portable de marque Toshiba Qosmio x70-B si cela importe, fait une installation en Dual Boot Windows 8.1 (installer de base) / Ubuntu 14.04 LTS pour des raisons professionnelles, car je devait garder Windows.
J'avais donc utilisé Gparted (sous windows) pour créer deux partitions (Swap et futur installation de Ubuntu) pour réaliser cela.
N'uilisant plus ou vraiment très très peu Windows, j'aurais aimé donc savoir si il était possible, en formatant ou tout autre manoeuvre, de rémédier à ce partitionnement, et revenir en arrière et avoir un disque dur Non partitionné, avec juste Ubuntu comme OS.
Merci de vos réponses.
Dernière modification par Polichinel59 (Le 31/05/2015, à 03:48)
Hors ligne
#2 Le 31/05/2015, à 07:41
- maxire
Re : [Question]Disque dur partitionné, retour en arrière possible ?
Bonjour,
.
Si Ubuntu est fonctionnel et démarre correctement via le menu Grub, tu peux effectivement supprimer les partitions de Windows.
Mais avant donnes le résultat de:
sudo parted -l
Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail
Hors ligne
#3 Le 31/05/2015, à 08:43
- Polichinel59
Re : [Question]Disque dur partitionné, retour en arrière possible ?
Bonjour Maxire,
Merci de ta réponse et oui mon Ubuntu est fonctionnel et démarre correctement via la menu Grub.
Pour le résultat de la commande :
http://img11.hostingpics.net/pics/226800Sanstitre.png
Petite question, ne serait il pas plus sage de complètement (après sauvegarde de mes fichiers) de formater complètement le Disque Dur ?
Merci de respecter les règles du forum, la taille des images est limitée.
Dernière modification par HAL (Le 31/05/2015, à 09:21)
Hors ligne
#4 Le 31/05/2015, à 08:51
- maxire
Re : [Question]Disque dur partitionné, retour en arrière possible ?
Je vois par l'existence de la partition fat32 /dev/sda1 que ton portable utilise un firmware uefi.
Avant de faire quoi que ce soit j'aimerais les résultats de
sudo ls -lR /boot/efi
sudo efibootmgr -v
Ne pas utiliser d'image écran pour donner les résultats, un simple copier/coller à placer entre balises code est suffisant et surtout moins lourd.
Les balises code sont disponible en cliquant sur <> dans la barre d'outils localisée au-dessus de l'espace de saisie du message.
Dernière modification par maxire (Le 31/05/2015, à 08:55)
Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail
Hors ligne
#5 Le 31/05/2015, à 09:09
- Polichinel59
Re : [Question]Disque dur partitionné, retour en arrière possible ?
Merci de ton attention Maxire.
Alors pourles résultats :
sudo ls -lR /boot/efi me donne :
/boot/efi:
total 4
drwxr-xr-x 5 root root 4096 janv. 7 19:35 EFI
/boot/efi/EFI:
total 12
drwxr-xr-x 2 root root 4096 janv. 10 14:35 Boot
drwxr-xr-x 3 root root 4096 janv. 10 14:30 Microsoft
drwxr-xr-x 2 root root 4096 janv. 7 19:35 ubuntu
/boot/efi/EFI/Boot:
total 1580
-rwxr-xr-x 1 root root 1617240 nov. 20 2014 bootx64.efi
/boot/efi/EFI/Microsoft:
total 4
drwxr-xr-x 40 root root 4096 janv. 10 14:30 Boot
/boot/efi/EFI/Microsoft/Boot:
total 4920
-rwxr-xr-x 1 root root 36864 mai 30 23:47 BCD
-rwxr-xr-x 1 root root 32768 janv. 10 14:30 BCD.LOG
-rwxr-xr-x 1 root root 0 janv. 10 14:35 BCD.LOG1
-rwxr-xr-x 1 root root 0 janv. 10 14:35 BCD.LOG2
drwxr-xr-x 2 root root 4096 janv. 10 14:35 bg-BG
-rwxr-xr-x 1 root root 1617240 nov. 20 2014 bootmgfw.efi
-rwxr-xr-x 1 root root 1614168 nov. 20 2014 bootmgr.efi
-rwxr-xr-x 1 root root 65536 janv. 10 14:35 BOOTSTAT.DAT
-rwxr-xr-x 1 root root 4247 juin 18 2013 boot.stl
drwxr-xr-x 2 root root 4096 janv. 10 14:35 cs-CZ
drwxr-xr-x 2 root root 4096 janv. 10 14:35 da-DK
drwxr-xr-x 2 root root 4096 janv. 10 14:35 de-DE
drwxr-xr-x 2 root root 4096 janv. 10 14:35 el-GR
drwxr-xr-x 2 root root 4096 janv. 10 14:35 en-GB
drwxr-xr-x 2 root root 4096 janv. 10 14:35 en-US
drwxr-xr-x 2 root root 4096 janv. 10 14:35 es-ES
drwxr-xr-x 2 root root 4096 janv. 10 14:35 et-EE
drwxr-xr-x 2 root root 4096 janv. 10 14:35 fi-FI
drwxr-xr-x 2 root root 4096 janv. 10 14:35 Fonts
drwxr-xr-x 2 root root 4096 janv. 10 14:35 fr-FR
drwxr-xr-x 2 root root 4096 janv. 10 14:35 hr-HR
drwxr-xr-x 2 root root 4096 janv. 10 14:35 hu-HU
drwxr-xr-x 2 root root 4096 janv. 10 14:35 it-IT
drwxr-xr-x 2 root root 4096 janv. 10 14:35 ja-JP
drwxr-xr-x 2 root root 4096 janv. 10 14:35 ko-KR
drwxr-xr-x 2 root root 4096 janv. 10 14:35 lt-LT
drwxr-xr-x 2 root root 4096 janv. 10 14:35 lv-LV
-rwxr-xr-x 1 root root 1500504 nov. 20 2014 memtest.efi
drwxr-xr-x 2 root root 4096 janv. 10 14:35 nb-NO
drwxr-xr-x 2 root root 4096 janv. 10 14:35 nl-NL
drwxr-xr-x 2 root root 4096 janv. 10 14:35 pl-PL
drwxr-xr-x 2 root root 4096 janv. 10 14:35 pt-BR
drwxr-xr-x 2 root root 4096 janv. 10 14:35 pt-PT
drwxr-xr-x 2 root root 4096 janv. 10 14:35 qps-ploc
drwxr-xr-x 3 root root 4096 janv. 10 14:35 Resources
drwxr-xr-x 2 root root 4096 janv. 10 14:35 ro-RO
drwxr-xr-x 2 root root 4096 janv. 10 14:35 ru-RU
drwxr-xr-x 2 root root 4096 janv. 10 14:35 sk-SK
drwxr-xr-x 2 root root 4096 janv. 10 14:35 sl-SI
drwxr-xr-x 2 root root 4096 janv. 10 14:35 sr-Latn-CS
drwxr-xr-x 2 root root 4096 janv. 10 14:35 sr-Latn-RS
drwxr-xr-x 2 root root 4096 janv. 10 14:35 sv-SE
drwxr-xr-x 2 root root 4096 janv. 10 14:35 tr-TR
drwxr-xr-x 2 root root 4096 janv. 10 14:35 uk-UA
drwxr-xr-x 2 root root 4096 janv. 10 14:35 zh-CN
drwxr-xr-x 2 root root 4096 janv. 10 14:35 zh-HK
drwxr-xr-x 2 root root 4096 janv. 10 14:35 zh-TW
/boot/efi/EFI/Microsoft/Boot/bg-BG:
total 152
-rwxr-xr-x 1 root root 77152 août 22 2013 bootmgfw.efi.mui
-rwxr-xr-x 1 root root 77152 août 22 2013 bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/cs-CZ:
total 200
-rwxr-xr-x 1 root root 76128 août 22 2013 bootmgfw.efi.mui
-rwxr-xr-x 1 root root 76128 août 22 2013 bootmgr.efi.mui
-rwxr-xr-x 1 root root 45408 août 22 2013 memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/da-DK:
total 200
-rwxr-xr-x 1 root root 75616 août 22 2013 bootmgfw.efi.mui
-rwxr-xr-x 1 root root 75616 août 22 2013 bootmgr.efi.mui
-rwxr-xr-x 1 root root 45408 août 22 2013 memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/de-DE:
total 208
-rwxr-xr-x 1 root root 78688 août 22 2013 bootmgfw.efi.mui
-rwxr-xr-x 1 root root 78688 août 22 2013 bootmgr.efi.mui
-rwxr-xr-x 1 root root 45920 août 22 2013 memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/el-GR:
total 208
-rwxr-xr-x 1 root root 79712 août 22 2013 bootmgfw.efi.mui
-rwxr-xr-x 1 root root 79712 août 22 2013 bootmgr.efi.mui
-rwxr-xr-x 1 root root 46432 août 22 2013 memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/en-GB:
total 144
-rwxr-xr-x 1 root root 73568 août 22 2013 bootmgfw.efi.mui
-rwxr-xr-x 1 root root 73568 août 22 2013 bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/en-US:
total 192
-rwxr-xr-x 1 root root 73568 août 22 2013 bootmgfw.efi.mui
-rwxr-xr-x 1 root root 73568 août 22 2013 bootmgr.efi.mui
-rwxr-xr-x 1 root root 45408 août 22 2013 memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/es-ES:
total 200
-rwxr-xr-x 1 root root 77152 août 22 2013 bootmgfw.efi.mui
-rwxr-xr-x 1 root root 77152 août 22 2013 bootmgr.efi.mui
-rwxr-xr-x 1 root root 45920 août 22 2013 memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/et-EE:
total 152
-rwxr-xr-x 1 root root 74592 août 22 2013 bootmgfw.efi.mui
-rwxr-xr-x 1 root root 74592 août 22 2013 bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/fi-FI:
total 200
-rwxr-xr-x 1 root root 76640 août 22 2013 bootmgfw.efi.mui
-rwxr-xr-x 1 root root 76640 août 22 2013 bootmgr.efi.mui
-rwxr-xr-x 1 root root 45408 août 22 2013 memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/Fonts:
total 13072
-rwxr-xr-x 1 root root 3694080 juin 18 2013 chs_boot.ttf
-rwxr-xr-x 1 root root 3876772 juin 18 2013 cht_boot.ttf
-rwxr-xr-x 1 root root 1984228 juin 18 2013 jpn_boot.ttf
-rwxr-xr-x 1 root root 2371360 juin 18 2013 kor_boot.ttf
-rwxr-xr-x 1 root root 168212 juin 18 2013 malgun_boot.ttf
-rwxr-xr-x 1 root root 165764 juin 18 2013 malgunn_boot.ttf
-rwxr-xr-x 1 root root 134508 juin 18 2013 meiryo_boot.ttf
-rwxr-xr-x 1 root root 132888 juin 18 2013 meiryon_boot.ttf
-rwxr-xr-x 1 root root 154896 juin 18 2013 msjh_boot.ttf
-rwxr-xr-x 1 root root 152892 juin 18 2013 msjhn_boot.ttf
-rwxr-xr-x 1 root root 146228 juin 18 2013 msyh_boot.ttf
-rwxr-xr-x 1 root root 142124 juin 18 2013 msyhn_boot.ttf
-rwxr-xr-x 1 root root 36020 juin 18 2013 segmono_boot.ttf
-rwxr-xr-x 1 root root 77088 juin 18 2013 segoen_slboot.ttf
-rwxr-xr-x 1 root root 77404 juin 18 2013 segoe_slboot.ttf
-rwxr-xr-x 1 root root 47452 juin 18 2013 wgl4_boot.ttf
/boot/efi/EFI/Microsoft/Boot/fr-FR:
total 208
-rwxr-xr-x 1 root root 78688 août 22 2013 bootmgfw.efi.mui
-rwxr-xr-x 1 root root 78688 août 22 2013 bootmgr.efi.mui
-rwxr-xr-x 1 root root 45920 août 22 2013 memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/hr-HR:
total 152
-rwxr-xr-x 1 root root 76128 août 22 2013 bootmgfw.efi.mui
-rwxr-xr-x 1 root root 76128 août 22 2013 bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/hu-HU:
total 208
-rwxr-xr-x 1 root root 78176 août 22 2013 bootmgfw.efi.mui
-rwxr-xr-x 1 root root 78176 août 22 2013 bootmgr.efi.mui
-rwxr-xr-x 1 root root 45920 août 22 2013 memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/it-IT:
total 200
-rwxr-xr-x 1 root root 76640 août 22 2013 bootmgfw.efi.mui
-rwxr-xr-x 1 root root 76640 août 22 2013 bootmgr.efi.mui
-rwxr-xr-x 1 root root 45408 août 22 2013 memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/ja-JP:
total 180
-rwxr-xr-x 1 root root 67424 août 22 2013 bootmgfw.efi.mui
-rwxr-xr-x 1 root root 67424 août 22 2013 bootmgr.efi.mui
-rwxr-xr-x 1 root root 42848 août 22 2013 memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/ko-KR:
total 180
-rwxr-xr-x 1 root root 66912 août 22 2013 bootmgfw.efi.mui
-rwxr-xr-x 1 root root 66912 août 22 2013 bootmgr.efi.mui
-rwxr-xr-x 1 root root 42848 août 22 2013 memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/lt-LT:
total 152
-rwxr-xr-x 1 root root 75616 août 22 2013 bootmgfw.efi.mui
-rwxr-xr-x 1 root root 75616 août 22 2013 bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/lv-LV:
total 152
-rwxr-xr-x 1 root root 75104 août 22 2013 bootmgfw.efi.mui
-rwxr-xr-x 1 root root 75104 août 22 2013 bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/nb-NO:
total 200
-rwxr-xr-x 1 root root 75104 août 22 2013 bootmgfw.efi.mui
-rwxr-xr-x 1 root root 75104 août 22 2013 bootmgr.efi.mui
-rwxr-xr-x 1 root root 45920 août 22 2013 memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/nl-NL:
total 200
-rwxr-xr-x 1 root root 77664 août 22 2013 bootmgfw.efi.mui
-rwxr-xr-x 1 root root 77664 août 22 2013 bootmgr.efi.mui
-rwxr-xr-x 1 root root 45408 août 22 2013 memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/pl-PL:
total 200
-rwxr-xr-x 1 root root 77664 août 22 2013 bootmgfw.efi.mui
-rwxr-xr-x 1 root root 77664 août 22 2013 bootmgr.efi.mui
-rwxr-xr-x 1 root root 45920 août 22 2013 memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/pt-BR:
total 200
-rwxr-xr-x 1 root root 76128 août 22 2013 bootmgfw.efi.mui
-rwxr-xr-x 1 root root 76128 août 22 2013 bootmgr.efi.mui
-rwxr-xr-x 1 root root 45408 août 22 2013 memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/pt-PT:
total 200
-rwxr-xr-x 1 root root 76640 août 22 2013 bootmgfw.efi.mui
-rwxr-xr-x 1 root root 76640 août 22 2013 bootmgr.efi.mui
-rwxr-xr-x 1 root root 45920 août 22 2013 memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/qps-ploc:
total 192
-rwxr-xr-x 1 root root 73560 nov. 20 2014 bootmgfw.efi.mui
-rwxr-xr-x 1 root root 73560 nov. 20 2014 bootmgr.efi.mui
-rwxr-xr-x 1 root root 45408 août 22 2013 memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/Resources:
total 24
-rwxr-xr-x 1 root root 18272 août 22 2013 bootres.dll
drwxr-xr-x 2 root root 4096 janv. 10 14:35 fr-FR
/boot/efi/EFI/Microsoft/Boot/Resources/fr-FR:
total 12
-rwxr-xr-x 1 root root 11616 nov. 20 2014 bootres.dll.mui
/boot/efi/EFI/Microsoft/Boot/ro-RO:
total 152
-rwxr-xr-x 1 root root 75616 août 22 2013 bootmgfw.efi.mui
-rwxr-xr-x 1 root root 75616 août 22 2013 bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/ru-RU:
total 196
-rwxr-xr-x 1 root root 76640 août 22 2013 bootmgfw.efi.mui
-rwxr-xr-x 1 root root 76640 août 22 2013 bootmgr.efi.mui
-rwxr-xr-x 1 root root 44896 août 22 2013 memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/sk-SK:
total 152
-rwxr-xr-x 1 root root 76640 août 22 2013 bootmgfw.efi.mui
-rwxr-xr-x 1 root root 76640 août 22 2013 bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/sl-SI:
total 152
-rwxr-xr-x 1 root root 76128 août 22 2013 bootmgfw.efi.mui
-rwxr-xr-x 1 root root 76128 août 22 2013 bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/sr-Latn-CS:
total 152
-rwxr-xr-x 1 root root 76640 août 22 2013 bootmgfw.efi.mui
-rwxr-xr-x 1 root root 76640 août 22 2013 bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/sr-Latn-RS:
total 152
-rwxr-xr-x 1 root root 76640 août 22 2013 bootmgfw.efi.mui
-rwxr-xr-x 1 root root 76640 août 22 2013 bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/sv-SE:
total 200
-rwxr-xr-x 1 root root 76128 août 22 2013 bootmgfw.efi.mui
-rwxr-xr-x 1 root root 76128 août 22 2013 bootmgr.efi.mui
-rwxr-xr-x 1 root root 45408 août 22 2013 memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/tr-TR:
total 200
-rwxr-xr-x 1 root root 75104 août 22 2013 bootmgfw.efi.mui
-rwxr-xr-x 1 root root 75104 août 22 2013 bootmgr.efi.mui
-rwxr-xr-x 1 root root 45408 août 22 2013 memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/uk-UA:
total 152
-rwxr-xr-x 1 root root 76640 août 22 2013 bootmgfw.efi.mui
-rwxr-xr-x 1 root root 76640 août 22 2013 bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/zh-CN:
total 172
-rwxr-xr-x 1 root root 63840 août 22 2013 bootmgfw.efi.mui
-rwxr-xr-x 1 root root 63840 août 22 2013 bootmgr.efi.mui
-rwxr-xr-x 1 root root 42336 août 22 2013 memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/zh-HK:
total 172
-rwxr-xr-x 1 root root 63832 août 22 2013 bootmgfw.efi.mui
-rwxr-xr-x 1 root root 63840 août 22 2013 bootmgr.efi.mui
-rwxr-xr-x 1 root root 42336 août 22 2013 memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/zh-TW:
total 172
-rwxr-xr-x 1 root root 63840 août 22 2013 bootmgfw.efi.mui
-rwxr-xr-x 1 root root 63840 août 22 2013 bootmgr.efi.mui
-rwxr-xr-x 1 root root 42336 août 22 2013 memtest.efi.mui
/boot/efi/EFI/ubuntu:
total 3416
-rwxr-xr-x 1 root root 126 mai 28 16:27 grub.cfg
-rwxr-xr-x 1 root root 956792 mai 28 16:27 grubx64.efi
-rwxr-xr-x 1 root root 1178240 mai 28 16:27 MokManager.efi
-rwxr-xr-x 1 root root 1355736 mai 28 16:27 shimx64.efi
sudo efibootmgr -v me donne :
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0005,0001,2003,2001,2002
Boot0000* ubuntu HD(1,800,100000,6ecc01ff-b9b7-4a5c-916e-fbdebcf59b36)File(\EFI\ubuntu\shimx64.efi)
Boot0001* Ubuntu HD(1,800,100000,6ecc01ff-b9b7-4a5c-916e-fbdebcf59b36)File(\EFI\ubuntu\grubx64.efi)RC
Boot0002* Realtek PXE ACPI(a0341d0,0)PCI(1c,0)PCI(0,0)MAC(008cfa883304,0)IPv4(0.0.0.0:0<->0.0.0.0:0,0, 0RC
Boot0003* Realtek PXE ACPI(a0341d0,0)PCI(1c,0)PCI(0,0)MAC(008cfa883304,0)030d3c000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000RC
Boot0005* Windows Boot Manager HD(1,800,100000,6ecc01ff-b9b7-4a5c-916e-fbdebcf59b36)File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...3................
Boot2001* EFI USB Device RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network RC
Hors ligne
#6 Le 31/05/2015, à 09:40
- maxire
Re : [Question]Disque dur partitionné, retour en arrière possible ?
Effectivement, avant de faire quoi que ce soit, sauvegardes tes données importantes.
Pour te débarasser définitivement de Windows:
sudo rm -r /boot/efi/EFI/Microsoft
sudo efibootmgr -b 0005
Ces deux commandes vont empêcher définitivement le démarrage de Windows.
Ensuite suppression des 2 partitions /dev/sda2 et /dev/sda3 sous Gparted, tu ne supprimes surtout pas la partition fat32 /dev/sda1, c'est la partition de démarrage système.
J'ai un doute concernant le fichier de démarrage /boot/efi/EFI/Boot/bootx64.efi c'est certainement un programme de démarrage Windows car sa taille est identique à celle du programme windows /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi.
En principe tu n'as aucune raison de l'utiliser tel que le démarrage système est paramétré, mais il serait bien de le remplacer par la version grub:
sudo cp /boot/efi/EFI/ubuntu/shimx64.efi /boot/efi/EFI/Boot/bootx64.efi
sudo cp /boot/efi/EFI/ubuntu/grub.cfg /boot/efi/EFI/Boot/
Finalement tu regénères le menu grub en faisant:
sudo update-grub
Tu te retrouveras avec un immense espace disque vide, à toi maintenant de le découper en partitions comme bon te semble, tu trouveras toutes les informations nécessaires dans la documentation disponible dans ce site.
Dernière modification par maxire (Le 31/05/2015, à 09:40)
Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail
Hors ligne
#7 Le 31/05/2015, à 10:38
- Polichinel59
Re : [Question]Disque dur partitionné, retour en arrière possible ?
Donc si je suis bien ta logique, je garde ma session d'Ubuntu et j'efface les partitions windows etc. Mais cela va créer deux partitions ? Une celle de Ubuntu, l'autre vide qui contenanit Windows ?
Moi ce que j'aimerais, si c'est possible bien sûr, que mon disque dur ne soit plus partitionné. N'avoir qu'un seul OS d'installer sur un seul disque dur. Je me suis peut être mal exprimé dans mes attentes...
En fait, si je puis m'exprimer ainsi, je voudrais retrouver mon disque dur comme avant le Partitionnement que j'ai effectué pour avoir mon dual boot.
Hors ligne
#8 Le 31/05/2015, à 10:53
- maxire
Re : [Question]Disque dur partitionné, retour en arrière possible ?
Je crois que tu n'as pas compris que ton disque sera toujours partitionné, tu n'as pas le choix.
En effet tu auras au minimum 3 partitions, la partition de démarrage /dev/sda1, la partition contenant Ubuntu proprement dit /dev/sda5 et la partition swap /dav/sda4.
Revenir à la situation initiale, non puisque c'est une situation dans laquelle il existait déjà 3 partitions, 2 Windows + la partition de démarrage.
Tu peux éventuellement, une fois les manipulations que je propose réalisées, agrandir la partition /dev/sda5 de manière à ce qu'elle occupe tout l'espace libéré, ceci via une live-usb et Gparted.
Une autre solution est de tout supprimer et de réinstaller Ubuntu, ma proposition a le mérite d'éviter la procédure d'installation suvie d'une restauration de tes données personnelles.
C'est comme tu veux, c'est toi qui choisis.
Dernière modification par maxire (Le 31/05/2015, à 10:54)
Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail
Hors ligne
#9 Le 31/05/2015, à 11:11
- Polichinel59
Re : [Question]Disque dur partitionné, retour en arrière possible ?
C'est effectivement ce que je vais choisir je pense réinstaller au propre, je n'ai pas non plus 50 000 giga de données
Par contre, si je choisis de réinstaller Ubuntu seul, il faut quand même que je supprime mes partitions Windows ? Ou le formatage proposer par l'installation d'Ubuntu effcera toute trace de Windows et donc tu partitionnement que j'ai fait ?
Hors ligne
#10 Le 31/05/2015, à 11:59
- maxire
Re : [Question]Disque dur partitionné, retour en arrière possible ?
Tu peux tout réinstaller, mais avant appliques ce que je t'ai proposé mais en supprimant directement /dev/sda1, plus la peine de passer la commande «rm -r».
Ce sera plus propre, le processus de démarrage du PC sera à blanc et pourra alors être réinitialisé par la procédure d'installation de Ubuntu.
Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail
Hors ligne
#11 Le 31/05/2015, à 12:04
- maxire
Re : [Question]Disque dur partitionné, retour en arrière possible ?
En fait tu as juste à faire:
sudo efibootmgr -b 0005
sudo efibootmgr -b 0000
sudo efibootmgr -b 0001
Puis tu supprimes via Gparted /dev/sda1, /dev/sda2 et /dev/sda3.
Il faudra juste démonter au préalable /dev/sda1, Gparted le permet.
Tu lances l'installation de Ubuntu en écrasant tout le disque.
Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail
Hors ligne
#12 Le 31/05/2015, à 12:09
- Polichinel59
Re : [Question]Disque dur partitionné, retour en arrière possible ?
Ok merci de tout tes précieux conseils et je vais donc faire ça
Je reviendrais une fois l'opération réussi mettre mon sujet en Résolu
Hors ligne
#13 Le 31/05/2015, à 12:22
- maxire
Re : [Question]Disque dur partitionné, retour en arrière possible ?
Oups, je me suis trompé utiliser -B et non -b:
sudo efibootmgr -B 0005
sudo efibootmgr -B 0000
sudo efibootmgr -B 0001
Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail
Hors ligne