#51 Le 09/12/2018, à 21:52
- moko138
Re : [Résolu] Copie du /home sur autre installation
maxire,
Je suis désolé de l'ambigüité que j'avais laissée par mégarde.
Je répndais en deux temps !
A) cas général
Tu peux faire avec Gparted sans soucis
SURTOUT PAS !
(...)
Donc oui, il faut
1) Utilisersudo cp -av (...)
en se limitant aux fichiers et répertoires non cachés et aux éventuels courriels. (Pour .thunderbird/, voir avec un spécialiste).
2) Finir le taf avec un chown précis.
.= =
N'oublie pas que, en #4, Comstock n'avait pas encore répondu (il le fera en #12) qu'il avait le même identifiant dans les deux S.E. !
Dans le cas général, il est logique de copier d'abord et de "chown-er" la copie ensuite. (Je ne sais pas "chown-er" une copie qui n'est pas encore créée).
Et là, j'aurais pu souligner l'articulation logique d'un "B) Mais, "
avant de continuer :
(même avec sudo thunar).
JAMAIS de sudo thunar ! (Sauf en live - et encore).
Maintenant que tu as corrompu l'un de tes homes (14.04 ou 18.04 ?), il te reste à exécuter
sudo chown -Rc $USER:$USER /home/$USER
depuis le système concerné.
Après quoi, tu pourras commencer à suivre les conseils d'ares.
%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel : À la découverte de dcraw
Hors ligne
#52 Le 09/12/2018, à 22:18
- ares
Re : [Résolu] Copie du /home sur autre installation
OK
Mea-culpa auprès de maxire et désolé pour Comstock pour la suite de mes réponses confuses !
@+
Le droit d'emmerder Dieu (Richard Malka)
Hors ligne
#53 Le 10/12/2018, à 00:37
- bluc
Re : [Résolu] Copie du /home sur autre installation
Tu peux faire avec Gparted sans soucis
SURTOUT PAS !
.
pour vérification, je viens de changer le home de LinuxMint Xfce 19 par celui de Ubuntu 18.10 avec le remplacement de l'uuid dans le fichier /etc/fstab et mon LinuxMint démarre et fonctionne
ceci a été fait en tres peu de temps , sans problèmes de permissions et même en présence de l'ancien home
(Déplacer un home ou une autre partition ne modifie pas son UUID)
mais de toutes façons je déconseille le home commun
Dernière modification par bluc (Le 10/12/2018, à 00:56)
Clevo : Ubuntu 23.10 ❖ Xubuntu 22.10 ❖ Kubuntu 23.10
avec partition data commune Une fraction de seconde Multiboot
Hors ligne
#54 Le 10/12/2018, à 01:09
- moko138
Re : [Résolu] Copie du /home sur autre installation
Déplacer un home ou une autre partition ne modifie pas son UUID
Ai-je dit le contraire ??
Par contre, écraser la nouvelle partition home sdXN
par un clone d'une autre partition home sdYP
remplace l'uuid de sdXN par celui de sdYP.
Et là, il faut corriger au moins le fstab, pour pouvoir espérer minimiser les ennuis.
En bref : mauvais plan !
%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel : À la découverte de dcraw
Hors ligne
#55 Le 10/12/2018, à 01:15
- Coeur Noir
Re : [Résolu] Copie du /home sur autre installation
mais de toutes façons je déconseille le home commun
Un /home commun ( à plusieurs systèmes ) : pourquoi pas ?
Ce qui est problématique c'est un répertoire perso ( donc /home/user_untel ) commun à plusieurs systèmes ou plusieurs environnements.
Tant que chaque système a ses propres utilisateurs distincts, pas de risque de « confusion » au niveau des fichiers de config' dans /home/user_untel/.*
Ça peut être un peu plus compliqué avec des environnements différents installés sur un même système - car les env' ne se contentent pas de faire des modif's dans l'espace personnel de l'utilisateur mais aussi au niveau du système ( gdm/lightdm, config's dans /etc… )
Enfin désolé pour le HS, ça ne s'applique pas ici de toute façon.
Par contre : vous lui avez fait copier tout son ancien répertoire perso - ou juste les fichiers pas cachés ?
Dernière modification par Coeur Noir (Le 10/12/2018, à 01:20)
Débuter ⋅ Doc ⋅ Bien rédiger ⋅ Retour commande ⋅ Insérer image | illustrations & captures d'écran < ⋅ >
Hors ligne
#56 Le 10/12/2018, à 01:18
- bluc
Re : [Résolu] Copie du /home sur autre installation
Ai-je dit le contraire ??
Excuses moi j'ai cru comprendre ça quand...
Comme la 18.04 est déjà installée, cela mettrait le souk en changeant l'uuid de son home.
Apres copie de la partition home , j'ai modifié le fichier fstab pour y mettre l'UUID du nouvel home ceci depuis LinuxMint actif et au redémarrage celui ci était pris en compte, ça fonctionne nickel ,
a l'aide d'un dd -usb je l'ai meme transporté sur un autre système ,sur un autre ordi , idem nickel !...
@Coeur Noir
je suis le seul Utilisateur
mais de toutes façons je n'utilise jamais de home séparé , uniquement partition data commune
mais de toute façons, comme home n'est pas sur une partition séparée , c'est inadapté
Dernière modification par bluc (Le 10/12/2018, à 19:19)
Clevo : Ubuntu 23.10 ❖ Xubuntu 22.10 ❖ Kubuntu 23.10
avec partition data commune Une fraction de seconde Multiboot
Hors ligne
#57 Le 10/12/2018, à 18:11
- Comstock
Re : [Résolu] Copie du /home sur autre installation
Bonjour,
Des nouvelles.
Ce matin, panne démarrage, écran noir; j'ai démarré à l'aide de Boot Repair ( http://paste.ubuntu.com/p/xNSv8YbNrc/ ).
Je vais tenter de retrouver mes applications installées
Xubuntu 18.04 64 bits. Intel i3 - 2350M. RAM 8 go
Hors ligne
#58 Le 10/12/2018, à 19:01
- maxire
Re : [Résolu] Copie du /home sur autre installation
Panne de démarrage ?
Pourrais-tu être plus précis, au démarrage du système, de l'écran de connexion ou au démarrage de la session utilisateur ?
Je vois :
Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 23Nov2014]]
Une version de boot-repair de novembre 2014, cela semble bien ancien.
Arrives-tu à démarrer après réparation via boot-repair ?
Encore une fois tu nous donnes bien peu d'informations exploitables !
Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail
Hors ligne
#59 Le 10/12/2018, à 19:12
- Comstock
Re : [Résolu] Copie du /home sur autre installation
Ben je fournis ce que je peux fournir.... je ne sais pas ce qui est utile où ne l'est pas
C'est pas une envie de nuire de ma part, crois le bien.
Panne de démarrage = écran noir juste après le logo Toshiba.
Ayant Boot Repair sur une clé USB (qui m'a déjà ôté bien des épines du pied) dans le tiroir du bureau, je l'ai utilisé plutôt que de changer de disque dur....
Depuis, j'ai redémarré plusieurs fois sans souci, à part une certaine lenteur.
Et je reconfigure tout mon bazar.... J'en ai pour un sacré moment.
Xubuntu 18.04 64 bits. Intel i3 - 2350M. RAM 8 go
Hors ligne
#60 Le 10/12/2018, à 19:21
- maxire
Re : [Résolu] Copie du /home sur autre installation
C'est pas une envie de nuire de ma part, crois le bien.
Je n'ai jamais pensé que tu tentais de nuire à quoi que ce soit, ton message est tellement peu clair que nous ne savons pas si tu as besoin d'aide ou pas.
Manifestement tu arrives à démarrer sans problème maintenant donc boot-repair a fait son travail correctement.
Il aurait été intéressant de savoir pourquoi tu as obtenu un écran noir, c'est un peu tard maintenant.
Bonne reconfiguration !
Dernière modification par maxire (Le 10/12/2018, à 21:03)
Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail
Hors ligne
#61 Le 10/12/2018, à 19:26
- Comstock
Re : [Résolu] Copie du /home sur autre installation
Vous avez été sympa de m'aider lors de mon souci de copie de mon /home, il me semblait normal de vous donner un retour
Je vous remercie encore une fois, et je passe en résolu!
Bonne soirée
Xubuntu 18.04 64 bits. Intel i3 - 2350M. RAM 8 go
Hors ligne
#62 Le 10/12/2018, à 22:52
- moko138
Re : [Résolu] Copie du /home sur autre installation
Et je reconfigure tout mon bazar.... J'en ai pour un sacré moment.
Alors il n'y a pas que le démarrage qui a souffert.
Mais au fait, en #1 tu disais :
Afin de passer de Xub 16.04 à Xub 18.04, j'ai installé la nouvelle mouture sur un nouveau disque dur.
Alors une remarque, trois questions et une requête :
1) Tu as touché du doigt pourquoi on conseille généralement une installation fraîche plutôt que n'importe quelle bidouille.
2) Le problème de démarrage concerne-t-il la 16.04 du HD interne ou la 18.04 du DDE ?
3) Es-tu certain que ton écran noir ne comportait pas même un bref message du genre
kernel panic
?
4) Ta reconfiguration, concerne-t-elle la 16.04 du HD interne ou la 18.04 du DDE ?
5) Enfin pour voir ce qui a cloché ce matin,
peux-tu depuis le SE qui ne démarrait pas, et DDE branché,
(si c'est la 16.04 qui ne démarrait pas, surtout, tu ne brancheras le DDE-18.04 qu'une fois logué),
montrer déjà :
sudo zless /var/log/kern.log* | grep 000000\] | grep -E "vmlinuz|Initializing" | head ; echo ; sudo blkid
? Merci !
%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel : À la découverte de dcraw
Hors ligne
#63 Le 11/12/2018, à 12:14
- Comstock
Re : [Résolu] Copie du /home sur autre installation
Bonjour Moko!
-Le souci de démarrage a touché 18.04 remonté à l'intérieur de mon pc portable, en remplacement de celui hébergeant 16.04.
-J'ai aperçu "Kernel Panic" noyé au milieu d'un texte incompréhensible pour moi. Toutefois j'ai lancé Boot Repair suite à un écran entièrement noir.
-Ma reconfiguration porte sur 18.04 hébergé sur mon disque remonté à l'intérieur de mon pc portable, en remplacement de celui hébergeant 16.04.
Voici le retour de ce que tu m'as demandé depuis Xub 18.04, sans rien d'autre qui soit branché. (le disque contenant 16.04 est dans un carton à 3 m du pc! )
philippe@philippe-SATELLITE-PRO-L770-15L:~$ sudo zless /var/log/kern.log* | grep 000000\] | grep -E "vmlinuz|Initializing" | head ; echo ; sudo blkid
[sudo] Mot de passe de philippe :
Dec 9 15:18:16 philippe-SATELLITE-PRO-L770-15L kernel: [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-29-generic root=UUID=95830e14-cb06-454f-af94-20869fc80f44 ro quiet splash vt.handoff=1
Dec 9 15:18:16 philippe-SATELLITE-PRO-L770-15L kernel: [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-29-generic root=UUID=95830e14-cb06-454f-af94-20869fc80f44 ro quiet splash vt.handoff=1
Dec 9 20:14:11 philippe-SATELLITE-PRO-L770-15L kernel: [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-29-generic root=UUID=95830e14-cb06-454f-af94-20869fc80f44 ro quiet splash vt.handoff=1
Dec 9 20:14:11 philippe-SATELLITE-PRO-L770-15L kernel: [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-29-generic root=UUID=95830e14-cb06-454f-af94-20869fc80f44 ro quiet splash vt.handoff=1
Dec 10 10:30:08 philippe-SATELLITE-PRO-L770-15L kernel: [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-42-generic root=UUID=95830e14-cb06-454f-af94-20869fc80f44 ro quiet splash vt.handoff=1
Dec 10 10:30:08 philippe-SATELLITE-PRO-L770-15L kernel: [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-42-generic root=UUID=95830e14-cb06-454f-af94-20869fc80f44 ro quiet splash vt.handoff=1
Dec 10 13:05:21 philippe-SATELLITE-PRO-L770-15L kernel: [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-42-generic root=UUID=95830e14-cb06-454f-af94-20869fc80f44 ro quiet splash vt.handoff=1
Dec 10 13:05:21 philippe-SATELLITE-PRO-L770-15L kernel: [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-42-generic root=UUID=95830e14-cb06-454f-af94-20869fc80f44 ro quiet splash vt.handoff=1
Dec 10 13:16:25 philippe-SATELLITE-PRO-L770-15L kernel: [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-42-generic root=UUID=95830e14-cb06-454f-af94-20869fc80f44 ro quiet splash vt.handoff=1
Dec 10 13:16:25 philippe-SATELLITE-PRO-L770-15L kernel: [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-42-generic root=UUID=95830e14-cb06-454f-af94-20869fc80f44 ro quiet splash vt.handoff=1
/dev/sda1: LABEL="Xub 18" UUID="95830e14-cb06-454f-af94-20869fc80f44" TYPE="ext4" PTTYPE="dos" PARTUUID="897e236f-01"
/dev/sda2: UUID="c22c7cf7-41b8-4817-b796-1ab5d7b99dfd" TYPE="swap" PARTUUID="897e236f-02"
/dev/sda5: LABEL="DonnM-CM-)es 18" UUID="2694CFE646914C48" TYPE="ntfs" PARTUUID="897e236f-05"
philippe@philippe-SATELLITE-PRO-L770-15L:~$
Xubuntu 18.04 64 bits. Intel i3 - 2350M. RAM 8 go
Hors ligne
#64 Le 11/12/2018, à 13:47
- moko138
Re : [Résolu] Copie du /home sur autre installation
C'est donc, le démarrage du 10/12 à "10:30" qui a échoué. On pourrait explorer kern.log à partir de la ligne
Dec 10 10:30:08 philippe-SATELLITE-PRO-L770-15L kernel: [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-42-generic root=UUID=95830e14-cb06-454f-af94-20869fc80f44 ro quiet splash vt.handoff=1
Mais ce ne sera probablement pas nécessaire, parce que, a priori, tu as subi la "bombinette" décrite par malbo en ./viewtopic.php?id=440159&p=1.
Et il faut faire le nécessaire pour qu'elle ne se reproduise pas.
Faisons l'état des lieux, montre :
ls -l /dev/disk/by-id/
et
sudo debconf-show grub-pc | grep devices: || sudo debconf-show grub-pc
%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel : À la découverte de dcraw
Hors ligne
#65 Le 11/12/2018, à 13:53
- Comstock
Re : [Résolu] Copie du /home sur autre installation
Voici:
philippe@philippe-SATELLITE-PRO-L770-15L:~$ ls -l /dev/disk/by-id/
total 0
lrwxrwxrwx 1 root root 9 déc. 10 18:56 ata-TOSHIBA_MQ01ABD100_73TAS9NPS -> ../../sda
lrwxrwxrwx 1 root root 10 déc. 10 18:56 ata-TOSHIBA_MQ01ABD100_73TAS9NPS-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 déc. 10 18:56 ata-TOSHIBA_MQ01ABD100_73TAS9NPS-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 déc. 10 18:56 ata-TOSHIBA_MQ01ABD100_73TAS9NPS-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 déc. 10 18:56 ata-TOSHIBA_MQ01ABD100_73TAS9NPS-part5 -> ../../sda5
lrwxrwxrwx 1 root root 9 déc. 10 18:56 ata-TSSTcorp_CDDVDW_SN-208AB_R8QH6GGC100M8V -> ../../sr0
lrwxrwxrwx 1 root root 9 déc. 10 18:56 wwn-0x50000394e5a8c183 -> ../../sda
lrwxrwxrwx 1 root root 10 déc. 10 18:56 wwn-0x50000394e5a8c183-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 déc. 10 18:56 wwn-0x50000394e5a8c183-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 déc. 10 18:56 wwn-0x50000394e5a8c183-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 déc. 10 18:56 wwn-0x50000394e5a8c183-part5 -> ../../sda5
philippe@philippe-SATELLITE-PRO-L770-15L:~$
et:
philippe@philippe-SATELLITE-PRO-L770-15L:~$ sudo debconf-show grub-pc | grep devices: || sudo debconf-show grub-pc
[sudo] Mot de passe de philippe :
* grub-pc/install_devices: /dev/disk/by-id/ata-TOSHIBA_MQ01ABD100_73TAS9NPS, /dev/disk/by-id/ata-TOSHIBA_MQ01ABD100_73TAS9NPS-part1, /dev/disk/by-id/usb-TOSHIBA_TransMemory_683DD38310C4CDB15DA571C0-0:0
philippe@philippe-SATELLITE-PRO-L770-15L:~$
Xubuntu 18.04 64 bits. Intel i3 - 2350M. RAM 8 go
Hors ligne
#66 Le 11/12/2018, à 14:02
- maxire
Re : [Résolu] Copie du /home sur autre installation
La situation de ComSTock n'a rien à voir avec celle décrite par Malbo, ComStock n'utilise q'un disque interne sans Windows opérationnel au sens où os-prober ne détecte pas de Windows dans la partition logique ntfs.
ComStock a réussi au moins un démarrage de la 18.04 le 09/12 avec son disque en interne.
Je penche plutôt pour une mise à jour de noyau non arrivée à terme et provoquant un kernel panic car le 09/12 le kernel 4.15.0-29 fonctionne puis le 10/12 plantage avec le nouveau noyau 4.15.0-42.
Cela ne mange pas de pain de vérifier ce que tu demandes, à mon avis boot-repair a réglé le problème via un dpkg-reconfigure.
Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail
Hors ligne
#67 Le 11/12/2018, à 14:50
- moko138
Re : [Résolu] Copie du /home sur autre installation
Voilà, ton disque devenu interne est
/dev/disk/by-id/ata-TOSHIBA_MQ01ABD100_73TAS9NPS
Sur la ligne "* grub-pc/install_devices: ", il y a trois désignations de ton disque :
/dev/disk/by-id/ata-TOSHIBA_MQ01ABD100_73TAS9NPS,
/dev/disk/by-id/ata-TOSHIBA_MQ01ABD100_73TAS9NPS-part1,
/dev/disk/by-id/usb-TOSHIBA_TransMemory_683DD38310C4CDB15DA571C0-0:0
La première, vraisemblablement ajoutée par boot-repair, est correcte.
la seconde, qui cible une partition, est une erreur.
La troisième, qui cible un disque absent, est source d'erreur.
Pour y remédier, il te reste
à vérifier que ton disque a une table msdos
sudo parted -l | grep -Ei "dis|msdos|gpt"
et, si oui, à appliquer le tutoriel de malbo.
= =
maxire,
quand malbo parle de 2 S.E dont un windows, sur des disques différents, c'est un cas particulier.
Mais ce qu'il dit reste exact quand les deux S.E. sont des *buntu.
Or grub a été installé quand les deux disques étaient présents.
Donc ComSTock, pour moi, est dans le cas de figure décrit par malbo.
%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel : À la découverte de dcraw
Hors ligne
#68 Le 11/12/2018, à 15:15
- maxire
Re : [Résolu] Copie du /home sur autre installation
@moko,
Je n'ai pas spécialement envie de polémiquer autour d'un problème que je considère comme résolu, tu oublies que la 18.04 a démarré correctement au moins une fois avec le disque en interne.
Un kernel Panic arrive après chargement de l'image initiale Ubuntu donc Grub arrive à la charger ce qui implique que Grub a bien accès à la partition Ubuntu et est donc installé correctement.
Ce kernel Panic est plutôt dû à un raté dans la génération de l'image initiale Ubuntu et d'ailleurs malbo ne cite nulle part un kernel panic dans le fil que tu signales.
Juge de paix, le boot-info fourni par ComStock :
Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 23Nov2014]
============================= Boot Info Summary: ===============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos1)/boot/grub.
=> Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for /boot/grub and uses an embedded config file:
---------------------------------------------------------------------------
search.fs_uuid 95830e14-cb06-454f-af94-20869fc80f44 root hd0,msdos1
set prefix=($root)'/boot/grub'
---------------------------------------------------------------------------
sda1: __________________________________________________________________________
File system: ext4
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v2.00) is installed in the boot sector of sda1
and looks at sector 424386248 of the same hard drive
for core.img. core.img is at this location and looks
for (,msdos1)/boot/grub.
Operating System: Ubuntu 18.04.1 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab
/boot/grub/i386-pc/core.img
sda2: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda3: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: SYSLINUX 4.03 2010-10-22 ........>..sr>.......{{.9...0...~.....~...f...M.f.f....f..0~....>E}.u......
Boot sector info: Syslinux looks at sector 2503496 of /dev/sdb1 for its
second stage. SYSLINUX is installed in the directory.
No errors found in the Boot Parameter Block.
Operating System:
Boot files: /boot/grub/grub.cfg /syslinux.cfg /casper/vmlinuz.efi
/EFI/BOOT/grubx64.efi /ldlinux.sys
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
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 / 4096 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 2,048 546,818,047 546,816,000 83 Linux
/dev/sda2 546,818,048 567,298,047 20,480,000 82 Linux swap / Solaris
/dev/sda3 567,298,048 1,953,523,711 1,386,225,664 5 Extended
/dev/sda5 567,300,096 1,953,523,711 1,386,223,616 7 NTFS / exFAT / HPFS
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 3878 MB, 3878043648 bytes
255 heads, 63 sectors/track, 471 cylinders, total 7574304 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 * 2,048 7,574,303 7,572,256 c W95 FAT32 (LBA)
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 95830e14-cb06-454f-af94-20869fc80f44 ext4 Xub 18
/dev/sda2 c22c7cf7-41b8-4817-b796-1ab5d7b99dfd swap
/dev/sda5 2694CFE646914C48 ntfs Données 18
/dev/sdb1 0E51-2ABE vfat BOOT-REPAIR
/dev/zram0 96970dab-129d-4d01-ba8d-dfa4cca42c27 swap
/dev/zram1 34283223-35e3-47c4-8f77-03994a78bc6a swap
/dev/zram2 fd561fcb-b8d6-4399-a449-7cab9fd0f930 swap
/dev/zram3 ee7401c9-5957-46b5-9eae-1456d309793b swap
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Dec 10 09:26 ata-TOSHIBA_MQ01ABD100_73TAS9NPS -> ../../sda
lrwxrwxrwx 1 root root 10 Dec 10 09:09 ata-TOSHIBA_MQ01ABD100_73TAS9NPS-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dec 10 08:52 ata-TOSHIBA_MQ01ABD100_73TAS9NPS-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Dec 10 08:52 ata-TOSHIBA_MQ01ABD100_73TAS9NPS-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Dec 10 09:26 ata-TOSHIBA_MQ01ABD100_73TAS9NPS-part5 -> ../../sda5
lrwxrwxrwx 1 root root 9 Dec 10 08:52 ata-TSSTcorp_CDDVDW_SN-208AB_R8QH6GGC100M8V -> ../../sr0
lrwxrwxrwx 1 root root 9 Dec 10 09:09 usb-TOSHIBA_TransMemory_683DD38310C4CDB15DA571C0-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Dec 10 08:52 usb-TOSHIBA_TransMemory_683DD38310C4CDB15DA571C0-0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 9 Dec 10 09:26 wwn-0x50000394e5a8c183 -> ../../sda
lrwxrwxrwx 1 root root 10 Dec 10 09:09 wwn-0x50000394e5a8c183-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dec 10 08:52 wwn-0x50000394e5a8c183-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Dec 10 08:52 wwn-0x50000394e5a8c183-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Dec 10 09:26 wwn-0x50000394e5a8c183-part5 -> ../../sda5
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sdb1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
=========================== sda1/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_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 95830e14-cb06-454f-af94-20869fc80f44
else
search --no-floppy --fs-uuid --set=root 95830e14-cb06-454f-af94-20869fc80f44
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=hidden
set timeout=10
# Fallback hidden-timeout code in case the timeout_style feature is
# unavailable.
elif sleep --interruptible 10 ; then
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
### 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=1
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-95830e14-cb06-454f-af94-20869fc80f44' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 95830e14-cb06-454f-af94-20869fc80f44
else
search --no-floppy --fs-uuid --set=root 95830e14-cb06-454f-af94-20869fc80f44
fi
linux /boot/vmlinuz-4.15.0-42-generic root=UUID=95830e14-cb06-454f-af94-20869fc80f44 ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.15.0-42-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-95830e14-cb06-454f-af94-20869fc80f44' {
menuentry 'Ubuntu, with Linux 4.15.0-42-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-42-generic-advanced-95830e14-cb06-454f-af94-20869fc80f44' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 95830e14-cb06-454f-af94-20869fc80f44
else
search --no-floppy --fs-uuid --set=root 95830e14-cb06-454f-af94-20869fc80f44
fi
echo 'Loading Linux 4.15.0-42-generic ...'
linux /boot/vmlinuz-4.15.0-42-generic root=UUID=95830e14-cb06-454f-af94-20869fc80f44 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.15.0-42-generic
}
menuentry 'Ubuntu, with Linux 4.15.0-42-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-42-generic-recovery-95830e14-cb06-454f-af94-20869fc80f44' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 95830e14-cb06-454f-af94-20869fc80f44
else
search --no-floppy --fs-uuid --set=root 95830e14-cb06-454f-af94-20869fc80f44
fi
echo 'Loading Linux 4.15.0-42-generic ...'
linux /boot/vmlinuz-4.15.0-42-generic root=UUID=95830e14-cb06-454f-af94-20869fc80f44 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.15.0-42-generic
}
menuentry 'Ubuntu, with Linux 4.15.0-29-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-29-generic-advanced-95830e14-cb06-454f-af94-20869fc80f44' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 95830e14-cb06-454f-af94-20869fc80f44
else
search --no-floppy --fs-uuid --set=root 95830e14-cb06-454f-af94-20869fc80f44
fi
echo 'Loading Linux 4.15.0-29-generic ...'
linux /boot/vmlinuz-4.15.0-29-generic root=UUID=95830e14-cb06-454f-af94-20869fc80f44 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.15.0-29-generic
}
menuentry 'Ubuntu, with Linux 4.15.0-29-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-29-generic-recovery-95830e14-cb06-454f-af94-20869fc80f44' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 95830e14-cb06-454f-af94-20869fc80f44
else
search --no-floppy --fs-uuid --set=root 95830e14-cb06-454f-af94-20869fc80f44
fi
echo 'Loading Linux 4.15.0-29-generic ...'
linux /boot/vmlinuz-4.15.0-29-generic root=UUID=95830e14-cb06-454f-af94-20869fc80f44 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.15.0-29-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 ###
### 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 ###
--------------------------------------------------------------------------------
=============================== sda1/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/sda1 during installation
UUID=95830e14-cb06-454f-af94-20869fc80f44 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda2 during installation
UUID=c22c7cf7-41b8-4817-b796-1ab5d7b99dfd none swap sw 0 0
--------------------------------------------------------------------------------
=========================== sdb1/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
if loadfont /boot/grub/font.pf2 ; then
set gfxmode=auto
insmod efi_gop
insmod efi_uga
insmod gfxterm
terminal_output gfxterm
fi
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
menuentry "Boot-Repair-Disk session" {
set gfxpayload=keep
linux /casper/vmlinuz.efi file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash --
initrd /casper/initrd.lz
}
--------------------------------------------------------------------------------
============================== sdb1/syslinux.cfg: ==============================
--------------------------------------------------------------------------------
default menu.c32
prompt 0
menu title UNetbootin
timeout 100
label unetbootindefault
menu label Default
kernel /ubnkern
append initrd=/ubninit file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash --
label ubnentry0
menu label ^Help
kernel /ubnkern
append initrd=/ubninit
label ubnentry1
menu label ^64bit session
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash --
label ubnentry2
menu label ^64bit session (failsafe)
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz file=/cdrom/preseed/lubuntu.seed boot=casper noapic noapm nodma nomce nolapic nomodeset nosmp vga=normal --
label ubnentry3
menu label Boot-Repair-Disk session
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash --
--------------------------------------------------------------------------------
============== sdb1: Version of COM32(R) files used by Syslinux: ===============
menu.c32 : COM32R module (v4.xx)
=============================== StdErr Messages: ===============================
cat: write error: Broken pipe
cat: write error: Broken pipe
hexdump: u: bad byte count
/usr/share/boot-sav/bis.sh: line 1746: [: -eq: unary operator expected
cat: write error: Broken pipe
File descriptor 9 (/proc/26607/mounts) leaked on lvs invocation. Parent PID 8352: bash
File descriptor 63 (pipe:[53192]) leaked on lvs invocation. Parent PID 8352: bash
No volume groups found
ADDITIONAL INFORMATION :
=================== log of boot-repair 2018-12-10__09h02 ===================
boot-repair version : 4ppa14
boot-sav version : 4ppa14
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 4ppa14
File descriptor 9 (/proc/26607/mounts) leaked on lvs invocation. Parent PID 28129: /bin/sh
No volume groups found
boot-repair is executed in live-session (Boot-Repair-Disk 64bit 29nov2014, trusty, Ubuntu, x86_64)
ls: cannot access /home/usr/.config: No such file or directory
CPU op-mode(s): 32-bit, 64-bit
initrd=/ubninit file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash -- BOOT_IMAGE=/ubnkern
=================== os-prober:
/dev/sda1:Ubuntu 18.04.1 LTS (18.04):Ubuntu:linux
=================== blkid:
/dev/loop0: TYPE="squashfs"
/dev/sda1: LABEL="Xub 18" UUID="95830e14-cb06-454f-af94-20869fc80f44" TYPE="ext4"
/dev/sda2: UUID="c22c7cf7-41b8-4817-b796-1ab5d7b99dfd" TYPE="swap"
/dev/sda5: LABEL="DonnM-CM-)es 18" UUID="2694CFE646914C48" TYPE="ntfs"
/dev/sdb1: LABEL="BOOT-REPAIR" UUID="0E51-2ABE" TYPE="vfat"
/dev/zram0: UUID="96970dab-129d-4d01-ba8d-dfa4cca42c27" TYPE="swap"
/dev/zram1: UUID="34283223-35e3-47c4-8f77-03994a78bc6a" TYPE="swap"
/dev/zram2: UUID="fd561fcb-b8d6-4399-a449-7cab9fd0f930" TYPE="swap"
/dev/zram3: UUID="ee7401c9-5957-46b5-9eae-1456d309793b" TYPE="swap"
1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
=================== sda1/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Dec 9 20:31 grub.d
total 80
-rwxr-xr-x 1 root root 9783 Jul 17 18:13 00_header
-rwxr-xr-x 1 root root 6258 Jul 16 15:15 05_debian_theme
-rwxr-xr-x 1 root root 12693 Jul 17 18:13 10_linux
-rwxr-xr-x 1 root root 11298 Jul 17 18:13 20_linux_xen
-rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
-rwxr-xr-x 1 root root 12059 Jul 17 18:13 30_os-prober
-rwxr-xr-x 1 root root 1418 Jul 17 18:13 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Jul 17 18:13 40_custom
-rwxr-xr-x 1 root root 216 Jul 17 18:13 41_custom
-rw-r--r-- 1 root root 483 Jul 17 18:13 README
=================== sda1/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_TIMEOUT_STYLE=hidden
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"
=================== sda1recordfail=1/grub/grubenv :
recordfail=1
=================== UEFI/Legacy mode:
This live-session is not in EFI-mode.
SecureBoot maybe enabled.
=================== PARTITIONS & DISKS:
sda1 : sda, not-sepboot, grubenv-ng grub2, signed grub-pc , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, /mnt/boot-sav/sda1.
sda5 : sda, 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, farbios, /mnt/boot-sav/sda5.
sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
=================== parted -l:
Model: ATA TOSHIBA MQ01ABD1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 280GB 280GB primary ext4 boot
2 280GB 290GB 10.5GB primary linux-swap(v1)
3 290GB 1000GB 710GB extended
5 290GB 1000GB 710GB logical ntfs
Model: TOSHIBA TransMemory (scsi)
Disk /dev/sdb: 3878MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 3878MB 3877MB primary fat32 boot, lba
Error: /dev/zram0: unrecognised disk label
Error: /dev/zram1: unrecognised disk label
Error: /dev/zram2: unrecognised disk label
Error: /dev/zram3: unrecognised disk label
=================== parted -lm:
BYT;
/dev/sda:1000GB:scsi:512:4096:msdos:ATA TOSHIBA MQ01ABD1;
1:1049kB:280GB:280GB:ext4::boot;
2:280GB:290GB:10.5GB:linux-swap(v1)::;
3:290GB:1000GB:710GB:::;
5:290GB:1000GB:710GB:ntfs::;
BYT;
/dev/sdb:3878MB:scsi:512:512:msdos:TOSHIBA TransMemory;
1:1049kB:3878MB:3877MB:fat32::boot, lba;
Error: /dev/zram0: unrecognised disk label
Error: /dev/zram1: unrecognised disk label
Error: /dev/zram2: unrecognised disk label
Error: /dev/zram3: unrecognised disk label
=================== 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/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/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)
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=lubuntu)
/dev/sda1 on /mnt/boot-sav/sda1 type ext4 (rw)
/dev/sda5 on /mnt/boot-sav/sda5 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
=================== 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 sda2 sda3 sda5 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 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 hidraw3 hidraw4 hpet input kmsg kvm log mapper mcelog mei mem net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda5 sdb sdb1 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom usb vga_arbiter vhci vhost-net zero
ls /dev/mapper: control
=================== hexdump -n512 -C /dev/sda5
00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 50 d0 21 |........?....P.!|
00000020 00 00 00 00 80 00 80 00 ff 17 a0 52 00 00 00 00 |...........R....|
00000030 04 00 00 00 00 00 00 00 7f 01 2a 05 00 00 00 00 |..........*.....|
00000040 f6 00 00 00 01 00 00 00 48 4c 91 46 e6 cf 94 26 |........HL.F...&|
00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 d2 00 1e 83 ec |U.u.....u.......|
00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
000000d0 40 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |@.+.w......f#.u-|
000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
000000f0 68 07 bb 16 68 70 0e 16 68 09 00 66 53 66 53 66 |h...hp..h..fSfSf|
00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a e9 6a 01 |U...h..fa.....j.|
00000110 90 90 66 60 1e 06 66 a1 11 00 66 03 06 1c 00 1e |..f`..f...f.....|
00000120 66 68 00 00 00 00 66 50 06 53 68 01 00 68 10 00 |fh....fP.Sh..h..|
00000130 b4 42 8a 16 0e 00 16 1f 8b f4 cd 13 66 59 5b 5a |.B..........fY[Z|
00000140 66 59 66 59 1f 0f 82 16 00 66 ff 06 11 00 03 16 |fYfY.....f......|
00000150 0f 00 8e c2 ff 0e 16 00 75 bc 07 1f 66 61 c3 a0 |........u...fa..|
00000160 f8 01 e8 08 00 a0 fb 01 e8 02 00 eb fe b4 01 8b |................|
00000170 f0 ac 3c 00 74 09 b4 0e bb 07 00 cd 10 eb f2 c3 |..<.t...........|
00000180 0d 0a 41 20 64 69 73 6b 20 72 65 61 64 20 65 72 |..A disk read er|
00000190 72 6f 72 20 6f 63 63 75 72 72 65 64 00 0d 0a 42 |ror occurred...B|
000001a0 4f 4f 54 4d 47 52 20 69 73 20 6d 69 73 73 69 6e |OOTMGR is missin|
000001b0 67 00 0d 0a 42 4f 4f 54 4d 47 52 20 69 73 20 63 |g...BOOTMGR is c|
000001c0 6f 6d 70 72 65 73 73 65 64 00 0d 0a 50 72 65 73 |ompressed...Pres|
000001d0 73 20 43 74 72 6c 2b 41 6c 74 2b 44 65 6c 20 74 |s Ctrl+Alt+Del t|
000001e0 6f 20 72 65 73 74 61 72 74 0d 0a 00 00 00 00 00 |o restart.......|
000001f0 00 00 00 00 00 00 00 00 80 9d b2 ca 00 00 55 aa |..............U.|
00000200
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
/cow overlayfs 3.9G 32M 3.9G 1% /
udev devtmpfs 3.9G 12K 3.9G 1% /dev
tmpfs tmpfs 797M 1.3M 796M 1% /run
/dev/sdb1 vfat 3.7G 671M 3.0G 19% /cdrom
/dev/loop0 squashfs 549M 549M 0 100% /rofs
none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
tmpfs tmpfs 3.9G 8.0K 3.9G 1% /tmp
none tmpfs 5.0M 0 5.0M 0% /run/lock
none tmpfs 3.9G 0 3.9G 0% /run/shm
none tmpfs 100M 16K 100M 1% /run/user
/dev/sda1 ext4 257G 150G 94G 62% /mnt/boot-sav/sda1
/dev/sda5 fuseblk 662G 86M 661G 1% /mnt/boot-sav/sda5
=================== 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 / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x897e236f
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 546818047 273408000 83 Linux
/dev/sda2 546818048 567298047 10240000 82 Linux swap / Solaris
/dev/sda3 567298048 1953523711 693112832 5 Extended
/dev/sda5 567300096 1953523711 693111808 7 HPFS/NTFS/exFAT
Disk /dev/sdb: 3878 MB, 3878043648 bytes
255 heads, 63 sectors/track, 471 cylinders, total 7574304 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: 0x00145ca5
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 7574303 3786128 c W95 FAT32 (LBA)
=================== Recommended repair
The default repair of the Boot-Repair utility will purge (in order to) and reinstall the grub2 of sda1 into the MBR of sda.
Additional repair will be performed: unhide-bootmenu-10s
chroot /mnt/boot-sav/sda1 apt-get -y --force-yes update
Error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PackageKit was not provided by any .service files
W: --force-yes is deprecated, use one of the options starting with --allow instead.
Purge the GRUB of sda1
grub-pc available
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 4 not upgraded.
W: --force-yes is deprecated, use one of the options starting with --allow instead.
DEBCHECK debOK, grub-pc
DEBCHECK debOK
shim-signed available
linux-signed-generic available
Please type: sudo chroot "/mnt/boot-sav/sda1" dpkg --configure -ansudo chroot "/mnt/boot-sav/sda1" apt-get install -fynsudo chroot "/mnt/boot-sav/sda1" apt-get purge -y --force-yes grub*-common shim-signed linux-signed*
=================== sda1/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Dec 10 09:04 grub.d
total 4
-rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
Then type: sudo chroot "/mnt/boot-sav/sda1" apt-get install -y --force-yes grub-pc linux-generic
=================== sda1/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Dec 10 09:05 grub.d
drwxr-xr-x 2 root root 4096 Dec 10 09:04 grub.d.bak
total 76
-rwxr-xr-x 1 root root 9783 Nov 8 15:53 00_header
-rwxr-xr-x 1 root root 6258 Jul 13 13:21 05_debian_theme
-rwxr-xr-x 1 root root 12693 Nov 8 15:53 10_linux
-rwxr-xr-x 1 root root 11298 Nov 8 15:53 20_linux_xen
-rwxr-xr-x 1 root root 12059 Nov 8 15:53 30_os-prober
-rwxr-xr-x 1 root root 1418 Nov 8 15:53 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Nov 8 15:53 40_custom
-rwxr-xr-x 1 root root 216 Nov 8 15:53 41_custom
-rw-r--r-- 1 root root 483 Nov 8 15:53 README
=================== sda1/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_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
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 sda1/etc/default/grub
=================== sda1/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Dec 10 09:05 grub.d
drwxr-xr-x 2 root root 4096 Dec 10 09:04 grub.d.bak
total 76
-rwxr-xr-x 1 root root 9783 Nov 8 15:53 00_header
-rwxr-xr-x 1 root root 6258 Jul 13 13:21 05_debian_theme
-rwxr-xr-x 1 root root 12693 Nov 8 15:53 10_linux
-rwxr-xr-x 1 root root 11298 Nov 8 15:53 20_linux_xen
-rwxr-xr-x 1 root root 12059 Nov 8 15:53 30_os-prober
-rwxr-xr-x 1 root root 1418 Nov 8 15:53 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Nov 8 15:53 40_custom
-rwxr-xr-x 1 root root 216 Nov 8 15:53 41_custom
-rw-r--r-- 1 root root 483 Nov 8 15:53 README
=================== sda1/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_TIMEOUT_STYLE=hidden
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"
lspci: Unable to load libkmod resources: error -12
*******lspci -nnk | grep -iA3 vga
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GT218M [GeForce 315M] [10de:0a7a] (rev a2)
Subsystem: Toshiba America Info Systems GeForce 315M [1179:fc61]
Kernel driver in use: nouveau
01:00.1 Audio device [0403]: NVIDIA Corporation High Definition Audio Controller [10de:0be3] (rev a1)
*******
grub-install --version
grub-install (GRUB) 2.02-2ubuntu8.9,grub-install (GRUB) 2.
Reinstall the GRUB of sda1 into the MBR of sda
Installing for i386-pc platform.
grub-install: warning: Sector 32 is already in use by the program `FlexNet'; avoiding it. This software may cause boot or other problems in future. Please ask its authors not to store data in the boot track.
grub-install: warning: Sector 33 is already in use by the program `FlexNet'; avoiding it. This software may cause boot or other problems in future. Please ask its authors not to store data in the boot track.
Installation finished. No error reported.
grub-install /dev/sda: exit code of grub-install /dev/sda:0
FlexNet detected. Please backup your data before this operation. Do you want to continue? yes
dd if=/dev/sda of=/var/log/boot-sav/log/2018-12-10__09h02boot-repair19/sda/before_wiping.img bs=512 count=2047 seek=1
2047+0 records in
2047+0 records out
WIPE sda : 2047 sectors * 512 bytes
dd if=/dev/zero of=/dev/sda bs=512 count=2047 seek=1
2047+0 records in
2047+0 records out
Installing for i386-pc platform.
Installation finished. No error reported.
grub-install /dev/sda: exit code of grub-install /dev/sda:0
chroot /mnt/boot-sav/sda1 update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.15.0-42-generic
Found initrd image: /boot/initrd.img-4.15.0-42-generic
Found linux image: /boot/vmlinuz-4.15.0-29-generic
Found initrd image: /boot/initrd.img-4.15.0-29-generic
Unhide GRUB boot menu in sda1/boot/grub/grub.cfg
Boot successfully repaired.
You can now reboot your computer.
Download as text
Le Grub est parfait et est bien installé dans le mbr du disque interne !!
Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail
Hors ligne
#69 Le 11/12/2018, à 15:38
- Comstock
Re : [Résolu] Copie du /home sur autre installation
hum...
Résultat de la commande:
philippe@philippe-SATELLITE-PRO-L770-15L:~$ sudo parted -l | grep -Ei "dis|msdos|gpt"
[sudo] Mot de passe de philippe :
Disque /dev/sda : 1000GB
Table de partitions : msdos
Disk Flags:
philippe@philippe-SATELLITE-PRO-L770-15L:~$
C'est bon, du coup?
Xubuntu 18.04 64 bits. Intel i3 - 2350M. RAM 8 go
Hors ligne
#70 Le 11/12/2018, à 16:02
- maxire
Re : [Résolu] Copie du /home sur autre installation
Tu arrives à démarrer le pc donc pas de problème pour moi !
Remarque :
/dev/disk/by-id/ata-TOSHIBA_MQ01ABD100_73TAS9NPS,
/dev/disk/by-id/ata-TOSHIBA_MQ01ABD100_73TAS9NPS-part1, ===> Sans doute boot-repair
/dev/disk/by-id/usb-TOSHIBA_TransMemory_683DD38310C4CDB15DA571C0-0:0 ===> périphérique USB
Je crois me souvenir que boot-repair touche le mbr ainsi que le vbr de la partition hébergeant Ubuntu, le boot-info avant boot-repair ne détecte pas de grub dans le vbr de /dev/sda1.
Dernière modification par maxire (Le 11/12/2018, à 16:24)
Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail
Hors ligne