1 (2016-06-12 18:15:21 отредактировано Future312)

Добрый день, форумчане.
Я новичок в Mageia и в Линуксе, в принципе.
На работе мне выдали ноутбук Lenovo G580 , на котором от старого владельца был дуалбут Windows 7 и Mageia 2. Но дестрибутив Mageia 2 не очень корректно работал с рабочим оборудованием, из-за чего я захотел обновить его до Mageia 5. Однако, обновление выдавало ошибки. К тому же я хотел расширить размер диска Linux за счёт пространства Windows. Решил установить Mageia 5, заменив Mageia 2 и забрав у Windows 7 50 ГБ. Предварительно выполнил дефрагментацию на Windows 7, запустил установку Mageia 5 с флешки. В ручном режиме выполнил изменение разделов. Установка прошла без ошибок, но после перезагрузки системы ноутбук перестал загружаться. Загрузка системы останавливается в самом начале с сообщением:
>Grub Loading stage1.5.
>
>Grub loading, please wait...
>Error 17
Я попытался починить загрузчик с помощью утилиты (https://help.ubuntu.com/community/Boot-Repair), но она выдала сообщение об ошибке.
Полный текст отчёта доступен по ссылке: http://paste.ubuntu.com/17218768/
На всякий случай продублирую его здесь:

Spoiler
 Boot Info Script e7fc706 + Boot-Repair extra info      [Boot-Info 23Nov2014]


============================= Boot Info Summary: ===============================

 => Grub Legacy (v0.97) is installed in the MBR of /dev/sda and looks on the 
    same drive in partition #5 for /boot/grub/stage2 and /boot/grub/menu.lst.
 => Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 7/2008: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /Boot/BCD

sda2: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 7/2008: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 7
    Boot files:        /bootmgr /Boot/BCD /Windows/System32/winload.exe

sda3: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info: 

sda5: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  According to the info in the boot sector, sda5 has 
                       606481 sectors.. But according to the info from the 
                       partition table, it has 783195 sectors.
    Operating System:  
    Boot files:        /EFI/mageia/grubx64.efi

sda6: __________________________________________________________________________

    File system:       ext2
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Mageia release 5 (Official) for x86_64
    Boot files:        /boot/grub2/grub.cfg /etc/fstab

sda7: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

sda8: __________________________________________________________________________

    File system:       ext2
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sda4: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 7/2008: NTFS
    Boot sector info:  According to the info in the boot sector, sda4 has 
                       40550399 sectors, but according to the info from 
                       fdisk, it has 40962735 sectors.
    Operating System:  
    Boot files:        /bootmgr /boot/bcd

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 4.07
    Boot sector info:  Syslinux looks at sector 8208 of /dev/sdb1 for its 
                       second stage. The integrity check of Syslinux failed. 
                       No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /syslinux.cfg /casper/vmlinuz.efi 
                       /EFI/BOOT/grubx64.efi /ldlinux.sys

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          2,048       411,647       409,600   7 NTFS / exFAT / HPFS
/dev/sda2             411,648   420,180,074   419,768,427   7 NTFS / exFAT / HPFS
/dev/sda3         420,184,044   584,171,594   163,987,551   5 Extended
/dev/sda5         420,184,064   420,967,259       783,196  ef EFI (FAT-12/16/32)
/dev/sda6         420,970,496   472,776,884    51,806,389  83 Linux
/dev/sda7         472,780,800   481,162,814     8,382,015  82 Linux swap / Solaris
/dev/sda8         481,165,312   584,171,594   103,006,283  83 Linux
/dev/sda4         584,179,712   625,142,447    40,962,736  12 Compaq diagnostics


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 2001 MB, 2001731584 bytes
255 heads, 63 sectors/track, 243 cylinders, total 3909632 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1    *          2,048     3,909,631     3,907,584   c W95 FAT32 (LBA)


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        8E346E20346E0B91                       ntfs       
/dev/sda2        549C6D5A9C6D379E                       ntfs       Windows7_OS
/dev/sda4        682CEF582CEF1FB4                       ntfs       LENOVO_PART
/dev/sda5        348D-8D96                              vfat       
/dev/sda6        ab676cc0-1029-4df8-a3b5-5e4bc5d4a0c9   ext2       
/dev/sda7        e988e009-08de-4a61-96df-6dbe5ca0665c   swap       
/dev/sda8        b3b523f1-7679-498b-a641-b4b6c24cf6f3   ext2       
/dev/sdb1        28CA-7796                              vfat       BOOT-REPAIR
/dev/zram0       56a1fede-d18c-479d-b77d-80e3191090bd   swap       
/dev/zram1       f1a20031-7e41-4565-913b-3bf3b0d0fa1f   swap       
/dev/zram2       52077a68-5980-4814-83db-84b82229e6e6   swap       
/dev/zram3       e487631e-5fa4-421c-bb4e-63ac2ebcaea2   swap       

========================= "ls -l /dev/disk/by-id" output: ======================

total 0
lrwxrwxrwx 1 root root  9 Jun 11  2016 ata-PLDS_DVD-RW_DS8A8SH_S45N7592Z1ZKBE02NGMZ -> ../../sr0
lrwxrwxrwx 1 root root  9 Jun 11  2016 ata-ST320LT020-9YG142_W046LQJP -> ../../sda
lrwxrwxrwx 1 root root 10 Jun 11 16:53 ata-ST320LT020-9YG142_W046LQJP-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jun 11 16:53 ata-ST320LT020-9YG142_W046LQJP-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jun 11  2016 ata-ST320LT020-9YG142_W046LQJP-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jun 11 16:53 ata-ST320LT020-9YG142_W046LQJP-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Jun 11  2016 ata-ST320LT020-9YG142_W046LQJP-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Jun 11  2016 ata-ST320LT020-9YG142_W046LQJP-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Jun 11  2016 ata-ST320LT020-9YG142_W046LQJP-part7 -> ../../sda7
lrwxrwxrwx 1 root root 10 Jun 11  2016 ata-ST320LT020-9YG142_W046LQJP-part8 -> ../../sda8
lrwxrwxrwx 1 root root  9 Jun 11  2016 usb-Generic_USB2.0-CRW_20100201396000000 -> ../../sdc
lrwxrwxrwx 1 root root  9 Jun 11  2016 usb-Kingston_DataTraveler_G2_001CC0EC3456E9C176A6000A-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Jun 11  2016 usb-Kingston_DataTraveler_G2_001CC0EC3456E9C176A6000A-0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root  9 Jun 11  2016 wwn-0x5000c50052b028fa -> ../../sda
lrwxrwxrwx 1 root root 10 Jun 11 16:53 wwn-0x5000c50052b028fa-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jun 11 16:53 wwn-0x5000c50052b028fa-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jun 11  2016 wwn-0x5000c50052b028fa-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jun 11 16:53 wwn-0x5000c50052b028fa-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Jun 11  2016 wwn-0x5000c50052b028fa-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Jun 11  2016 wwn-0x5000c50052b028fa-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Jun 11  2016 wwn-0x5000c50052b028fa-part7 -> ../../sda7
lrwxrwxrwx 1 root root 10 Jun 11  2016 wwn-0x5000c50052b028fa-part8 -> ../../sda8

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev             /mnt/boot-sav/sda6/dev   none       (rw,bind)
/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sda6        /mnt/boot-sav/sda6       ext2       (rw)
/dev/sdb1        /cdrom                   vfat       (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)


========================== sda6/boot/grub2/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  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 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 loadfont unicode ; then
  set gfxmode=1024x768x32
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=ru_RU
  insmod gettext
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='hd0,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  ab676cc0-1029-4df8-a3b5-5e4bc5d4a0c9
else
  search --no-floppy --fs-uuid --set=root ab676cc0-1029-4df8-a3b5-5e4bc5d4a0c9
fi
insmod gfxmenu
loadfont ($root)/boot/grub2/themes/maggy/MageiaLogo-Bold-16.pf2
loadfont ($root)/boot/grub2/themes/maggy/MageiaLogo-Bold-20.pf2
loadfont ($root)/boot/grub2/themes/maggy/MageiaLogo-Bold-28.pf2
loadfont ($root)/boot/grub2/themes/maggy/MageiaLogo-Regular-20.pf2
insmod png
set theme=($root)/boot/grub2/themes/maggy/theme.txt
export theme
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
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Mageia' --class mageia --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-ab676cc0-1029-4df8-a3b5-5e4bc5d4a0c9' {
    load_video
    set gfxpayload=auto
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos6'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  ab676cc0-1029-4df8-a3b5-5e4bc5d4a0c9
    else
      search --no-floppy --fs-uuid --set=root ab676cc0-1029-4df8-a3b5-5e4bc5d4a0c9
    fi
    echo    'Загружается Linux desktop …'
    linux    /boot/vmlinuz-desktop root=UUID=ab676cc0-1029-4df8-a3b5-5e4bc5d4a0c9 ro   splash quiet noiswmd resume=UUID=e988e009-08de-4a61-96df-6dbe5ca0665c
    echo    'Загружается начальный виртуальный диск …'
    initrd    /boot/initrd-desktop.img
}
submenu 'Дополнительные параметры для Mageia' $menuentry_id_option 'gnulinux-advanced-ab676cc0-1029-4df8-a3b5-5e4bc5d4a0c9' {
    menuentry 'Mageia, с Linux desktop' --class mageia --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-desktop-advanced-ab676cc0-1029-4df8-a3b5-5e4bc5d4a0c9' {
        load_video
        set gfxpayload=auto
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos6'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  ab676cc0-1029-4df8-a3b5-5e4bc5d4a0c9
        else
          search --no-floppy --fs-uuid --set=root ab676cc0-1029-4df8-a3b5-5e4bc5d4a0c9
        fi
        echo    'Загружается Linux desktop …'
        linux    /boot/vmlinuz-desktop root=UUID=ab676cc0-1029-4df8-a3b5-5e4bc5d4a0c9 ro   splash quiet noiswmd resume=UUID=e988e009-08de-4a61-96df-6dbe5ca0665c
        echo    'Загружается начальный виртуальный диск …'
        initrd    /boot/initrd-desktop.img
    }
    menuentry 'Mageia, с Linux desktop (режим восстановления)' --class mageia --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-desktop-recovery-ab676cc0-1029-4df8-a3b5-5e4bc5d4a0c9' {
        load_video
        set gfxpayload=auto
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos6'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  ab676cc0-1029-4df8-a3b5-5e4bc5d4a0c9
        else
          search --no-floppy --fs-uuid --set=root ab676cc0-1029-4df8-a3b5-5e4bc5d4a0c9
        fi
        echo    'Загружается Linux desktop …'
        linux    /boot/vmlinuz-desktop root=UUID=ab676cc0-1029-4df8-a3b5-5e4bc5d4a0c9 ro failsafe 
        echo    'Загружается начальный виртуальный диск …'
        initrd    /boot/initrd-desktop.img
    }
    menuentry 'Mageia, с Linux 3.19.8-desktop-3.mga5' --class mageia --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.8-desktop-3.mga5-advanced-ab676cc0-1029-4df8-a3b5-5e4bc5d4a0c9' {
        load_video
        set gfxpayload=auto
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos6'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  ab676cc0-1029-4df8-a3b5-5e4bc5d4a0c9
        else
          search --no-floppy --fs-uuid --set=root ab676cc0-1029-4df8-a3b5-5e4bc5d4a0c9
        fi
        echo    'Загружается Linux 3.19.8-desktop-3.mga5 …'
        linux    /boot/vmlinuz-3.19.8-desktop-3.mga5 root=UUID=ab676cc0-1029-4df8-a3b5-5e4bc5d4a0c9 ro   splash quiet noiswmd resume=UUID=e988e009-08de-4a61-96df-6dbe5ca0665c
        echo    'Загружается начальный виртуальный диск …'
        initrd    /boot/initrd-3.19.8-desktop-3.mga5.img
    }
    menuentry 'Mageia, с Linux 3.19.8-desktop-3.mga5 (режим восстановления)' --class mageia --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.8-desktop-3.mga5-recovery-ab676cc0-1029-4df8-a3b5-5e4bc5d4a0c9' {
        load_video
        set gfxpayload=auto
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos6'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  ab676cc0-1029-4df8-a3b5-5e4bc5d4a0c9
        else
          search --no-floppy --fs-uuid --set=root ab676cc0-1029-4df8-a3b5-5e4bc5d4a0c9
        fi
        echo    'Загружается Linux 3.19.8-desktop-3.mga5 …'
        linux    /boot/vmlinuz-3.19.8-desktop-3.mga5 root=UUID=ab676cc0-1029-4df8-a3b5-5e4bc5d4a0c9 ro failsafe 
        echo    'Загружается начальный виртуальный диск …'
        initrd    /boot/initrd-3.19.8-desktop-3.mga5.img
    }
}

