'Get all entries information.
:return: a dictionary of index -> entry where entry is a dictionary
of entry information as described for get_entry().'

def get_entries(self):

    raw = self.get_info()
    entries = {}
    for entry_str in re.split('index', raw):
        if (len(entry_str.strip()) == 0):
            continue
        if entry_str.startswith('boot='):
            continue
        if ('non    linux    entry' in entry_str):
            continue
        entry = parse_entry(('index' + entry_str))
        try:
            entries[entry['index']] = entry
        except KeyError:
            continue
    return entries
