Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What does it mean if os-prober returns nothing.

I understood that this should find all my installed operating systems. But I'm running from ubuntu so I expected it to at least find that. But I get no output at all.

sudo fdisk -l gives

Disk /dev/sda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00067959

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        4680    37590016   83  Linux
/dev/sda2            4680        4866     1489921    5  Extended
/dev/sda5            4680        4866     1489920   82  Linux swap / Solaris
share|improve this question
Please provide the output of sudo fdisk -l and sudo os-prober. – arrange Mar 22 '11 at 10:32
@arrange - the question has the output of sudo os-prober (nothing) – trampster Mar 22 '11 at 10:41
up vote 3 down vote accepted

The os-prober script is meant to find other operating systems than the mounted root system. As you don't have any of these (swap isn't an operating system), os-prober returns nothing.

To populate the grub menu use the sudo update-grub command. This will include the mounted partitions too.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.