- Boot Info Script 0.61.full + Boot-Repair extra info [Boot-Info December 25th 2012]
- ============================= Boot Info Summary: ===============================
- => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector
- 788748288 of the same hard drive for core.img. core.img is at this
- location and looks in partition 1 for (,gpt7)/boot/grub.
- sda1: __________________________________________________________________________
- File system: ntfs
- Boot sector type: Windows Vista/7: NTFS
- Boot sector info: No errors found in the Boot Parameter Block.
- Operating System:
- Boot files:
- sda2: __________________________________________________________________________
- File system:
- Boot sector type: -
- Boot sector info:
- Mounting failed: mount: unknown filesystem type ''
- sda3: __________________________________________________________________________
- File system: ntfs
- Boot sector type: Windows Vista/7: NTFS
- Boot sector info: No errors found in the Boot Parameter Block.
- Operating System:
- Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
- sda4: __________________________________________________________________________
- File system: ntfs
- Boot sector type: Windows Vista/7: NTFS
- Boot sector info: No errors found in the Boot Parameter Block.
- Operating System:
- Boot files:
- sda5: __________________________________________________________________________
- File system: ntfs
- Boot sector type: Windows Vista/7: NTFS
- Boot sector info: No errors found in the Boot Parameter Block.
- Operating System:
- Boot files: /bootmgr /boot/bcd
- sda6: __________________________________________________________________________
- File system: BIOS Boot partition
- Boot sector type: Grub2's core.img
- Boot sector info:
- sda7: __________________________________________________________________________
- File system: ext4
- Boot sector type: Grub2 (v1.99-2.00)
- Boot sector info: Grub2 (v2.00) is installed in the boot sector of sda7
- and looks at sector 889913424 of the same hard drive
- for core.img. core.img is at this location and looks
- in partition 1 for (,gpt7)/boot/grub.
- Operating System: Linux Mint 14 Nadia
- Boot files: /boot/grub/grub.cfg /etc/fstab
- /boot/grub/i386-pc/core.img
- sda8: __________________________________________________________________________
- File system: swap
- Boot sector type: -
- Boot sector info:
- ============================ Drive/Partition Info: =============================
- Drive: sda _____________________________________________________________________
- Disk /dev/sda: 500.1 GB, 500107862016 bytes
- 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
- Units = sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 4096 bytes
- Partition Boot Start Sector End Sector # of Sectors Id System
- /dev/sda1 1 976,773,167 976,773,167 ee GPT
- GUID Partition Table detected.
- Partition Start Sector End Sector # of Sectors System
- /dev/sda1 2,048 411,647 409,600 EFI System partition
- /dev/sda2 411,648 673,791 262,144 Microsoft Reserved Partition (Windows)
- /dev/sda3 673,792 391,383,039 390,709,248 Data partition (Windows/Linux)
- /dev/sda4 391,383,040 788,748,023 397,364,984 Data partition (Windows/Linux)
- /dev/sda5 924,344,320 976,773,119 52,428,800 Windows Recovery Environment (Windows)
- /dev/sda6 788,748,288 788,750,335 2,048 BIOS Boot partition
- /dev/sda7 788,750,336 911,996,927 123,246,592 Data partition (Windows/Linux)
- /dev/sda8 911,996,928 924,344,319 12,347,392 Swap partition (Linux)
- "blkid" output: ________________________________________________________________
- Device UUID TYPE LABEL
- /dev/loop0 squashfs
- /dev/sda1 BA0884A9088465EB ntfs
- /dev/sda3 8AF24081F240738B ntfs OS
- /dev/sda4 7C5A04CA5A04835E ntfs DATA
- /dev/sda5 AC7A43BA7A438056 ntfs Recovery
- /dev/sda7 c942ebc8-5bd6-4264-9601-2fbbb2dd1cdd ext4
- /dev/sda8 eb8c774b-c6da-4a71-9de4-41997049193d swap
- /dev/sr0 iso9660 Linux Mint 14 KDE 64-bit
- ================================ Mount points: =================================
- Device Mount_Point Type Options
- /dev/loop0 /rofs squashfs (ro,noatime)
- /dev/sr0 /cdrom iso9660 (ro,noatime)
- =========================== sda7/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
- set default="0"
- if [ x"${feature_menuentry_id}" = xy ]; then
- menuentry_id_option="--id"
- else
- menuentry_id_option=""
- fi
- export menuentry_id_option
- if [ "${prev_saved_entry}" ]; then
- set saved_entry="${prev_saved_entry}"
- save_env saved_entry
- set prev_saved_entry=
- save_env prev_saved_entry
- set boot_once=true
- fi
- function savedefault {
- if [ -z "${boot_once}" ]; then
- saved_entry="${chosen}"
- save_env saved_entry
- fi
- }
- function recordfail {
- set recordfail=1
- if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
- }
- function load_video {
- if [ x$feature_all_video_module = xy ]; then
- insmod all_video
- else
- insmod efi_gop
- insmod efi_uga
- insmod ieee1275_fb
- insmod vbe
- insmod vga
- insmod video_bochs
- insmod video_cirrus
- fi
- }
- if [ x$feature_default_font_path = xy ] ; then
- font=unicode
- else
- insmod part_gpt
- insmod ext2
- set root='hd0,gpt7'
- if [ x$feature_platform_search_hint = xy ]; then
- search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 c942ebc8-5bd6-4264-9601-2fbbb2dd1cdd
- else
- search --no-floppy --fs-uuid --set=root c942ebc8-5bd6-4264-9601-2fbbb2dd1cdd
- 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
- set timeout=10
- fi
- ### END /etc/grub.d/00_header ###
- ### BEGIN /etc/grub.d/05_debian_theme ###
- set menu_color_normal=white/black
- set menu_color_highlight=black/light-gray
- if background_color 0,0,0; then
- clear
- fi
- ### END /etc/grub.d/05_debian_theme ###
- ### BEGIN /etc/grub.d/10_linux ###
- function gfxmode {
- set gfxpayload="${1}"
- if [ "${1}" = "keep" ]; then
- set vt_handoff=vt.handoff=7
- else
- set vt_handoff=
- fi
- }
- if [ "${recordfail}" != 1 ]; then
- if [ -e ${prefix}/gfxblacklist.txt ]; then
- if hwmatch ${prefix}/gfxblacklist.txt 3; then
- if [ ${match} = 0 ]; then
- set linux_gfx_mode=keep
- else
- set linux_gfx_mode=text
- fi
- else
- set linux_gfx_mode=text
- fi
- else
- set linux_gfx_mode=keep
- fi
- else
- set linux_gfx_mode=text
- fi
- export linux_gfx_mode
- if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
- menuentry 'LinuxMint' --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c942ebc8-5bd6-4264-9601-2fbbb2dd1cdd' {
- recordfail
- gfxmode $linux_gfx_mode
- insmod gzio
- insmod part_gpt
- insmod ext2
- set root='hd0,gpt7'
- if [ x$feature_platform_search_hint = xy ]; then
- search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 c942ebc8-5bd6-4264-9601-2fbbb2dd1cdd
- else
- search --no-floppy --fs-uuid --set=root c942ebc8-5bd6-4264-9601-2fbbb2dd1cdd
- fi
- linux /boot/vmlinuz-3.5.0-17-generic root=UUID=c942ebc8-5bd6-4264-9601-2fbbb2dd1cdd ro quiet splash $vt_handoff
- initrd /boot/initrd.img-3.5.0-17-generic
- }
- submenu 'Advanced options for LinuxMint' $menuentry_id_option 'gnulinux-advanced-c942ebc8-5bd6-4264-9601-2fbbb2dd1cdd' {
- menuentry 'LinuxMint, with Linux 3.5.0-17-generic' --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-17-generic-advanced-c942ebc8-5bd6-4264-9601-2fbbb2dd1cdd' {
- recordfail
- gfxmode $linux_gfx_mode
- insmod gzio
- insmod part_gpt
- insmod ext2
- set root='hd0,gpt7'
- if [ x$feature_platform_search_hint = xy ]; then
- search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 c942ebc8-5bd6-4264-9601-2fbbb2dd1cdd
- else
- search --no-floppy --fs-uuid --set=root c942ebc8-5bd6-4264-9601-2fbbb2dd1cdd
- fi
- echo 'Loading Linux 3.5.0-17-generic ...'
- linux /boot/vmlinuz-3.5.0-17-generic root=UUID=c942ebc8-5bd6-4264-9601-2fbbb2dd1cdd ro quiet splash $vt_handoff
- echo 'Loading initial ramdisk ...'
- initrd /boot/initrd.img-3.5.0-17-generic
- }
- menuentry 'LinuxMint, with Linux 3.5.0-17-generic (recovery mode)' --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-17-generic-recovery-c942ebc8-5bd6-4264-9601-2fbbb2dd1cdd' {
- recordfail
- insmod gzio
- insmod part_gpt
- insmod ext2
- set root='hd0,gpt7'
- if [ x$feature_platform_search_hint = xy ]; then
- search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 c942ebc8-5bd6-4264-9601-2fbbb2dd1cdd
- else
- search --no-floppy --fs-uuid --set=root c942ebc8-5bd6-4264-9601-2fbbb2dd1cdd
- fi
- echo 'Loading Linux 3.5.0-17-generic ...'
- linux /boot/vmlinuz-3.5.0-17-generic root=UUID=c942ebc8-5bd6-4264-9601-2fbbb2dd1cdd ro recovery nomodeset
- echo 'Loading initial ramdisk ...'
- initrd /boot/initrd.img-3.5.0-17-generic
- }
- }
- ### END /etc/grub.d/10_linux ###
- ### BEGIN /etc/grub.d/20_linux_xen ###
- ### END /etc/grub.d/20_linux_xen ###
- ### BEGIN /etc/grub.d/30_os-prober ###
- menuentry 'Windows 7 (loader) (on /dev/sda3)' --class windows --class os $menuentry_id_option 'osprober-chain-8AF24081F240738B' {
- insmod part_gpt
- insmod ntfs
- set root='hd0,gpt3'
- if [ x$feature_platform_search_hint = xy ]; then
- search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 8AF24081F240738B
- else
- search --no-floppy --fs-uuid --set=root 8AF24081F240738B
- fi
- chainloader +1
- }
- menuentry 'Windows Recovery Environment (loader) (on /dev/sda5)' --class windows --class os $menuentry_id_option 'osprober-chain-AC7A43BA7A438056' {
- insmod part_gpt
- insmod ntfs
- set root='hd0,gpt5'
- if [ x$feature_platform_search_hint = xy ]; then
- search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 AC7A43BA7A438056
- else
- search --no-floppy --fs-uuid --set=root AC7A43BA7A438056
- fi
- drivemap -s (hd0) ${root}
- chainloader +1
- }
- ### 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 ###
- --------------------------------------------------------------------------------
- =============================== sda7/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>
- proc /proc proc nodev,noexec,nosuid 0 0
- # / was on /dev/sda7 during installation
- UUID=c942ebc8-5bd6-4264-9601-2fbbb2dd1cdd / ext4 errors=remount-ro 0 1
- # swap was on /dev/sda8 during installation
- UUID=eb8c774b-c6da-4a71-9de4-41997049193d none swap sw 0 0
- --------------------------------------------------------------------------------
- =================== sda7: Location of files loaded by Grub: ====================
- GiB - GB File Fragment(s)
- 392.249519348 = 421.174714368 boot/grub/grub.cfg 1
- 377.040019989 = 404.843638784 boot/initrd.img-3.5.0-17-generic 1
- 392.239219666 = 421.163655168 boot/vmlinuz-3.5.0-17-generic 1
- 377.040019989 = 404.843638784 initrd.img 1
- 392.239219666 = 421.163655168 vmlinuz 1
- =============================== StdErr Messages: ===============================
- cat: write error: Broken pipe
- cat: write error: Broken pipe
- File descriptor 9 (/proc/5565/mounts) leaked on lvscan invocation. Parent PID 30139: bash
- No volume groups found
- ADDITIONAL INFORMATION :
- =================== log of boot-repair 2012-12-29__23h45 ===================
- boot-repair version : 3.197~ppa13~quantal
- boot-sav version : 3.197~ppa13~quantal
- glade2script version : 3.2.2~ppa45~quantal
- boot-sav-extra version : 3.197~ppa13~quantal
- boot-repair is executed in live-session (Linux Mint 14 Nadia, nadia, LinuxMint, x86_64)
- CPU op-mode(s): 32-bit, 64-bit
- file=/cdrom/preseed/mint.seed boot=casper initrd=/casper/initrd.lz quiet splash -- BOOT_IMAGE=/casper/vmlinuz
- WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
- =================== os-prober:
- /dev/sda3:Windows 7 (loader):Windows:chain
- /dev/sda5:Windows Recovery Environment (loader):Windows1:chain
- /dev/sda7:Linux Mint 14 Nadia (14):LinuxMint:linux
- =================== blkid:
- /dev/loop0: TYPE="squashfs"
- /dev/sda1: UUID="BA0884A9088465EB" TYPE="ntfs"
- /dev/sda3: LABEL="OS" UUID="8AF24081F240738B" TYPE="ntfs"
- /dev/sda4: LABEL="DATA" UUID="7C5A04CA5A04835E" TYPE="ntfs"
- /dev/sda5: LABEL="Recovery" UUID="AC7A43BA7A438056" TYPE="ntfs"
- /dev/sda7: UUID="c942ebc8-5bd6-4264-9601-2fbbb2dd1cdd" TYPE="ext4"
- /dev/sda8: UUID="eb8c774b-c6da-4a71-9de4-41997049193d" TYPE="swap"
- /dev/sr0: LABEL="Linux Mint 14 KDE 64-bit" TYPE="iso9660"
- 1 disks with OS, 3 OS : 1 Linux, 0 MacOS, 2 Windows, 0 unknown type OS.
- WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util sfdisk doesn't support GPT. Use GNU Parted.
- WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
- Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda3/EFI/Microsoft/Boot/bootmgfw.efi
- Presence of EFI/Boot file detected: /mnt/boot-sav/sda3/EFI/Boot/bootx64.efi
- =================== sda7/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"
- =================== sda7/etc/grub.d/ :
- drwxr-xr-x 2 root root 4096 Nov 19 14:34 grub.d
- total 88
- -rwxr-xr-x 1 root root 7541 Oct 14 17:36 00_header
- -rwxr-xr-x 1 root root 5488 Oct 4 09:30 05_debian_theme
- -rwxr-xr-x 1 root root 1183 Oct 23 2011 06_mint_theme
- -rwxr-xr-x 1 root root 10891 Oct 14 17:36 10_linux
- -rwxr-xr-x 1 root root 10634 Oct 1 13:44 10_lupin
- -rwxr-xr-x 1 root root 10258 Oct 14 17:36 20_linux_xen
- -rwxr-xr-x 1 root root 1688 Oct 11 14:10 20_memtest86+
- -rwxr-xr-x 1 root root 10976 Oct 14 17:36 30_os-prober
- -rwxr-xr-x 1 root root 1426 Oct 14 17:36 30_uefi-firmware
- -rwxr-xr-x 1 root root 214 Oct 14 17:36 40_custom
- -rwxr-xr-x 1 root root 216 Oct 14 17:36 41_custom
- -rw-r--r-- 1 root root 483 Oct 14 17:36 README
- =================== UEFI/Legacy mode:
- BIOS is EFI-compatible, but it is not setup in EFI-mode for this live-session.
- 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.
- sda3 : 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/sda3.
- 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, no-bmgr, notwinboot, 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, is-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, bootmgr, is-winboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda5.
- sda7 : sda, not-sepboot, grubenv-ok grub2, grub-pc , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, /mnt/boot-sav/sda7.
- sda : GPT, BIOS_boot, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
- =================== parted -l:
- Model: ATA Hitachi HTS54505 (scsi)
- Disk /dev/sda: 500GB
- Sector size (logical/physical): 512B/4096B
- Partition Table: gpt
- Number Start End Size File system Name Flags
- 1 1049kB 211MB 210MB ntfs EFI system partition boot
- 2 211MB 345MB 134MB Microsoft reserved partition msftres
- 3 345MB 200GB 200GB ntfs Basic data partition
- 4 200GB 404GB 203GB ntfs Basic data partition
- 6 404GB 404GB 1049kB bios_grub
- 7 404GB 467GB 63.1GB ext4
- 8 467GB 473GB 6322MB linux-swap(v1)
- 5 473GB 500GB 26.8GB ntfs Basic data partition diag
- Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
- has been opened read-only.
- Error: Invalid partition table - recursive partition on /dev/sr0.
- =================== parted -lm:
- BYT;
- /dev/sda:500GB:scsi:512:4096:gpt:ATA Hitachi HTS54505;
- 1:1049kB:211MB:210MB:ntfs:EFI system partition:boot;
- 2:211MB:345MB:134MB::Microsoft reserved partition:msftres;
- 3:345MB:200GB:200GB:ntfs:Basic data partition:;
- 4:200GB:404GB:203GB:ntfs:Basic data partition:;
- 6:404GB:404GB:1049kB:::bios_grub;
- 7:404GB:467GB:63.1GB:ext4::;
- 8:467GB:473GB:6322MB:linux-swap(v1)::;
- 5:473GB:500GB:26.8GB:ntfs:Basic data partition:diag;
- Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
- has been opened read-only.
- Error: Invalid partition table - recursive partition on /dev/sr0.
- =================== mount:
- aufs on / type aufs (rw)
- proc on /proc type proc (rw,noexec,nosuid,nodev)
- sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
- udev on /dev type devtmpfs (rw,mode=0755)
- devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
- tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
- /dev/sr0 on /cdrom type iso9660 (ro,noatime)
- /dev/loop0 on /rofs type squashfs (ro,noatime)
- none on /sys/fs/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)
- /dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
- /dev/sda3 on /mnt/boot-sav/sda3 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 fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
- /dev/sda7 on /mnt/boot-sav/sda7 type ext4 (rw)
- =================== ls:
- /sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8 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): alarm ashmem autofs binder block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency disk dri dvd dvdrw ecryptfs fb0 fb1 fd full fuse hidraw0 hpet input kmsg kvm log mapper mcelog mei mem net network_latency network_throughput null oldmem port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uinput urandom v4l vga_arbiter vhost-net video0 zero
- ls /dev/mapper: control
- WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
- =================== df -Th:
- Filesystem Type Size Used Avail Use% Mounted on
- aufs aufs 2.9G 355M 2.6G 13% /
- udev devtmpfs 2.9G 12K 2.9G 1% /dev
- tmpfs tmpfs 1.2G 1016K 1.2G 1% /run
- /dev/sr0 iso9660 1.1G 1.1G 0 100% /cdrom
- /dev/loop0 squashfs 1007M 1007M 0 100% /rofs
- tmpfs tmpfs 2.9G 56K 2.9G 1% /tmp
- none tmpfs 5.0M 0 5.0M 0% /run/lock
- none tmpfs 2.9G 172K 2.9G 1% /run/shm
- none tmpfs 100M 12K 100M 1% /run/user
- /dev/sda1 fuseblk 200M 16M 185M 8% /mnt/boot-sav/sda1
- /dev/sda3 fuseblk 187G 166G 22G 89% /mnt/boot-sav/sda3
- /dev/sda4 fuseblk 190G 128G 63G 68% /mnt/boot-sav/sda4
- /dev/sda5 fuseblk 25G 18G 7.1G 72% /mnt/boot-sav/sda5
- /dev/sda7 ext4 58G 3.6G 52G 7% /mnt/boot-sav/sda7
- =================== fdisk -l:
- Disk /dev/sda: 500.1 GB, 500107862016 bytes
- 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
- Units = sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 4096 bytes
- I/O size (minimum/optimal): 4096 bytes / 4096 bytes
- Disk identifier: 0x527cd163
- Device Boot Start End Blocks Id System
- /dev/sda1 1 976773167 488386583+ ee GPT
- Partition 1 does not start on physical sector boundary.
- =================== Default settings
- Recommended-Repair
- This setting would reinstall the grub2 of sda7 into the MBR of sda.
- Additional repair would be performed: unhide-bootmenu-10s
- =================== Settings chosen by the user
- Custom-Repair
- This setting will purge () and reinstall the grub2 of sda7 into the MBR of sda.
- Additional repair will be performed: unhide-bootmenu-10s repair-filesystems
- Force Unmount all blkid partitions (for fsck) except / /boot /cdrom /dev /etc /home /opt /pas /proc /rofs /sys /tmp /usr /var
- WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
- fsck -fyM /dev/sda1
- fsck from util-linux 2.20.1
- WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
- fsck -fyM /dev/sda3
- fsck from util-linux 2.20.1
- WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
- fsck -fyM /dev/sda4
- fsck from util-linux 2.20.1
- WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
- fsck -fyM /dev/sda5
- fsck from util-linux 2.20.1
- WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
- fsck -fyM /dev/sda7
- fsck from util-linux 2.20.1
- chroot /mnt/boot-sav/sda7 apt-get -y --force-yes update
- Purge the GRUB of sda7
- grub-pc available
- 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 329 not upgraded.
- DEBCHECK debOK, grub-pc
- DEBCHECK debOK
- shim-signed available
- linux-signed-generic available
- Please type: sudo chroot "/mnt/boot-sav/sda7" dpkg --configure -ansudo chroot "/mnt/boot-sav/sda7" apt-get install -fynsudo chroot "/mnt/boot-sav/sda7" apt-get purge -y --force-yes grub*-common lupin-s* shim-signed linux-signed*
- =================== sda7/etc/grub.d/ :
- drwxr-xr-x 2 root root 4096 Dec 29 23:52 grub.d
- total 8
- -rwxr-xr-x 1 root root 1183 Oct 23 2011 06_mint_theme
- -rwxr-xr-x 1 root root 1688 Oct 11 14:10 20_memtest86+
- Then type: sudo chroot "/mnt/boot-sav/sda7" apt-get install -y --force-yes grub-pc linux
- =================== sda7/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"
- =================== sda7/etc/grub.d/ :
- drwxr-xr-x 2 root root 4096 Dec 29 23:53 grub.d
- drwxr-xr-x 2 root root 4096 Dec 29 23:52 grub.d.bak
- total 68
- -rwxr-xr-x 1 root root 7541 Oct 14 17:36 00_header
- -rwxr-xr-x 1 root root 5488 Oct 4 09:30 05_debian_theme
- -rwxr-xr-x 1 root root 10891 Oct 14 17:36 10_linux
- -rwxr-xr-x 1 root root 10258 Oct 14 17:36 20_linux_xen
- -rwxr-xr-x 1 root root 10976 Oct 14 17:36 30_os-prober
- -rwxr-xr-x 1 root root 1426 Oct 14 17:36 30_uefi-firmware
- -rwxr-xr-x 1 root root 214 Oct 14 17:36 40_custom
- -rwxr-xr-x 1 root root 216 Oct 14 17:36 41_custom
- -rw-r--r-- 1 root root 483 Oct 14 17:36 README
- Unhide GRUB boot menu in sda7/etc/default/grub
- =================== sda7/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"
- =================== sda7/etc/grub.d/ :
- drwxr-xr-x 2 root root 4096 Dec 29 23:53 grub.d
- drwxr-xr-x 2 root root 4096 Dec 29 23:52 grub.d.bak
- total 68
- -rwxr-xr-x 1 root root 7541 Oct 14 17:36 00_header
- -rwxr-xr-x 1 root root 5488 Oct 4 09:30 05_debian_theme
- -rwxr-xr-x 1 root root 10891 Oct 14 17:36 10_linux
- -rwxr-xr-x 1 root root 10258 Oct 14 17:36 20_linux_xen
- -rwxr-xr-x 1 root root 10976 Oct 14 17:36 30_os-prober
- -rwxr-xr-x 1 root root 1426 Oct 14 17:36 30_uefi-firmware
- -rwxr-xr-x 1 root root 214 Oct 14 17:36 40_custom
- -rwxr-xr-x 1 root root 216 Oct 14 17:36 41_custom
- -rw-r--r-- 1 root root 483 Oct 14 17:36 README
- grub-install (GRUB) 2.00-7ubuntu11,grub-install (GRUB) 2.
- Reinstall the GRUB of sda7 into the MBR of sda
- Installation finished. No error reported.
- grub-install /dev/sda: exit code of grub-install /dev/sda:0
- chroot /mnt/boot-sav/sda7 update-grub
- Generating grub.cfg ...
- Found linux image: /boot/vmlinuz-3.5.0-17-generic
- Found initrd image: /boot/initrd.img-3.5.0-17-generic
- Found Windows 7 (loader) on /dev/sda3
- Found Windows Recovery Environment (loader) on /dev/sda5
- Unhide GRUB boot menu in sda7/boot/grub/grub.cfg
- Boot successfully repaired.
- You can now reboot your computer.