### 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_ppc_terminfo ###
### END /etc/grub.d/20_ppc_terminfo ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### 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 ###

### BEGIN /etc/grub.d/90_persistent ###
### END /etc/grub.d/90_persistent ###

### BEGIN /etc/grub.d/93_memtest ###
### END /etc/grub.d/93_memtest ###
--------------------------------------------------------------------------------

=============================== sda6/etc/fstab: ================================

--------------------------------------------------------------------------------
# Entry for /dev/sda6 :
UUID=ab676cc0-1029-4df8-a3b5-5e4bc5d4a0c9 / ext2 noatime,acl 1 1
# Entry for /dev/sda5 :
UUID=348D-8D96 /boot/EFI vfat umask=0,iocharset=utf8 0 0
# Entry for /dev/sda8 :
UUID=b3b523f1-7679-498b-a641-b4b6c24cf6f3 /home ext2 noatime,acl 1 2
# Entry for /dev/sda1 :
UUID=8E346E20346E0B91 /media/win_c ntfs-3g defaults,nofail 0 0
# Entry for /dev/sda2 :
UUID=549C6D5A9C6D379E /media/win_d ntfs-3g defaults,nofail 0 0
# Entry for /dev/sdb1 :
UUID=06F3-1FEF /mnt/hd vfat umask=0,users,exec,iocharset=utf8,noauto,nofail 0 0
none /proc proc defaults 0 0
# Entry for /dev/sda7 :
UUID=e988e009-08de-4a61-96df-6dbe5ca0665c swap swap defaults 0 0
UUID=348D-8D96    /boot/efi    vfat    defaults    0    1
--------------------------------------------------------------------------------

