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

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



On Sat, 2013-08-31 at 19:30 +1200, Chris Bannister wrote:
> On Fri, Aug 30, 2013 at 07:58:39PM -0700, David Guntner wrote:
> > 
> > > # dd if=/dev/zero of=/dev/sdb1 bs=512 count=1
> > > 1+0 records in
> > > 1+0 records out
> > > 512 bytes (512 B) copied, 0.000983331 s, 521 kB/s
> > > # update-grub
> > > Generating grub.cfg ...
> > > Found background image: /usr/share/images/desktop-base/desktop-grub.png
> > > Found linux image: /boot/vmlinuz-3.2.0-4-amd64
> > > Found initrd image: /boot/initrd.img-3.2.0-4-amd64
> > > Found memtest86+ image: /memtest86+.bin
> > > Found memtest86+ multiboot image: /memtest86+_multiboot.bin
> > > Found Debian GNU/Linux (6.0.7) on /dev/sdb1
> > > done
> 
> Are there any clues in any of the files under:
> root@tal:~# ls -al /etc/grub.d/
> 
> Maybe one of those still has the info about it and update-grub is just
> blindly going through the motions?

Here this auto thingy found Linux installs that are deleted since years,
perhaps there still is some old menu.conf somewhere and it does read
this. However, I did install grub2 separated from used Linux installs,
so it won't run. Sometimes one update can cause to run this thingy
several times, this is time consuming, even if it would add sane entries
without unneeded code. My grub.cfg is very small, without all that
useless additional code.


Reply to: