#1 Le 12/06/2015, à 17:19
- Philippe26
[Résolu] Boot impossible suite migration vers Ubuntustudio 14.04 LTS
Bonjour,
ceci constituant mon 1er message je vous remercie par avance de votre patience.
Je dispose d un ordinateur de bureau equipe de 2 disques durs de 500 Gb. Suite a l insallation de Ubuntustudio 14.04 LTS sur un de ces 2 disques durs -vierge- le boot est impossible et je n accede plus au GRUB mais uniquement au Shell EFI.
De plus mon clavier est passe en QWERTY.
Merci donc de me pardonner les fautes de frappe...
Je vous ecris en fait a partir d un boot direct sur Ubuntu studio 14.04 LTS par DVD.
Mes problemes prioritaires sont donc
1. Repasser en AZERTY lors de l utilisation du DVD
2. Pouvoir booter sur un de mes 2 disques
Je vous remercie par avance de votre aide eventuelle.
Dernière modification par Philippe26 (Le 16/06/2015, à 08:54)
Hors ligne
#2 Le 12/06/2015, à 18:12
- malbo
Re : [Résolu] Boot impossible suite migration vers Ubuntustudio 14.04 LTS
Dans le titre, il est question de migration : c'est une migration depuis une version précédente de Ubuntu studio ou quoi ?
Peux-tu indiquer le nom complet du modèle de ton ordi et son fabricant ?
Ce serait utile que tu fasses un Boot-Info et que tu donnes l'URL de ce Boot-Info dans ta réponse.
Hors ligne
#3 Le 12/06/2015, à 19:10
- Philippe26
Re : [Résolu] Boot impossible suite migration vers Ubuntustudio 14.04 LTS
Bonjour Malbo
je te remercie pour ta reponse.
J ai monte mon ordi il y a 2 ans.
Carte mere FM2-A55M-E33 Processeur AMD A4-400 APU avec Radeon HD Graphics 2994 MHz
RAM 3,2 Gb Deux disques durs Seagate ST500 500 Gb
Pendant 1 an j ai travaille avec une installation de Ubuntu LXDE 12.04 sur un premier disque dur
Mais il y a 1 an une mise a niveau vers une version 14.04 a pose de gros problemes que je n ai pu resoudre.
J ai donc installe une version 12.04 dans une nouvelle partition de mon premier disque dur.
J ai travaille avec depuis 1 an.
Il y a une semaine j ai voulu installe une version Ubuntustudio 14.04 LTS sur mon second disque dur.
Et la dur dur...
J ai deja essaye d obtenir un Boot Info mais je n y arrive pas car il m est impossible d installer Sysinfo .
Message suivant "Impossible d ouvrir et de verouiller le fichier verrou '/var/lib/dpkg/lock-open"
Merci encore de ton aide...
Hors ligne
#4 Le 13/06/2015, à 06:10
- malbo
Re : [Résolu] Boot impossible suite migration vers Ubuntustudio 14.04 LTS
Tu peux faire le Boot-Info depuis une session live comme indiqué dans la doc :
démarrez votre ordinateur sur un DVD ou liveUSB Ubuntu, et choisissez Essayer Ubuntu lorsque l'utilisation d'un vrai ubuntu n'est pas possible.
Hors ligne
#5 Le 13/06/2015, à 09:30
- Philippe26
Re : [Résolu] Boot impossible suite migration vers Ubuntustudio 14.04 LTS
Merci Malbo
excuse moi : je crois que je confondais Sysinfo et Bootinfo...
Pour ce qui est de Bootinfo sur session live DVD je l avais deja fait selon la methode de la documentation avec les resultats suivants :
Message obtenu : gksudo : 4552 GConf-CRITICAL ** : gconf_value_free : assertion 'value !=NULL' failed
Puis ouverture de la fenetre suivante : Scanning system. This may require several minutes... qui reste bloquee au bout d un moment
Pas tres bon non ?
Hors ligne
#6 Le 14/06/2015, à 06:43
- malbo
Re : [Résolu] Boot impossible suite migration vers Ubuntustudio 14.04 LTS
Enlève un des deux disques durs et retente le Boot-Info. Si ça marche, note l'URL de ce Boot-Info.
Remets ce disque et enlève l'autre et retente le Boot-Info. Si ça marche, note l'URL de ce Boot-Info.
Remets en état d'origine (les deux disques en place) et refais un Boot-Info. Si ça marche note l'URL de ce Boot-Info.
Raconte tout ça dans ta réponse en donnant les URL relevés.
Hors ligne
#7 Le 14/06/2015, à 16:04
- Philippe26
Re : [Résolu] Boot impossible suite migration vers Ubuntustudio 14.04 LTS
Merci Malbo pour la procédure, voici mon rapport...
****************************************************************************************
1. Boot avec un seul disque (disque n° 1) sur SATA1
Ensuite j'installe et lance boot-info...
Message obtenu : gksudo : 4369 GConf-CRITICAL ** : gconf_value_free : assertion 'value !=NULL' failed
Puis ouverture de la fenetre suivante : Scanning system. This may require several minutes... qui reste bloquée au bout d'un moment
2. Boot avec un seul disque (disque n° 2) sur SATA3
Un menu "Choix de langue" apparait ; je choisis français.
Le clavier est repassé en AZERTY.
Ensuite j'installe et lance boot-info...
Message obtenu : gksudo : 4333 GConf-CRITICAL ** : gconf_value_free : assertion 'value !=NULL' failed
Puis ouverture de la fenêtre suivante : Scanning system. This may require several minutes... qui aboutit au choix rapport local ou en ligne. Le rapport en ligne a été généré sous l'URL http://paste.ubuntu.com/11712682/
3. Boot avec les deux disques (disques n° 1 et n° 2) sur SATA1 et SATA3
Le GRUB reapparait avec toutes les options.
Je choisis Linux 3.2.0-67 generic (correspond à une version LXDE de Ubuntu 14.04)
L'écran est noir mais j'ai la flèche de la souris ce qui me permet de travailler en ouvrant PCManFM.
Je lance boot-info qui me demande un mot de passe puis s'ouvre la fenêtre "Détection des systèmes. Cela peut prendre plusieurs minutes..." qui bloque.
******************************************
Voilà où j'en suis.
Merci Malbo pour ton aide car du coup j'ai pu accéder à ma boîte mail.
Cela progresse!
Hors ligne
#8 Le 14/06/2015, à 18:13
- malbo
Re : [Résolu] Boot impossible suite migration vers Ubuntustudio 14.04 LTS
Voici le Boot-Info dont tu as donné l'URL : http://paste.ubuntu.com/11712682/ :
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.
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 704944160 of the same hard drive
for core.img. core.img is at this location and looks
for (,gpt1)/boot/grub.
Operating System: Ubuntu 14.04.2 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:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 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 976,773,167 976,773,167 ee GPT
GUID Partition Table detected.
Partition Start Sector End Sector # of Sectors System
/dev/sda1 2,048 964,485,119 964,483,072 Data partition (Linux)
/dev/sda2 964,485,120 976,773,119 12,288,000 Swap partition (Linux)
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 0fe549c1-8c0a-4aa5-904e-0f44e5226087 ext4
/dev/sda2 ce8ae388-ce5f-4a61-9959-ddfd67d3f5d1 swap
/dev/sr0 iso9660 Ubuntu-Studio 14.04.2 LTS amd64
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Jun 14 07:47 ata-HL-DT-ST_BD-RE_BH16NS40_K99D37D2704 -> ../../sr0
lrwxrwxrwx 1 root root 9 Jun 14 07:53 ata-ST500DM002-1BD142_W3T9J8X6 -> ../../sda
lrwxrwxrwx 1 root root 10 Jun 14 07:47 ata-ST500DM002-1BD142_W3T9J8X6-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jun 14 07:47 ata-ST500DM002-1BD142_W3T9J8X6-part2 -> ../../sda2
lrwxrwxrwx 1 root root 9 Jun 14 07:47 usb-Generic_STORAGE_DEVICE_000000000902-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 9 Jun 14 07:53 wwn-0x5000c50077f6980c -> ../../sda
lrwxrwxrwx 1 root root 10 Jun 14 07:47 wwn-0x5000c50077f6980c-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jun 14 07:47 wwn-0x5000c50077f6980c-part2 -> ../../sda2
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sr0 /cdrom iso9660 (ro,noatime)
=========================== 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_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 0fe549c1-8c0a-4aa5-904e-0f44e5226087
else
search --no-floppy --fs-uuid --set=root 0fe549c1-8c0a-4aa5-904e-0f44e5226087
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=fr_FR
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=-1
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
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/09_lowlatency ###
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 (lowlatency)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-0fe549c1-8c0a-4aa5-904e-0f44e5226087' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 0fe549c1-8c0a-4aa5-904e-0f44e5226087
else
search --no-floppy --fs-uuid --set=root 0fe549c1-8c0a-4aa5-904e-0f44e5226087
fi
linux /boot/vmlinuz-3.16.0-30-lowlatency root=UUID=0fe549c1-8c0a-4aa5-904e-0f44e5226087 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.16.0-30-lowlatency
}
### END /etc/grub.d/09_lowlatency ###
### 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-0fe549c1-8c0a-4aa5-904e-0f44e5226087' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 0fe549c1-8c0a-4aa5-904e-0f44e5226087
else
search --no-floppy --fs-uuid --set=root 0fe549c1-8c0a-4aa5-904e-0f44e5226087
fi
linux /boot/vmlinuz-3.16.0-30-lowlatency root=UUID=0fe549c1-8c0a-4aa5-904e-0f44e5226087 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.16.0-30-lowlatency
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-0fe549c1-8c0a-4aa5-904e-0f44e5226087' {
menuentry 'Ubuntu, avec Linux 3.16.0-30-lowlatency' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-30-lowlatency-advanced-0fe549c1-8c0a-4aa5-904e-0f44e5226087' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 0fe549c1-8c0a-4aa5-904e-0f44e5226087
else
search --no-floppy --fs-uuid --set=root 0fe549c1-8c0a-4aa5-904e-0f44e5226087
fi
echo 'Chargement de Linux 3.16.0-30-lowlatency…'
linux /boot/vmlinuz-3.16.0-30-lowlatency root=UUID=0fe549c1-8c0a-4aa5-904e-0f44e5226087 ro quiet splash $vt_handoff
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-3.16.0-30-lowlatency
}
menuentry 'Ubuntu, with Linux 3.16.0-30-lowlatency (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-30-lowlatency-recovery-0fe549c1-8c0a-4aa5-904e-0f44e5226087' {
recordfail
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 0fe549c1-8c0a-4aa5-904e-0f44e5226087
else
search --no-floppy --fs-uuid --set=root 0fe549c1-8c0a-4aa5-904e-0f44e5226087
fi
echo 'Chargement de Linux 3.16.0-30-lowlatency…'
linux /boot/vmlinuz-3.16.0-30-lowlatency root=UUID=0fe549c1-8c0a-4aa5-904e-0f44e5226087 ro recovery nomodeset
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-3.16.0-30-lowlatency
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Memory test (memtest86+)' {
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 0fe549c1-8c0a-4aa5-904e-0f44e5226087
else
search --no-floppy --fs-uuid --set=root 0fe549c1-8c0a-4aa5-904e-0f44e5226087
fi
knetbsd /boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 0fe549c1-8c0a-4aa5-904e-0f44e5226087
else
search --no-floppy --fs-uuid --set=root 0fe549c1-8c0a-4aa5-904e-0f44e5226087
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### 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/sdb1 during installation
UUID=0fe549c1-8c0a-4aa5-904e-0f44e5226087 / ext4 errors=remount-ro 0 1
# swap was on /dev/sdb2 during installation
UUID=ce8ae388-ce5f-4a61-9959-ddfd67d3f5d1 none swap sw 0 0
--------------------------------------------------------------------------------
========= Devices which don't seem to have a corresponding hard drive: =========
sdb
=============================== StdErr Messages: ===============================
hexdump: u: bad byte count
/usr/share/boot-sav/b-i-s.sh: line 1746: [: -eq: unary operator expected
cat: write error: Broken pipe
File descriptor 9 (/proc/4340/mounts) leaked on lvs invocation. Parent PID 10252: bash
File descriptor 63 (pipe:[49384]) leaked on lvs invocation. Parent PID 10252: bash
No volume groups found
ADDITIONAL INFORMATION :
=================== log of boot-info 2015-06-14__07h53 ===================
boot-info version : 4ppa33
boot-sav version : 4ppa33
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 4ppa33
boot-info is executed in live-session (Ubuntu 14.04.2 LTS, trusty, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
file=/cdrom/preseed/ubuntustudio.seed boot=casper initrd=/casper/initrd.lz quiet splash -- debian-installer/language=fr keyboard-configuration/layoutcode?=fr keyboard-configuration/variantcode?=oss
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.
=================== os-prober:
/dev/sda1:Ubuntu 14.04.2 LTS (14.04):Ubuntu:linux
=================== blkid:
/dev/loop0: TYPE="squashfs"
/dev/sr0: LABEL="Ubuntu-Studio 14.04.2 LTS amd64" TYPE="iso9660"
/dev/sda1: UUID="0fe549c1-8c0a-4aa5-904e-0f44e5226087" TYPE="ext4"
/dev/sda2: UUID="ce8ae388-ce5f-4a61-9959-ddfd67d3f5d1" TYPE="swap"
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/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
=================== sda1/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 févr. 18 19:44 grub.d
total 88
-rwxr-xr-x 1 root root 9424 mai 15 2014 00_header
-rwxr-xr-x 1 root root 6058 mai 8 2014 05_debian_theme
-rwxr-xr-x 1 root root 9921 avril 9 2014 09_lowlatency
-rwxr-xr-x 1 root root 11608 mai 15 2014 10_linux
-rwxr-xr-x 1 root root 10412 mai 15 2014 20_linux_xen
-rwxr-xr-x 1 root root 1992 mars 12 2014 20_memtest86+
-rwxr-xr-x 1 root root 11692 mai 15 2014 30_os-prober
-rwxr-xr-x 1 root root 1416 mai 15 2014 30_uefi-firmware
-rwxr-xr-x 1 root root 214 mai 15 2014 40_custom
-rwxr-xr-x 1 root root 216 mai 15 2014 41_custom
-rw-r--r-- 1 root root 483 mai 15 2014 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_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"
=================== UEFI/Legacy mode:
This live-session is not in EFI-mode.
SecureBoot maybe enabled.
=================== PARTITIONS & DISKS:
sda1 : sda, not-sepboot, grubenv-ok grub2, 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.
sda : GPT, no-BIOS_boot, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
=================== parted -l:
Model: ATA ST500DM002-1BD14 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1049kB 494GB 494GB ext4
2 494GB 500GB 6291MB linux-swap(v1)
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
Error: Can't have a partition outside the disk!
=================== parted -lm:
BYT;
/dev/sda:500GB:scsi:512:4096:gpt:ATA ST500DM002-1BD14;
1:1049kB:494GB:494GB:ext4::;
2:494GB:500GB:6291MB:linux-swap(v1)::;
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
Error: Can't have a partition outside the disk!
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL MODEL UUID
sda disk 465,8G ST500DM0
sda1 part ext4 459,9G 0fe549c1-8c0a-4aa5-904e-0f44e5226087
sda2 part swap 5,9G ce8ae388-ce5f-4a61-9959-ddfd67d3f5d1
sr0 rom iso9660 2,6G Ubuntu-Studio 14.04.2 LTS amd64
BD-RE B
loop0 loop squashfs 2G
KNAME ROTA RO RM STATE MOUNTPOINT
sda 1 0 0 running
sda1 1 0 0 /mnt/boot-sav/sda1
sda2 1 0 0 [SWAP]
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)
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-studio)
/dev/sda1 on /mnt/boot-sav/sda1 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 sda2 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 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): adsp autofs block bsg btrfs-control bus cdrom char console core cpu cpu_dma_latency cuse disk dri dsp ecryptfs fb0 fd full fuse hidraw0 hidraw1 hidraw2 hpet input kmsg kvm log mapper mcelog mem mixer net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sdb sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom usb vfio vga_arbiter vhci vhost-net zero
ls /dev/mapper: control
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
/cow overlayfs 1.6G 205M 1.4G 14% /
udev devtmpfs 1.5G 12K 1.5G 1% /dev
tmpfs tmpfs 309M 1.3M 308M 1% /run
/dev/sr0 iso9660 2.6G 2.6G 0 100% /cdrom
/dev/loop0 squashfs 2.0G 2.0G 0 100% /rofs
none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
tmpfs tmpfs 1.6G 12K 1.6G 1% /tmp
none tmpfs 5.0M 0 5.0M 0% /run/lock
none tmpfs 1.6G 80K 1.6G 1% /run/shm
none tmpfs 100M 24K 100M 1% /run/user
/dev/sda1 ext4 453G 6.2G 424G 2% /mnt/boot-sav/sda1
=================== fdisk -l:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 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 976773167 488386583+ ee GPT
Partition 1 does not start on physical sector boundary.
(debug) reinstall grub2 place-in-MBR no-BIOS_boot (sda1)
Partition outside the disk détecté.
=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub2 of sda1 into the MBR of sda.
Additional repair would be performed: unhide-bootmenu-10s
=================== Blockers in case of suggested repair
GPT détecté. Veuillez créer une partition BIOS-Boot (>1MB, système de fichiers non formaté, drapeau bios_grub). Cela peut être réalisé via des outils tels que Gparted. Puis réessayez.
=================== User settings
The settings chosen by the user will not act on the boot.
On y voit que tu t'es planté au moment de l'installation : tu as demandé que Grub soit installé dans le secteur de Boot de la première partition alors qu'il fallait demander l'installation de Grub dans le MBR du disque dur. Je te suggère donc de refaire la manip 2. Boot avec un seul disque (disque n° 2) sur SATA3 sauf que cette fois, tu feras feras la réparation recommandée de Boot-Repair. Ce que ça va donner est présenté dans ton Boot-Info dans cette partie :
=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub2 of sda1 into the MBR of sda.
Additional repair would be performed: unhide-bootmenu-10s
C'est exactement ce qu'il convient de faire.
Hors ligne
#9 Le 14/06/2015, à 20:13
- Philippe26
Re : [Résolu] Boot impossible suite migration vers Ubuntustudio 14.04 LTS
J'ai essayé ce qui précède mais Boot-repair me répond ceci :
Attention! GPT detecté. Veuillez créer une partition Bios-Boot (> 1 Mb, système de fichiers non formaté, drapeau bios-grub). Cela peut être réalisé via des outils tels que GParted. Puis réessayez.
Tout cela est d'ailleurs bien logique car tu remarqueras la mention suivante à la fin du rapport Boot-info cité précédemment sous l'URL http://paste.ubuntu.com/11712682/ :
============= Blockers in case of suggested repair
GPT détecté. Veuillez créer une partition BIOS-Boot (> 1 Mb, système de fichiers non formaté, drapeau bios-grub). Cela peut être réalisé via des outils tels que GParted. Puis réessayez
Bref, ne me serais-je pas trompé également sur le choix d'un partitionnement GPT ?
Ce qui me laisse à penser qu'il me serait peut-être plus simple de refaire entièrement mon installation de Ubuntustudio sur le disque 2, d'autant que je n'y ai mis aucune données personnelles. Qu'en penses-tu ?
Merci encore de ta disponibilité et de ton aide Malbo!
Hors ligne
#10 Le 15/06/2015, à 07:28
- malbo
Re : [Résolu] Boot impossible suite migration vers Ubuntustudio 14.04 LTS
Oups ! je n'avais pas fait attention à GPT. Tu peux faire ce qui est proposé depuis une session live de Ubuntu en lançant Gparted (l'éditeur de partition). Tu devras certainement démonter la partition swap afin de pouvoir agir sur le partitionnement. Ensuite, il faudra diminuer de 1 Mo la taille de ta partition sda1(voir Redimensionnement d'une partition) puis créer une nouvelle partition de 1 Mo (voir Création d'une nouvelle partition) dans la place ainsi libérée pour la partition Bios-Boot. Cette partition est sans format et doit posséder un drapeau bios_grub (voir Gérer les drapeaux de partition, dans la note pour une table de partition « gpt). Après cela, tu devrais pourvoir enfin réussir à faire la réparation recommandée de Boot-Repair...
Toutefois, si tu patauges pour faire ça ou si ça te parait bien compliqué à priori, tu peux aussi décider de faire une nouvelle installation qui écrasera tout ce qu'il y a sur ce disque.
Dernière modification par malbo (Le 15/06/2015, à 07:33)
Hors ligne
#11 Le 15/06/2015, à 09:45
- Philippe26
Re : [Résolu] Boot impossible suite migration vers Ubuntustudio 14.04 LTS
Bonjour Malbo,
j'ai fait les manipulations que tu m'as conseillé avec GParted pour crééer une partition bios-grub sur le disque 2, puis j'ai exécuté boot-repair.
Message de boot-repair : Démarrage correctement réparé
Si je comprends bien il a réinstallé le grub 2 dans la partition de 1 MB signalée par le drapeau bios_grub. Est-ce bien cela ?
Voici l'URL du rapport boot-info généré : http//paste.ubuntu.com/11718113
En tout cas j'arrive maintenant à booter sur Ubuntu studio du disque 2 sans problème, indépendamment du fait que le disque 1 soit branché.
J'obtiens un GRUB 2.02 m'offrant comme choix principaux :
1. Ubuntu (low latency)
2. Ubuntu
Questions
a/ A quoi correspond précisément le choix "low latency" ?
b/ Dois-je faire les mises à jour de la version 14.04 ?
Merci encore de ton aide bien efficace.
Bonne journée à toi!
Hors ligne
#12 Le 15/06/2015, à 13:29
- malbo
Re : [Résolu] Boot impossible suite migration vers Ubuntustudio 14.04 LTS
Ton dernier Boot-Info est là :
Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 9Feb2015]
============================= Boot Info Summary: ===============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector
964483072 of the same hard drive for core.img. core.img is at this
location and looks for (,gpt1)/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 704944160 of the same hard drive
for core.img. core.img is at this location and looks
for (,gpt1)/boot/grub.
Operating System: Ubuntu 14.04.2 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: BIOS Boot partition
Boot sector type: Grub2's core.img
Boot sector info:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 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 976,773,167 976,773,167 ee GPT
GUID Partition Table detected.
Partition Start Sector End Sector # of Sectors System
/dev/sda1 2,048 964,483,071 964,481,024 Data partition (Linux)
/dev/sda2 964,485,120 976,773,119 12,288,000 Swap partition (Linux)
/dev/sda3 964,483,072 964,485,119 2,048 BIOS Boot partition
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 0fe549c1-8c0a-4aa5-904e-0f44e5226087 ext4
/dev/sda2 ce8ae388-ce5f-4a61-9959-ddfd67d3f5d1 swap
/dev/sr0 iso9660 Ubuntu-Studio 14.04.2 LTS amd64
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Jun 15 06:41 ata-HL-DT-ST_BD-RE_BH16NS40_K99D37D2704 -> ../../sr0
lrwxrwxrwx 1 root root 9 Jun 15 07:11 ata-ST500DM002-1BD142_W3T9J8X6 -> ../../sda
lrwxrwxrwx 1 root root 10 Jun 15 06:55 ata-ST500DM002-1BD142_W3T9J8X6-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jun 15 06:41 ata-ST500DM002-1BD142_W3T9J8X6-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jun 15 06:59 ata-ST500DM002-1BD142_W3T9J8X6-part3 -> ../../sda3
lrwxrwxrwx 1 root root 9 Jun 15 06:41 usb-Generic_STORAGE_DEVICE_000000000902-0:0 -> ../../sdc
lrwxrwxrwx 1 root root 9 Jun 15 06:42 usb-HP_Photosmart_Prem_CN0CO213P105KM-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 9 Jun 15 07:11 wwn-0x5000c50077f6980c -> ../../sda
lrwxrwxrwx 1 root root 10 Jun 15 06:55 wwn-0x5000c50077f6980c-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jun 15 06:41 wwn-0x5000c50077f6980c-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jun 15 06:59 wwn-0x5000c50077f6980c-part3 -> ../../sda3
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sr0 /cdrom iso9660 (ro,noatime)
=========================== 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_gpt
insmod ext2
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 0fe549c1-8c0a-4aa5-904e-0f44e5226087
else
search --no-floppy --fs-uuid --set=root 0fe549c1-8c0a-4aa5-904e-0f44e5226087
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=fr_FR
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
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/09_lowlatency ###
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 (lowlatency)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-0fe549c1-8c0a-4aa5-904e-0f44e5226087' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 0fe549c1-8c0a-4aa5-904e-0f44e5226087
else
search --no-floppy --fs-uuid --set=root 0fe549c1-8c0a-4aa5-904e-0f44e5226087
fi
linux /boot/vmlinuz-3.16.0-30-lowlatency root=UUID=0fe549c1-8c0a-4aa5-904e-0f44e5226087 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.16.0-30-lowlatency
}
### END /etc/grub.d/09_lowlatency ###
### 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-0fe549c1-8c0a-4aa5-904e-0f44e5226087' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 0fe549c1-8c0a-4aa5-904e-0f44e5226087
else
search --no-floppy --fs-uuid --set=root 0fe549c1-8c0a-4aa5-904e-0f44e5226087
fi
linux /boot/vmlinuz-3.16.0-30-lowlatency root=UUID=0fe549c1-8c0a-4aa5-904e-0f44e5226087 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.16.0-30-lowlatency
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-0fe549c1-8c0a-4aa5-904e-0f44e5226087' {
menuentry 'Ubuntu, with Linux 3.16.0-30-lowlatency' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-30-lowlatency-advanced-0fe549c1-8c0a-4aa5-904e-0f44e5226087' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 0fe549c1-8c0a-4aa5-904e-0f44e5226087
else
search --no-floppy --fs-uuid --set=root 0fe549c1-8c0a-4aa5-904e-0f44e5226087
fi
echo 'Loading Linux 3.16.0-30-lowlatency ...'
linux /boot/vmlinuz-3.16.0-30-lowlatency root=UUID=0fe549c1-8c0a-4aa5-904e-0f44e5226087 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.16.0-30-lowlatency
}
menuentry 'Ubuntu, with Linux 3.16.0-30-lowlatency (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-30-lowlatency-recovery-0fe549c1-8c0a-4aa5-904e-0f44e5226087' {
recordfail
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 0fe549c1-8c0a-4aa5-904e-0f44e5226087
else
search --no-floppy --fs-uuid --set=root 0fe549c1-8c0a-4aa5-904e-0f44e5226087
fi
echo 'Loading Linux 3.16.0-30-lowlatency ...'
linux /boot/vmlinuz-3.16.0-30-lowlatency root=UUID=0fe549c1-8c0a-4aa5-904e-0f44e5226087 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.16.0-30-lowlatency
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Memory test (memtest86+)' {
insmod part_gpt
insmod ext2
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 0fe549c1-8c0a-4aa5-904e-0f44e5226087
else
search --no-floppy --fs-uuid --set=root 0fe549c1-8c0a-4aa5-904e-0f44e5226087
fi
knetbsd /boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
insmod part_gpt
insmod ext2
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 0fe549c1-8c0a-4aa5-904e-0f44e5226087
else
search --no-floppy --fs-uuid --set=root 0fe549c1-8c0a-4aa5-904e-0f44e5226087
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### 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/sdb1 during installation
UUID=0fe549c1-8c0a-4aa5-904e-0f44e5226087 / ext4 errors=remount-ro 0 1
# swap was on /dev/sdb2 during installation
UUID=ce8ae388-ce5f-4a61-9959-ddfd67d3f5d1 none swap sw 0 0
--------------------------------------------------------------------------------
========= Devices which don't seem to have a corresponding hard drive: =========
sdb sdc
=============================== StdErr Messages: ===============================
cat: write error: Broken pipe
hexdump: u: bad byte count
/usr/share/boot-sav/b-i-s.sh: line 1746: [: -eq: unary operator expected
cat: write error: Broken pipe
File descriptor 9 (/proc/4609/mounts) leaked on lvs invocation. Parent PID 11554: bash
File descriptor 63 (pipe:[129451]) leaked on lvs invocation. Parent PID 11554: bash
No volume groups found
ADDITIONAL INFORMATION :
=================== log of boot-repair 2015-06-15__07h10 ===================
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
file=/cdrom/preseed/ubuntustudio.seed boot=casper initrd=/casper/initrd.lz quiet splash -- debian-installer/language=fr keyboard-configuration/layoutcode?=fr keyboard-configuration/variantcode?=oss
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.
=================== os-prober:
/dev/sda1:Ubuntu 14.04.2 LTS (14.04):Ubuntu:linux
=================== blkid:
/dev/loop0: TYPE="squashfs"
/dev/sr0: LABEL="Ubuntu-Studio 14.04.2 LTS amd64" TYPE="iso9660"
/dev/sda1: UUID="0fe549c1-8c0a-4aa5-904e-0f44e5226087" TYPE="ext4"
/dev/sda2: UUID="ce8ae388-ce5f-4a61-9959-ddfd67d3f5d1" TYPE="swap"
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/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
=================== sda1/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 févr. 18 19:44 grub.d
total 88
-rwxr-xr-x 1 root root 9424 mai 15 2014 00_header
-rwxr-xr-x 1 root root 6058 mai 8 2014 05_debian_theme
-rwxr-xr-x 1 root root 9921 avril 9 2014 09_lowlatency
-rwxr-xr-x 1 root root 11608 mai 15 2014 10_linux
-rwxr-xr-x 1 root root 10412 mai 15 2014 20_linux_xen
-rwxr-xr-x 1 root root 1992 mars 12 2014 20_memtest86+
-rwxr-xr-x 1 root root 11692 mai 15 2014 30_os-prober
-rwxr-xr-x 1 root root 1416 mai 15 2014 30_uefi-firmware
-rwxr-xr-x 1 root root 214 mai 15 2014 40_custom
-rwxr-xr-x 1 root root 216 mai 15 2014 41_custom
-rw-r--r-- 1 root root 483 mai 15 2014 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_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"
=================== UEFI/Legacy mode:
This live-session is not in EFI-mode.
SecureBoot maybe enabled.
=================== PARTITIONS & DISKS:
sda1 : sda, not-sepboot, grubenv-ok grub2, 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.
sda : GPT, BIOS_boot, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
=================== parted -l:
Model: ATA ST500DM002-1BD14 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1049kB 494GB 494GB ext4
3 494GB 494GB 1049kB bios_grub
2 494GB 500GB 6291MB linux-swap(v1)
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
Error: Can't have a partition outside the disk!
=================== parted -lm:
BYT;
/dev/sda:500GB:scsi:512:4096:gpt:ATA ST500DM002-1BD14;
1:1049kB:494GB:494GB:ext4::;
3:494GB:494GB:1049kB:::bios_grub;
2:494GB:500GB:6291MB:linux-swap(v1)::;
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
Error: Can't have a partition outside the disk!
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL MODEL UUID
sda disk 465,8G ST500DM0
sda1 part ext4 459,9G 0fe549c1-8c0a-4aa5-904e-0f44e5226087
sda2 part swap 5,9G ce8ae388-ce5f-4a61-9959-ddfd67d3f5d1
sda3 part 1M
sr0 rom iso9660 2,6G Ubuntu-Studio 14.04.2 LTS amd64
BD-RE B
loop0 loop squashfs 2G
KNAME ROTA RO RM STATE MOUNTPOINT
sda 1 0 0 running
sda1 1 0 0 /mnt/boot-sav/sda1
sda2 1 0 0 [SWAP]
sda3 1 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)
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-studio)
/dev/sda1 on /mnt/boot-sav/sda1 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 sda2 sda3 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 size slaves stat subsystem trace uevent
/sys/block/sdc (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
/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): adsp autofs block bsg btrfs-control bus cdrom char console core cpu cpu_dma_latency cuse disk dri dsp ecryptfs fb0 fd full fuse hidraw0 hidraw1 hidraw2 hpet input kmsg kvm log mapper mcelog mem mixer net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sdb sdc sg0 sg1 sg2 sg3 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom usb vfio vga_arbiter vhci vhost-net zero
ls /dev/mapper: control
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
/cow overlayfs 1.6G 206M 1.4G 14% /
udev devtmpfs 1.5G 12K 1.5G 1% /dev
tmpfs tmpfs 309M 1.3M 308M 1% /run
/dev/sr0 iso9660 2.6G 2.6G 0 100% /cdrom
/dev/loop0 squashfs 2.0G 2.0G 0 100% /rofs
none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
tmpfs tmpfs 1.6G 12K 1.6G 1% /tmp
none tmpfs 5.0M 0 5.0M 0% /run/lock
none tmpfs 1.6G 80K 1.6G 1% /run/shm
none tmpfs 100M 24K 100M 1% /run/user
/dev/sda1 ext4 453G 6.2G 424G 2% /mnt/boot-sav/sda1
=================== fdisk -l:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 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 976773167 488386583+ ee GPT
Partition 1 does not start on physical sector boundary.
Partition outside the disk détecté.
=================== Recommended repair
The default repair of the Boot-Repair utility will reinstall the grub2 of sda1 into the MBR of sda.
Additional repair will be performed: unhide-bootmenu-10s
*******lspci -nnk | grep -iA3 vga
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Trinity [Radeon HD 7480D] [1002:9993]
Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7721]
Kernel driver in use: radeon
00:01.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Trinity HDMI Audio Controller [1002:9902]
*******
grub-install --version
grub-install (GRUB) 2.02~beta2-9ubuntu1,grub-install (GRUB) 2.
Reinstall the GRUB of sda1 into the MBR of sda
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-3.16.0-30-lowlatency
Found initrd image: /boot/initrd.img-3.16.0-30-lowlatency
Found linux image: /boot/vmlinuz-3.16.0-30-lowlatency
Found initrd image: /boot/initrd.img-3.16.0-30-lowlatency
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Unhide GRUB boot menu in sda1/boot/grub/grub.cfg
Le démarrage de l'ordinateur a été correctement réparé.
Vous pouvez maintenant redémarrer votre ordinateur.
Explications : ce que tu vois au début du Boot-Info :
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector
964483072 of the same hard drive for core.img. core.img is at this
location and looks for (,gpt1)/boot/grub.
Laisse entendre que Grub est installé dans le MBR du disque dur mais en réalité - comme tu l'as supposé - tout ce qui est sensé être écrit dans le MBR du disque dur est écrit en réalité dans la partition de 1 MB signalée par le drapeau bios_grub.
Je ne sais pas te répondre pour "low latency".
Avant de faire tes mises à jour de Ubuntu 14.04, peux-tu passer cette commande depuis une session de ton Ubuntu installé :
sudo debconf-show grub-pc
et coller le résultat obtenu dans ta réponse.
Dernière modification par malbo (Le 15/06/2015, à 13:34)
Hors ligne
#13 Le 15/06/2015, à 14:20
- Philippe26
Re : [Résolu] Boot impossible suite migration vers Ubuntustudio 14.04 LTS
J'ai donc effectué la commande sudo debconf-show grub-pc sur mon Ubuntustudio unstallé sur mon disque-dur n° 2.
Résultat :
grub2/kfreebsd_cmdline_default: quiet splash
grub-pc/install_devices_disks_changed:
grub-pc/hidden_timeout: true
grub-pc/install_devices_failed_upgrade: true
grub2/linux_cmdline:
grub2/linux_cmdline_default: quiet splash
grub-pc/mixed_legacy_and_grub2: true
grub2/device_map_regenerated:
grub-pc/install_devices_empty: false
grub-pc/chainload_from_menu.lst: true
grub-pc/kopt_extracted: false
grub-pc/install_devices_failed: false
grub2/kfreebsd_cmdline:
grub-pc/postrm_purge_boot_grub: false
grub-pc/disk_description:
grub-pc/partition_description:
grub-pc/timeout: 10
* grub-pc/install_devices: /dev/disk/by-id/ata-ST500DM002-1BD142_W3T9J8X6-part1
*********************************************************************************************************************
Quel est le but de la commande et qu'est-ce que cela nous apprend ?
*************
Autre chose : j'aimerais bien récupérer mes données personnelles ainsi que ma boîte mail Thunderbird et mes paramétrages Mozilla Firefox situés dans une des partitions du disque 1.
Sais-tu quelle est la méthode la plus efficace, sachant que
1. J'accède à mes fichiers sans problème
2. Je peux également rebooter sur cette partition en déconnectant mon nouveau disque n° 2 et en ne gardant que le n° 1.
Il faudra peut-être marquer ce sujet comme résolu et créer un nouveau sujet pour cela.
Je te laisse en juger car je reste ici un jeune bizzuth...
Bonne fin d'après-midi!
Hors ligne
#14 Le 15/06/2015, à 15:05
- malbo
Re : [Résolu] Boot impossible suite migration vers Ubuntustudio 14.04 LTS
C'est cette ligne extraite du résultat qui est intéressante :
* grub-pc/install_devices: /dev/disk/by-id/ata-ST500DM002-1BD142_W3T9J8X6-part1
Elle indique que Grub a enregistré dans ses tablettes que son chargeur d'amorçage se trouve dans le secteur de boot de la partition 1 (mention "-part1") du disque dur. Il va falloir rectifier cela en t'inspirant de ce tuto : http://forum.ubuntu-fr.org/viewtopic.php?id=440159
La partie "1) ÉTAT DES LIEUX AVANT MODIF", tu viens de la faire. Il faut que tu attaques ce Tuto à "2) MISE A JOUR DE GRUB-PC" et arrivé à la 5ème étape, il faudra que tu désélectionnes sda1 et que tu sélectionnes sda.
Quand tu feras ensuite "3) VÉRIFICATION", tu devras vérifier que la ligne intéressante a été modifiée comme suit (la mention "-part1 devra avoir disparu) :
* grub-pc/install_devices: /dev/disk/by-id/ata-ST500DM002-1BD142_W3T9J8X6
Cette ligne modifiée indique que Grub est enregistré dans le MBR du disque dur (en réalité, c'est enregistré physiquement dans la partition de 1 Mo ayant le drapeau "bios_grub").
Dernière modification par malbo (Le 15/06/2015, à 15:10)
Hors ligne
#15 Le 15/06/2015, à 17:45
- Philippe26
Re : [Résolu] Boot impossible suite migration vers Ubuntustudio 14.04 LTS
J'ai donc fait ce que tu m'as demandé, sauf que j'ai cru bon de lire sdb à la place de sda et sdb1 à la place de sda1. (En effet, mes 2 disques durs sont maintenant connectés, ce qui donne le nom sdb pour le second disque sur lequel se trouve mon nouvel Ubuntustudio.) J'ai donc fait pointer grub-pc vers sdb au lieu de sdb1.
Le rapport donné par sudo debconf-show grub-pc est conforme à ce que tu avais prédit:
* grub-pc/install_devices: /dev/disk/by-id/ata-ST500DM002-1BD142_W3T9J8X6
Je précise que mes deux disques sont exactement du même type, ce qui peut parfois prêter à confusion...
Tu penses que c'est bon cette fois ?
Hors ligne
#16 Le 16/06/2015, à 06:05
- malbo
Re : [Résolu] Boot impossible suite migration vers Ubuntustudio 14.04 LTS
La réparation est complète. Je te prie de modifier le titre de ton PREMIER message afin qu'il devienne :
[Résolu] Boot impossible suite migration vers Ubuntustudio 14.04 LTS
Hors ligne
#17 Le 16/06/2015, à 08:53
- Philippe26
Re : [Résolu] Boot impossible suite migration vers Ubuntustudio 14.04 LTS
Merci monsieur Malbo pour votre aide précise, précieuse et efficace!
Ubuntustudio en mode graphique c'est quand même mieux qu'un Shell EFI en QWERTY!
Hors ligne