os-prober does not detect Android

Bug #1440218 reported by CAPITAN WHIPALA
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
os-prober (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

(boot-repair info attached at the end...)

"os-prober" package of Ubuntu 14.10 does not detect my Android install located on sda5 partition.

I could workaround the situation by using GRUB-CUSTOMIZER:
adding an entry for Android and editing the source code tab with the correct Android kernel and initrd locations.

thanks
CAPITAN WHIPALA

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

 Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 9Feb2015]

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

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    for (,msdos3)/boot/grub.

sda1: __________________________________________________________________________

    File system: ntfs
    Boot sector type: Windows 2000/XP: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System: Windows XP
    Boot files: /boot.ini /ntldr /NTDETECT.COM

sda2: __________________________________________________________________________

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

sda5: __________________________________________________________________________

    File system: ext2
    Boot sector type: -
    Boot sector info:
    Operating System:
    Boot files: /grub/menu.lst

sda3: __________________________________________________________________________

    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System: Ubuntu 14.10
    Boot files: /boot/grub/grub.cfg /etc/fstab
                       /boot/grub/i386-pc/core.img

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 37.3 GiB, 40007761920 bytes, 78140160 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 * 63 12,290,047 12,289,985 7 NTFS /
exFAT / HPFS
/dev/sda2 12,296,190 47,112,598 34,816,409 5 Extended
/dev/sda5 12,296,192 47,112,598 34,816,407 83 Linux
/dev/sda3 47,114,240 78,137,343 31,023,104 83 Linux

"blkid" output: ________________________________________________________________

Device UUID TYPE LABEL

/dev/sda1 BE3872793872310F ntfs WINXP
/dev/sda3 c23cc463-dbca-402a-8348-03c870a6eec5 ext4 LUBUNTU
/dev/sda5 98df443c-0dfd-4ed3-ab91-7f4b9ff5153f ext2 Android-x86

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

total 0
lrwxrwxrwx 1 root root 9 Apr 2 2015
ata-HL-DT-STCD-RW_DVD_DRIVE_GCC-4244N -> ../../sr0
lrwxrwxrwx 1 root root 9 Apr 2 00:11
ata-WDC_WD400UE-22HCT0_WD-WXE406637928 -> ../../sda
lrwxrwxrwx 1 root root 10 Apr 2 00:11
ata-WDC_WD400UE-22HCT0_WD-WXE406637928-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Apr 2 00:04
ata-WDC_WD400UE-22HCT0_WD-WXE406637928-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Apr 2 2015
ata-WDC_WD400UE-22HCT0_WD-WXE406637928-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Apr 2 00:04
ata-WDC_WD400UE-22HCT0_WD-WXE406637928-part5 -> ../../sda5

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

Device Mount_Point Type Options

/dev/sda3 / ext4
(rw,noatime,errors=remount-ro)

================================ sda1/boot.ini: ================================

--------------------------------------------------------------------------------
[boot loader]
timeout=7
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP
Professional" /noexecute=optin /fastdetect
--------------------------------------------------------------------------------

============================= sda5/grub/menu.lst: ==============================

--------------------------------------------------------------------------------
default=0
timeout=36
splashimage=/grub/android-x86.xpm.gz
root (hd0,4)

title Android-x86 4.4-r2
        kernel /android-4.4-r2/kernel quiet root=/dev/ram0
androidboot.hardware=android_x86 SRC=/android-4.4-r2
        initrd /android-4.4-r2/initrd.img

title Android-x86 4.4-r2 (Debug mode)
        kernel /android-4.4-r2/kernel root=/dev/ram0
androidboot.hardware=android_x86 DEBUG=2 SRC=/android-4.4-r2
        initrd /android-4.4-r2/initrd.img

title Android-x86 4.4-r2 (Debug nomodeset)
        kernel /android-4.4-r2/kernel nomodeset root=/dev/ram0
androidboot.hardware=android_x86 DEBUG=2 SRC=/android-4.4-r2
        initrd /android-4.4-r2/initrd.img

title Android-x86 4.4-r2 (Debug video=LVDS-1:d)
        kernel /android-4.4-r2/kernel video=LVDS-1:d root=/dev/ram0