=========================== sdb1/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------

if loadfont /boot/grub/font.pf2 ; then
    set gfxmode=auto
    insmod efi_gop
    insmod efi_uga
    insmod gfxterm
    terminal_output gfxterm
fi

set menu_color_normal=white/black
set menu_color_highlight=black/light-gray

menuentry "Boot-Repair-Disk session" {
    set gfxpayload=keep
    linux    /casper/vmlinuz.efi  file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash --
    initrd    /casper/initrd.lz
}
--------------------------------------------------------------------------------

============================== sdb1/syslinux.cfg: ==============================

--------------------------------------------------------------------------------
DEFAULT loadconfig

LABEL loadconfig
  CONFIG /isolinux/isolinux.cfg
  APPEND /isolinux/
--------------------------------------------------------------------------------

========= Devices which don't seem to have a corresponding hard drive: =========

sdc 

=============================== StdErr Messages: ===============================

File descriptor 9 (/proc/2216/mounts) leaked on lvs invocation. Parent PID 15476: bash
File descriptor 63 (pipe:[30231]) leaked on lvs invocation. Parent PID 15476: bash
  No volume groups found

ADDITIONAL INFORMATION :
=================== log of boot-repair 2016-06-11__19h45 ===================
boot-repair version : 4ppa14
boot-sav version : 4ppa14
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 4ppa14
File descriptor 9 (/proc/2216/mounts) leaked on lvs invocation. Parent PID 4837: /bin/sh
No volume groups found
boot-repair is executed in live-session (Boot-Repair-Disk 64bit 29nov2014, trusty, Ubuntu, x86_64)
ls: cannot access /home/usr/.config: No such file or directory
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash --

=================== os-prober:
/dev/sda6:Mageia 5 (5):Mageia:linux

=================== blkid:
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="8E346E20346E0B91" TYPE="ntfs"
/dev/sda2: LABEL="Windows7_OS" UUID="549C6D5A9C6D379E" TYPE="ntfs"
/dev/sda4: LABEL="LENOVO_PART" UUID="682CEF582CEF1FB4" TYPE="ntfs"
/dev/sda5: UUID="348D-8D96" TYPE="vfat"
/dev/sda6: UUID="ab676cc0-1029-4df8-a3b5-5e4bc5d4a0c9" TYPE="ext2"
/dev/sda7: UUID="e988e009-08de-4a61-96df-6dbe5ca0665c" TYPE="swap"
/dev/sda8: UUID="b3b523f1-7679-498b-a641-b4b6c24cf6f3" TYPE="ext2"
/dev/sdb1: LABEL="BOOT-REPAIR" UUID="28CA-7796" TYPE="vfat"
/dev/zram0: UUID="56a1fede-d18c-479d-b77d-80e3191090bd" TYPE="swap"
/dev/zram1: UUID="f1a20031-7e41-4565-913b-3bf3b0d0fa1f" TYPE="swap"
/dev/zram2: UUID="52077a68-5980-4814-83db-84b82229e6e6" TYPE="swap"
/dev/zram3: UUID="e487631e-5fa4-421c-bb4e-63ac2ebcaea2" TYPE="swap"


