i install debian in my laptop (Dell inspiron N5110) But i lose windows in grub menu ! and just debian is in my grub menu
any help can be respected. and more information is below:
Code: Select all
>blkid
/dev/sda1: LABEL="Boot" UUID="963189cd-07ba-43af-a8c7-a6c485b420aa" TYPE="ext4" PARTUUID="b8cbb8cb-01"
/dev/sda2: UUID="2682540F8253E23B" TYPE="ntfs" PARTUUID="b8cbb8cb-02"
/dev/sda3: UUID="B872589572585A68" TYPE="ntfs" PARTUUID="b8cbb8cb-03"
/dev/sda5: UUID="b72a7f0c-55c3-4de8-aad2-3d10d423476b" TYPE="ext4" PARTUUID="b8cbb8cb-05"
/dev/sda6: UUID="25ca9eae-17b7-44e6-9650-670f83c7511d" TYPE="swap" PARTUUID="b8cbb8cb-06"
/dev/sda7: UUID="7279ae10-5acf-4dd6-9cca-c0d1c65e6e70" TYPE="ext4" PARTUUID="b8cbb8cb-07"
/dev/sda8: UUID="2004eb37-e2c9-45a3-85f5-201b0478d1bc" TYPE="ext4" PARTUUID="b8cbb8cb-08"
/dev/sda9: UUID="8962ab9d-affb-4ced-9bb1-4cc5f1b8f3e0" TYPE="ext4" PARTUUID="b8cbb8cb-09"
Code: Select all
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 11G 7.8G 2.7G 75% /
udev 10M 0 10M 0% /dev
tmpfs 1.2G 9.1M 1.2G 1% /run
tmpfs 2.9G 20M 2.9G 1% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 2.9G 0 2.9G 0% /sys/fs/cgroup
/dev/sda7 360M 2.1M 335M 1% /tmp
/dev/sda9 184G 24G 152G 14% /home
/dev/sda8 92G 2.6G 85G 3% /var
tmpfs 590M 8.0K 590M 1% /run/user/118
tmpfs 590M 32K 590M 1% /run/user/1000
/dev/sda2 146G 126G 20G 87% /media/hamid/2682540F8253E23B
/dev/sda1 477M 9.7M 438M 3% /mnt/boot-sav/sda1
/dev/sda3 147G 93G 55G 63% /mnt/boot-sav/sda3
Code: Select all
fdisk -l
Disk /dev/sda: 596.2 GiB, 640135028736 bytes, 1250263728 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
Disklabel type: dos
Disk identifier: 0xb8cbb8cb
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 1026047 1024000 500M 83 Linux
/dev/sda2 3074048 307202047 304128000 145G 7 HPFS/NTFS/exFAT
/dev/sda3 307202048 614402047 307200000 146.5G 7 HPFS/NTFS/exFAT
/dev/sda4 * 614404094 1250263039 635858946 303.2G 5 Extended
/dev/sda5 614404096 637839359 23435264 11.2G 83 Linux
/dev/sda6 637841408 662628351 24786944 11.8G 82 Linux swap / Solaris
/dev/sda7 662630400 663408639 778240 380M 83 Linux
/dev/sda8 663410688 858720255 195309568 93.1G 83 Linux
/dev/sda9 858722304 1250263039 391540736 186.7G 83 Linux
Code: Select all
============================= Boot Info Summary: ===============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos5)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk
---------------------------------------------------------------------------
sda1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda2: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /Windows/System32/winload.exe
sda3: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda4: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Debian GNU/Linux 8 (jessie)
Boot files: /boot/grub/grub.cfg /etc/fstab
sda6: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda7: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda8: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda9: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 596.2 GiB, 640135028736 bytes, 1250263728 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
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 2,048 1,026,047 1,024,000 83 Linux
/dev/sda2 3,074,048 307,202,047 304,128,000 7 NTFS / exFAT / HPFS
/dev/sda3 307,202,048 614,402,047 307,200,000 7 NTFS / exFAT / HPFS
/dev/sda4 * 614,404,094 1,250,263,039 635,858,946 5 Extended
/dev/sda5 614,404,096 637,839,359 23,435,264 83 Linux
/dev/sda6 637,841,408 662,628,351 24,786,944 82 Linux swap / Solaris
/dev/sda7 662,630,400 663,408,639 778,240 83 Linux
/dev/sda8 663,410,688 858,720,255 195,309,568 83 Linux
/dev/sda9 858,722,304 1,250,263,039 391,540,736 83 Linux
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 963189cd-07ba-43af-a8c7-a6c485b420aa ext4 Boot
/dev/sda2 2682540F8253E23B ntfs
/dev/sda3 B872589572585A68 ntfs
/dev/sda5 b72a7f0c-55c3-4de8-aad2-3d10d423476b ext4
/dev/sda6 25ca9eae-17b7-44e6-9650-670f83c7511d swap
/dev/sda7 7279ae10-5acf-4dd6-9cca-c0d1c65e6e70 ext4
/dev/sda8 2004eb37-e2c9-45a3-85f5-201b0478d1bc ext4
/dev/sda9 8962ab9d-affb-4ced-9bb1-4cc5f1b8f3e0 ext4
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Jun 13 13:40 ata-PLDS_DVD+_-RW_DS-8A5SH_104260155781 -> ../../sr0
lrwxrwxrwx 1 root root 9 Jun 13 13:40 ata-SAMSUNG_HM641JI_S25YJ9BZB21426 -> ../../sda
lrwxrwxrwx 1 root root 10 Jun 13 14:00 ata-SAMSUNG_HM641JI_S25YJ9BZB21426-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jun 13 13:40 ata-SAMSUNG_HM641JI_S25YJ9BZB21426-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jun 13 14:00 ata-SAMSUNG_HM641JI_S25YJ9BZB21426-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jun 13 14:00 ata-SAMSUNG_HM641JI_S25YJ9BZB21426-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Jun 13 13:40 ata-SAMSUNG_HM641JI_S25YJ9BZB21426-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Jun 13 13:40 ata-SAMSUNG_HM641JI_S25YJ9BZB21426-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Jun 13 13:40 ata-SAMSUNG_HM641JI_S25YJ9BZB21426-part7 -> ../../sda7
lrwxrwxrwx 1 root root 10 Jun 13 13:40 ata-SAMSUNG_HM641JI_S25YJ9BZB21426-part8 -> ../../sda8
lrwxrwxrwx 1 root root 10 Jun 13 13:40 ata-SAMSUNG_HM641JI_S25YJ9BZB21426-part9 -> ../../sda9
lrwxrwxrwx 1 root root 9 Jun 13 13:40 wwn-0x50024e9203e65d60 -> ../../sda
lrwxrwxrwx 1 root root 10 Jun 13 14:00 wwn-0x50024e9203e65d60-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jun 13 13:40 wwn-0x50024e9203e65d60-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jun 13 14:00 wwn-0x50024e9203e65d60-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jun 13 14:00 wwn-0x50024e9203e65d60-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Jun 13 13:40 wwn-0x50024e9203e65d60-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Jun 13 13:40 wwn-0x50024e9203e65d60-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Jun 13 13:40 wwn-0x50024e9203e65d60-part7 -> ../../sda7
lrwxrwxrwx 1 root root 10 Jun 13 13:40 wwn-0x50024e9203e65d60-part8 -> ../../sda8
lrwxrwxrwx 1 root root 10 Jun 13 13:40 wwn-0x50024e9203e65d60-part9 -> ../../sda9
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/sda2 /media/hamid/2682540F8253E23B fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
/dev/sda5 / ext4 (rw,relatime,errors=remount-ro,data=ordered)
/dev/sda7 /tmp ext4 (rw,relatime,data=ordered)
/dev/sda8 /var ext4 (rw,relatime,data=ordered)
/dev/sda9 /home ext4 (rw,relatime,data=ordered)
=========================== sda5/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 load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 b72a7f0c-55c3-4de8-aad2-3d10d423476b
else
search --no-floppy --fs-uuid --set=root b72a7f0c-55c3-4de8-aad2-3d10d423476b
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=10
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=10
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=10
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 b72a7f0c-55c3-4de8-aad2-3d10d423476b
else
search --no-floppy --fs-uuid --set=root b72a7f0c-55c3-4de8-aad2-3d10d423476b
fi
insmod png
if background_image /usr/share/images/desktop-base/lines-grub.png; then
set color_normal=white/black
set color_highlight=black/white
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-b72a7f0c-55c3-4de8-aad2-3d10d423476b' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 b72a7f0c-55c3-4de8-aad2-3d10d423476b
else
search --no-floppy --fs-uuid --set=root b72a7f0c-55c3-4de8-aad2-3d10d423476b
fi
echo 'Loading Linux 3.16.0-4-amd64 ...'
linux /boot/vmlinuz-3.16.0-4-amd64 root=UUID=b72a7f0c-55c3-4de8-aad2-3d10d423476b ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.16.0-4-amd64
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-b72a7f0c-55c3-4de8-aad2-3d10d423476b' {
menuentry 'Debian GNU/Linux, with Linux 3.16.0-4-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-4-amd64-advanced-b72a7f0c-55c3-4de8-aad2-3d10d423476b' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 b72a7f0c-55c3-4de8-aad2-3d10d423476b
else
search --no-floppy --fs-uuid --set=root b72a7f0c-55c3-4de8-aad2-3d10d423476b
fi
echo 'Loading Linux 3.16.0-4-amd64 ...'
linux /boot/vmlinuz-3.16.0-4-amd64 root=UUID=b72a7f0c-55c3-4de8-aad2-3d10d423476b ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.16.0-4-amd64
}
menuentry 'Debian GNU/Linux, with Linux 3.16.0-4-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-4-amd64-recovery-b72a7f0c-55c3-4de8-aad2-3d10d423476b' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 b72a7f0c-55c3-4de8-aad2-3d10d423476b
else
search --no-floppy --fs-uuid --set=root b72a7f0c-55c3-4de8-aad2-3d10d423476b
fi
echo 'Loading Linux 3.16.0-4-amd64 ...'
linux /boot/vmlinuz-3.16.0-4-amd64 root=UUID=b72a7f0c-55c3-4de8-aad2-3d10d423476b ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.16.0-4-amd64
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------
=============================== sda5/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/sda5 during installation
UUID=b72a7f0c-55c3-4de8-aad2-3d10d423476b / ext4 errors=remount-ro 0 1
# /home was on /dev/sda9 during installation
UUID=8962ab9d-affb-4ced-9bb1-4cc5f1b8f3e0 /home ext4 defaults 0 2
# /tmp was on /dev/sda7 during installation
UUID=7279ae10-5acf-4dd6-9cca-c0d1c65e6e70 /tmp ext4 defaults 0 2
# /var was on /dev/sda8 during installation
UUID=2004eb37-e2c9-45a3-85f5-201b0478d1bc /var ext4 defaults 0 2
# swap was on /dev/sda6 during installation
UUID=25ca9eae-17b7-44e6-9650-670f83c7511d none swap sw 0 0
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
--------------------------------------------------------------------------------
=================== sda5: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
297.511394501 = 319.450427392 boot/grub/grub.cfg 1
293.373149872 = 315.007021056 boot/vmlinuz-3.16.0-4-amd64 1
293.373149872 = 315.007021056 vmlinuz 1
296.601993561 = 318.473965568 boot/initrd.img-3.16.0-4-amd64 2
296.601993561 = 318.473965568 initrd.img 2
ADDITIONAL INFORMATION :
=================== log of boot-info 2017-06-13__14h00 ===================
boot-info version : 4ppa40
boot-sav version : 4ppa40
glade2script version : 3.0.5-1
boot-sav-extra version : 4ppa40
boot-info is executed in installed-session (Debian GNU/Linux 8.8 (jessie), jessie, Debian, x86_64)
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-amd64 root=UUID=b72a7f0c-55c3-4de8-aad2-3d10d423476b ro quiet
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Failed to mount '/dev/sda3': Operation not permitted
The NTFS partition is in an unsafe state. Please resume and shutdown
Windows fully (no hibernation or fast restarting), or mount the volume
read-only with the 'ro' mount option.
mount -t ntfs-3g -o remove_hiberfile /dev/sda3 /mnt/boot-sav/sda3
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Failed to mount '/dev/sda3': Operation not permitted
The NTFS partition is in an unsafe state. Please resume and shutdown
Windows fully (no hibernation or fast restarting), or mount the volume
read-only with the 'ro' mount option.
mount /dev/sda3 : Error code 14
mount -r /dev/sda3 /mnt/boot-sav/sda3
=================== os-prober:
/dev/sda5:The OS now in use - Debian GNU/Linux 8.8 (jessie) CurrentSession:linux
=================== blkid:
/dev/sda1: LABEL="Boot" UUID="963189cd-07ba-43af-a8c7-a6c485b420aa" TYPE="ext4" PARTUUID="b8cbb8cb-01"
/dev/sda2: UUID="2682540F8253E23B" TYPE="ntfs" PARTUUID="b8cbb8cb-02"
/dev/sda3: UUID="B872589572585A68" TYPE="ntfs" PARTUUID="b8cbb8cb-03"
/dev/sda5: UUID="b72a7f0c-55c3-4de8-aad2-3d10d423476b" TYPE="ext4" PARTUUID="b8cbb8cb-05"
/dev/sda6: UUID="25ca9eae-17b7-44e6-9650-670f83c7511d" TYPE="swap" PARTUUID="b8cbb8cb-06"
/dev/sda7: UUID="7279ae10-5acf-4dd6-9cca-c0d1c65e6e70" TYPE="ext4" PARTUUID="b8cbb8cb-07"
/dev/sda8: UUID="2004eb37-e2c9-45a3-85f5-201b0478d1bc" TYPE="ext4" PARTUUID="b8cbb8cb-08"
/dev/sda9: UUID="8962ab9d-affb-4ced-9bb1-4cc5f1b8f3e0" TYPE="ext4" PARTUUID="b8cbb8cb-09"
1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
Windows not detected by os-prober on sda2.
sfdisk: Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
=================== /etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Jun 9 07:59 grub.d
total 72
-rwxr-xr-x 1 root root 9424 Dec 14 2015 00_header
-rwxr-xr-x 1 root root 6058 Dec 14 2015 05_debian_theme
-rwxr-xr-x 1 root root 12261 Dec 14 2015 10_linux
-rwxr-xr-x 1 root root 11082 Dec 14 2015 20_linux_xen
-rwxr-xr-x 1 root root 11692 Dec 14 2015 30_os-prober
-rwxr-xr-x 1 root root 1416 Dec 14 2015 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Dec 14 2015 40_custom
-rwxr-xr-x 1 root root 216 Dec 14 2015 41_custom
-rw-r--r-- 1 root root 483 Dec 14 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_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
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 installed-session is not EFI-compatible.
SecureBoot disabled.
=================== PARTITIONS & DISKS:
sda5 : 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, .
sda1 : sda, maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, 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, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /media/hamid/2682540F8253E23B.
sda3 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda3.
sda7 : 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, /tmp.
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, /var.
sda9 : 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, /home.
sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
=================== parted -l:
Model: ATA SAMSUNG HM641JI (scsi)
Disk /dev/sda: 640GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 525MB 524MB primary ext4
2 1574MB 157GB 156GB primary ntfs
3 157GB 315GB 157GB primary ntfs
4 315GB 640GB 326GB extended boot
5 315GB 327GB 12.0GB logical ext4
6 327GB 339GB 12.7GB logical linux-swap(v1)
7 339GB 340GB 398MB logical ext4
8 340GB 440GB 100GB logical ext4
9 440GB 640GB 200GB logical ext4
=================== parted -lm:
BYT;
/dev/sda:640GB:scsi:512:512:msdos:ATA SAMSUNG HM641JI:;
1:1049kB:525MB:524MB:ext4::;
2:1574MB:157GB:156GB:ntfs::;
3:157GB:315GB:157GB:ntfs::;
4:315GB:640GB:326GB:::boot;
5:315GB:327GB:12.0GB:ext4::;
6:327GB:339GB:12.7GB:linux-swap(v1)::;
7:339GB:340GB:398MB:ext4::;
8:340GB:440GB:100GB:ext4::;
9:440GB:640GB:200GB:ext4::;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
sda disk 596.2G
sda1 part ext4 500M Boot
sda2 part ntfs 145G
sda3 part ntfs 146.5G
sda4 part 1K
sda5 part ext4 11.2G
sda6 part swap 11.8G
sda7 part ext4 380M
sda8 part ext4 93.1G
sda9 part ext4 186.7G
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 /media/hamid/2682540F8253E23B
sda3 1 0 0 /mnt/boot-sav/sda3
sda4 1 0 0
sda5 1 0 0 /
sda6 1 0 0 [SWAP]
sda7 1 0 0 /tmp
sda8 1 0 0 /var
sda9 1 0 0 /home
sr0 1 0 1 running
=================== mount:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=751946,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,relatime,size=1206536k,mode=755)
/dev/sda5 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=22,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sda7 on /tmp type ext4 (rw,relatime,data=ordered)
/dev/sda9 on /home type ext4 (rw,relatime,data=ordered)
/dev/sda8 on /var type ext4 (rw,relatime,data=ordered)
rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
tmpfs on /run/user/118 type tmpfs (rw,nosuid,nodev,relatime,size=603268k,mode=700,uid=118,gid=126)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=603268k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/sda2 on /media/hamid/2682540F8253E23B type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
/dev/sda1 on /mnt/boot-sav/sda1 type ext4 (rw,relatime,data=ordered)
/dev/sda3 on /mnt/boot-sav/sda3 type fuseblk (ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
=================== ls:
/sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8 sda9 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 cdrw char console core cpu cpu_dma_latency cuse disk dri dvd dvdrw fb0 fb1 fd full fuse hpet hugepages initctl input kmsg kvm log mapper mcelog media0 mei mem mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8 sda9 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom v4l vfio vga_arbiter vhci vhost-net video0 watchdog watchdog0 xconsole zero
ls /dev/mapper: control
ls: cannot access : No such file or directory
=================== 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 e8 2e 00 |........?.......|
00000020 00 00 00 00 80 00 80 00 f8 9f 20 12 00 00 00 00 |.......... .....|
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 3b e2 53 82 0f 54 82 26 |........;.S..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 52 11 16 68 09 00 66 53 66 53 66 |h...hR..h..fSfSf|
00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
00000110 0a 13 b9 f6 0c fc f3 aa e9 fe 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 a1 f6 01 e8 09 00 |...u...fa.......|
00000170 a1 fa 01 e8 03 00 f4 eb fd 8b f0 ac 3c 00 74 09 |............<.t.|
00000180 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 64 69 |............A di|
00000190 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 6f 63 |sk read error oc|
000001a0 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d 47 52 |curred...BOOTMGR|
000001b0 20 69 73 20 63 6f 6d 70 72 65 73 73 65 64 00 0d | is compressed..|
000001c0 0a 50 72 65 73 73 20 43 74 72 6c 2b 41 6c 74 2b |.Press Ctrl+Alt+|
000001d0 44 65 6c 20 74 6f 20 72 65 73 74 61 72 74 0d 0a |Del to restart..|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 8a 01 a7 01 bf 01 00 00 55 aa |..............U.|
00000200
=================== hexdump -n512 -C /dev/sda3
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 88 4f 12 |........?.....O.|
00000020 00 00 00 00 80 00 80 00 ff 7f 4f 12 00 00 00 00 |..........O.....|
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 68 5a 58 72 95 58 72 b8 |........hZXr.Xr.|
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 52 11 16 68 09 00 66 53 66 53 66 |h...hR..h..fSfSf|
00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
00000110 0a 13 b9 f6 0c fc f3 aa e9 fe 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 a1 f6 01 e8 09 00 |...u...fa.......|
00000170 a1 fa 01 e8 03 00 f4 eb fd 8b f0 ac 3c 00 74 09 |............<.t.|
00000180 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 64 69 |............A di|
00000190 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 6f 63 |sk read error oc|
000001a0 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d 47 52 |curred...BOOTMGR|
000001b0 20 69 73 20 63 6f 6d 70 72 65 73 73 65 64 00 0d | is compressed..|
000001c0 0a 50 72 65 73 73 20 43 74 72 6c 2b 41 6c 74 2b |.Press Ctrl+Alt+|
000001d0 44 65 6c 20 74 6f 20 72 65 73 74 61 72 74 0d 0a |Del to restart..|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 8a 01 a7 01 bf 01 00 00 55 aa |..............U.|
00000200
ls: cannot access /usr/lib/syslinux: No such file or directory
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda5 ext4 11G 7.8G 2.7G 75% /
udev devtmpfs 10M 0 10M 0% /dev
tmpfs tmpfs 1.2G 9.1M 1.2G 1% /run
tmpfs tmpfs 2.9G 19M 2.9G 1% /dev/shm
tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs tmpfs 2.9G 0 2.9G 0% /sys/fs/cgroup
/dev/sda7 ext4 360M 2.1M 335M 1% /tmp
/dev/sda9 ext4 184G 24G 152G 14% /home
/dev/sda8 ext4 92G 2.6G 85G 3% /var
tmpfs tmpfs 590M 8.0K 590M 1% /run/user/118
tmpfs tmpfs 590M 32K 590M 1% /run/user/1000
/dev/sda2 fuseblk 146G 126G 20G 87% /media/hamid/2682540F8253E23B
/dev/sda1 ext4 477M 9.7M 438M 3% /mnt/boot-sav/sda1
/dev/sda3 fuseblk 147G 93G 55G 63% /mnt/boot-sav/sda3
=================== fdisk -l:
Disk /dev/sda: 596.2 GiB, 640135028736 bytes, 1250263728 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
Disklabel type: dos
Disk identifier: 0xb8cbb8cb
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 1026047 1024000 500M 83 Linux
/dev/sda2 3074048 307202047 304128000 145G 7 HPFS/NTFS/exFAT
/dev/sda3 307202048 614402047 307200000 146.5G 7 HPFS/NTFS/exFAT
/dev/sda4 * 614404094 1250263039 635858946 303.2G 5 Extended
/dev/sda5 614404096 637839359 23435264 11.2G 83 Linux
/dev/sda6 637841408 662628351 24786944 11.8G 82 Linux swap / Solaris
/dev/sda7 662630400 663408639 778240 380M 83 Linux
/dev/sda8 663410688 858720255 195309568 93.1G 83 Linux
/dev/sda9 858722304 1250263039 391540736 186.7G 83 Linux
=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub2 of sda5 into the MBR of sda.
Additional repair would be performed: unhide-bootmenu-10s fix-windows-boot
=================== Final advice in case of suggested repair
The boot files of [The OS now in use - Debian GNU/Linux 8.8 (jessie)] are far from the start of the disk. Your BIOS may not detect them. You may want to retry after creating a /boot partition (EXT4, >200MB, start of the disk). This can be performed via tools such as gParted. Then select this partition via the [Separate /boot partition:] option of [Boot-Repair]. (https://help.ubuntu.com/community/BootPartition)
=================== User settings
The settings chosen by the user will not act on the boot.