androidboot.hardware=android_x86 DEBUG=2 SRC=/android-4.4-r2
        initrd /android-4.4-r2/initrd.img

title Windows
        rootnoverify (hd0,0)
        chainloader +1

title Lubuntu
        root (hd0,2)
        kernel /vmlinuz
        initrd /initrd.img

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

=========================== sda3/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='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3
--hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3
c23cc463-dbca-402a-8348-03c870a6eec5
else
  search --no-floppy --fs-uuid --set=root c23cc463-dbca-402a-8348-03c870a6eec5
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=es_AR
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=33
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=33
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=33
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
        set gfxpayload="${1}"
        if [ "${1}" = "keep" ]; then
                set vt_handoff=vt.handoff=7
        else
                set vt_handoff=
        fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu
--class os $menuentry_id_option
'gnulinux-simple-c23cc463-dbca-402a-8348-03c870a6eec5' {
        recordfail
        load_video
        gfxmode $linux_gfx_mode
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos3'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3
--hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3
c23cc463-dbca-402a-8348-03c870a6eec5
        else
          search --no-floppy --fs-uuid --set=root c23cc463-dbca-402a-8348-03c870a6eec5
        fi
        linux /boot/vmlinuz-3.16.0-33-generic
root=UUID=c23cc463-dbca-402a-8348-03c870a6eec5 ro quiet splash
$vt_handoff
        initrd /boot/initrd.img-3.16.0-33-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option
'gnulinux-advanced-c23cc463-dbca-402a-8348-03c870a6eec5' {
        menuentry 'Ubuntu, with Linux 3.16.0-33-generic' --class ubuntu
--class gnu-linux --class gnu --class os $menuentry_id_option
'gnulinux-3.16.0-33-generic-advanced-c23cc463-dbca-402a-8348-03c870a6eec5'
{
                recordfail
                load_video
                gfxmode $linux_gfx_mode
                insmod gzio
                insmod part_msdos
                insmod ext2
                set root='hd0,msdos3'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3
--hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3
c23cc463-dbca-402a-8348-03c870a6eec5
                else
                  search --no-floppy --fs-uuid --set=root c23cc463-dbca-402a-8348-03c870a6eec5
                fi
                echo 'Loading Linux 3.16.0-33-generic ...'
                linux /boot/vmlinuz-3.16.0-33-generic
root=UUID=c23cc463-dbca-402a-8348-03c870a6eec5 ro quiet splash
$vt_handoff
                echo 'Loading initial ramdisk ...'
                initrd /boot/initrd.img-3.16.0-33-generic
        }
        menuentry 'Ubuntu, with Linux 3.16.0-33-generic (recovery mode)'
--class ubuntu --class gnu-linux --class gnu --class os
$menuentry_id_option
'gnulinux-3.16.0-33-generic-recovery-c23cc463-dbca-402a-8348-03c870a6eec5'
{
                recordfail
                load_video
                insmod gzio
                insmod part_msdos
                insmod ext2
                set root='hd0,msdos3'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3
--hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3
c23cc463-dbca-402a-8348-03c870a6eec5
                else
                  search --no-floppy --fs-uuid --set=root c23cc463-dbca-402a-8348-03c870a6eec5
                fi
                echo 'Loading Linux 3.16.0-33-generic ...'
                linux /boot/vmlinuz-3.16.0-33-generic
root=UUID=c23cc463-dbca-402a-8348-03c870a6eec5 ro recovery nomodeset
                echo 'Loading initial ramdisk ...'
                initrd /boot/initrd.img-3.16.0-33-generic
        }
        menuentry 'Ubuntu, with Linux 3.16.0-23-generic' --class ubuntu
--class gnu-linux --class gnu --class os $menuentry_id_option
'gnulinux-3.16.0-23-generic-advanced-c23cc463-dbca-402a-8348-03c870a6eec5'
{
                recordfail
                load_video
                gfxmode $linux_gfx_mode
                insmod gzio
                insmod part_msdos
                insmod ext2
                set root='hd0,msdos3'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3
--hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3
c23cc463-dbca-402a-8348-03c870a6eec5
                else
                  search --no-floppy --fs-uuid --set=root c23cc463-dbca-402a-8348-03c870a6eec5
                fi
                echo 'Loading Linux 3.16.0-23-generic ...'
                linux /boot/vmlinuz-3.16.0-23-generic
root=UUID=c23cc463-dbca-402a-8348-03c870a6eec5 ro quiet splash
$vt_handoff
                echo 'Loading initial ramdisk ...'
                initrd /boot/initrd.img-3.16.0-23-generic
        }
        menuentry 'Ubuntu, with Linux 3.16.0-23-generic (recovery mode)'
--class ubuntu --class gnu-linux --class gnu --class os
$menuentry_id_option
'gnulinux-3.16.0-23-generic-recovery-c23cc463-dbca-402a-8348-03c870a6eec5'
{
                recordfail
                load_video
                insmod gzio
                insmod part_msdos
                insmod ext2
                set root='hd0,msdos3'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3
--hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3
c23cc463-dbca-402a-8348-03c870a6eec5
                else
                  search --no-floppy --fs-uuid --set=root c23cc463-dbca-402a-8348-03c870a6eec5
                fi
                echo 'Loading Linux 3.16.0-23-generic ...'
                linux /boot/vmlinuz-3.16.0-23-generic
root=UUID=c23cc463-dbca-402a-8348-03c870a6eec5 ro recovery nomodeset
                echo 'Loading initial ramdisk ...'
                initrd /boot/initrd.img-3.16.0-23-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 'Microsoft Windows XP Professional (on /dev/sda1)' --class
windows --class os $menuentry_id_option
'osprober-chain-BE3872793872310F' {
        insmod part_msdos
        insmod ntfs
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1
--hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 BE3872793872310F
        else
          search --no-floppy --fs-uuid --set=root BE3872793872310F
        fi
        parttool ${root} hidden-
        drivemap -s (hd0) ${root}
        chainloader +1
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=33
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sda3/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/sda3 during installation
UUID=c23cc463-dbca-402a-8348-03c870a6eec5 / ext4
noatime,errors=remount-ro 0 1
--------------------------------------------------------------------------------

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

cat: write error: Broken pipe

ADDITIONAL INFORMATION :
=================== log of boot-repair 2015-04-02__00h04 ===================
boot-repair version : 4ppa33
boot-sav version : 4ppa33
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 4ppa33
boot-repair is executed in installed-session (Ubuntu 14.10, utopic,
Ubuntu, i686)
CPU op-mode(s): 32-bit
BOOT_IMAGE=/boot/vmlinuz-3.16.0-33-generic
root=UUID=c23cc463-dbca-402a-8348-03c870a6eec5 ro quiet splash
vt.handoff=7

=================== os-prober:
/dev/sda3:El sistema operativo que se está usando - Ubuntu 14.10
CurrentSession:linux
/dev/sda1:Microsoft Windows XP Professional:Windows:chain

=================== blkid:
/dev/sda1: LABEL="WINXP" UUID="BE3872793872310F" TYPE="ntfs"
PARTUUID="34fe34fd-01"
/dev/sda3: LABEL="LUBUNTU" UUID="c23cc463-dbca-402a-8348-03c870a6eec5"
TYPE="ext4" PARTUUID="34fe34fd-03"
/dev/sda5: LABEL="Android-x86"
UUID="98df443c-0dfd-4ed3-ab91-7f4b9ff5153f" TYPE="ext2"
PARTUUID="34fe34fd-05"

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

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 5 root root 4096 abr 1 23:51 grub.d
total 76
-rwxr-xr-x 1 root root 9424 oct 16 07:02 00_header
-rwxr-xr-x 1 root root 6058 oct 15 09:28 05_debian_theme
-rwxr-xr-x 1 root root 1280 abr 1 23:51 10_linux_proxy
-rwxr-xr-x 1 root root 10418 oct 16 07:02 21_linux_xen
-rwxr-xr-x 1 root root 11692 oct 16 07:02 30_os-prober
-rwxr-xr-x 1 root root 1416 oct 16 07:02 31_uefi-firmware
-rwxr-xr-x 1 root root 212 abr 1 23:51 40_custom_proxy
-rwxr-xr-x 1 root root 216 oct 16 07:02 41_custom
drwxr-xr-x 4 root root 4096 mar 31 11:12 backup
drwxr-xr-x 2 root root 4096 mar 31 11:12 bin
drwxr-xr-x 2 root root 4096 abr 1 23:51 proxifiedScripts
-rw-r--r-- 1 root root 483 oct 16 07:02 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="saved"
#GRUB_HIDDEN_TIMEOUT="0"
GRUB_HIDDEN_TIMEOUT_QUIET="true"
GRUB_TIMEOUT="30"
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"

GRUB_SAVEDEFAULT="true"
export GRUB_COLOR_NORMAL="light-gray/black"
export GRUB_COLOR_HIGHLIGHT="light-magenta/green"

===================
sda3saved_entry=gnulinux-simple-c23cc463-dbca-402a-8348-03c870a6eec5/grub/grubenv
:
saved_entry=gnulinux-simple-c23cc463-dbca-402a-8348-03c870a6eec5

/mnt/boot-sav/sda5/grub/menu.lst detected

=================== UEFI/Legacy mode:
This installed-session is not EFI-compatible.
SecureBoot disabled.

=================== PARTITIONS & DISKS:
sda3 : sda, not-sepboot, grubenv-ng grub2, grub-pc
, update-grub, 32, 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, customized, not-far, .
sda1 : 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, ntldr, 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.
sda5 : 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/sda5.

sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart,
        not-usb, has-os, 63 sectors * 512 bytes

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

Model: ATA WDC WD400UE-22HC (scsi)
Disk /dev/sda: 40.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number Start End Size Type File system Flags
1 32.3kB 6293MB 6292MB primary ntfs boot
2 6296MB 24.1GB 17.8GB extended
5 6296MB 24.1GB 17.8GB logical ext2
3 24.1GB 40.0GB 15.9GB primary ext4

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

BYT;
/dev/sda:40.0GB:scsi:512:512:msdos:ATA WDC WD400UE-22HC:;
1:32.3kB:6293MB:6292MB:ntfs::boot;
2:6296MB:24.1GB:17.8GB:::;
5:6296MB:24.1GB:17.8GB:ext2::;
3:24.1GB:40.0GB:15.9GB:ext4::;

=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL MODEL UUID
sda disk 37,3G WDC WD400UE-22HC
sda1 part ntfs 5,9G WINXP BE3872793872310F
sda2 part 1K
sda3 part ext4 14,8G LUBUNTU
c23cc463-dbca-402a-8348-03c870a6eec5
sda5 part ext2 16,6G Android-x86
98df443c-0dfd-4ed3-ab91-7f4b9ff5153f
sr0 rom 1024M RW/DVD GCC-4244N

KNAME ROTA RO RM STATE MOUNTPOINT
sda 1 0 0 running
sda1 1 0 0 /mnt/boot-sav/sda1
sda2 1 0 0
sda3 1 0 0 /
sda5 1 0 0 /mnt/boot-sav/sda5
sr0 1 0 1 running

=================== mount:
/dev/sda3 on / type ext4 (rw,noatime,errors=remount-ro)
proc on /proc type proc (rw,nodev,noexec,nosuid)
sysfs on /sys type sysfs (rw,nodev,noexec,nosuid)
none on /sys/fs/cgroup type tmpfs (rw,uid=0,gid=0,mode=0755,size=1024)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,nodev,noexec,nosuid,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,nodev,noexec,nosuid,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup
(rw,nosuid,noexec,nodev,none,name=systemd)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse
(rw,nosuid,nodev,user=andalrainbow)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk
(rw,nosuid,nodev,allow_other,blksize=512)
/dev/sda5 on /mnt/boot-sav/sda5 type ext2 (rw)

=================== ls:
/sys/block/sda (filtered): alignment_offset bdi capability dev device
discard_alignment events events_async events_poll_msecs ext_range
holders inflight power queue range removable ro sda1 sda2 sda3 sda5
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): block bsg btrfs-control bus cdrom cdrw char console
core cpu cpu_dma_latency disk dri dvd ecryptfs fb0 fd full fuse hpet
input kmsg log mapper mcelog mem net network_latency
network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0
sda sda1 sda2 sda3 sda5 sg0 sg1 shm snapshot snd sr0 stderr stdin
stdout uinput urandom vga_arbiter zero
ls /dev/mapper: control
ls: cannot access : No such file or directory

=================== hexdump -n512 -C /dev/sda1
00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 01 00 00 |.R.NTFS .....|
00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 3f 00 00 00 |........?...?...|
00000020 00 00 00 00 80 00 80 00 c0 87 bb 00 00 00 00 00 |................|
00000030 00 00 20 00 00 00 00 00 1f 82 3e 00 00 00 00 00 |.. .......>.....|
00000040 02 00 00 00 08 00 00 00 0f 31 72 38 79 72 38 be |.........1r8yr8.|
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 45 72 72 6f 72 20 64 65 20 6c 65 |.....Error de le|
00000190 63 74 75 72 61 20 64 65 20 64 69 73 63 6f 00 0d |ctura de disco..|
000001a0 0a 46 61 6c 74 61 20 4e 54 4c 44 52 00 0d 0a 4e |.Falta NTLDR...N|
000001b0 54 4c 44 52 20 63 6f 6d 70 72 69 6d 69 64 6f 00 |TLDR comprimido.|
000001c0 0d 0a 43 74 72 6c 2b 41 6c 74 2b 53 75 70 72 20 |..Ctrl+Alt+Supr |
000001d0 70 61 72 61 20 72 65 69 6e 69 63 69 61 72 0d 0a |para reiniciar..|
000001e0 00 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 9f ad c0 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/sda3 ext4 15G 5.3G 8.5G 39% /
none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
udev devtmpfs 428M 4.0K 428M 1% /dev
tmpfs tmpfs 88M 920K 87M 2% /run
none tmpfs 5.0M 4.0K 5.0M 1% /run/lock
none tmpfs 437M 12M 426M 3% /run/shm
none tmpfs 100M 20K 100M 1% /run/user
/dev/sda1 fuseblk 5.9G 5.3G 652M 90% /mnt/boot-sav/sda1
/dev/sda5 ext2 17G 1.6G 14G 10% /mnt/boot-sav/sda5

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

Disk /dev/sda: 37.3 GiB, 40007761920 bytes, 78140160 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: 0x34fe34fd

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 63 12290047 12289985 5.9G 7 HPFS/NTFS/exFAT
/dev/sda2 12296190 47112598 34816409 16.6G 5 Extended
/dev/sda3 47114240 78137343 31023104 14.8G 83 Linux
/dev/sda5 12296192 47112598 34816407 16.6G 83 Linux

Partition table entries are not in disk order.

=================== Default settings of Boot Repair
The default repair of the Boot-Repair utility would purge (in order to
fix customized files) and reinstall the grub2 of sda3 into the MBR of
sda.
Additional repair would be performed: unhide-bootmenu-10s fix-windows-boot

=================== User settings
The settings chosen by the user will purge (in order to fix customized
files) and reinstall the grub2 of sda3 into the MBR of sda, using the
following options: disable-internet-check
Additional repair will be performed: unhide-bootmenu-33s fix-windows-boot

Quantity of real Windows: 1
apt-get -y --force-yes update
Purge the GRUB of sda3
grub-pc available
Leyendo lista de paquetes...
Creando árbol de dependencias...SET@_progressbar1.pulse()

Leyendo la información de estado...
0 actualizados, 0 se instalarán, 1 reinstalados, 0 para eliminar y 7
no actualizados.
Necesito descargar 200 kB de archivos.
Se utilizarán 0 B de espacio de disco adicional después de esta operación.
Des:1 http://ar.archive.ubuntu.com/ubuntu/ utopic/main grub-pc i386
2.02~beta2-15 [200 kB]
Descarga completa y en modo de sólo descarga
DEBCHECK debOK, grub-pc
DEBCHECK debOK
shim-signed NOT available (apt-cache policy problem)
linux-signed-generic NOT available (apt-cache policy problem)
Please type: sudo dpkg --configure -ansudo apt-get install -fynsudo
apt-get purge -y --force-yes grub*-common grub-common:i386

=================== /etc/grub.d/ :
drwxr-xr-x 5 root root 4096 abr 2 00:08 grub.d
total 36
-rwxr-xr-x 1 root root 1280 abr 1 23:51 10_linux_proxy
-rwxr-xr-x 1 root root 10418 oct 16 07:02 21_linux_xen
-rwxr-xr-x 1 root root 1416 oct 16 07:02 31_uefi-firmware
-rwxr-xr-x 1 root root 212 abr 1 23:51 40_custom_proxy
drwxr-xr-x 4 root root 4096 mar 31 11:12 backup
drwxr-xr-x 2 root root 4096 mar 31 11:12 bin
drwxr-xr-x 2 root root 4096 abr 1 23:51 proxifiedScripts

/mnt/boot-sav/sda5/grub/menu.lst detected
Then type: sudo apt-get install -y --force-yes grub-pc

=================== /etc/grub.d/ :
drwxr-xr-x 2 root root 4096 abr 2 00:09 grub.d
drwxr-xr-x 5 root root 4096 abr 2 00:08 grub.d.bak
total 72
-rwxr-xr-x 1 root root 9424 oct 16 07:02 00_header
-rwxr-xr-x 1 root root 6058 oct 15 09:28 05_debian_theme
-rwxr-xr-x 1 root root 11611 oct 16 07:02 10_linux
-rwxr-xr-x 1 root root 10418 oct 16 07:02 20_linux_xen
-rwxr-xr-x 1 root root 11692 oct 16 07:02 30_os-prober
-rwxr-xr-x 1 root root 1416 oct 16 07:02 30_uefi-firmware
-rwxr-xr-x 1 root root 214 oct 16 07:02 40_custom
-rwxr-xr-x 1 root root 216 oct 16 07:02 41_custom
-rw-r--r-- 1 root root 483 oct 16 07:02 README

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

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

/mnt/boot-sav/sda5/grub/menu.lst detected
Unhide GRUB boot menu in sda3/etc/default/grub

=================== /etc/grub.d/ :
drwxr-xr-x 2 root root 4096 abr 2 00:09 grub.d
drwxr-xr-x 5 root root 4096 abr 2 00:08 grub.d.bak
total 72
-rwxr-xr-x 1 root root 9424 oct 16 07:02 00_header
-rwxr-xr-x 1 root root 6058 oct 15 09:28 05_debian_theme
-rwxr-xr-x 1 root root 11611 oct 16 07:02 10_linux
-rwxr-xr-x 1 root root 10418 oct 16 07:02 20_linux_xen
-rwxr-xr-x 1 root root 11692 oct 16 07:02 30_os-prober
-rwxr-xr-x 1 root root 1416 oct 16 07:02 30_uefi-firmware
-rwxr-xr-x 1 root root 214 oct 16 07:02 40_custom
-rwxr-xr-x 1 root root 216 oct 16 07:02 41_custom
-rw-r--r-- 1 root root 483 oct 16 07:02 README

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

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=33
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"

/mnt/boot-sav/sda5/grub/menu.lst detected

*******lspci -nnk | grep -iA3 vga
01:05.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc.
[AMD/ATI] RC410M [Mobility Radeon Xpress 200M] [1002:5a62]
Subsystem: Acer Incorporated [ALI] Device [1025:010b]
Kernel driver in use: radeon
0a:00.0 CardBus bridge [0607]: ENE Technology Inc CB1410 Cardbus
Controller [1524:1410] (rev 01)
*******

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

Reinstall the GRUB of sda3 into the MBR of sda
Installing for i386-pc platform.
Installation finished. No error reported.
grub-install /dev/sda: exit code of grub-install /dev/sda:0

update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.16.0-33-generic
Found initrd image: /boot/initrd.img-3.16.0-33-generic
Found linux image: /boot/vmlinuz-3.16.0-23-generic
Found initrd image: /boot/initrd.img-3.16.0-23-generic
Found Microsoft Windows XP Professional on /dev/sda1
Unhide GRUB boot menu in sda3/boot/grub/grub.cfg

Arranque reparado con éxito.

Ahora puede reiniciar el equipo.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in os-prober (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.