[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to get rid of an entry in grub?



On 31/08/13 19:46, David Guntner wrote:
Brian grabbed a keyboard and wrote:
On Sat 31 Aug 2013 at 10:59:34 -0700, David Guntner wrote:

Because it makes no sense to me, whatsoever, as to why it would be
pulling in information from areas that are traditionally not booted
from.  Like, for example, under /backup.  So for me, it's a mystery.
There's probably a reason for it, but I don't know what it is.

You've been given the reason; you have to adjust you thinking to it.

I don't mind a bit of cutting of mails, but when I said

  >  The only way for that line to be generated is for an /etc/debian_version
  >  file to be found on the partition.

it was really an invitation for you to look for the file and say whether
it exists. Does it?

Oh, sorry!  I guess I missed that part.

I suppose it exists on the partition in a sense, but within the
filesystem, it lives as /backup/etc/debian_version.  /backup is the only
mounted filesystem on /dev/sdb1.

There's an actual /etc/debian_version file on sda5 (where / is mounted)
as well.

os-prober doesn't care where a particular partition is currently mounted. It assumes that every partition might possibly be mounted as "/" and examines the contents to see if there are certain files and directories that look like they are part of a bootable system.

It found etc/debian_version on sdb1 and therefore assumed that /dev/sdb1 could be a bootable Debian system.


--
Dom


Reply to: