Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-15-2012, 03:16 AM   #1
Registered: Jan 2012
Distribution: Debian Stable
Posts: 52

Rep: Reputation: Disabled
Help me remove broken Grub2 Windows entry.

In Grub2, I have the following entries:

Debian Kernel whatever
Debian Kernel whatever recovery
Windows 7 (Loader)
That last entry is exactly as typed above. I think it ended up there because I was messing around with restoring Clonezilla partition images to other partitions. Searching around only tells me how to remove kernels or do fancy scripting stuff to hide Windows entries. I want to fix the cause of the problem.

Some more info: That ' before Windows looks like it's opening a quote. It's not just a flat '. When I try to boot into it instead of the third option, it says "err: disk missing".

Last edited by Lumify; 02-15-2012 at 03:53 AM.
Old 02-15-2012, 04:13 AM   #2
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719

Rep: Reputation: 103Reputation: 103
1 members found this post helpful.
Old 02-15-2012, 05:23 AM   #3
Senior Member
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
grub2 creates it config from files within /etc/grub2. There should be a file ##_other_os. Inside you can remove one of the entries and rebuild your config.
(This is from mind but shows the way)
1 members found this post helpful.
Old 02-15-2012, 05:33 AM   #4
Registered: Jan 2012
Distribution: Debian Stable
Posts: 52

Original Poster
Rep: Reputation: Disabled
After looking through my grub.cfg, I realized that the only script that could be creating it was /etc/grub.d/40_custom. Lo and behold, I had a custom entry in there from months ago that somehow never was loaded. :P

By the way jv, that's a great link. I found a bunch of info on the subject, but none as concise as that one. Bookmarked.

Last edited by Lumify; 02-15-2012 at 05:34 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Windows entry disappeared in Grub2 menu LXer Syndicated Linux News 0 10-19-2011 01:01 AM
[SOLVED] ubuntu 11.04 want to skip grub2 entry in installer php5er Ubuntu 3 07-16-2011 12:42 AM
Backtrack and GRUB2 entry? not really newbie? SG86- Linux - Newbie 16 04-11-2011 06:11 AM
[SOLVED] How to remove GRUB2 & Ubuntu from MacBook Pro with Windows 7, Ubuntu and OS X? lupusarcanus Linux - Newbie 8 07-18-2010 06:38 PM
Adding a menu entry to grub2 Jeff91 Linux - General 1 08-28-2009 06:12 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:43 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration