[Bug 1051306] Re: Windows not found unless partition is mounted

Dmitrijs Ledkovs launchpad at surgut.co.uk
Fri Oct 12 12:42:22 UTC 2012


os-prober tries hard to determine types of the filesystem, and mounts
using those only. From the logs it appears that it failed it's attempts
at mounting the "windows" partition in question. Maybe os-prober should
fallback to 'auto' type, and then use that... but then 20microsoft uses
the passed type as a sanity check. hmm....

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to os-prober in Ubuntu.
https://bugs.launchpad.net/bugs/1051306

Title:
  Windows not found unless partition is mounted

Status in “os-prober” package in Ubuntu:
  Confirmed
Status in “os-prober” source package in Quantal:
  Confirmed

Bug description:
  todd at todd-laptop:~$ sudo fdisk -l

  Disk /dev/sda: 320.1 GB, 320072933376 bytes
  255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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: 0xafc76067

     Device Boot      Start         End      Blocks   Id  System
  /dev/sda1              63       80324       40131   de  Dell Utility
  /dev/sda2   *       81920   501379071   250648576    7  HPFS/NTFS/exFAT
  /dev/sda3       501381118   625141759    61880321    5  Extended
  /dev/sda5       501381120   509769727     4194304   82  Linux swap / Solaris
  /dev/sda6       509771776   530251775    10240000   83  Linux
  /dev/sda7       530253824   625141759    47443968   83  Linux

  mount
  /dev/sda6 on / type ext4 (rw,errors=remount-ro)
  proc on /proc type proc (rw,noexec,nosuid,nodev)
  sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
  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,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/sda7 on /home type ext4 (rw)
  gvfsd-fuse on /home/todd/.gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=todd)

  todd at todd-laptop:~$ sudo os-prober 
  todd at todd-laptop:~$ sudo mount -t auto /dev/sda1 /media/dell_util/
  todd at todd-laptop:~$ sudo mount -t auto /dev/sda2 /media/windows/
  todd at todd-laptop:~$ sudo os-prober 
  /dev/sda2:Windows 7 (loader):Windows:chain

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: os-prober 1.54ubuntu1
  ProcVersionSignature: Ubuntu 3.5.0-14.19-generic 3.5.3
  Uname: Linux 3.5.0-14-generic x86_64
  ApportVersion: 2.5.1-0ubuntu7
  Architecture: amd64
  Date: Sat Sep 15 10:34:16 2012
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: os-prober
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/os-prober/+bug/1051306/+subscriptions




More information about the foundations-bugs mailing list