1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.

Windows not detected by os-prober on sda2.
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.

=================== sda6/etc/grub.d/ :
drwxr-xr-x  2 root root     4096 Jun 10 16:03 grub.d
total 72
-rwxr-xr-x 1 root root  8691 Apr 14  2015 00_header
-rwxr-xr-x 1 root root  9174 Apr 14  2015 10_linux
-rwxr-xr-x 1 root root 10246 Apr 14  2015 20_linux_xen
-rwxr-xr-x 1 root root  2559 Apr 14  2015 20_ppc_terminfo
-rwxr-xr-x 1 root root 11169 Apr 14  2015 30_os-prober
-rwxr-xr-x 1 root root   214 Apr 14  2015 40_custom
-rwxr-xr-x 1 root root   216 Apr 14  2015 41_custom
-rwxr-xr-x 1 root root  1259 Apr 14  2015 90_persistent
-rwxr-xr-x 1 root root  3486 Apr 14  2015 93_memtest
-rw-r--r-- 1 root root   483 Apr 14  2015 README




=================== sda6/etc/default/grub :

GRUB_GFXPAYLOAD_LINUX=auto
#GRUB_DISABLE_OS_PROBER=false
GRUB_DISTRIBUTOR=Mageia
GRUB_THEME=/boot/grub2/themes/maggy/theme.txt
GRUB_CMDLINE_LINUX_DEFAULT=" splash quiet noiswmd resume=UUID=e988e009-08de-4a61-96df-6dbe5ca0665c"
#GRUB_DISABLE_RECOVERY=false
GRUB_TERMINAL_OUTPUT=gfxterm
GRUB_DISABLE_SUBMENU=n
GRUB_TIMEOUT=10
GRUB_GFXMODE=1024x768x32
GRUB_ENABLE_CRYPTODISK=y




efibootmgr -v
BootCurrent: 0004
BootOrder: 0004,0001,0002,0003,0000
Boot0000* Network Boot: Atheros Boot Agent    BIOS(80,0,18)........................R..............................................
Boot0001* Internal HDD: ST320LT020-9YG142                   BIOS(2,500,18)................-...........A..........................................
Boot0002* SATA ODD    : PLDS DVD-RW DS8A8SH                 BIOS(3,500,18)................-...........A......#...................................
Boot0003* USB HDD     : KingstonDataTraveler G2     BIOS(2,500,18)..................S.......Q...U........................................
Boot0004* EFI USB Device    ACPI(a0341d0,0)PCI(1d,0)USB(0,0)USB(2,0)HD(1,800,3ba000,06993e78)RC
=================== UEFI/Legacy mode:
Unusual EFI: Please report this message to boot.repair@gmail.com
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot disabled. (maybe sec-boot, Please report this message to boot.repair@gmail.com)


=================== PARTITIONS & DISKS:
sda1    : sda,    not-sepboot,    no-grubenv    nogrub,    no-docgrub,    no-update-grub,    32,    no-boot,    no-os,    not--efi--part,    part-has-no-fstab,    part-has-no-fstab,    no-nt,    no-winload,    no-recov-nor-hid,    bootmgr,    is-winboot,    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,    haswinload,    no-recov-nor-hid,    bootmgr,    is-winboot,    nopakmgr,    nogrubinstall,    no---usr,    part-has-no-fstab,    not-sep-usr,    standard,    farbios,    /mnt/boot-sav/sda2.
sda4    : sda,    not-sepboot,    no-grubenv    nogrub,    no-docgrub,    no-update-grub,    32,    no-boot,    no-os,    not--efi--part,    part-has-no-fstab,    part-has-no-fstab,    no-nt,    no-winload,    no-recov-nor-hid,    bootmgr,    is-winboot,    nopakmgr,    nogrubinstall,    no---usr,    part-has-no-fstab,    not-sep-usr,    standard,    farbios,    /mnt/boot-sav/sda4.
sda5    : sda,    not-sepboot,    no-grubenv    nogrub,    no-docgrub,    no-update-grub,    32,    no-boot,    no-os,    is-maybe-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,    farbios,    /mnt/boot-sav/sda5.
sda6    : sda,    not-sepboot,    no-grubenv    grub1,    grub-efi ,    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,    nopakmgr,    grub2-install,    with--usr,    fstab-without-usr,    not-sep-usr,    standard,    farbios,    /mnt/boot-sav/sda6.
sda8    : 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/sda8.

sda    : not-GPT,    BIOSboot-not-needed,    has-maybe-EFI,     not-usb,    has-os,    2048 sectors * 512 bytes


=================== parted -l:

Model: ATA ST320LT020-9YG14 (scsi)
Disk /dev/sda: 320GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos

Number  Start   End    Size    Type      File system     Flags
1      1049kB  211MB  210MB   primary   ntfs            boot
2      211MB   215GB  215GB   primary   ntfs
3      215GB   299GB  84.0GB  extended
5      215GB   216GB  401MB   logical   fat32
6      216GB   242GB  26.5GB  logical   ext2
7      242GB   246GB  4292MB  logical   linux-swap(v1)
8      246GB   299GB  52.7GB  logical   ext2
4      299GB   320GB  21.0GB  primary   ntfs            diag


