#1 Le 26/06/2015, à 10:30
- sebas1
[RÉSOLU] Partition et boot entre SSD et HD à la sauce n'importe quoi.
Bonjour,
1) J'ai voulu installer 14.04 LTS sur 25 gigas du SSD et un volume "data" en "partage de données" sur la totalité des 2 To du HD comme indiqué par Malbo dans cette discussion et sur un matériel vierge.
Mais erreur fatale à l'installation.
2) J'ai recommencé avec une partition EFI comme indiqué ici.
Mais erreur fatale aussi.
3) J'ai recommencé juste en essayant 14.04 et en utilisant "boot repair" dont voici l'URL boot info script.
Du coup 14.04 s'est lancée mais j'ai l'impression que ce n'est pas installé comme j'aurais voulu.
Commande f disk :
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 têtes, 63 secteurs/piste, 243201 cylindres, total 3907029168 secteurs
Unités = secteurs de 1 * 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 4096 octets
taille d'E/S (minimale / optimale) : 4096 octets / 4096 octets
Identifiant de disque : 0x00000000
Périphérique Amorçage Début Fin Blocs Id. Système
/dev/sda1 1 3907029167 1953514583+ ee GPT
La partition 1 ne commence pas sur une frontière de cylindre physique.
Attention : identifiant de table de partitions GPT (GUID) détecté sur « /dev/sdb » ! L'utilitaire fdisk ne prend pas GPT en charge. Utilisez GNU Parted.
Disk /dev/sdb: 128.0 GB, 128035676160 bytes
255 têtes, 63 secteurs/piste, 15566 cylindres, total 250069680 secteurs
Unités = secteurs de 1 * 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
taille d'E/S (minimale / optimale) : 512 octets / 512 octets
Identifiant de disque : 0x00000000
Périphérique Amorçage Début Fin Blocs Id. Système
/dev/sdb1 1 250069679 125034839+ ee GPT
J'ai installé gparted comme indiqué dont voici les indications pour sda et sdb.
Je ne comprends pas pourquoi il y a déjà 29 gigas d'utilisés sur le HD. Ai-je besoin du bios boot en sdb3 parce que j'ai déjà l'EFI en sdb1 ? Sur la barre de gauche d'Unity j'ai le volume sdb1 de 250 mo qui s'affiche mais rien sur les autres volumes. Bref j'ai l'impression que c'est le bazar et j'aimerais remettre un peu d'ordre mais je ne sais pas vraiment comment m'y prendre. Au pire je recommence l'installation mais je risque d'être confronté au même problème qu'en 1) et 2).
Dernière modification par sebas1 (Le 01/07/2015, à 08:07)
Hors ligne
#2 Le 26/06/2015, à 11:37
- gencive
Re : [RÉSOLU] Partition et boot entre SSD et HD à la sauce n'importe quoi.
bonjour (ordipass) lifebook A544 vendu avec ubuntu 14.04 un des core tourne en permanence a 70% malgré une réinstallation de ubuntu 14.04 et de même sous linux mint 17.2 j'ai formaté installé windows seven mit le bios a jour la 100% ok aux repos 4 core à 1% réessayé sous ubuntu 1 core a 70% ,je possède un (ordipass) lifebook A512 et pas ce probléme 100% ok
j'aimerais savoir si un de vous a rencontrer ce phénomène et la solutions (dommage de le garder sous windows ou le revendre) je l'ai acquit pour ses 3 usb 3 et son sytem ubuntu !! merci un retraité
Hors ligne
#3 Le 26/06/2015, à 11:43
- tiramiseb
Re : [RÉSOLU] Partition et boot entre SSD et HD à la sauce n'importe quoi.
gencive: ton problème n'a rien à voir avec celui de sebas1, merci de ne pas phagocyter les discussions des autres. Ouvre une nouvelle discussion. Merci.
-----
Bonjour sebas1,
S'il y a 29 Go d'utilisés, c'est qu'il y a 29 Go de fichiers dans ce volume !
Que donne la commande suivante ?
ls -lha /data
PS : pour parted, il vaut mieux utiliser la commande parted -l que faire des screenshots de gparted : c'est plus facile à lire et à analyser?
Sébastien Maccagnoni - https://www.maccagnoni.eu - https://www.domotego.com
Hors ligne
#4 Le 26/06/2015, à 11:48
- olivi4
Re : [RÉSOLU] Partition et boot entre SSD et HD à la sauce n'importe quoi.
Bonjour gencive,
Là tu es sur un fil de discussion parlant d'un tout autre sujet. Pour avoir plus de réponses à ton problème, je t'invite à ouvrir un nouveau sujet dans ce forum : https://forum.ubuntu-fr.org/post.php?fid=6
La philosophie nous enseigne à douter de ce qui nous paraît évident. La propagande, au contraire, nous enseigne à accepter pour évident ce dont il serait raisonnable de douter. (Aldous Huxley)
"La plus grande partie de la souffrance humaine est inutile. On se l'inflige à soi-même aussi longtemps que, à son insu, on laisse le mental prendre le contrôle de sa vie". (E. Tolle)
Hors ligne
#5 Le 26/06/2015, à 11:49
- olivi4
Re : [RÉSOLU] Partition et boot entre SSD et HD à la sauce n'importe quoi.
gencive: ton problème n'a rien à voir avec celui de sebas1, merci de ne pas phagocyter les discussions des autres. Ouvre une nouvelle discussion. Merci.
Grilled !
La philosophie nous enseigne à douter de ce qui nous paraît évident. La propagande, au contraire, nous enseigne à accepter pour évident ce dont il serait raisonnable de douter. (Aldous Huxley)
"La plus grande partie de la souffrance humaine est inutile. On se l'inflige à soi-même aussi longtemps que, à son insu, on laisse le mental prendre le contrôle de sa vie". (E. Tolle)
Hors ligne
#6 Le 26/06/2015, à 12:16
- sebas1
Re : [RÉSOLU] Partition et boot entre SSD et HD à la sauce n'importe quoi.
Salut tiramiseb,
la commande
ls -lha /data
donne
total 24K
drwxr-xr-x 3 root root 4,0K juin 25 16:43 .
drwxr-xr-x 24 root root 4,0K juin 26 08:22 ..
drwx------ 2 root root 16K juin 25 16:43 lost+found
La commande
parted -i
donne
parted : option invalide -- 'i'
Usage : parted [-hlmsv] [-a <alignement>] [PERIPHERIQUE [COMMANDE [PARAMETRES]]...]
(parted -l = commande introuvable)
J'ai l'impression que le boot repair a installé un home sur le ssd, ce que je ne voulais pas au départ.
Hors ligne
#7 Le 26/06/2015, à 12:30
- nany
Re : [RÉSOLU] Partition et boot entre SSD et HD à la sauce n'importe quoi.
Bonjour,
[…]
J'ai l'impression que le boot repair a installé un home sur le ssd, ce que je ne voulais pas au départ.
Non, boot-repair ne fait pas ce genre de chose à ma connaissance.
La réponse est là :
=============================== sdb2/etc/fstab: ================================
--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdb2 during installation
UUID=373c4951-e811-4b31-9b09-747afc586e43 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sdb1 during installation
#UUID=6957-49EE /boot/efi vfat utf8,umask=007,gid=46 0 1
# /data was on /dev/sda1 during installation
UUID=f9619784-91d3-40ce-9a01-8eea9ff3cb5c /data ext4 defaults 0 2
--------------------------------------------------------------------------------
Tu as mis un point de montage /data lors de l’installation. Or tu aurais plutôt dû faire un point de montage /home.
Mais le plus troublant dans tout ça, c’est que le point de montage /boot/efi est désactivé. C’est probablement pour ça que ton installation ne démarre pas.
Quant à savoir pourquoi cette ligne a été commentée dans le fstab, je n’en ai malheureusement aucune idée.
P.S. : pour la commande parted, c’est un L minuscule et non pas un i.
Dernière modification par nany (Le 26/06/2015, à 12:31)
En ligne
#8 Le 26/06/2015, à 13:03
- maxire
Re : [RÉSOLU] Partition et boot entre SSD et HD à la sauce n'importe quoi.
Salut,
Du coup 14.04 s'est lancée mais j'ai l'impression que ce n'est pas installé comme j'aurais voulu.
Ton installation est fonctionnelle, tu peux supprimer la partition efi en fat32, inutile puisque tu démarres en mode BIOS, la partition /data correspond au disque de 2 TO et la partition /home est dans la partition racine puisque tu n'as semble-t-il pas demandé à la séparer dans une autre partition.
En fait qu'aurais-tu voulu exactement?
Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail
Hors ligne
#9 Le 26/06/2015, à 13:31
- sebas1
Re : [RÉSOLU] Partition et boot entre SSD et HD à la sauce n'importe quoi.
pour parted, il vaut mieux utiliser la commande parted -l
En fait c'est une
sudo gparted -l
qu'il fallait faire et voilà le résultat :
Ne peut évaluer le statut du périphérique -l - Aucun fichier ou dossier de ce type.
Backtrace : 10 appels sur la pile:
10: /lib/x86_64-linux-gnu/libparted.so.0(ped_assert+0x31) [0x7f230818d4b1]
9: /lib/x86_64-linux-gnu/libparted.so.0(+0xf93b) [0x7f230818d93b]
8: /usr/sbin/gpartedbin() [0x4712b3]
7: /usr/sbin/gpartedbin() [0x47130f]
6: /usr/sbin/gpartedbin() [0x4713ff]
5: /usr/sbin/gpartedbin() [0x47ad38]
4: /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1(+0x41a4d) [0x7f2308e4ea4d]
3: /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x6df05) [0x7f230846af05]
2: /lib/x86_64-linux-gnu/libpthread.so.0(+0x8182) [0x7f2307543182]
1: /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f230727047d]
Assertion (dev != NULL) à ../../libparted/device.c: échec de 228 dans la fonction ped_device_open().
Aborted (core dumped)
Plantage donc.
Bonjour nany
Tu as mis un point de montage /data lors de l’installation. Or tu aurais plutôt dû faire un point de montage /home.
Oui mais je voulais faire comme dans le message de malbo en lien dans le post 1.
Tous tes documents devront être stockées dans cette partition DATA. Il ne faut donc pas créer de Partition de données personnelles (dite partition /home), ce qui fait que /home n'est qu'un dossier de la partition racine qui contiendra des paramètres liés aux logiciels mais aucun document et aucune donnée précieuse (tout ça étant dans la partition DATA).
Voilà ça avait l'air pas mal de séparer tout ce qui concerne les logiciels du reste. Ceci dit je peux faire un /home sur le HD tant pis.
Mais le plus troublant dans tout ça, c’est que le point de montage /boot/efi est désactivé. C’est probablement pour ça que ton installation ne démarre pas.
O'u peux tu lire que mon boot efi est désactivé, je trouve pas ?
En fait qu'aurais-tu voulu exactement?
Salut maxire,
J'aurais voulu mettre l'OS sur le SSD et les données sur le HD.
Ton installation est fonctionnelle, tu peux supprimer la partition efi en fat32, inutile puisque tu démarres en mode BIOS
O'u est-ce que tu peux voir que je démarre en Bios ?
Dernière modification par sebas1 (Le 26/06/2015, à 13:32)
Hors ligne
#10 Le 26/06/2015, à 14:02
- nany
Re : [RÉSOLU] Partition et boot entre SSD et HD à la sauce n'importe quoi.
[…]
malbo a écrit :Tous tes documents devront être stockées dans cette partition DATA. Il ne faut donc pas créer de Partition de données personnelles (dite partition /home), ce qui fait que /home n'est qu'un dossier de la partition racine qui contiendra des paramètres liés aux logiciels mais aucun document et aucune donnée précieuse (tout ça étant dans la partition DATA).
Voilà ça avait l'air pas mal de séparer tout ce qui concerne les logiciels du reste. Ceci dit je peux faire un /home sur le HD tant pis.
C’est un point de vue qui peut se défendre, en effet. Mais il faut alors penser à mettre des liens pointant vers la partition data en lieux et places des différents dossiers personnels.
Mais en fait, je ne vois pas personnellement l’intérêt de séparer les paramètres des données. Car si jamais un jour tu avais besoin de réinstaller (sans reformater la partition /home), tu serais bien content de pouvoir retrouver tes configurations aux petits oignons de tes logiciels préférés.
nany a écrit :Mais le plus troublant dans tout ça, c’est que le point de montage /boot/efi est désactivé. C’est probablement pour ça que ton installation ne démarre pas.
O'u peux tu lire que mon boot efi est désactivé, je trouve pas ?
Dans la partie de ton rapport boot-info que j’ai recopiée, en particulier cette ligne commentée :
#UUID=6957-49EE /boot/efi vfat utf8,umask=007,gid=46 0 1
[…]
maxire a écrit :Ton installation est fonctionnelle, tu peux supprimer la partition efi en fat32, inutile puisque tu démarres en mode BIOS
O'u est-ce que tu peux voir que je démarre en Bios ?
Là, j’avoue ne pas avoir trouvé cette info en parcourant le rapport boot-info. Mais maxire va sûrement éclairer nos lanternes.
En ligne
#11 Le 26/06/2015, à 14:38
- sebas1
Re : [RÉSOLU] Partition et boot entre SSD et HD à la sauce n'importe quoi.
Mais en fait, je ne vois pas personnellement l’intérêt de séparer les paramètres des données. Car si jamais un jour tu avais besoin de réinstaller (sans reformater la partition /home), tu serais bien content de pouvoir retrouver tes configurations aux petits oignons de tes logiciels préférés. wink
Je me suis dit qu'avoir un logiciel sur un disque et les mises à jour, compléments, réglages etc. sur un autre allait ralentir, faire chauffer etc. le bousin pour cause de va et vient incessant.
Mais enfin si tu me dis que c'est exagéré et que ça ne ralentit ni ne chauffe plus que cela alors je pourrais être rapidement convaincu.
#UUID=6957-49EE /boot/efi vfat utf8,umask=007,gid=46 0 1
C'est le 0 de la colonne «dump»?
À noter que j'ai changé la position des disques sur la carte mère. Le SSD devient donc sda et le HD sdb. Çà n'a pas l'air de changer grand chose.
Dernière modification par sebas1 (Le 26/06/2015, à 14:39)
Hors ligne
#12 Le 26/06/2015, à 14:51
- nany
Re : [RÉSOLU] Partition et boot entre SSD et HD à la sauce n'importe quoi.
[…]
Mais enfin si tu me dis que c'est exagéré et que ça ne ralentit ni ne chauffe plus que cela alors je pourrais être rapidement convaincu.
J’ai du mal à imaginer ce genre de problème sur une machine récente.
#UUID=6957-49EE /boot/efi vfat utf8,umask=007,gid=46 0 1
C'est le 0 de la colonne «dump»?
Non, c’est le fait que la ligne soit commentée (le croisillon en début de ligne).
À noter que j'ai changé la position des disques sur la carte mère. Le SSD devient donc sda et le HD sdb. Çà n'a pas l'air de changer grand chose.
Étant donné que ce sont les UUID qui sont prises en compte dans le fstab, ça ne change effectivement rien.
En ligne
#13 Le 26/06/2015, à 15:10
- sebas1
Re : [RÉSOLU] Partition et boot entre SSD et HD à la sauce n'importe quoi.
sebas1 a écrit :[…]
Mais enfin si tu me dis que c'est exagéré et que ça ne ralentit ni ne chauffe plus que cela alors je pourrais être rapidement convaincu.J’ai du mal à imaginer ce genre de problème sur une machine récente.
C'est que j'ai du mal à supporter les bruits de ventilo. J'ai d'ailleurs installé une pentium S et une alim pour «fanless» pour un montage minimaliste. Autant les bruits de moteur plus gros genre camion voir voiture ça me dérange pas mais j'ai l'impression que ces petits bruits informatiques parasitent mon cerveau. Ceci dit je pourrais tester avec un /home sur le HD pour voir si ça convient.
Non, c’est le fait que la ligne soit commentée (le croisillon en début de ligne).
Si je demande c'est pas que je mette en doute c'est juste que j'aimerais savoir. Pour moi il y a des croisillons sur toutes les lignes. Je voyais plus ça comme de la déco.
Dernière modification par sebas1 (Le 26/06/2015, à 15:11)
Hors ligne
#14 Le 26/06/2015, à 15:17
- maxire
Re : [RÉSOLU] Partition et boot entre SSD et HD à la sauce n'importe quoi.
Le Boot-info:
Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 9Feb2015]
============================= Boot Info Summary: ===============================
=> No boot loader is installed in the MBR of /dev/sda.
=> Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector
49315840 of the same hard drive for core.img. core.img is at this location
and looks for (,gpt2)/boot/grub.
sda1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdb2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 14.04.2 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab
/boot/grub/i386-pc/core.img
sdb3: __________________________________________________________________________
File system: BIOS Boot partition
Boot sector type: Grub2's core.img
Boot sector info:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 1 3,907,029,167 3,907,029,167 ee GPT
GUID Partition Table detected.
Partition Start Sector End Sector # of Sectors System
/dev/sda1 2,048 3,907,028,991 3,907,026,944 Data partition (Linux)
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 128.0 GB, 128035676160 bytes
255 heads, 63 sectors/track, 15566 cylinders, total 250069680 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 1 250,069,679 250,069,679 ee GPT
GUID Partition Table detected.
Partition Start Sector End Sector # of Sectors System
/dev/sdb1 2,048 487,423 485,376 Data partition (Windows/Linux)
/dev/sdb2 487,424 49,315,839 48,828,416 Data partition (Linux)
/dev/sdb3 49,315,840 49,317,887 2,048 BIOS Boot partition
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 f9619784-91d3-40ce-9a01-8eea9ff3cb5c ext4
/dev/sdb1 6957-49EE vfat
/dev/sdb2 373c4951-e811-4b31-9b09-747afc586e43 ext4
/dev/sr0 iso9660 Ubuntu 14.04.2 LTS amd64
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Jun 25 18:38 ata-Samsung_SSD_840_PRO_Series_S1ANNSAF202250A -> ../../sdb
lrwxrwxrwx 1 root root 10 Jun 25 17:30 ata-Samsung_SSD_840_PRO_Series_S1ANNSAF202250A-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Jun 25 17:30 ata-Samsung_SSD_840_PRO_Series_S1ANNSAF202250A-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Jun 25 17:30 ata-Samsung_SSD_840_PRO_Series_S1ANNSAF202250A-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 9 Jun 25 18:21 ata-WDC_WD20EZRX-00D8PB0_WD-WCC4M2051930 -> ../../sda
lrwxrwxrwx 1 root root 10 Jun 25 17:30 ata-WDC_WD20EZRX-00D8PB0_WD-WCC4M2051930-part1 -> ../../sda1
lrwxrwxrwx 1 root root 9 Jun 25 17:30 usb-ASUS_SDRW-08D2S-U_KZ5DBCB4214-0:0 -> ../../sr0
lrwxrwxrwx 1 root root 9 Jun 25 18:21 wwn-0x50014ee25f2d2f68 -> ../../sda
lrwxrwxrwx 1 root root 10 Jun 25 17:30 wwn-0x50014ee25f2d2f68-part1 -> ../../sda1
lrwxrwxrwx 1 root root 9 Jun 25 18:38 wwn-0x50025385a01c54cf -> ../../sdb
lrwxrwxrwx 1 root root 10 Jun 25 17:30 wwn-0x50025385a01c54cf-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Jun 25 17:30 wwn-0x50025385a01c54cf-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Jun 25 17:30 wwn-0x50025385a01c54cf-part3 -> ../../sdb3
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sr0 /cdrom iso9660 (ro,noatime)
=========================== sdb2/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 373c4951-e811-4b31-9b09-747afc586e43
else
search --no-floppy --fs-uuid --set=root 373c4951-e811-4b31-9b09-747afc586e43
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=10
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=10
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=10
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30,0; then
clear
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-373c4951-e811-4b31-9b09-747afc586e43' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 373c4951-e811-4b31-9b09-747afc586e43
else
search --no-floppy --fs-uuid --set=root 373c4951-e811-4b31-9b09-747afc586e43
fi
linux /boot/vmlinuz-3.16.0-30-generic root=UUID=373c4951-e811-4b31-9b09-747afc586e43 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.16.0-30-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-373c4951-e811-4b31-9b09-747afc586e43' {
menuentry 'Ubuntu, with Linux 3.16.0-30-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-30-generic-advanced-373c4951-e811-4b31-9b09-747afc586e43' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 373c4951-e811-4b31-9b09-747afc586e43
else
search --no-floppy --fs-uuid --set=root 373c4951-e811-4b31-9b09-747afc586e43
fi
echo 'Loading Linux 3.16.0-30-generic ...'
linux /boot/vmlinuz-3.16.0-30-generic root=UUID=373c4951-e811-4b31-9b09-747afc586e43 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.16.0-30-generic
}
menuentry 'Ubuntu, with Linux 3.16.0-30-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-30-generic-recovery-373c4951-e811-4b31-9b09-747afc586e43' {
recordfail
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 373c4951-e811-4b31-9b09-747afc586e43
else
search --no-floppy --fs-uuid --set=root 373c4951-e811-4b31-9b09-747afc586e43
fi
echo 'Loading Linux 3.16.0-30-generic ...'
linux /boot/vmlinuz-3.16.0-30-generic root=UUID=373c4951-e811-4b31-9b09-747afc586e43 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.16.0-30-generic
}
menuentry 'Ubuntu, with Linux 3.13.0-55-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-55-generic-advanced-373c4951-e811-4b31-9b09-747afc586e43' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 373c4951-e811-4b31-9b09-747afc586e43
else
search --no-floppy --fs-uuid --set=root 373c4951-e811-4b31-9b09-747afc586e43
fi
echo 'Loading Linux 3.13.0-55-generic ...'
linux /boot/vmlinuz-3.13.0-55-generic root=UUID=373c4951-e811-4b31-9b09-747afc586e43 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.13.0-55-generic
}
menuentry 'Ubuntu, with Linux 3.13.0-55-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-55-generic-recovery-373c4951-e811-4b31-9b09-747afc586e43' {
recordfail
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 373c4951-e811-4b31-9b09-747afc586e43
else
search --no-floppy --fs-uuid --set=root 373c4951-e811-4b31-9b09-747afc586e43
fi
echo 'Loading Linux 3.13.0-55-generic ...'
linux /boot/vmlinuz-3.13.0-55-generic root=UUID=373c4951-e811-4b31-9b09-747afc586e43 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.13.0-55-generic
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------
=============================== sdb2/etc/fstab: ================================
--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdb2 during installation
UUID=373c4951-e811-4b31-9b09-747afc586e43 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sdb1 during installation
#UUID=6957-49EE /boot/efi vfat utf8,umask=007,gid=46 0 1
# /data was on /dev/sda1 during installation
UUID=f9619784-91d3-40ce-9a01-8eea9ff3cb5c /data ext4 defaults 0 2
--------------------------------------------------------------------------------
=============================== StdErr Messages: ===============================
cat: write error: Broken pipe
File descriptor 9 (/proc/5174/mounts) leaked on lvs invocation. Parent PID 1755: bash
File descriptor 63 (pipe:[54766]) leaked on lvs invocation. Parent PID 1755: bash
No volume groups found
ADDITIONAL INFORMATION :
=================== log of boot-repair 2015-06-25__18h21 ===================
boot-repair version : 4ppa33
boot-sav version : 4ppa33
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 4ppa33
boot-repair is executed in live-session (Ubuntu 14.04.2 LTS, trusty, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
ls: cannot access /home/usr/.config: No such file or directory
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
=================== os-prober:
/dev/sdb2:Ubuntu 14.04.2 LTS (14.04):Ubuntu:linux
=================== blkid:
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="f9619784-91d3-40ce-9a01-8eea9ff3cb5c" TYPE="ext4"
/dev/sdb1: UUID="6957-49EE" TYPE="vfat"
/dev/sdb2: UUID="373c4951-e811-4b31-9b09-747afc586e43" TYPE="ext4"
/dev/sr0: LABEL="Ubuntu 14.04.2 LTS amd64" TYPE="iso9660"
1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util sfdisk doesn't support GPT. Use GNU Parted.
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util sfdisk doesn't support GPT. Use GNU Parted.
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
=================== sdb2/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Feb 18 19:38 grub.d
total 76
-rwxr-xr-x 1 root root 9424 May 15 2014 00_header
-rwxr-xr-x 1 root root 6058 May 8 2014 05_debian_theme
-rwxr-xr-x 1 root root 11608 May 15 2014 10_linux
-rwxr-xr-x 1 root root 10412 May 15 2014 20_linux_xen
-rwxr-xr-x 1 root root 1992 Mar 12 2014 20_memtest86+
-rwxr-xr-x 1 root root 11692 May 15 2014 30_os-prober
-rwxr-xr-x 1 root root 1416 May 15 2014 30_uefi-firmware
-rwxr-xr-x 1 root root 214 May 15 2014 40_custom
-rwxr-xr-x 1 root root 216 May 15 2014 41_custom
-rw-r--r-- 1 root root 483 May 15 2014 README
=================== sdb2/etc/default/grub :
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
/boot/efi detected in the fstab of sdb2: UUID=6957-49EE (sdb1)
=================== efibootmgr -v
BootCurrent: 0004
Timeout: 1 seconds
BootOrder: 0003,0004,0002,0001
Boot0001* Hard Drive BIOS(2,0,00)AMGOAMNO........o.W.D.C. .W.D.2.0.E.Z.R.X.-.0.0.D.8.P.B.0....................A...........................>..Gd-.;.A..MQ..L. . . . .W. .-.D.C.W.4.C.2.M.5.0.9.1.0.3......AMBOAMNO........o.S.a.m.s.u.n.g. .S.S.D. .8.4.0. .P.R.O. .S.e.r.i.e.s....................A...........................>..Gd-.;.A..MQ..L.1.S.N.A.S.N.F.A.0.2.2.2.0.5. .A. . . . ......AMBO
Boot0002* CD/DVD Drive BIOS(3,0,00)AMGOAMNO........q.A.S.U.S. .S.D.R.W.-.0.8.D.2.S.-.U. .A.6.0.1....................A.............................>..Gd-.;.A..MQ..L.K.Z.5.D.B.C.B.4.2.1.4. . . . . . . . . ......AMBO
Boot0003* UEFI: Samsung SSD 840 PRO Series ACPI(a0341d0,0)PCI(1f,2)03120a000100ffff0000HD(1,800,76800,75374927-b2a0-49e3-a79a-c3df6a610bc0)AMBO
Boot0004* UEFI: ASUS SDRW-08D2S-U A601 ACPI(a0341d0,0)PCI(1d,0)USB(1,0)USB(4,0)CD-ROM(1,1429,1240)AMBO
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot disabled. (maybe sec-boot, Please report this message to boot.repair@gmail.com)
=================== PARTITIONS & DISKS:
sda1 : sda, maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda1.
sdb1 : sdb, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sdb1.
sdb2 : sdb, not-sepboot, grubenv-ok grub2, signed grub-pc , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, not-far, /mnt/boot-sav/sdb2.
sda : GPT, no-BIOS_boot, has-no-EFIpart, not-usb, no-os, 2048 sectors * 512 bytes
sdb : GPT, BIOS_boot, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
=================== parted -l:
Model: ATA WDC WD20EZRX-00D (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1049kB 2000GB 2000GB ext4
Model: ATA Samsung SSD 840 (scsi)
Disk /dev/sdb: 128GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1049kB 250MB 249MB fat32 msftdata
2 250MB 25.2GB 25.0GB ext4
3 25.2GB 25.3GB 1049kB bios_grub
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
Model: ASUS SDRW-08D2S-U (scsi)
Disk /dev/sr0: 1044MB
Sector size (logical/physical): 2048B/2048B
Partition Table: mac
Number Start End Size File system Name Flags
1 8192B 24.6kB 16.4kB Apple
2 42.3MB 51.8MB 9568kB EFI
=================== parted -lm:
BYT;
/dev/sda:2000GB:scsi:512:4096:gpt:ATA WDC WD20EZRX-00D;
1:1049kB:2000GB:2000GB:ext4::;
BYT;
/dev/sdb:128GB:scsi:512:512:gpt:ATA Samsung SSD 840;
1:1049kB:250MB:249MB:fat32::msftdata;
2:250MB:25.2GB:25.0GB:ext4::;
3:25.2GB:25.3GB:1049kB:::bios_grub;
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
BYT;
/dev/sr0:1044MB:scsi:2048:2048:mac:ASUS SDRW-08D2S-U;
1:8192B:24.6kB:16.4kB::Apple:;
2:42.3MB:51.8MB:9568kB::EFI:;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL MODEL UUID
sda disk 1.8T WDC WD20
sda1 part ext4 1.8T f9619784-91d3-40ce-9a01-8eea9ff3cb5c
sdb disk 119.2G Samsung
sdb1 part vfat 237M 6957-49EE
sdb2 part ext4 23.3G 373c4951-e811-4b31-9b09-747afc586e43
sdb3 part 1M
sr0 rom iso9660 996M Ubuntu 14.04.2 LTS amd64
SDRW-08D
loop0 loop squashfs 953M
KNAME ROTA RO RM STATE MOUNTPOINT
sda 1 0 0 running
sda1 1 0 0 /mnt/boot-sav/sda1
sdb 0 0 0 running
sdb1 0 0 0 /mnt/boot-sav/sdb1
sdb2 0 0 0 /mnt/boot-sav/sdb2
sdb3 0 0 0
sr0 1 0 1 running /cdrom
loop0 1 1 0 /rofs
=================== mount:
/cow on / type overlayfs (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
/dev/sr0 on /cdrom type iso9660 (ro,noatime)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /sys/firmware/efi/efivars type efivarfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=ubuntu)
/dev/sda1 on /mnt/boot-sav/sda1 type ext4 (rw)
/dev/sdb1 on /mnt/boot-sav/sdb1 type vfat (rw)
/dev/sdb2 on /mnt/boot-sav/sdb2 type ext4 (rw)
=================== ls:
/sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sdb1 sdb2 sdb3 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered): autofs block bsg btrfs-control bus cdrom char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd full fuse hidraw0 hidraw1 hidraw2 hpet input kmsg kvm log mapper mcelog mei mem net network_latency network_throughput null port ppp psaux ptmx ptp0 pts random rfkill rtc rtc0 sda sda1 sdb sdb1 sdb2 sdb3 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom usb vfio vga_arbiter vhci vhost-net watchdog watchdog0 zero
ls /dev/mapper: control
=================== hexdump -n512 -C /dev/sdb1
00000000 eb 58 90 6d 6b 66 73 2e 66 61 74 00 02 01 20 00 |.X.mkfs.fat... .|
00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
00000020 00 68 07 00 96 0e 00 00 00 00 00 00 02 00 00 00 |.h..............|
00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 80 01 29 ee 49 57 69 20 20 20 20 20 20 20 20 20 |..).IWi |
00000050 20 20 46 41 54 33 32 20 20 20 0e 1f be 77 7c ac | FAT32 ...w|.|
00000060 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 5e eb f0 32 |".t.V.......^..2|
00000070 e4 cd 16 cd 19 eb fe 54 68 69 73 20 69 73 20 6e |.......This is n|
00000080 6f 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 64 69 |ot a bootable di|
00000090 73 6b 2e 20 20 50 6c 65 61 73 65 20 69 6e 73 65 |sk. Please inse|
000000a0 72 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 66 6c |rt a bootable fl|
000000b0 6f 70 70 79 20 61 6e 64 0d 0a 70 72 65 73 73 20 |oppy and..press |
000000c0 61 6e 79 20 6b 65 79 20 74 6f 20 74 72 79 20 61 |any key to try a|
000000d0 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 00 00 00 00 |gain ... .......|
000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
/cow overlayfs 3.9G 111M 3.8G 3% /
udev devtmpfs 3.9G 12K 3.9G 1% /dev
tmpfs tmpfs 787M 1.4M 785M 1% /run
/dev/sr0 iso9660 996M 996M 0 100% /cdrom
/dev/loop0 squashfs 953M 953M 0 100% /rofs
none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
tmpfs tmpfs 3.9G 1.2M 3.9G 1% /tmp
none tmpfs 5.0M 0 5.0M 0% /run/lock
none tmpfs 3.9G 76K 3.9G 1% /run/shm
none tmpfs 100M 80K 100M 1% /run/user
/dev/sda1 ext4 1.8T 68M 1.7T 1% /mnt/boot-sav/sda1
/dev/sdb1 vfat 234M 512 234M 1% /mnt/boot-sav/sdb1
/dev/sdb2 ext4 23G 3.6G 19G 17% /mnt/boot-sav/sdb2
=================== fdisk -l:
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 1 3907029167 1953514583+ ee GPT
Partition 1 does not start on physical sector boundary.
Disk /dev/sdb: 128.0 GB, 128035676160 bytes
255 heads, 63 sectors/track, 15566 cylinders, total 250069680 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 1 250069679 125034839+ ee GPT
=================== Advices
The boot of your PC is in EFI mode, but no EFI partition was detected. You may want to retry after creating a EFI partition (FAT32, 100MB~250MB, start of the disk, boot flag).
Do you want to continue?
=================== Recommended repair
The default repair of the Boot-Repair utility will purge (in order to) and reinstall the grub2 of sdb2 into the MBRs of all disks (except USB without OS).
Additional repair will be performed: unhide-bootmenu-10s
/boot/efi removed in sdb2/fstab
chroot /mnt/boot-sav/sdb2 apt-get -y --force-yes update
Purge the GRUB of sdb2
grub-pc available
The following extra packages will be installed:
grub-common grub-pc-bin grub2-common
Suggested packages:
multiboot-doc grub-emu xorriso desktop-base
The following packages will be upgraded:
grub-common grub-pc grub-pc-bin grub2-common
4 upgraded, 0 newly installed, 0 to remove and 325 not upgraded.
DEBCHECK debOK, grub-pc
DEBCHECK debOK
shim-signed available
linux-signed-generic available
Please type: sudo chroot "/mnt/boot-sav/sdb2" dpkg --configure -ansudo chroot "/mnt/boot-sav/sdb2" apt-get install -fynsudo chroot "/mnt/boot-sav/sdb2" apt-get purge -y --force-yes grub*-common grub-common:i386 shim-signed linux-signed*
=================== sdb2/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Feb 18 19:38 grub.d
total 76
-rwxr-xr-x 1 root root 9424 May 15 2014 00_header
-rwxr-xr-x 1 root root 6058 May 8 2014 05_debian_theme
-rwxr-xr-x 1 root root 11608 May 15 2014 10_linux
-rwxr-xr-x 1 root root 10412 May 15 2014 20_linux_xen
-rwxr-xr-x 1 root root 1992 Mar 12 2014 20_memtest86+
-rwxr-xr-x 1 root root 11692 May 15 2014 30_os-prober
-rwxr-xr-x 1 root root 1416 May 15 2014 30_uefi-firmware
-rwxr-xr-x 1 root root 214 May 15 2014 40_custom
-rwxr-xr-x 1 root root 216 May 15 2014 41_custom
-rw-r--r-- 1 root root 483 May 15 2014 README
=================== sdb2/etc/default/grub :
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
=================== sdb2/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Feb 18 19:38 grub.d
total 76
-rwxr-xr-x 1 root root 9424 May 15 2014 00_header
-rwxr-xr-x 1 root root 6058 May 8 2014 05_debian_theme
-rwxr-xr-x 1 root root 11608 May 15 2014 10_linux
-rwxr-xr-x 1 root root 10412 May 15 2014 20_linux_xen
-rwxr-xr-x 1 root root 1992 Mar 12 2014 20_memtest86+
-rwxr-xr-x 1 root root 11692 May 15 2014 30_os-prober
-rwxr-xr-x 1 root root 1416 May 15 2014 30_uefi-firmware
-rwxr-xr-x 1 root root 214 May 15 2014 40_custom
-rwxr-xr-x 1 root root 216 May 15 2014 41_custom
-rw-r--r-- 1 root root 483 May 15 2014 README
=================== sdb2/etc/default/grub :
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
=================== sdb2/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Feb 18 19:38 grub.d
total 76
-rwxr-xr-x 1 root root 9424 May 15 2014 00_header
-rwxr-xr-x 1 root root 6058 May 8 2014 05_debian_theme
-rwxr-xr-x 1 root root 11608 May 15 2014 10_linux
-rwxr-xr-x 1 root root 10412 May 15 2014 20_linux_xen
-rwxr-xr-x 1 root root 1992 Mar 12 2014 20_memtest86+
-rwxr-xr-x 1 root root 11692 May 15 2014 30_os-prober
-rwxr-xr-x 1 root root 1416 May 15 2014 30_uefi-firmware
-rwxr-xr-x 1 root root 214 May 15 2014 40_custom
-rwxr-xr-x 1 root root 216 May 15 2014 41_custom
-rw-r--r-- 1 root root 483 May 15 2014 README
=================== sdb2/etc/default/grub :
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
=================== sdb2/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Feb 18 19:38 grub.d
total 76
-rwxr-xr-x 1 root root 9424 May 15 2014 00_header
-rwxr-xr-x 1 root root 6058 May 8 2014 05_debian_theme
-rwxr-xr-x 1 root root 11608 May 15 2014 10_linux
-rwxr-xr-x 1 root root 10412 May 15 2014 20_linux_xen
-rwxr-xr-x 1 root root 1992 Mar 12 2014 20_memtest86+
-rwxr-xr-x 1 root root 11692 May 15 2014 30_os-prober
-rwxr-xr-x 1 root root 1416 May 15 2014 30_uefi-firmware
-rwxr-xr-x 1 root root 214 May 15 2014 40_custom
-rwxr-xr-x 1 root root 216 May 15 2014 41_custom
-rw-r--r-- 1 root root 483 May 15 2014 README
=================== sdb2/etc/default/grub :
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
=================== sdb2/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Jun 25 18:33 grub.d
total 4
-rwxr-xr-x 1 root root 1992 Mar 12 2014 20_memtest86+
Then type: sudo chroot "/mnt/boot-sav/sdb2" apt-get install -y --force-yes grub-pc linux-generic
=================== sdb2/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Jun 25 18:35 grub.d
drwxr-xr-x 2 root root 4096 Jun 25 18:33 grub.d.bak
total 72
-rwxr-xr-x 1 root root 9424 May 13 18:33 00_header
-rwxr-xr-x 1 root root 6058 May 13 14:51 05_debian_theme
-rwxr-xr-x 1 root root 11608 May 13 18:33 10_linux
-rwxr-xr-x 1 root root 10412 May 13 18:33 20_linux_xen
-rwxr-xr-x 1 root root 11692 May 13 18:33 30_os-prober
-rwxr-xr-x 1 root root 1416 May 13 18:33 30_uefi-firmware
-rwxr-xr-x 1 root root 214 May 13 18:33 40_custom
-rwxr-xr-x 1 root root 216 May 13 18:33 41_custom
-rw-r--r-- 1 root root 483 May 13 18:33 README
=================== sdb2/etc/default/grub :
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
Unhide GRUB boot menu in sdb2/etc/default/grub
=================== sdb2/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Jun 25 18:35 grub.d
drwxr-xr-x 2 root root 4096 Jun 25 18:33 grub.d.bak
total 72
-rwxr-xr-x 1 root root 9424 May 13 18:33 00_header
-rwxr-xr-x 1 root root 6058 May 13 14:51 05_debian_theme
-rwxr-xr-x 1 root root 11608 May 13 18:33 10_linux
-rwxr-xr-x 1 root root 10412 May 13 18:33 20_linux_xen
-rwxr-xr-x 1 root root 11692 May 13 18:33 30_os-prober
-rwxr-xr-x 1 root root 1416 May 13 18:33 30_uefi-firmware
-rwxr-xr-x 1 root root 214 May 13 18:33 40_custom
-rwxr-xr-x 1 root root 216 May 13 18:33 41_custom
-rw-r--r-- 1 root root 483 May 13 18:33 README
=================== sdb2/etc/default/grub :
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
Reinstall the GRUB of sdb2 into all MBRs of disks with OS or not-USB
*******lspci -nnk | grep -iA3 vga
00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412] (rev 06)
Subsystem: Gigabyte Technology Co., Ltd Device [1458:d000]
Kernel driver in use: i915
00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
*******
grub-install --version
grub-install (GRUB) 2.02~beta2-9ubuntu1.2,grub-install (GRUB) 2.
Reinstall the GRUB of sdb2 into the MBR of sda
Installing for i386-pc platform.
grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
grub-install: error: embedding is not possible, but this is required for cross-disk install.
grub-install /dev/sda: exit code of grub-install /dev/sda:1
*******lspci -nnk | grep -iA3 vga
00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412] (rev 06)
Subsystem: Gigabyte Technology Co., Ltd Device [1458:d000]
Kernel driver in use: i915
00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
*******
grub-install --version
grub-install (GRUB) 2.02~beta2-9ubuntu1.2,grub-install (GRUB) 2.
Reinstall the GRUB of sdb2 into the MBR of sdb
Installing for i386-pc platform.
Installation finished. No error reported.
grub-install /dev/sdb: exit code of grub-install /dev/sdb:0
chroot /mnt/boot-sav/sdb2 update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.16.0-30-generic
Found initrd image: /boot/initrd.img-3.16.0-30-generic
Found linux image: /boot/vmlinuz-3.13.0-55-generic
Found initrd image: /boot/initrd.img-3.13.0-55-generic
File descriptor 9 (/proc/5174/mounts) leaked on lvs invocation. Parent PID 30939: /bin/sh
File descriptor 63 (pipe:[54766]) leaked on lvs invocation. Parent PID 30939: /bin/sh
No volume groups found
Adding boot menu entry for EFI firmware configuration
Unhide GRUB boot menu in sdb2/boot/grub/grub.cfg
Boot successfully repaired.
You can now reboot your computer.
Please do not forget to make your BIOS boot on sdb (128GB) disk!
Download as text
Extrait du Boot-info:
=> Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector
49315840 of the same hard drive for core.img. core.img is at this location
and looks for (,gpt2)/boot/grub.
Démarrage en mode Bios sur le disque /dev/sdb.
sdb3: __________________________________________________________________________
File system: BIOS Boot partition
Boot sector type: Grub2's core.img
Boot sector info:
Partition Bios Grub utilisée pour héberger core.img la deuxième partie du programme Grub dans le cas d'un démarrage en mode BIOS sur un disque avec une table de partitions GPT.
/boot/efi detected in the fstab of sdb2: UUID=6957-49EE (sdb1)
=================== efibootmgr -v
BootCurrent: 0004
Timeout: 1 seconds
BootOrder: 0003,0004,0002,0001
Boot0001* Hard Drive BIOS(2,0,00)AMGOAMNO........o.W.D.C. .W.D.2.0.E.Z.R.X.-.0.0.D.8.P.B.0....................A...........................>..Gd-.;.A..MQ..L. . . . .W. .-.D.C.W.4.C.2.M.5.0.9.1.0.3......AMBOAMNO........o.S.a.m.s.u.n.g. .S.S.D. .8.4.0. .P.R.O. .S.e.r.i.e.s....................A...........................>..Gd-.;.A..MQ..L.1.S.N.A.S.N.F.A.0.2.2.2.0.5. .A. . . . ......AMBO
Boot0002* CD/DVD Drive BIOS(3,0,00)AMGOAMNO........q.A.S.U.S. .S.D.R.W.-.0.8.D.2.S.-.U. .A.6.0.1....................A.............................>..Gd-.;.A..MQ..L.K.Z.5.D.B.C.B.4.2.1.4. . . . . . . . . ......AMBO
Boot0003* UEFI: Samsung SSD 840 PRO Series ACPI(a0341d0,0)PCI(1f,2)03120a000100ffff0000HD(1,800,76800,75374927-b2a0-49e3-a79a-c3df6a610bc0)AMBO
Boot0004* UEFI: ASUS SDRW-08D2S-U A601 ACPI(a0341d0,0)PCI(1d,0)USB(1,0)USB(4,0)CD-ROM(1,1429,1240)AMBO
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot disabled. (maybe sec-boot, Please report this message to boot.repair@gmail.com)
Oui ton système peut démarrer en mode UEFI mais je ne vois aucune entrée Ubuntu dans la NVRAM, la partition EFI semble vide ===> Il existe de fortes chances que ton système Ubuntu aie démarré en mode BIOS Legacy.
Confirmation ici:
db : GPT, BIOS_boot, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
BIOS_Boot ===> Démarrage uniquement en mode Legacy/BIOS, partition EFI vide (has-no-EFIpart,).
Donc oui tu as réussi un sacré bazar!
Un début d'installation en mode UEFI qui a fini en une installation en mode Legacy.
Tu peux laisser comme cela ou corriger c'est toi qui voit.
Le commentaire de la partition EFI dans /etc/fstab n'est pas apparu tout seul, (Boot-repair ou toi).
Réparation Boot-repair:
=================== Recommended repair
The default repair of the Boot-Repair utility will purge (in order to) and reinstall the grub2 of sdb2 into the MBRs of all disks (except USB without OS).
Additional repair will be performed: unhide-bootmenu-10s
/boot/efi removed in sdb2/fstab
chroot /mnt/boot-sav/sdb2 apt-get -y --force-yes update
Purge the GRUB of sdb2
grub-pc available
The following extra packages will be installed:
grub-common grub-pc-bin grub2-common
Suggested packages:
multiboot-doc grub-emu xorriso desktop-base
The following packages will be upgraded:
grub-common grub-pc grub-pc-bin grub2-common
4 upgraded, 0 newly installed, 0 to remove and 325 not upgraded.
C'est bien Boot-repair qui a installé ton Ubuntu en mode BIOS en ajoutant au passage le commentaire dans fstab.
Note: La partition /dev/sdb1 n'est pas de type EFI cela pourrait expliquer tes problèmes d'installation.
Dernière modification par maxire (Le 26/06/2015, à 15:29)
Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail
Hors ligne
#15 Le 26/06/2015, à 15:36
- nany
Re : [RÉSOLU] Partition et boot entre SSD et HD à la sauce n'importe quoi.
[…]
C'est que j'ai du mal à supporter les bruits de ventilo. J'ai d'ailleurs installé une pentium S et une alim pour «fanless» pour un montage minimaliste. Autant les bruits de moteur plus gros genre camion voir voiture ça me dérange pas mais j'ai l'impression que ces petits bruits informatiques parasitent mon cerveau. Ceci dit je pourrais tester avec un /home sur le HD pour voir si ça convient.
[…]
Personnellement, j’ai une malformation des oreilles internes qui me valent une perte auditive sévère. J’ai de surcroît des acouphènes en permanence dont je doit m’accommoder depuis une bonne trentaine d’années. Tout ça pour dire que je ne suis pas la personne la mieux placée pour te conseiller en matière de bruits parasites. À toi de voir donc ce qui te conviendra le mieux comme compromis.
@maxire : merci pour tous ces éclaircissements. Il n’est donc pas nécessaire du tout de modifier le fichier fstab.
En ligne
#16 Le 26/06/2015, à 16:02
- sebas1
Re : [RÉSOLU] Partition et boot entre SSD et HD à la sauce n'importe quoi.
Donc oui tu as réussi un sacré bazar!
Un début d'installation en mode UEFI qui a fini en une installation en mode Legacy.
Tu peux laisser comme cela ou corriger c'est toi qui voit.
C'est bien ce qui me semblait pour le bazar. En même temps c'est le boot repair qui l'a installé. Je suis innocent votre honneur. Si pas de boot repair pas d’installation non plus alors...
J'aimerais bien corriger. Je vais supprimer la partition EFI en FAT 32. Mais mon HD sera toujours inaccessible. Il n’apparaît nulle part et je ne peux donc même pas voir, depuis l'interface graphique, à quoi correspondent ces 29 gigas déjà utilisés.
Merci pour les explications de texte maxire.
Hors ligne
#17 Le 26/06/2015, à 16:07
- sebas1
Re : [RÉSOLU] Partition et boot entre SSD et HD à la sauce n'importe quoi.
Note: La partition /dev/sdb1 n'est pas de type EFI cela pourrait expliquer tes problèmes d'installation.
Pas vu la remarque. Est-ce que je peux rendre cette partition EFI lors de l'installation. Dans ce cas je recommence l'install. pour avoir un truc plus propre ?
Hors ligne
#18 Le 26/06/2015, à 16:15
- sebas1
Re : [RÉSOLU] Partition et boot entre SSD et HD à la sauce n'importe quoi.
Personnellement, j’ai une malformation des oreilles internes qui me valent une perte auditive sévère. J’ai de surcroît des acouphènes en permanence dont je doit m’accommoder depuis une bonne trentaine d’années. Tout ça pour dire que je ne suis pas la personne la mieux placée pour te conseiller en matière de bruits parasites. À toi de voir donc ce qui te conviendra le mieux comme compromis.
Cela me fait penser que je pourrais artificiellement diminuer ma perception auditive avec des bouchons mais quand on me parle je gueule alors comme un sourd. Et puis je dors déjà avec des bouchons alors ...
Hors ligne
#19 Le 26/06/2015, à 16:16
- maxire
Re : [RÉSOLU] Partition et boot entre SSD et HD à la sauce n'importe quoi.
Si il n'existe pas de données importantes oui tu peux recommencer l'installation et tu laisses l'installateur faire le travail, pas de finasseries!
Penses juste à démarrer en mode UEFI, tu chosis le disque cible soit le ssd et tu acceptes d'écraser Ubuntu.
En ce moment tu n'utilises que 25 Go des 125 Go du ssd, c'est dommage.
En fait c'est la meilleure solution, nous pourrons ensuite d'expliquer comment utiliser le disque DATA de 2 TO.
Dernière modification par maxire (Le 26/06/2015, à 16:21)
Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail
Hors ligne
#20 Le 26/06/2015, à 16:20
- maxire
Re : [RÉSOLU] Partition et boot entre SSD et HD à la sauce n'importe quoi.
29 Go de quel disque?
Si c'est celui de 2TO c'est 1,45 % de sa capacité, soit pas grand chose, c'est un espace réservé à la gestion du système de fichiers.
Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail
Hors ligne
#21 Le 26/06/2015, à 16:30
- sebas1
Re : [RÉSOLU] Partition et boot entre SSD et HD à la sauce n'importe quoi.
Penses juste à démarrer en mode UEFI, tu chosis le disque cible soit le ssd et tu acceptes d'écraser Ubuntu.
En ce moment tu n'utilises que 25 Go des 125 Go du ssd, c'est dommage.
J'espère que le choix UEFI va être bien visible.
Je suppose que si je veux rajouter une autre distribution par la suite je serais toujours à temps de repartitionner le SSD.
29 Go de quel disque?
Si c'est celui de 2TO c'est 1,45 % de sa capacité, soit pas grand chose, c'est un espace réservé à la gestion du système de fichiers.
Oui c'est le 2 TO.
Alea jacta est, je vais recommencer.
Hors ligne
#22 Le 26/06/2015, à 16:36
- nany
Re : [RÉSOLU] Partition et boot entre SSD et HD à la sauce n'importe quoi.
Cela me fait penser que je pourrais artificiellement diminuer ma perception auditive avec des bouchons mais quand on me parle je gueule alors comme un sourd.
ROFL !
Bon, je te laisse avec maxire pour la suite des opérations ; tu es entre bonnes mains.
En ligne
#23 Le 26/06/2015, à 16:50
- maxire
Re : [RÉSOLU] Partition et boot entre SSD et HD à la sauce n'importe quoi.
J'espère que le choix UEFI va être bien visible.
J'imagine qu'un mode d'emploi est livré avec le PC, sinon il doit exister des notices techniques liées à la carte mère dans le Web.
@nany, merci mais je n'ai pas l'intention de m'impliquer plus que cela, normalement en mode automatique l'installation ne devrait pas poser de prolème, pas de dual boot, pas de Windows.
Il faut juste que sebas1 ne se lance pas dans des opérations exotiques sans vraiment comprendre, d'ailleurs il n'a pas précisé quelle erreur il a obtenue lors de sa première tentative d'installation.
Dernière modification par maxire (Le 26/06/2015, à 16:51)
Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail
Hors ligne
#24 Le 26/06/2015, à 16:56
- maxire
Re : [RÉSOLU] Partition et boot entre SSD et HD à la sauce n'importe quoi.
Ah, j'oubliais!
Comme tu sembles être habile de tes mains, débranches le disque de 2 TO pour installer Ubuntu, cela t'évitera trop de questions avec de mauvaises réponses.
Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail
Hors ligne
#25 Le 26/06/2015, à 18:16
- sebas1
Re : [RÉSOLU] Partition et boot entre SSD et HD à la sauce n'importe quoi.
Nouvelle instal.
fdisk :
Usage:
fdisk [options] <disk> change partition table
fdisk [options] -l <disk> list partition table(s)
fdisk -s <partition> give partition size(s) in blocks
Options:
-b <size> sector size (512, 1024, 2048 or 4096)
-c[=<mode>] compatible mode: 'dos' or 'nondos' (default)
-h print this help text
-u[=<unit>] display units: 'cylinders' or 'sectors' (default)
-v print program version
-C <number> specify the number of cylinders
-H <number> specify the number of heads
-S <number> specify the number of sectors per track
Plus qu'un disque reconnu avec Gparted, capture sda.
La réinstal. n'a pas écrasé les anciennes partitions pourtant j'ai bien choisi écraser et non pas à côté lors de la réinstallation !
Il ne reconnaît pas non plus le sdb2 de 2 TO que je n'arrive pas à atteindre à partir du menu unity.
J'aurais tendance à vouloir suprimer sda1, non alloué sda3 ou mieux réalloué ces 3 espaces pour sda4 avec Gparted ?
Il ne me semble pas avoir eu le choix de choisir UEFI lors de cette installation automatique mais elle a bien monté un FAT 32 toute seule.
Le rapport boot info
Hors ligne