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
897955688 of the same hard drive for core.img. core.img is at this
location and looks for (,gpt4)/boot/grub.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: Unknown
Boot sector info: According to the info in the boot sector, sda1 starts
at sector 0. But according to the info from fdisk,
sda1 starts at sector 40.
Operating System:
Boot files: /EFI/refind/refind_x64.efi /EFI/tools/gptsync_x64.efi
/EFI/refind/drivers_x64/ext4_x64.efi
sda2: __________________________________________________________________________
File system: hfsplus
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda3: __________________________________________________________________________
File system: hfsplus
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda4: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: elementary OS Freya
Boot files: /boot/grub/grub.cfg /etc/fstab
/boot/extlinux/extlinux.conf
/boot/grub/i386-pc/core.img
============================ 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 409,639 409,639 ee GPT
/dev/sda2 * 409,640 677,618,007 677,208,368 af HFS / HFS+
/dev/sda3 677,618,008 678,887,543 1,269,536 af HFS / HFS+
/dev/sda4 678,887,544 976,510,983 297,623,440 83 Linux
GUID Partition Table detected.
Partition Start Sector End Sector # of Sectors System
/dev/sda1 40 409,639 409,600 EFI System partition
/dev/sda2 409,640 677,618,007 677,208,368 Hierarchical File System Plus (HFS+) partition (Mac OS X)
/dev/sda3 677,618,008 678,887,543 1,269,536 Apple Boot partition (Mac OS X)
/dev/sda4 678,887,544 976,510,983 297,623,440 Data partition (Linux)
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 70D6-1701 vfat EFI
/dev/sda2 faff8973-9b9a-3d6c-9781-4585be0bbf13 hfsplus Disque Dur
/dev/sda3 dbd07b81-17a9-363d-8950-9280c0e705c4 hfsplus Recovery HD
/dev/sda4 59c75197-d4df-4061-a83f-c05af815e0e5 ext4
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Jan 15 20:03 ata-APPLE_HDD_HTS545050A7E362_TNS5193TH8998G -> ../../sda
lrwxrwxrwx 1 root root 10 Jan 15 20:03 ata-APPLE_HDD_HTS545050A7E362_TNS5193TH8998G-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jan 15 20:03 ata-APPLE_HDD_HTS545050A7E362_TNS5193TH8998G-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jan 15 20:03 ata-APPLE_HDD_HTS545050A7E362_TNS5193TH8998G-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jan 15 20:03 ata-APPLE_HDD_HTS545050A7E362_TNS5193TH8998G-part4 -> ../../sda4
lrwxrwxrwx 1 root root 9 Jan 15 20:02 ata-MATSHITADVD-R_UJ-8A8_D02333502WEDTL7CQ -> ../../sr0
lrwxrwxrwx 1 root root 9 Jan 15 20:03 wwn-0x5000cca7b1d1dd61 -> ../../sda
lrwxrwxrwx 1 root root 10 Jan 15 20:03 wwn-0x5000cca7b1d1dd61-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jan 15 20:03 wwn-0x5000cca7b1d1dd61-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jan 15 20:03 wwn-0x5000cca7b1d1dd61-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jan 15 20:03 wwn-0x5000cca7b1d1dd61-part4 -> ../../sda4
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/sda4 / ext4 (rw,errors=remount-ro)
=========================== sda4/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,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 59c75197-d4df-4061-a83f-c05af815e0e5
else
search --no-floppy --fs-uuid --set=root 59c75197-d4df-4061-a83f-c05af815e0e5
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=30
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/white
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'elementary OS' --class elementary --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-59c75197-d4df-4061-a83f-c05af815e0e5' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 59c75197-d4df-4061-a83f-c05af815e0e5
else
search --no-floppy --fs-uuid --set=root 59c75197-d4df-4061-a83f-c05af815e0e5
fi
linux /boot/vmlinuz-3.19.0-43-generic root=/dev/sda4 ro quiet splash $vt_handoff
}
submenu 'Advanced options for elementary OS' $menuentry_id_option 'gnulinux-advanced-59c75197-d4df-4061-a83f-c05af815e0e5' {
menuentry 'elementary OS, with Linux 3.19.0-43-generic' --class elementary --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-43-generic-advanced-59c75197-d4df-4061-a83f-c05af815e0e5' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 59c75197-d4df-4061-a83f-c05af815e0e5
else
search --no-floppy --fs-uuid --set=root 59c75197-d4df-4061-a83f-c05af815e0e5
fi
echo 'Loading Linux 3.19.0-43-generic ...'
linux /boot/vmlinuz-3.19.0-43-generic root=/dev/sda4 ro quiet splash $vt_handoff
}
menuentry 'elementary OS, with Linux 3.19.0-43-generic (recovery mode)' --class elementary --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-43-generic-recovery-59c75197-d4df-4061-a83f-c05af815e0e5' {
recordfail
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 59c75197-d4df-4061-a83f-c05af815e0e5
else
search --no-floppy --fs-uuid --set=root 59c75197-d4df-4061-a83f-c05af815e0e5
fi
echo 'Loading Linux 3.19.0-43-generic ...'
linux /boot/vmlinuz-3.19.0-43-generic root=/dev/sda4 ro recovery nomodeset
}
menuentry 'elementary OS, with Linux 3.19.0-42-generic' --class elementary --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-42-generic-advanced-59c75197-d4df-4061-a83f-c05af815e0e5' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 59c75197-d4df-4061-a83f-c05af815e0e5
else
search --no-floppy --fs-uuid --set=root 59c75197-d4df-4061-a83f-c05af815e0e5
fi
echo 'Loading Linux 3.19.0-42-generic ...'
linux /boot/vmlinuz-3.19.0-42-generic root=UUID=59c75197-d4df-4061-a83f-c05af815e0e5 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.19.0-42-generic
}
menuentry 'elementary OS, with Linux 3.19.0-42-generic (recovery mode)' --class elementary --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-42-generic-recovery-59c75197-d4df-4061-a83f-c05af815e0e5' {
recordfail
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 59c75197-d4df-4061-a83f-c05af815e0e5
else
search --no-floppy --fs-uuid --set=root 59c75197-d4df-4061-a83f-c05af815e0e5
fi
echo 'Loading Linux 3.19.0-42-generic ...'
linux /boot/vmlinuz-3.19.0-42-generic root=UUID=59c75197-d4df-4061-a83f-c05af815e0e5 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.19.0-42-generic
}
menuentry 'elementary OS, with Linux 3.19.0-41-generic' --class elementary --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-41-generic-advanced-59c75197-d4df-4061-a83f-c05af815e0e5' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 59c75197-d4df-4061-a83f-c05af815e0e5
else
search --no-floppy --fs-uuid --set=root 59c75197-d4df-4061-a83f-c05af815e0e5
fi
echo 'Loading Linux 3.19.0-41-generic ...'
linux /boot/vmlinuz-3.19.0-41-generic root=UUID=59c75197-d4df-4061-a83f-c05af815e0e5 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.19.0-41-generic
}
menuentry 'elementary OS, with Linux 3.19.0-41-generic (recovery mode)' --class elementary --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-41-generic-recovery-59c75197-d4df-4061-a83f-c05af815e0e5' {
recordfail
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 59c75197-d4df-4061-a83f-c05af815e0e5
else
search --no-floppy --fs-uuid --set=root 59c75197-d4df-4061-a83f-c05af815e0e5
fi
echo 'Loading Linux 3.19.0-41-generic ...'
linux /boot/vmlinuz-3.19.0-41-generic root=UUID=59c75197-d4df-4061-a83f-c05af815e0e5 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.19.0-41-generic
}
menuentry 'elementary OS, with Linux 3.19.0-37-generic' --class elementary --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-37-generic-advanced-59c75197-d4df-4061-a83f-c05af815e0e5' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 59c75197-d4df-4061-a83f-c05af815e0e5
else
search --no-floppy --fs-uuid --set=root 59c75197-d4df-4061-a83f-c05af815e0e5
fi
echo 'Loading Linux 3.19.0-37-generic ...'
linux /boot/vmlinuz-3.19.0-37-generic root=UUID=59c75197-d4df-4061-a83f-c05af815e0e5 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.19.0-37-generic
}
menuentry 'elementary OS, with Linux 3.19.0-37-generic (recovery mode)' --class elementary --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-37-generic-recovery-59c75197-d4df-4061-a83f-c05af815e0e5' {
recordfail
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 59c75197-d4df-4061-a83f-c05af815e0e5
else
search --no-floppy --fs-uuid --set=root 59c75197-d4df-4061-a83f-c05af815e0e5
fi
echo 'Loading Linux 3.19.0-37-generic ...'
linux /boot/vmlinuz-3.19.0-37-generic root=UUID=59c75197-d4df-4061-a83f-c05af815e0e5 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.19.0-37-generic
}
menuentry 'elementary OS, with Linux 3.19.0-33-generic' --class elementary --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-33-generic-advanced-59c75197-d4df-4061-a83f-c05af815e0e5' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 59c75197-d4df-4061-a83f-c05af815e0e5
else
search --no-floppy --fs-uuid --set=root 59c75197-d4df-4061-a83f-c05af815e0e5
fi
echo 'Loading Linux 3.19.0-33-generic ...'
linux /boot/vmlinuz-3.19.0-33-generic root=UUID=59c75197-d4df-4061-a83f-c05af815e0e5 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.19.0-33-generic
}
menuentry 'elementary OS, with Linux 3.19.0-33-generic (recovery mode)' --class elementary --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-33-generic-recovery-59c75197-d4df-4061-a83f-c05af815e0e5' {
recordfail
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 59c75197-d4df-4061-a83f-c05af815e0e5
else
search --no-floppy --fs-uuid --set=root 59c75197-d4df-4061-a83f-c05af815e0e5
fi
echo 'Loading Linux 3.19.0-33-generic ...'
linux /boot/vmlinuz-3.19.0-33-generic root=UUID=59c75197-d4df-4061-a83f-c05af815e0e5 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.19.0-33-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/20_memtest86+ ###
menuentry 'Memory test (memtest86+)' {
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 59c75197-d4df-4061-a83f-c05af815e0e5
else
search --no-floppy --fs-uuid --set=root 59c75197-d4df-4061-a83f-c05af815e0e5
fi
knetbsd /boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 59c75197-d4df-4061-a83f-c05af815e0e5
else
search --no-floppy --fs-uuid --set=root 59c75197-d4df-4061-a83f-c05af815e0e5
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Mac OS X (32-bit) (on /dev/sda2)' --class osx --class darwin --class os $menuentry_id_option 'osprober-xnu-32-7124608fb5b9a27a' {
insmod part_gpt
insmod hfsplus
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 7124608fb5b9a27a
else
search --no-floppy --fs-uuid --set=root 7124608fb5b9a27a
fi
load_video
set do_resume=0
if [ /var/vm/sleepimage -nt10 / ]; then
if xnu_resume /var/vm/sleepimage; then
set do_resume=1
fi
fi
if [ $do_resume = 0 ]; then
xnu_uuid 7124608fb5b9a27a uuid
if [ -f /Extra/DSDT.aml ]; then
acpi -e /Extra/DSDT.aml
fi
if [ /kernelcache -nt /System/Library/Extensions ]; then
xnu_kernel /kernelcache boot-uuid=${uuid} rd=*uuid
else
xnu_kernel /mach_kernel boot-uuid=${uuid} rd=*uuid
if [ /System/Library/Extensions.mkext -nt /System/Library/Extensions ]; then
xnu_mkext /System/Library/Extensions.mkext
else
xnu_kextdir /System/Library/Extensions
fi
fi
if [ -f /Extra/Extensions.mkext ]; then
xnu_mkext /Extra/Extensions.mkext
fi
if [ -d /Extra/Extensions ]; then
xnu_kextdir /Extra/Extensions
fi
if [ -f /Extra/devprop.bin ]; then
xnu_devprop_load /Extra/devprop.bin
fi
if [ -f /Extra/splash.jpg ]; then
insmod jpeg
xnu_splash /Extra/splash.jpg
fi
if [ -f /Extra/splash.png ]; then
insmod png
xnu_splash /Extra/splash.png
fi
if [ -f /Extra/splash.tga ]; then
insmod tga
xnu_splash /Extra/splash.tga
fi
fi
}
menuentry 'Mac OS X (64-bit) (on /dev/sda2)' --class osx --class darwin --class os $menuentry_id_option 'osprober-xnu-64-7124608fb5b9a27a' {
insmod part_gpt
insmod hfsplus
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 7124608fb5b9a27a
else
search --no-floppy --fs-uuid --set=root 7124608fb5b9a27a
fi
load_video
set do_resume=0
if [ /var/vm/sleepimage -nt10 / ]; then
if xnu_resume /var/vm/sleepimage; then
set do_resume=1
fi
fi
if [ $do_resume = 0 ]; then
xnu_uuid 7124608fb5b9a27a uuid
if [ -f /Extra/DSDT.aml ]; then
acpi -e /Extra/DSDT.aml
fi
if [ /kernelcache -nt /System/Library/Extensions ]; then
xnu_kernel64 /kernelcache boot-uuid=${uuid} rd=*uuid
else
xnu_kernel64 /mach_kernel boot-uuid=${uuid} rd=*uuid
if [ /System/Library/Extensions.mkext -nt /System/Library/Extensions ]; then
xnu_mkext /System/Library/Extensions.mkext
else
xnu_kextdir /System/Library/Extensions
fi
fi
if [ -f /Extra/Extensions.mkext ]; then
xnu_mkext /Extra/Extensions.mkext
fi
if [ -d /Extra/Extensions ]; then
xnu_kextdir /Extra/Extensions
fi
if [ -f /Extra/devprop.bin ]; then
xnu_devprop_load /Extra/devprop.bin
fi
if [ -f /Extra/splash.jpg ]; then
insmod jpeg
xnu_splash /Extra/splash.jpg
fi
if [ -f /Extra/splash.png ]; then
insmod png
xnu_splash /Extra/splash.png
fi
if [ -f /Extra/splash.tga ]; then
insmod tga
xnu_splash /Extra/splash.tga
fi
fi
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
set timeout=10
fi
### 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 ###
--------------------------------------------------------------------------------
=============================== sda4/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/sda4 during installation
UUID=59c75197-d4df-4061-a83f-c05af815e0e5 / ext4 errors=remount-ro 0 1
--------------------------------------------------------------------------------
====================== sda4/boot/extlinux/extlinux.conf: =======================
--------------------------------------------------------------------------------
## /boot/extlinux/extlinux.conf
##
## IMPORTANT WARNING
##
## The configuration of this file is generated automatically.
## Do not edit this file manually, use: extlinux-update
default l0
prompt 1
timeout 50
include themes/debian/theme.cfg
--------------------------------------------------------------------------------
============== sda4: Version of COM32(R) files used by Syslinux: ===============
boot/extlinux/chain.c32 : COM32R module (v4.xx)
======================== Unknown MBRs/Boot Sectors/etc: ========================
Unknown BootLoader on sda1
00000000 eb 58 90 42 53 44 20 20 34 2e 34 00 02 01 20 00 |.X.BSD 4.4... .|
00000010 02 00 00 00 00 f0 00 00 20 00 10 00 00 00 00 00 |........ .......|
00000020 00 40 06 00 4f 0c
00 00 00 00 00 00 02 00 00 00 |[email protected]...........
|
00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 00 29 01 17 d6 70 45 46 49 20 20 20 20 20 20 |..)...pEFI |
00000050 20 20 46 41 54 33 32 20 20 20 fa 31 c0 8e d0 bc | FAT32 .1....|
00000060 00 7c fb 8e d8 e8 00 00 5e 83 c6 19 bb 07 00 fc |.|......^.......|
00000070 ac 84 c0 74 06 b4 0e cd 10 eb f5 30 e4 cd 16 cd |...t.......0....|
00000080 19 0d 0a 4e 6f 6e 2d 73 79 73 74 65 6d 20 64 69 |...Non-system di|
00000090 73 6b 0d 0a 50 72 65 73 73 20 61 6e 79 20 6b 65 |sk..Press any ke|
000000a0 79 20 74 6f 20 72 65 62 6f 6f 74 0d 0a 00 00 00 |y to reboot.....|
000000b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
=============================== StdErr Messages: ===============================
cat: write error: Broken pipe
ADDITIONAL INFORMATION :
=================== log of boot-repair 2016-01-15__20h03 ===================
boot-repair version : 4ppa35
boot-sav version : 4ppa35
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 4ppa35
boot-repair is executed in installed-session (elementary OS Freya, freya, elementary OS, x86_64)
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-3.19.0-42-generic root=UUID=59c75197-d4df-4061-a83f-c05af815e0e5 ro quiet splash vt.handoff=7
mount: warning: /mnt/boot-sav/sda2 seems to be mounted read-only.
mount: warning: /mnt/boot-sav/sda3 seems to be mounted read-only.
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
=================== os-prober:
/dev/disk/by-uuid/59c75197-d4df-4061-a83f-c05af815e0e5:L'OS actuellement utilisé - elementary OS Freya CurrentSession:linux
/dev/sda2:Mac OS X:MacOSX:macosx
=================== blkid:
/dev/sda1: LABEL="EFI" UUID="70D6-1701" TYPE="vfat"
/dev/sda2: UUID="faff8973-9b9a-3d6c-9781-4585be0bbf13" LABEL="Disque Dur" TYPE="hfsplus"
/dev/sda3: UUID="dbd07b81-17a9-363d-8950-9280c0e705c4" LABEL="Recovery HD" TYPE="hfsplus"
/dev/sda4: UUID="59c75197-d4df-4061-a83f-c05af815e0e5" TYPE="ext4"
disk/by-uuid/59c75197-d4df-4061-a83f-c05af815e0e5
(sda
) has unknown type. Veuillez indiquer ce message à
[email protected]
1 disks with OS, 2 OS : 1 Linux, 1 MacOS, 0 Windows, 0 unknown type OS.
Linux not detected by os-prober on sda4. Veuillez indiquer ce message à
[email protected]
mkdir: impossible de créer le répertoire «/mnt/boot-sav/sda2/boot-sav»: Système de fichiers accessible en lecture seulement
sda2 is Read-only or full
Attention : identifiant de table de partitions GPT (GUID) détecté sur « /dev/sda ». L'utilitaire sfdisk ne prend pas GPT en charge. Utilisez GNU Parted.
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Presence of MacEFI file detected: /mnt/boot-sav/sda1/EFI/APPLE/EXTENSIONS/Firmware.scap
=================== //etc/grub.d/ :
drwxr-xr-x 2 root root 4096 janv. 15 16:49 grub.d
total 76
-rwxr-xr-x 1 root root 9791 janv. 6 00:58 00_header
-rwxr-xr-x 1 root root 6076 juil. 8 2015 05_debian_theme
-rwxr-xr-x 1 root root 11481 juil. 8 2015 10_linux
-rwxr-xr-x 1 root root 10412 juil. 8 2015 20_linux_xen
-rwxr-xr-x 1 root root 1992 mars 12 2014 20_memtest86+
-rwxr-xr-x 1 root root 11692 juil. 8 2015 30_os-prober
-rwxr-xr-x 1 root root 1416 juil. 8 2015 30_uefi-firmware
-rwxr-xr-x 1 root root 214 juil. 8 2015 40_custom
-rwxr-xr-x 1 root root 216 juil. 8 2015 41_custom
-rw-r--r-- 1 root root 483 juil. 8 2015 README
=================== //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:
BIOS is EFI-compatible, but it is not setup in EFI-mode for this installed-session.
SecureBoot disabled.
=================== PARTITIONS & DISKS:
sda1 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, is-correct-EFI, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sda1.
sda2 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-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, with--usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda2.
sda3 : sda, maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda3.
sda4 : 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, /.
sda : GPT, no-BIOS_boot, has-correctEFI, not-usb, has-os, 40 sectors * 512 bytes
=================== parted -l:
Model: ATA APPLE HDD HTS545 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Number Start End Size File system Name Flags
1 20.5kB 210MB 210MB fat32 EFI System Partition boot
2 210MB 347GB 347GB hfs+ Customer
3 347GB 348GB 650MB hfs+ Recovery HD
4 348GB 500GB 152GB ext4 Elementary OS
=================== parted -lm:
BYT;
/dev/sda:500GB:scsi:512:4096:gpt:ATA APPLE HDD HTS545;
1:20.5kB:210MB:210MB:fat32:EFI System Partition:boot;
2:210MB:347GB:347GB:hfs+:Customer:;
3:347GB:348GB:650MB:hfs+:Recovery HD:;
4:348GB:500GB:152GB:ext4:Elementary OS:;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
sda disk 465,8G
sda1 part vfat 200M EFI
sda2 part hfsplus 322,9G Disque Dur
sda3 part hfsplus 619,9M Recovery HD
sda4 part ext4 141,9G
sr0 rom 1024M
KNAME ROTA RO RM STATE MOUNTPOINT
sda 1 0 0 running
sda1 1 0 0 /mnt/boot-sav/sda1
sda2 1 0 0 /mnt/boot-sav/sda2
sda3 1 0 0 /mnt/boot-sav/sda3
sda4 1 0 0 /
sr0 1 0 1 running
=================== mount:
/dev/sda4 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
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)
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)
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/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=fil)
/dev/sda1 on /mnt/boot-sav/sda1 type vfat (rw)
/dev/sda2 on /mnt/boot-sav/sda2 type hfsplus (ro)
/dev/sda3 on /mnt/boot-sav/sda3 type hfsplus (ro)
=================== 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 sda4 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 fw0 hidraw1 hidraw3 hidraw4 hpet i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 input kmsg kvm log mapper mcelog media0 mei0 mem memory_bandwidth net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom usb v4l vfio vga_arbiter vhci vhost-net video0 zero
ls /dev/mapper: control
=================== hexdump -n512 -C /dev/sda1
00000000 eb 58 90 42 53 44 20 20 34 2e 34 00 02 01 20 00 |.X.BSD 4.4... .|
00000010 02 00 00 00 00 f0 00 00 20 00 10 00 00 00 00 00 |........ .......|
00000020 00 40 06 00 4f 0c
00 00 00 00 00 00 02 00 00 00 |[email protected]...........
|
00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 01 29 01 17 d6 70 45 46 49 20 20 20 20 20 20 |..)...pEFI |
00000050 20 20 46 41 54 33 32 20 20 20 fa 31 c0 8e d0 bc | FAT32 .1....|
00000060 00 7c fb 8e d8 e8 00 00 5e 83 c6 19 bb 07 00 fc |.|......^.......|
00000070 ac 84 c0 74 06 b4 0e cd 10 eb f5 30 e4 cd 16 cd |...t.......0....|
00000080 19 0d 0a 4e 6f 6e 2d 73 79 73 74 65 6d 20 64 69 |...Non-system di|
00000090 73 6b 0d 0a 50 72 65 73 73 20 61 6e 79 20 6b 65 |sk..Press any ke|
000000a0 79 20 74 6f 20 72 65 62 6f 6f 74 0d 0a 00 00 00 |y to reboot.....|
000000b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 1.9G 12K 1.9G 1% /dev
tmpfs tmpfs 386M 1.3M 385M 1% /run
/dev/sda4 ext4 140G 51G 83G 38% /
none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
none tmpfs 5.0M 0 5.0M 0% /run/lock
none tmpfs 1.9G 84K 1.9G 1% /run/shm
none tmpfs 100M 52K 100M 1% /run/user
/dev/sda1 vfat 197M 18M 180M 9% /mnt/boot-sav/sda1
/dev/sda2 hfsplus 323G 206G 118G 64% /mnt/boot-sav/sda2
/dev/sda3 hfsplus 620M 501M 120M 81% /mnt/boot-sav/sda3
=================== 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 409639 204819+ ee GPT
Partition 1 does not start on physical sector boundary.
/dev/sda2 * 409640 677618007 338604184 af HFS / HFS+
/dev/sda3 677618008 678887543 634768 af HFS / HFS+
/dev/sda4 678887544 976510983 148811720 83 Linux
(debug) reinstall grub2 no-BIOS_boot (sda4)
=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub2 of sda4.
Grub-efi would not be selected by default because: no-win-efi
Additional repair would be performed: unhide-bootmenu-10s
=================== Blockers in case of suggested repair
Veuillez utiliser ce logiciel dans une session-live (live-CD ou live-USB). Cela vous permettra d'utiliser cette fonctionnalité. 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.
Alternativement, vous pouvez ré-essayer après avoir activé l'option [Partition /boot/efi séparée :].
=================== Final advice in case of suggested repair
Vous souhaiterez peut-être aussi installer Refind. (https://help.ubuntu.com/community/ubuntupreciseon2011imac)
Les fichiers de démarrage de [Linux] sont loin du début du disque. Votre BIOS pourrait ne pas les détecter. Vous voudrez peut-être re-essayer après avoir créé une partition /boot (EXT4, >200MB, en début de disque). Cela peut être réalisé via des outils tels que gParted. Puis sélectionnez cette partition via l'option [Partition /boot séparée :] de [Réparateur de démarrage]. (http://doc.ubuntu-fr.org/tutoriel/partition_boot)
=================== User settings
The settings chosen by the user will not act on the boot.