Model: Kingston DataTraveler G2 (scsi)
Disk /dev/sdb: 2002MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
1      1049kB  2002MB  2001MB  primary  fat32        boot, lba



                                                                          
Error: /dev/zram0: unrecognised disk label


                                                                          
Error: /dev/zram1: unrecognised disk label


                                                                          
Error: /dev/zram2: unrecognised disk label


                                                                          
Error: /dev/zram3: unrecognised disk label

=================== parted -lm:

BYT;
/dev/sda:320GB:scsi:512:4096:msdos:ATA ST320LT020-9YG14;
1:1049kB:211MB:210MB:ntfs::boot;
2:211MB:215GB:215GB:ntfs::;
3:215GB:299GB:84.0GB:::;
5:215GB:216GB:401MB:fat32::;
6:216GB:242GB:26.5GB:ext2::;
7:242GB:246GB:4292MB:linux-swap(v1)::;
8:246GB:299GB:52.7GB:ext2::;
4:299GB:320GB:21.0GB:ntfs::diag;

BYT;
/dev/sdb:2002MB:scsi:512:512:msdos:Kingston DataTraveler G2;
1:1049kB:2002MB:2001MB:fat32::boot, lba;


                                                                          
Error: /dev/zram0: unrecognised disk label


                                                                          
Error: /dev/zram1: unrecognised disk label


                                                                          
Error: /dev/zram2: unrecognised disk label


                                                                          
Error: /dev/zram3: unrecognised disk label


=================== mount:
/cow on / type overlayfs (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
/dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /sys/firmware/efi/efivars type efivarfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=lubuntu)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda2 on /mnt/boot-sav/sda2 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda4 on /mnt/boot-sav/sda4 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda5 on /mnt/boot-sav/sda5 type vfat (rw)
/dev/sda6 on /mnt/boot-sav/sda6 type ext2 (rw)
/dev/sda8 on /mnt/boot-sav/sda8 type ext2 (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 sda4 sda5 sda6 sda7 sda8 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sdb1 size slaves stat subsystem trace uevent
/sys/block/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):  autofs block bsg btrfs-control bus cdrom char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd full fuse hpet input kmsg log mapper mcelog mei mem net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 rts51x0 sda sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8 sdb sdb1 sdc sg0 sg1 sg2 sg3 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom v4l vga_arbiter vhci vhost-net video0 zero
ls /dev/mapper:  control

