- Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 23Nov2014]
- ============================= Boot Info Summary: ===============================
- => Windows 7/8/2012 is installed in the MBR of /dev/sda.
- => Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 1 of
- the same hard drive for core.img. core.img is at this location and looks
- for (,msdos1)/boot/grub.
- => Syslinux MBR (3.00-3.35) is installed in the MBR of /dev/sdc.
- sda1: __________________________________________________________________________
- File system: ntfs
- Boot sector type: Windows 2000/XP: NTFS
- 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 34.
- 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:
- sdb1: __________________________________________________________________________
- File system: ext4
- Boot sector type: -
- Boot sector info:
- Operating System: Netrunner 14.1 (Frontier)
- Boot files: /boot/grub/grub.cfg /etc/fstab
- /boot/grub/i386-pc/core.img
- sdb2: __________________________________________________________________________
- File system: Extended Partition
- Boot sector type: -
- Boot sector info:
- sdb5: __________________________________________________________________________
- File system: swap
- Boot sector type: -
- Boot sector info:
- sdc1: __________________________________________________________________________
- File system: vfat
- Boot sector type: SYSLINUX 4.07
- Boot sector info: Syslinux looks at sector 16392 of /dev/sdc1 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: 250.1 GB, 250059350016 bytes
- 256 heads, 63 sectors/track, 30282 cylinders, total 488397168 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/sda1 1 488,397,167 488,397,167 ee GPT
- GUID Partition Table detected.
- Partition Start Sector End Sector # of Sectors System
- /dev/sda1 34 122,882,047 122,882,014 Data partition (Windows/Linux)
- /dev/sda2 122,882,048 488,394,751 365,512,704 Data partition (Windows/Linux)
- Drive: sdb _____________________________________________________________________
- Disk /dev/sdb: 120.0 GB, 120034123776 bytes
- 255 heads, 63 sectors/track, 14593 cylinders, total 234441648 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 226,131,967 226,129,920 83 Linux
- /dev/sdb2 226,134,014 234,440,703 8,306,690 5 Extended
- /dev/sdb5 226,134,016 234,440,703 8,306,688 82 Linux swap / Solaris
- Drive: sdc _____________________________________________________________________
- Disk /dev/sdc: 4007 MB, 4007657472 bytes
- 255 heads, 63 sectors/track, 487 cylinders, total 7827456 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/sdc1 * 2,048 7,827,455 7,825,408 c W95 FAT32 (LBA)
- "blkid" output: ________________________________________________________________
- Device UUID TYPE LABEL
- /dev/loop0 squashfs
- /dev/sda1 01D037AAE56F50B0 ntfs Others
- /dev/sda2 24B23A07B239DE4C ntfs Stuff
- /dev/sdb1 005dacde-8edf-49f1-8fc4-b00695879c2f ext4
- /dev/sdb5 1e169a63-d5f3-4a7b-a189-d1df6b07c5de swap
- /dev/sdc1 30D1-79E8 vfat NETRUNNER14
- /dev/zram0 4fef554e-cef4-44e0-9715-d0454254ea04 swap
- /dev/zram1 3e889f0c-339e-4a97-8b26-117ecf55e1d9 swap
- /dev/zram2 5d102945-352b-45b9-ad70-735373d017ec swap
- /dev/zram3 0cae3b45-4327-45d5-a9c8-d1098bdb74b5 swap
- ========================= "ls -l /dev/disk/by-id" output: ======================
- total 0
- lrwxrwxrwx 1 root root 9 Jan 24 12:09 ata-KINGSTON_SV300S37A120G_50026B774406F459 -> ../../sdb
- lrwxrwxrwx 1 root root 10 Jan 24 11:54 ata-KINGSTON_SV300S37A120G_50026B774406F459-part1 -> ../../sdb1
- lrwxrwxrwx 1 root root 10 Jan 24 12:03 ata-KINGSTON_SV300S37A120G_50026B774406F459-part2 -> ../../sdb2
- lrwxrwxrwx 1 root root 10 Jan 24 11:54 ata-KINGSTON_SV300S37A120G_50026B774406F459-part5 -> ../../sdb5
- lrwxrwxrwx 1 root root 9 Jan 24 12:03 ata-ST3250318AS_5VM7FQNF -> ../../sda
- lrwxrwxrwx 1 root root 10 Jan 24 12:09 ata-ST3250318AS_5VM7FQNF-part1 -> ../../sda1
- lrwxrwxrwx 1 root root 10 Jan 24 12:09 ata-ST3250318AS_5VM7FQNF-part2 -> ../../sda2
- lrwxrwxrwx 1 root root 9 Jan 24 12:03 usb-Kingston_DT_Locker_001A92053F1CBA5061020037-0:0 -> ../../sdc
- lrwxrwxrwx 1 root root 10 Jan 24 11:49 usb-Kingston_DT_Locker_001A92053F1CBA5061020037-0:0-part1 -> ../../sdc1
- lrwxrwxrwx 1 root root 9 Jan 24 12:03 wwn-0x5000c50020bd1cec -> ../../sda
- lrwxrwxrwx 1 root root 10 Jan 24 12:09 wwn-0x5000c50020bd1cec-part1 -> ../../sda1
- lrwxrwxrwx 1 root root 10 Jan 24 12:09 wwn-0x5000c50020bd1cec-part2 -> ../../sda2
- lrwxrwxrwx 1 root root 9 Jan 24 12:09 wwn-0x50026b774406f459 -> ../../sdb
- lrwxrwxrwx 1 root root 10 Jan 24 11:54 wwn-0x50026b774406f459-part1 -> ../../sdb1
- lrwxrwxrwx 1 root root 10 Jan 24 12:03 wwn-0x50026b774406f459-part2 -> ../../sdb2
- lrwxrwxrwx 1 root root 10 Jan 24 11:54 wwn-0x50026b774406f459-part5 -> ../../sdb5
- ================================ Mount points: =================================
- Device Mount_Point Type Options
- /dev/loop0 /rofs squashfs (ro,noatime)
- /dev/sdc1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
- =========================== sdb1/boot/grub/grub.cfg: ===========================
- --------------------------------------------------------------------------------
- #
- # DO NOT EDIT THIS FILE
- #
- # It is automatically generated by grub-mkconfig using templates
- # from /etc/grub.d and settings from /etc/default/grub
- #
- ### BEGIN /etc/grub.d/00_header ###
- if [ -s $prefix/grubenv ]; then
- set have_grubenv=true
- load_env
- fi
- if [ "${next_entry}" ] ; then
- set default="${next_entry}"
- set next_entry=
- save_env next_entry
- set boot_once=true
- else
- set default="0"
- fi
- if [ x"${feature_menuentry_id}" = xy ]; then
- menuentry_id_option="--id"
- else
- menuentry_id_option=""
- fi
- export menuentry_id_option
- if [ "${prev_saved_entry}" ]; then
- set saved_entry="${prev_saved_entry}"
- save_env saved_entry
- set prev_saved_entry=
- save_env prev_saved_entry
- set boot_once=true
- fi
- function savedefault {
- if [ -z "${boot_once}" ]; then
- saved_entry="${chosen}"
- save_env saved_entry
- fi
- }
- function recordfail {
- set recordfail=1
- if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
- }
- function load_video {
- if [ x$feature_all_video_module = xy ]; then
- insmod all_video
- else
- insmod efi_gop
- insmod efi_uga
- insmod ieee1275_fb
- insmod vbe
- insmod vga
- insmod video_bochs
- insmod video_cirrus
- fi
- }
- if [ x$feature_default_font_path = xy ] ; then
- font=unicode
- else
- insmod part_msdos
- insmod ext2
- set root='hd1,msdos1'
- if [ x$feature_platform_search_hint = xy ]; then
- search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 005dacde-8edf-49f1-8fc4-b00695879c2f
- else
- search --no-floppy --fs-uuid --set=root 005dacde-8edf-49f1-8fc4-b00695879c2f
- 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 ###
- set menu_color_normal=cyan/blue
- set menu_color_highlight=white/blue
- ### END /etc/grub.d/05_debian_theme ###
- ### 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 ###
- --------------------------------------------------------------------------------
- =============================== sdb1/etc/fstab: ================================
- --------------------------------------------------------------------------------
- # /etc/fstab: static file system information.
- #
- # Use 'blkid' to print the universally unique identifier for a
- # device; this may be used with UUID= as a more robust way to name devices
- # that works even if disks are added and removed. See fstab(5).
- #
- # <file system> <mount point> <type> <options> <dump> <pass>
- # / was on /dev/sdb1 during installation
- UUID=005dacde-8edf-49f1-8fc4-b00695879c2f / ext4 errors=remount-ro 0 1
- # swap was on /dev/sdb5 during installation
- UUID=1e169a63-d5f3-4a7b-a189-d1df6b07c5de none swap sw 0 0
- --------------------------------------------------------------------------------
- =========================== sdc1/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 "Start Netrunner" {
- set gfxpayload=keep
- linux /casper/vmlinuz.efi file=/cdrom/preseed/netrunner.seed boot=casper quiet splash --
- initrd /casper/initrd.lz
- }
- menuentry "Check disc for defects" {
- set gfxpayload=keep
- linux /casper/vmlinuz.efi boot=casper integrity-check quiet splash --
- initrd /casper/initrd.lz
- }
- --------------------------------------------------------------------------------
- ============================== sdc1/syslinux.cfg: ==============================
- --------------------------------------------------------------------------------
- DEFAULT loadconfig
- LABEL loadconfig
- CONFIG /isolinux/isolinux.cfg
- APPEND /isolinux/
- --------------------------------------------------------------------------------
- =============================== StdErr Messages: ===============================
- cat: write error: Broken pipe
- File descriptor 9 (/proc/24248/mounts) leaked on lvs invocation. Parent PID 25836: bash
- File descriptor 63 (pipe:[718791]) leaked on lvs invocation. Parent PID 25836: bash
- No volume groups found
- ADDITIONAL INFORMATION :
- =================== log of boot-repair 2015-01-24__12h03 ===================
- boot-repair version : 4ppa32
- boot-sav version : 4ppa32
- glade2script version : 3.2.2~ppa47~saucy
- boot-sav-extra version : 4ppa32
- boot-repair is executed in live-session (Netrunner 14.1 (Frontier), trusty, Netrunner, x86_64)
- CPU op-mode(s): 32-bit, 64-bit
- file=/cdrom/preseed/netrunner.seed boot=casper initrd=/casper/initrd.lz quiet splash -- BOOT_IMAGE=/casper/vmlinuz.efi
- ls: cannot access /home/usr/.config: No such file or directory
- WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
- =================== os-prober:
- /dev/sdb1:Netrunner 14.1 (Frontier) (14.1):Netrunner:linux
- =================== blkid:
- /dev/sda1: LABEL="Others" UUID="01D037AAE56F50B0" TYPE="ntfs"
- /dev/sda2: LABEL="Stuff" UUID="24B23A07B239DE4C" TYPE="ntfs"
- /dev/sdb1: UUID="005dacde-8edf-49f1-8fc4-b00695879c2f" TYPE="ext4"
- /dev/sdb5: UUID="1e169a63-d5f3-4a7b-a189-d1df6b07c5de" TYPE="swap"
- /dev/loop0: TYPE="squashfs"
- /dev/sdc1: LABEL="NETRUNNER14" UUID="30D1-79E8" TYPE="vfat"
- /dev/zram0: UUID="4fef554e-cef4-44e0-9715-d0454254ea04" TYPE="swap"
- /dev/zram1: UUID="3e889f0c-339e-4a97-8b26-117ecf55e1d9" TYPE="swap"
- /dev/zram2: UUID="5d102945-352b-45b9-ad70-735373d017ec" TYPE="swap"
- /dev/zram3: UUID="0cae3b45-4327-45d5-a9c8-d1098bdb74b5" TYPE="swap"
- 1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
- WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util sfdisk doesn't support GPT. Use GNU Parted.
- Warning: extended partition does not start at a cylinder boundary.
- DOS and Linux will interpret the contents differently.
- WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
- =================== sdb1/etc/grub.d/ :
- drwxr-xr-x 2 root root 4096 Jan 19 19:07 grub.d
- total 76
- -rwxr-xr-x 1 root root 9424 Apr 11 2014 00_header
- -rwxr-xr-x 1 root root 6058 Apr 10 2014 05_debian_theme
- -rwxr-xr-x 1 root root 11676 Jan 19 14:31 10_linux
- -rwxr-xr-x 1 root root 10412 Apr 11 2014 20_linux_xen
- -rwxr-xr-x 1 root root 1992 Mar 12 2014 20_memtest86+
- -rwxr-xr-x 1 root root 11692 Apr 11 2014 30_os-prober
- -rwxr-xr-x 1 root root 1416 Apr 11 2014 30_uefi-firmware
- -rwxr-xr-x 1 root root 214 Apr 11 2014 40_custom
- -rwxr-xr-x 1 root root 216 Apr 11 2014 41_custom
- -rw-r--r-- 1 root root 483 Apr 11 2014 README
- =================== sdb1/etc/default/grub :
- # If you change this file, run 'update-grub' afterwards to update
- # /boot/grub/grub.cfg.
- # For full documentation of the options in this file, see:
- # info -f grub -n 'Simple configuration'
- GRUB_DEFAULT=0
- GRUB_HIDDEN_TIMEOUT=0
- GRUB_HIDDEN_TIMEOUT_QUIET=true
- GRUB_TIMEOUT=10
- GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
- GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
- GRUB_CMDLINE_LINUX=""
- # Uncomment to enable BadRAM filtering, modify to suit your needs
- # This works with Linux (no patch required) and with any kernel that obtains
- # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
- #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
- # Uncomment to disable graphical terminal (grub-pc only)
- #GRUB_TERMINAL=console
- # The resolution used on graphical terminal
- # note that you can use only modes which your graphic card supports via VBE
- # you can see them in real GRUB with the command `vbeinfo'
- #GRUB_GFXMODE=640x480
- # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
- #GRUB_DISABLE_LINUX_UUID=true
- # Uncomment to disable generation of recovery mode menu entries
- #GRUB_DISABLE_RECOVERY="true"
- # Uncomment to get a beep at grub start
- #GRUB_INIT_TUNE="480 440 1"
- =================== UEFI/Legacy mode:
- This live-session is not in EFI-mode.
- SecureBoot maybe enabled.
- =================== PARTITIONS & DISKS:
- sda1 : sda, not-sepboot, 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, 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/sda2.
- sdb1 : sdb, not-sepboot, grubenv-ok grub2, signed grub-pc , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, /mnt/boot-sav/sdb1.
- sda : GPT, no-BIOS_boot, has-no-EFIpart, not-usb, no-os, 34 sectors * 512 bytes
- sdb : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
- =================== parted -l:
- Model: ATA ST3250318AS (scsi)
- Disk /dev/sda: 250GB
- Sector size (logical/physical): 512B/512B
- Partition Table: gpt
- Number Start End Size File system Name Flags
- 1 17.4kB 62.9GB 62.9GB ntfs msftdata
- 2 62.9GB 250GB 187GB ntfs Mi msftdata
- Model: ATA KINGSTON SV300S3 (scsi)
- Disk /dev/sdb: 120GB
- Sector size (logical/physical): 512B/512B
- Partition Table: msdos
- Number Start End Size Type File system Flags
- 1 1049kB 116GB 116GB primary ext4
- 2 116GB 120GB 4253MB extended
- 5 116GB 120GB 4253MB logical linux-swap(v1)
- Model: Kingston DT Locker (scsi)
- Disk /dev/sdc: 4008MB
- Sector size (logical/physical): 512B/512B
- Partition Table: msdos
- Number Start End Size Type File system Flags
- 1 1049kB 4008MB 4007MB 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:250GB:scsi:512:512:gpt:ATA ST3250318AS;
- 1:17.4kB:62.9GB:62.9GB:ntfs::msftdata;
- 2:62.9GB:250GB:187GB:ntfs:Mi:msftdata;
- BYT;
- /dev/sdb:120GB:scsi:512:512:msdos:ATA KINGSTON SV300S3;
- 1:1049kB:116GB:116GB:ext4::;
- 2:116GB:120GB:4253MB:::;
- 5:116GB:120GB:4253MB:linux-swap(v1)::;
- BYT;
- /dev/sdc:4008MB:scsi:512:512:msdos:Kingston DT Locker;
- 1:1049kB:4008MB:4007MB: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/sdc1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
- /dev/loop0 on /rofs type squashfs (ro,noatime)
- none on /sys/fs/cgroup type tmpfs (rw)
- none on /sys/fs/fuse/connections type fusectl (rw)
- none on /sys/kernel/debug type debugfs (rw)
- none on /sys/kernel/security type securityfs (rw)
- tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
- none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
- none on /run/shm type tmpfs (rw,nosuid,nodev)
- none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
- none on /sys/fs/pstore type pstore (rw)
- systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
- /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/sdb1 on /mnt/boot-sav/sdb1 type ext4 (rw)
- =================== ls:
- /sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 size slaves stat subsystem trace uevent
- /sys/block/sdb (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sdb1 sdb2 sdb5 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 sdc1 size slaves stat subsystem trace uevent
- /dev (filtered): autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk ecryptfs fd full fuse hidraw0 hidraw1 hidraw2 hidraw3 hidraw4 hpet input kmsg kvm log mapper mcelog mei mem net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sdb sdb1 sdb2 sdb5 sdc sdc1 sg0 sg1 sg2 shm snapshot snd stderr stdin stdout uhid uinput urandom usb vboxdrv vboxdrvu vboxnetctl vboxusb vga_arbiter vhci vhost-net 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 00 00 00 |........?.......|
- 00000020 00 00 00 00 80 00 80 00 dd 07 53 07 00 00 00 00 |..........S.....|
- 00000030 03 00 00 00 00 00 00 00 7d 30 75 00 00 00 00 00 |........}0u.....|
- 00000040 f6 00 00 00 01 00 00 00 b0 50 6f e5 aa 37 d0 01 |.........Po..7..|
- 00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb b8 c0 07 |.....3.....|....|
- 00000060 8e d8 e8 16 00 b8 00 0d 8e c0 33 db c6 06 0e 00 |..........3.....|
- 00000070 10 e8 53 00 68 00 0d 68 6a 02 cb 8a 16 24 00 b4 |..S.h..hj....$..|
- 00000080 08 cd 13 73 05 b9 ff ff 8a f1 66 0f b6 c6 40 66 |...s......f...@f|
- 00000090 0f b6 d1 80 e2 3f f7 e2 86 cd c0 ed 06 41 66 0f |.....?.......Af.|
- 000000a0 b7 c9 66 f7 e1 66 a3 20 00 c3 b4 41 bb aa 55 8a |..f..f. ...A..U.|
- 000000b0 16 24 00 cd 13 72 0f 81 fb 55 aa 75 09 f6 c1 01 |.$...r...U.u....|
- 000000c0 74 04 fe 06 14 00 c3 66 60 1e 06 66 a1 10 00 66 |t......f`..f...f|
- 000000d0 03 06 1c 00 66 3b 06 20 00 0f 82 3a 00 1e 66 6a |....f;. ...:..fj|
- 000000e0 00 66 50 06 53 66 68 10 00 01 00 80 3e 14 00 00 |.fP.Sfh.....>...|
- 000000f0 0f 85 0c 00 e8 b3 ff 80 3e 14 00 00 0f 84 61 00 |........>.....a.|
- 00000100 b4 42 8a 16 24 00 16 1f 8b f4 cd 13 66 58 5b 07 |.B..$.......fX[.|
- 00000110 66 58 66 58 1f eb 2d 66 33 d2 66 0f b7 0e 18 00 |fXfX..-f3.f.....|
- 00000120 66 f7 f1 fe c2 8a ca 66 8b d0 66 c1 ea 10 f7 36 |f......f..f....6|
- 00000130 1a 00 86 d6 8a 16 24 00 8a e8 c0 e4 06 0a cc b8 |......$.........|
- 00000140 01 02 cd 13 0f 82 19 00 8c c0 05 20 00 8e c0 66 |........... ...f|
- 00000150 ff 06 10 00 ff 0e 0e 00 0f 85 6f ff 07 1f 66 61 |..........o...fa|
- 00000160 c3 a0 f8 01 e8 09 00 a0 fb 01 e8 03 00 fb eb fe |................|
- 00000170 b4 01 8b f0 ac 3c 00 74 09 b4 0e bb 07 00 cd 10 |.....<.t........|
- 00000180 eb f2 c3 0d 0a 41 20 64 69 73 6b 20 72 65 61 64 |.....A disk read|
- 00000190 20 65 72 72 6f 72 20 6f 63 63 75 72 72 65 64 00 | error occurred.|
- 000001a0 0d 0a 4e 54 4c 44 52 20 69 73 20 6d 69 73 73 69 |..NTLDR is missi|
- 000001b0 6e 67 00 0d 0a 4e 54 4c 44 52 20 69 73 20 63 6f |ng...NTLDR is co|
- 000001c0 6d 70 72 65 73 73 65 64 00 0d 0a 50 72 65 73 73 |mpressed...Press|
- 000001d0 20 43 74 72 6c 2b 41 6c 74 2b 44 65 6c 20 74 6f | Ctrl+Alt+Del to|
- 000001e0 20 72 65 73 74 61 72 74 0d 0a 00 00 00 00 00 00 | restart........|
- 000001f0 00 00 00 00 00 00 00 00 83 a0 b3 c9 00 00 55 aa |..............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 08 53 07 |........?.....S.|
- 00000020 00 00 00 00 80 00 80 00 ff 47 c9 15 00 00 00 00 |.........G......|
- 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 4c de 39 b2 07 3a b2 24 |........L.9..:.$|
- 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
- WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
- =================== df -Th:
- Filesystem Type Size Used Avail Use% Mounted on
- /cow overlayfs 2.0G 1.7G 224M 89% /
- udev devtmpfs 1.9G 12K 1.9G 1% /dev
- tmpfs tmpfs 392M 1.5M 391M 1% /run
- /dev/sdc1 vfat 3.8G 1.5G 2.4G 39% /cdrom
- /dev/loop0 squashfs 1.4G 1.4G 0 100% /rofs
- none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
- tmpfs tmpfs 2.0G 20K 2.0G 1% /tmp
- none tmpfs 5.0M 4.0K 5.0M 1% /run/lock
- none tmpfs 2.0G 13M 1.9G 1% /run/shm
- none tmpfs 100M 20K 100M 1% /run/user
- /dev/sda1 fuseblk 59G 891M 58G 2% /mnt/boot-sav/sda1
- /dev/sda2 fuseblk 175G 137G 38G 79% /mnt/boot-sav/sda2
- /dev/sdb1 ext4 107G 5.1G 96G 6% /mnt/boot-sav/sdb1
- =================== fdisk -l:
- Disk /dev/sda: 250.1 GB, 250059350016 bytes
- 256 heads, 63 sectors/track, 30282 cylinders, total 488397168 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: 0x0ea6ed4c
- Device Boot Start End Blocks Id System
- /dev/sda1 1 488397167 244198583+ ee GPT
- Disk /dev/sdb: 120.0 GB, 120034123776 bytes
- 255 heads, 63 sectors/track, 14593 cylinders, total 234441648 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: 0x0009f01d
- Device Boot Start End Blocks Id System
- /dev/sdb1 2048 226131967 113064960 83 Linux
- /dev/sdb2 226134014 234440703 4153345 5 Extended
- /dev/sdb5 226134016 234440703 4153344 82 Linux swap / Solaris
- Disk /dev/sdc: 4007 MB, 4007657472 bytes
- 255 heads, 63 sectors/track, 487 cylinders, total 7827456 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: 0x007900fc
- Device Boot Start End Blocks Id System
- /dev/sdc1 * 2048 7827455 3912704 c W95 FAT32 (LBA)
- =================== Recommended repair
- The default repair of the Boot-Repair utility will purge (in order to) and reinstall the grub2 of sdb1 into the MBRs of all disks (except USB without OS).
- The boot flag will be placed on sdb1.
- Additional repair will be performed: unhide-bootmenu-10s
- parted /dev/sdb set 1 boot on
- Information: You may need to update /etc/fstab.
- WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
- chroot /mnt/boot-sav/sdb1 apt-get -y --force-yes update
- Purge the GRUB of sdb1
- grub-pc available
- 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 6 not upgraded.
- DEBCHECK debOK, grub-pc
- DEBCHECK debOK
- shim-signed available
- linux-signed-generic available
- Please type: sudo chroot "/mnt/boot-sav/sdb1" dpkg --configure -ansudo chroot "/mnt/boot-sav/sdb1" apt-get install -fynsudo chroot "/mnt/boot-sav/sdb1" apt-get purge -y --force-yes grub*-common grub-common:i386 shim-signed linux-signed*
- =================== sdb1/etc/grub.d/ :
- drwxr-xr-x 2 root root 4096 Jan 19 19:07 grub.d
- total 76
- -rwxr-xr-x 1 root root 9424 Apr 11 2014 00_header
- -rwxr-xr-x 1 root root 6058 Apr 10 2014 05_debian_theme
- -rwxr-xr-x 1 root root 11676 Jan 19 14:31 10_linux
- -rwxr-xr-x 1 root root 10412 Apr 11 2014 20_linux_xen
- -rwxr-xr-x 1 root root 1992 Mar 12 2014 20_memtest86+
- -rwxr-xr-x 1 root root 11692 Apr 11 2014 30_os-prober
- -rwxr-xr-x 1 root root 1416 Apr 11 2014 30_uefi-firmware
- -rwxr-xr-x 1 root root 214 Apr 11 2014 40_custom
- -rwxr-xr-x 1 root root 216 Apr 11 2014 41_custom
- -rw-r--r-- 1 root root 483 Apr 11 2014 README
- =================== sdb1/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"
- =================== sdb1/etc/grub.d/ :
- drwxr-xr-x 2 root root 4096 Jan 24 12:05 grub.d
- total 16
- -rwxr-xr-x 1 root root 11676 Jan 19 14:31 10_linux
- -rwxr-xr-x 1 root root 1992 Mar 12 2014 20_memtest86+
- Then type: sudo chroot "/mnt/boot-sav/sdb1" apt-get install -y --force-yes grub-pc linux-generic
- =================== sdb1/etc/grub.d/ :
- drwxr-xr-x 2 root root 4096 Jan 24 12:07 grub.d
- drwxr-xr-x 2 root root 4096 Jan 24 12:05 grub.d.bak
- total 60
- -rwxr-xr-x 1 root root 9424 May 15 2014 00_header
- -rwxr-xr-x 1 root root 6058 May 8 2014 05_debian_theme
- -rwxr-xr-x 1 root root 10412 May 15 2014 20_linux_xen
- -rwxr-xr-x 1 root root 11692 May 15 2014 30_os-prober
- -rwxr-xr-x 1 root root 1416 May 15 2014 30_uefi-firmware
- -rwxr-xr-x 1 root root 214 May 15 2014 40_custom
- -rwxr-xr-x 1 root root 216 May 15 2014 41_custom
- -rw-r--r-- 1 root root 483 May 15 2014 README
- =================== sdb1/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"
- Unhide GRUB boot menu in sdb1/etc/default/grub
- =================== sdb1/etc/grub.d/ :
- drwxr-xr-x 2 root root 4096 Jan 24 12:07 grub.d
- drwxr-xr-x 2 root root 4096 Jan 24 12:05 grub.d.bak
- total 60
- -rwxr-xr-x 1 root root 9424 May 15 2014 00_header
- -rwxr-xr-x 1 root root 6058 May 8 2014 05_debian_theme
- -rwxr-xr-x 1 root root 10412 May 15 2014 20_linux_xen
- -rwxr-xr-x 1 root root 11692 May 15 2014 30_os-prober
- -rwxr-xr-x 1 root root 1416 May 15 2014 30_uefi-firmware
- -rwxr-xr-x 1 root root 214 May 15 2014 40_custom
- -rwxr-xr-x 1 root root 216 May 15 2014 41_custom
- -rw-r--r-- 1 root root 483 May 15 2014 README
- =================== sdb1/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"
- Reinstall the GRUB of sdb1 into all MBRs of disks with OS or not-USB
- *******lspci -nnk | grep -iA3 vga
- 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM107 [GeForce GTX 750 Ti] [10de:1380] (rev a2)
- Subsystem: Gigabyte Technology Co., Ltd Device [1458:362d]
- 01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:0fbc] (rev a1)
- Subsystem: Gigabyte Technology Co., Ltd Device [1458:362d]
- *******
- grub-install --version
- grub-install (GRUB) 2.02~beta2-9ubuntu1,grub-install (GRUB) 2.
- Reinstall the GRUB of sdb1 into the MBR of sda
- Installing for i386-pc platform.
- grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
- grub-install: error: embedding is not possible, but this is required for cross-disk install.
- grub-install /dev/sda: exit code of grub-install /dev/sda:1
- *******lspci -nnk | grep -iA3 vga
- 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM107 [GeForce GTX 750 Ti] [10de:1380] (rev a2)
- Subsystem: Gigabyte Technology Co., Ltd Device [1458:362d]
- 01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:0fbc] (rev a1)
- Subsystem: Gigabyte Technology Co., Ltd Device [1458:362d]
- *******
- grub-install --version
- grub-install (GRUB) 2.02~beta2-9ubuntu1,grub-install (GRUB) 2.
- Reinstall the GRUB of sdb1 into the MBR of sdb
- Installing for i386-pc platform.
- Installation finished. No error reported.
- grub-install /dev/sdb: exit code of grub-install /dev/sdb:0
- chroot /mnt/boot-sav/sdb1 update-grub
- Generating grub configuration file ...
- File descriptor 9 (/proc/24248/mounts) leaked on lvs invocation. Parent PID 23026: /bin/sh
- File descriptor 63 (pipe:[718791]) leaked on lvs invocation. Parent PID 23026: /bin/sh
- No volume groups found
- Unhide GRUB boot menu in sdb1/boot/grub/grub.cfg
- Boot successfully repaired.
- You can now reboot your computer.
- Please do not forget to make your BIOS boot on sdb (120GB) disk!