os-prober does not detect Android
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
os-prober (Ubuntu) |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
os-prober 1.56 (from Ubuntu 12.10 installed session) does not detect the Androidx86 eeepc 4RC2 installed in dualboot.
Boot-Info log below:
Boot Info Script 0.61.full + Boot-Repair extra info [Boot-Info November 20th 2012]
=======
=> 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
in partition 1 for (,msdos1)
sda1: _______
File system: ext3
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 12.10
Boot files: /boot/grub/grub.cfg /etc/fstab
sda2: _______
File system:
Boot sector type: -
Boot sector info:
Mounting failed: mount: unknown filesystem type ''
sda3: _______
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda4: _______
File system: ext3
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
=======
Drive: sda _______
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 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 * 2,048 18,435,641 18,433,594 83 Linux
/dev/sda2 18,436,096 24,582,143 6,146,048 82 Linux swap / Solaris
/dev/sda3 24,582,144 478,156,799 453,574,656 83 Linux
/dev/sda4 478,158,660 488,392,064 10,233,405 83 Linux
"blkid" output: _______
Device UUID TYPE LABEL
/dev/mapper/
/dev/sda1 0fe1dd1d-
/dev/sda3 ee79b7c9-
/dev/sda4 0a7ebb3f-
=======
/dev/mapper:
control
cryptswap1
=======
Device Mount_Point Type Options
/dev/sda1 / ext3 (rw,errors=
/dev/sda3 /home ext4 (rw)
=======
-------
#
# 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.
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
set default="0"
if [ x"${feature_
menuentry_
else
menuentry_
fi
export menuentry_id_option
if [ "${prev_
set 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_
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_
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_
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root 0fe1dd1d-
fi
font=
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_
set lang=es_ES
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ]; then
set timeout=10
else
set timeout=10
fi
### END /etc/grub.
### BEGIN /etc/grub.
set menu_color_
set menu_color_
### END /etc/grub.
### BEGIN /etc/grub.
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}
if hwmatch ${prefix}
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 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root 0fe1dd1d-
fi
linux /boot/vmlinuz-
initrd /boot/initrd.
}
submenu 'Opciones avanzadas para Ubuntu' $menuentry_
menuentry 'Ubuntu, con Linux 3.5.0-21-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root 0fe1dd1d-
fi
echo 'Cargando Linux 3.5.0-21-generic ...'
linux /boot/vmlinuz-
echo 'Cargando el disco RAM inicial...'
initrd /boot/initrd.
}
menuentry 'Ubuntu, con Linux 3.5.0-21-generic (modo recuperación)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root 0fe1dd1d-
fi
echo 'Cargando Linux 3.5.0-21-generic ...'
linux /boot/vmlinuz-
echo 'Cargando el disco RAM inicial...'
initrd /boot/initrd.
}
menuentry 'Ubuntu, con Linux 3.5.0-17-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root 0fe1dd1d-
fi
echo 'Cargando Linux 3.5.0-17-generic ...'
linux /boot/vmlinuz-
echo 'Cargando el disco RAM inicial...'
initrd /boot/initrd.
}
menuentry 'Ubuntu, con Linux 3.5.0-17-generic (modo recuperación)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root 0fe1dd1d-
fi
echo 'Cargando Linux 3.5.0-17-generic ...'
linux /boot/vmlinuz-
echo 'Cargando el disco RAM inicial...'
initrd /boot/initrd.
}
}
### END /etc/grub.
### BEGIN /etc/grub.
### END /etc/grub.
### BEGIN /etc/grub.
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root 0fe1dd1d-
fi
linux16 /boot/memtest86
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root 0fe1dd1d-
fi
linux16 /boot/memtest86
}
### END /etc/grub.
### BEGIN /etc/grub.
### END /etc/grub.
### BEGIN /etc/grub.
### END /etc/grub.
### BEGIN /etc/grub.
# 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.
menuentry Android {
set root=‘(hd0,4)‘
linux android-
quiet root=/dev/ram0 androidboot.
initrd android-
### END /etc/grub.
### BEGIN /etc/grub.
if [ -f ${config_
source ${config_
elif [ -z "${config_
source $prefix/custom.cfg;
fi
### END /etc/grub.
-------
=======
-------
# /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/sda1 during installation
UUID=0fe1dd1d-
# /home was on /dev/sda3 during installation
UUID=ee79b7c9-
# swap was on /dev/sda2 during installation
#UUID=bd96b0d6-
/dev/mapper/
-------
=======
-------
## /boot/extlinux/
##
## IMPORTANT WARNING
##
## The configuration of this file is generated automatically.
## Do not edit this file manually, use: extlinux-update
default l0
prompt 1
timeout 50
include themes/
-------
=================== sda1: Location of files loaded by Grub: =======
GiB - GB File Fragment(s)
6.391613007 = 6.862942208 boot/grub/grub.cfg 1
8.790798187 = 9.439047680 boot/initrd.
8.782257080 = 9.429876736 boot/initrd.
0.447971344 = 0.481005568 boot/vmlinuz-
8.767143250 = 9.413648384 boot/vmlinuz-
8.782257080 = 9.429876736 initrd.img 15
8.782257080 = 9.429876736 initrd.img.old 15
8.767143250 = 9.413648384 vmlinuz 3
8.767143250 = 9.413648384 vmlinuz.old 3
================= sda1: Location of files loaded by Syslinux: ==================
GiB - GB File Fragment(s)
1.008811951 = 1.083203584 boot/extlinux/
1.094741821 = 1.175470080 boot/extlinux/
============== sda1: Version of COM32(R) files used by Syslinux: ===============
boot/extlinux/
=======
cat: write error: Broken pipe
ADDITIONAL INFORMATION :
=================== log of boot-repair 2012-12-22__14h47 ===================
boot-repair version : 3.197~ppa5~quantal
boot-sav version : 3.197~ppa5~quantal
glade2script version : 3.2.2~ppa45~quantal
boot-sav-extra version : 3.197~ppa5~quantal
boot-repair is executed in installed-session (Ubuntu 12.10, quantal, Ubuntu, x86_64)
BOOT_IMAGE=
Disk /dev/mapper/
=================== os-prober:
/dev/sda1:El sistema operativo que se está usando - Ubuntu 12.10 CurrentSession:
=================== blkid:
/dev/sda1: UUID="0fe1dd1d-
/dev/sda3: UUID="ee79b7c9-
/dev/sda4: LABEL="Android-x86" UUID="0a7ebb3f-
/dev/mapper/
1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
=================== /etc/default/grub :
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT="0"
#GRUB_HIDDEN_
GRUB_HIDDEN_
GRUB_TIMEOUT=10
GRUB_DISTRIBUTO
GRUB_CMDLINE_
GRUB_CMDLINE_
# 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=
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=
# 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=
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_
# Uncomment to get a beep at grub start
#GRUB_INIT_
=================== /etc/grub.d/ :
drwxr-xr-x 2 root root 4096 dic 22 14:35 grub.d
total 72
-rwxr-xr-x 1 root root 7541 oct 14 19:36 00_header
-rwxr-xr-x 1 root root 5488 oct 4 11:30 05_debian_theme
-rwxr-xr-x 1 root root 10891 oct 14 19:36 10_linux
-rwxr-xr-x 1 root root 10258 oct 14 19:36 20_linux_xen
-rwxr-xr-x 1 root root 1688 oct 11 16:10 20_memtest86+
-rwxr-xr-x 1 root root 10976 oct 14 19:36 30_os-prober
-rwxr-xr-x 1 root root 1426 oct 14 19:36 30_uefi-firmware
-rwxr-xr-x 1 root root 751 dic 22 14:35 40_custom
-rwxr-xr-x 1 root root 216 oct 14 19:36 41_custom
-rw-r--r-- 1 root root 483 oct 14 19:36 README
=================== /etc/grub.
menuentry "ndroid { "menuentry Android {{
set root=‘(hd0,4)‘
linux /android-
initrd /android-
if [ -f ${config_
source ${config_
elif [ -z "${config_
source $prefix/custom.cfg;
fi
}
Informe de este mensaje a <email address hidden> : /lib64: ld-linux-
=================== UEFI/Legacy mode:
This installed-session is not in EFI-mode.
SecureBoot disabled.
=================== PARTITIONS & DISKS:
sda1 : sda, not-sepboot, grubenv-ok 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, standard, not-far, .
sda3 : sda, maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /home.
sda4 : sda, maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda4.
sda : not-GPT, BIOSboot-
=================== parted -l:
Model: ATA ST9250315AS (scsi)
Disk /dev/sda: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 9439MB 9438MB primary ext3 boot
2 9439MB 12.6GB 3147MB primary
3 12.6GB 245GB 232GB primary ext4
4 245GB 250GB 5240MB primary ext3
Model: Linux device-mapper (crypt) (dm)
Disk /dev/mapper/
Sector size (logical/physical): 512B/512B
Partition Table: loop
Number Start End Size File system Flags
1 0.00B 3147MB 3147MB linux-swap(v1)
=================== parted -lm:
BYT;
/dev/sda:
1:1049kB:
2:9439MB:
3:12.6GB:
4:245GB:
BYT;
/dev/mapper/
1:0.00B:
=================== mount:
/dev/sda1 on / type ext3 (rw,errors=
proc on /proc type proc (rw,noexec,
sysfs on /sys type sysfs (rw,noexec,
none on /sys/fs/
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,
tmpfs on /run type tmpfs (rw,noexec,
none on /run/lock type tmpfs (rw,noexec,
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,
/dev/sda3 on /home type ext4 (rw)
/home/bal/.Private on /home/bal type ecryptfs (ecryptfs_
gvfsd-fuse on /run/user/bal/gvfs type fuse.gvfsd-fuse (rw,nosuid,
/dev/sda4 on /mnt/boot-sav/sda4 type ext3 (rw)
=================== ls:
/sys/block/dm-0 (filtered): alignment_offset bdi capability dev discard_alignment dm ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/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 size slaves stat subsystem trace uevent
/dev (filtered): agpgart alarm ashmem autofs binder block bsg btrfs-control bus char console core cpu cpu_dma_latency disk dm-0 dri ecryptfs fb0 fd full fuse hpet input kmsg log mapper mcelog mem net network_latency network_throughput null oldmem port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sg0 shm snapshot snd stderr stdin stdout uinput urandom v4l vga_arbiter vhost-net video0 zero
ls /dev/mapper: control cryptswap1
Disk /dev/mapper/
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda1 ext3 8.7G 3.7G 4.6G 45% /
udev devtmpfs 481M 12K 481M 1% /dev
tmpfs tmpfs 198M 792K 197M 1% /run
none tmpfs 5.0M 0 5.0M 0% /run/lock
none tmpfs 493M 136K 493M 1% /run/shm
none tmpfs 100M 12K 100M 1% /run/user
/dev/sda3 ext4 213G 197G 5.9G 98% /home
/home/bal/.Private ecryptfs 213G 197G 5.9G 98% /home/bal
/dev/sda4 ext3 4.9G 456M 4.2G 10% /mnt/boot-sav/sda4
=================== fdisk -l:
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 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: 0x000b18bd
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 18435641 9216797 83 Linux
/dev/sda2 18436096 24582143 3073024 82 Linux swap / Solaris
/dev/sda3 24582144 478156799 226787328 83 Linux
/dev/sda4 478158660 488392064 5116702+ 83 Linux
Disk /dev/mapper/
255 heads, 63 sectors/track, 382 cylinders, total 6146048 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: 0xe45e5283
=================== Default settings
Recommended-Repair
This setting would reinstall the grub2 of sda1 into the MBR of sda.
Additional repair would be performed: unhide-bootmenu-10s
=================== Settings chosen by the user
Boot-Info
This setting will not act on the MBR.
affects: | os-prober → os-prober (Ubuntu) |
Changed in os-prober (Ubuntu): | |
status: | New → Confirmed |
Changed in os-prober (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
Your custom entry for android is malformed. You have mismatched and inappropriate brace nesting, and some invalid characters on the set root line.