=================== hexdump -n512 -C /dev/sda1
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 00 00  |........?.......|
00000020  00 00 00 00 80 00 80 00  ff 3f 06 00 00 00 00 00  |.........?......|
00000030  aa 42 00 00 00 00 00 00  02 00 00 00 00 00 00 00  |.B..............|
00000040  f6 00 00 00 01 00 00 00  91 0b 6e 34 20 6e 34 8e  |..........n4 n4.|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 70 0e 16  68 09 00 66 53 66 53 66  |h...hp..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  28 10 b9 d8 0f fc f3 aa  e9 5f 01 90 90 66 60 1e  |(........_...f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a0 f8 01 e8 09 00  |...u...fa.......|
00000170  a0 fb 01 e8 03 00 f4 eb  fd b4 01 8b f0 ac 3c 00  |..............<.|
00000180  74 09 b4 0e bb 07 00 cd  10 eb f2 c3 0d 0a 41 20  |t.............A |
00000190  64 69 73 6b 20 72 65 61  64 20 65 72 72 6f 72 20  |disk read error |
000001a0  6f 63 63 75 72 72 65 64  00 0d 0a 42 4f 4f 54 4d  |occurred...BOOTM|
000001b0  47 52 20 69 73 20 6d 69  73 73 69 6e 67 00 0d 0a  |GR is missing...|
000001c0  42 4f 4f 54 4d 47 52 20  69 73 20 63 6f 6d 70 72  |BOOTMGR is compr|
000001d0  65 73 73 65 64 00 0d 0a  50 72 65 73 73 20 43 74  |essed...Press Ct|
000001e0  72 6c 2b 41 6c 74 2b 44  65 6c 20 74 6f 20 72 65  |rl+Alt+Del to re|
000001f0  73 74 61 72 74 0d 0a 00  8c a9 be d6 00 00 55 aa  |start.........U.|
00000200

=================== hexdump -n512 -C /dev/sda2
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 48 06 00  |........?....H..|
00000020  00 00 00 00 80 00 80 00  68 28 05 19 00 00 00 00  |........h(......|
00000030  00 00 0c 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
00000040  f6 00 00 00 01 00 00 00  9e 37 6d 9c 5a 6d 9c 54  |.........7m.Zm.T|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 70 0e 16  68 09 00 66 53 66 53 66  |h...hp..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  28 10 b9 d8 0f fc f3 aa  e9 5f 01 90 90 66 60 1e  |(........_...f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a0 f8 01 e8 09 00  |...u...fa.......|
00000170  a0 fb 01 e8 03 00 f4 eb  fd b4 01 8b f0 ac 3c 00  |..............<.|
00000180  74 09 b4 0e bb 07 00 cd  10 eb f2 c3 0d 0a 41 20  |t.............A |
00000190  64 69 73 6b 20 72 65 61  64 20 65 72 72 6f 72 20  |disk read error |
000001a0  6f 63 63 75 72 72 65 64  00 0d 0a 42 4f 4f 54 4d  |occurred...BOOTM|
000001b0  47 52 20 69 73 20 6d 69  73 73 69 6e 67 00 0d 0a  |GR is missing...|
000001c0  42 4f 4f 54 4d 47 52 20  69 73 20 63 6f 6d 70 72  |BOOTMGR is compr|
000001d0  65 73 73 65 64 00 0d 0a  50 72 65 73 73 20 43 74  |essed...Press Ct|
000001e0  72 6c 2b 41 6c 74 2b 44  65 6c 20 74 6f 20 72 65  |rl+Alt+Del to re|
000001f0  73 74 61 72 74 0d 0a 00  8c a9 be d6 00 00 55 aa  |start.........U.|
00000200
ls /mnt/boot-sav/sda4/1:
ls /mnt/boot-sav/sda4: boot
bootmgr
EFI
Factory_Process
LRSBootTmp.log
NB
OKRBackup
OneKey
pagefile.sys
$RECYCLE.BIN
System Volume Information
v3712.txt  . Please report this message to boot.repair@gmail.com

=================== hexdump -n512 -C /dev/sda4
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 e0 d1 22  |........?......"|
00000020  00 00 00 00 80 00 80 00  ff bf 6a 02 00 00 00 00  |..........j.....|
00000030  00 00 0c 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
00000040  f6 00 00 00 01 00 00 00  b4 1f ef 2c 58 ef 2c 68  |...........,X.,h|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 70 0e 16  68 09 00 66 53 66 53 66  |h...hp..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  28 10 b9 d8 0f fc f3 aa  e9 5f 01 90 90 66 60 1e  |(........_...f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a0 f8 01 e8 09 00  |...u...fa.......|
00000170  a0 fb 01 e8 03 00 f4 eb  fd b4 01 8b f0 ac 3c 00  |..............<.|
00000180  74 09 b4 0e bb 07 00 cd  10 eb f2 c3 0d 0a 41 20  |t.............A |
00000190  64 69 73 6b 20 72 65 61  64 20 65 72 72 6f 72 20  |disk read error |
000001a0  6f 63 63 75 72 72 65 64  00 0d 0a 42 4f 4f 54 4d  |occurred...BOOTM|
000001b0  47 52 20 69 73 20 6d 69  73 73 69 6e 67 00 0d 0a  |GR is missing...|
000001c0  42 4f 4f 54 4d 47 52 20  69 73 20 63 6f 6d 70 72  |BOOTMGR is compr|
000001d0  65 73 73 65 64 00 0d 0a  50 72 65 73 73 20 43 74  |essed...Press Ct|
000001e0  72 6c 2b 41 6c 74 2b 44  65 6c 20 74 6f 20 72 65  |rl+Alt+Del to re|
000001f0  73 74 61 72 74 0d 0a 00  8c a9 be d6 00 00 55 aa  |start.........U.|
00000200
ls /mnt/boot-sav/sda5/1:

=================== hexdump -n512 -C /dev/sda5
00000000  eb 58 90 6d 6b 66 73 2e  66 61 74 00 02 08 20 00  |.X.mkfs.fat... .|
00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 80 0b 19  |........?.......|
00000020  11 41 09 00 50 02 00 00  00 00 00 00 02 00 00 00  |.A..P...........|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 01 29 96 8d 8d 34 4e  4f 20 4e 41 4d 45 20 20  |..)...4NO NAME  |
00000050  20 20 46 41 54 33 32 20  20 20 0e 1f be 77 7c ac  |  FAT32   ...w|.|
00000060  22 c0 74 0b 56 b4 0e bb  07 00 cd 10 5e eb f0 32  |".t.V.......^..2|
00000070  e4 cd 16 cd 19 eb fe 54  68 69 73 20 69 73 20 6e  |.......This is n|
00000080  6f 74 20 61 20 62 6f 6f  74 61 62 6c 65 20 64 69  |ot a bootable di|
00000090  73 6b 2e 20 20 50 6c 65  61 73 65 20 69 6e 73 65  |sk.  Please inse|
000000a0  72 74 20 61 20 62 6f 6f  74 61 62 6c 65 20 66 6c  |rt a bootable fl|
000000b0  6f 70 70 79 20 61 6e 64  0d 0a 70 72 65 73 73 20  |oppy and..press |
000000c0  61 6e 79 20 6b 65 79 20  74 6f 20 74 72 79 20 61  |any key to try a|
000000d0  67 61 69 6e 20 2e 2e 2e  20 0d 0a 00 00 00 00 00  |gain ... .......|
000000e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200

=================== df -Th:

Filesystem     Type       Size  Used Avail Use% Mounted on
/cow           overlayfs  918M  6.3M  911M   1% /
udev           devtmpfs   903M   12K  903M   1% /dev
tmpfs          tmpfs      184M  1.2M  183M   1% /run
/dev/sdb1      vfat       1.9G  614M  1.3G  33% /cdrom
/dev/loop0     squashfs   549M  549M     0 100% /rofs
none           tmpfs      4.0K     0  4.0K   0% /sys/fs/cgroup
tmpfs          tmpfs      918M  8.0K  918M   1% /tmp
none           tmpfs      5.0M  4.0K  5.0M   1% /run/lock
none           tmpfs      918M     0  918M   0% /run/shm
none           tmpfs      100M   16K  100M   1% /run/user
/dev/sda1      fuseblk    200M   32M  169M  16% /mnt/boot-sav/sda1
/dev/sda2      fuseblk    201G  137G   64G  69% /mnt/boot-sav/sda2
/dev/sda4      fuseblk     20G   13G  7.3G  63% /mnt/boot-sav/sda4
/dev/sda5      vfat       296M  132K  296M   1% /mnt/boot-sav/sda5
/dev/sda6      ext2        25G  3.5G   20G  15% /mnt/boot-sav/sda6
/dev/sda8      ext2        49G   52M   49G   1% /mnt/boot-sav/sda8

=================== fdisk -l:

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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: 0x7af31474

Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      411647      204800    7  HPFS/NTFS/exFAT
/dev/sda2          411648   420180074   209884213+   7  HPFS/NTFS/exFAT
/dev/sda3       420184044   584171594    81993775+   5  Extended
Partition 3 does not start on physical sector boundary.
/dev/sda4       584179712   625142447    20481368   12  Compaq diagnostics
/dev/sda5       420184064   420967259      391598   ef  EFI (FAT-12/16/32)
/dev/sda6       420970496   472776884    25903194+  83  Linux
/dev/sda7       472780800   481162814     4191007+  82  Linux swap / Solaris
/dev/sda8       481165312   584171594    51503141+  83  Linux

Disk /dev/sdb: 2001 MB, 2001731584 bytes
255 heads, 63 sectors/track, 243 cylinders, total 3909632 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x06993e78

Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *        2048     3909631     1953792    c  W95 FAT32 (LBA)


Error: no package mgt for purge. Please report this message to boot.repair@gmail.com
Error: no package mgt for purge. Please report this message to boot.repair@gmail.com
Error: no package mgt for purge. Please report this message to boot.repair@gmail.com
Error: no package mgt for purge. Please report this message to boot.repair@gmail.com
Error: no package mgt for purge. Please report this message to boot.repair@gmail.com
Error: no package mgt for purge. Please report this message to boot.repair@gmail.com
Error: no package mgt for purge. Please report this message to boot.repair@gmail.com
Error: no package mgt for purge. Please report this message to boot.repair@gmail.com
Error: no package mgt for purge. Please report this message to boot.repair@gmail.com
Error: no package mgt for purge. Please report this message to boot.repair@gmail.com
Error: no package mgt for purge. Please report this message to boot.repair@gmail.com
Warning: unknown mime-type for "/mnt/boot-sav/sda6/etc/default/grub" -- using "application/octet-stream"
Error: no "view" mailcap rules found for type "application/octet-stream"

(process:10611): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed


=================== Default settings of Boot Repair
The default repair of the Boot-Repair utility would reinstall the grub2 of sda6 into the MBR of sda.
Grub-efi would not be selected by default because: no-win-efi
Additional repair would be performed: unhide-bootmenu-10s


=================== User settings
The settings chosen by the user will reinstall the grub-efi-amd64-signed of sda6, using the following options:        sda5/boot/efi,
Grub-efi will not be selected by default because: no-win-efi
Additional repair will be performed: unhide-bootmenu-10s


/boot/efi added in sda6/fstab
Created sda6/boot/efi
Mount sda5 on /mnt/boot-sav/sda6/boot/efi
ls /mnt/boot-sav/sda6/boot/efi/1:
No sda6/boot/efi/efi/ ubuntu/mint folder
lspci: Unable to load libkmod resources: error -12

*******lspci -nnk | grep -iA3 vga
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
Subsystem: Lenovo Device [17aa:3901]
Kernel driver in use: i915
00:14.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:1e31] (rev 04)
*******

grub2-install --version
grub2-install (GRUB) 2.02~beta2,grub2-install (GRUB) 2.

chroot /mnt/boot-sav/sda6 efibootmgr -v
BootCurrent: 0004
BootOrder: 0004,0001,0002,0003,0000
Boot0000* Network Boot: Atheros Boot Agent    BIOS(80,0,18)........................R..............................................
Boot0001* Internal HDD: ST320LT020-9YG142                   BIOS(2,500,18)................-...........A..........................................
Boot0002* SATA ODD    : PLDS DVD-RW DS8A8SH                 BIOS(3,500,18)................-...........A......#...................................
Boot0003* USB HDD     : KingstonDataTraveler G2     BIOS(2,500,18)..................S.......Q...U........................................
Boot0004* EFI USB Device    ACPI(a0341d0,0)PCI(1d,0)USB(0,0)USB(2,0)HD(1,800,3ba000,06993e78)RC

chroot /mnt/boot-sav/sda6 uname -r
Kernel: 3.13.0-32-generic

Reinstall the grub-efi-amd64-signed of sda6
grub2-install: unrecognized option '--uefi-secure-boot'
Try 'grub2-install --help' or 'grub2-install --usage' for more information.
grub2-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub2-install :64
ls /mnt/boot-sav/sda6/boot/efi/1:
Add /mnt/boot-sav/sda4 efi entries in /mnt/boot-sav/sda6/etc/grub.d/25_custom
Add /mnt/boot-sav/sda6/boot/efi efi entries in /mnt/boot-sav/sda6/etc/grub.d/25_custom

efibootmgr -v
BootCurrent: 0004
BootOrder: 0004,0001,0002,0003,0000
Boot0000* Network Boot: Atheros Boot Agent    BIOS(80,0,18)........................R..............................................
Boot0001* Internal HDD: ST320LT020-9YG142                   BIOS(2,500,18)................-...........A..........................................
Boot0002* SATA ODD    : PLDS DVD-RW DS8A8SH                 BIOS(3,500,18)................-...........A......#...................................
Boot0003* USB HDD     : KingstonDataTraveler G2     BIOS(2,500,18)..................S.......Q...U........................................
Boot0004* EFI USB Device    ACPI(a0341d0,0)PCI(1d,0)USB(0,0)USB(2,0)HD(1,800,3ba000,06993e78)RC

---- Grub-install verbose
/sbin/grub2-install: /sbin/grub2-install: cannot execute binary file
--------
/sbin/grub2-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub2-install :126
---- End of grub-install verbose


chroot /mnt/boot-sav/sda6 efibootmgr -v
BootCurrent: 0004
BootOrder: 0004,0001,0002,0003,0000
Boot0000* Network Boot: Atheros Boot Agent    BIOS(80,0,18)........................R..............................................
Boot0001* Internal HDD: ST320LT020-9YG142                   BIOS(2,500,18)................-...........A..........................................
Boot0002* SATA ODD    : PLDS DVD-RW DS8A8SH                 BIOS(3,500,18)................-...........A......#...................................
Boot0003* USB HDD     : KingstonDataTraveler G2     BIOS(2,500,18)..................S.......Q...U........................................
Boot0004* EFI USB Device    ACPI(a0341d0,0)PCI(1d,0)USB(0,0)USB(2,0)HD(1,800,3ba000,06993e78)RC

chroot /mnt/boot-sav/sda6 update-grub
mesg: ttyname failed: Неприменимый к данному устройству ioctl
Generating grub configuration file ...
Найдена тема: /boot/grub2/themes/maggy/theme.txt
Найден образ linux: /boot/vmlinuz-desktop
Найден образ initrd: /boot/initrd-desktop.img
Найден образ linux: /boot/vmlinuz-3.19.8-desktop-3.mga5
Найден образ initrd: /boot/initrd-3.19.8-desktop-3.mga5.img
завершено
umount: /mnt/boot-sav/sda6/dev: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))

An error occurred during the repair.

You can now reboot your computer.
Please do not forget to make your BIOS boot on sda5/EFI/mageia/grubx64.efi file!

Если кто-нибудь понимает, где здесь ошибка, и в чём проблема с grub'ом, пожалуйста отзовитесь и посоветуйте, что мне делать.
Буду очень благодарен.

С уважением, Сапронов Данил

2 (2016-06-12 01:42:49 отредактировано algri14)

Future312, более опытные что-то молчат(то ли в отпуске, то ли на дачах)
Я не особо разбираюсь, но что-то ты с разметкой сделал не то, sda1 и sda2 это винда, sda3 расширенный раздел, далее sda5 fat32(для чего? под UEFI что ли?), а таблица разделов MBR, может быть в этом и дело Хабрахабр, установка Windows и Kubuntu на один диск , но там Win8 и таблица разделов GPT
1 Сначала устанавливаешь винду, потом Магею(иначе винда своим загрузчиком затрёт GRUB2, ставь GRUB2)
2 Линукс запустится из любого раздела, хоть из основного, хоть из расширенного
3 Не делай отдельно загрузочный раздел /boot, будет вполне достаточно /корень_30Гб(вот в него при установке и укажи установить загрузчик) —swapОЗУх2(4-8Гб)—/home(всё остальное место или /mnt/audiovideo симлинки из ext4 на NTFS не делаются), если /sda4 в NTFS(чтоб винда видела, то хомяку /home5-10 Гб вполне хватит для настроек
может быть ещё кто подтянется...

3 (2016-06-13 14:45:17 отредактировано BoDun)

Future312, если образ полный, то можно запустить режим восстановления и ещё раз восстановить загрузчик.
Grub сам увидит загрузчик win7 и добавит его.

Обычный юзер
Mageia 8 x86_64 Plasma

4 (2016-06-12 07:45:18 отредактировано kvv-vp)

BoDun⇓ пишет:

подметил algri14, не используйте fat32 для какого-либо раздела.

fat32 требуется по спецификации uefi.

Future312, попробуйте снова загрузится с установочной флешки, только выберите не установку, а обновление. При настройке системы при выборе загрузчика, выберите grub2. По умолчанию ставится grub-legacy.

Спасибо сказали: Future3121

5

kvv-vp пишет:

fat32 требуется по спецификации uefi.
Future312, попробуйте снова загрузится с установочной флешки, только выберите не установку, а обновление. При настройке системы при выборе загрузчика, выберите grub2. По умолчанию ставится grub-legacy.

Всем спасибо за советы!
Во-первых, насчёт раздела fat32. kvv-vp прав. Я пытался удалить этот раздел, но установщик сам требовал его, когда я загружался с включённым UEFI в биосе. Это специальный раздел, на котором должен находится EFI.
Вчера помимо данного форума написал на зарубежный форум пользователей Mageia. Вот тема: https://forums.mageia.org/en/viewtopic. … mp;t=11120
Там пользователь benmc посоветовал отключить UEFI в биосе и обновить установку с уже другим меню (он прикрепил скриншоты двух меню в своём комментарии), и использовать GRUB legacy вместо GRUB2 UEFI. Он предполагает, что произошёл конфликт двух загрузчиков:

So, you have GRUB legacy as your MBR boot device, and a UEFI boot partition using GRUB2

Сегодня попробовал запустить обновление установки, но там по умолчанию был выбран GRUB2, который выдал ошибку. Тогда я поменял установщик с GRUB2 с графическим интерфейсом на GRUB с графическим интерфейсом, и НОУТБУК ЗАРАБОТАЛ!
Теперь осталось понять, можно ли мне включать UEFI в биосе или продолжать грузиться так.

Как же хорошо, что есть на свете знающие люди, и есть в интернете форумы, где эти люди сидят.

6

Про UEFI со всеми его выкрутасами уже много чего написано, в том числе и на этом форуме. Читай, читай, читай. Не хочется повторяться.

Mageia 9 KDE

7

Future312, у меня фишка UEFI отключена в BIOS(проблем меньше, лишние несколько секунд при загрузке меня не волнуют), на втором диске стоит винда(когда-то были две ОСи на одном харде), загрузчик GRUB2, если не планировать ставить ещё какой-либо дистрибутив линукса, то и GRUB достаточно

Future312⇓ пишет:

Теперь осталось понять, можно ли мне включать UEFI в биосе или продолжать грузиться так.

Лучше не надо, тем более что в дуалбуте Win7, а не 8-ка/10-ка