LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-09-2011, 12:20 AM   #1
michalng
Member
 
Registered: Dec 2005
Distribution: Debian KDE / Fluxbox
Posts: 222

Rep: Reputation: 46
Debian Squeeze Grub2 Problem -> error: out of partition


Boot up my laptop and got and error message
Quote:
error: out of partition.
Shutdown the laptop and restart and somehow grub let me boot into Debian.

In Debian, I did a update-grub2 and got this error
Quote:
Generating grub.cfg ...
/usr/sbin/grub-probe: error: out of partition.
Any idea what is wrong here?
 
Old 01-09-2011, 01:27 AM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
I'm not sure but isn't grub2 transitional?
Even though you have grub2 it's grub-pc.
try
"update grub"
if you have sudo configured
"sudo update-grub"
 
Old 01-09-2011, 01:43 AM   #3
michalng
Member
 
Registered: Dec 2005
Distribution: Debian KDE / Fluxbox
Posts: 222

Original Poster
Rep: Reputation: 46
Hi Eddy,

as I've said, grub allows me to boot into Debian so didn't know what's causing the error message on bootup which mysteriously disappeared now.

suspect it's due to the "aptitude upgrade" that I've done earlier on.


anyway, tried what you mentioned "update-grub" and things seems okay,
in fact, "update-grub2" is also okay now.

Quote:
update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-5-amd64
Found initrd image: /boot/initrd.img-2.6.32-5-amd64
done

update-grub2
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-5-amd64
Found initrd image: /boot/initrd.img-2.6.32-5-amd64
done
and I really don't feel good about it, even though everything's working now
 
Old 01-09-2011, 01:46 AM   #4
kevinbenko
Member
 
Registered: Jun 2005
Location: Fargo, North Dakota
Distribution: Debian Stable {Probably forever}
Posts: 628

Rep: Reputation: 174Reputation: 174
EDDY1:

/usr/sbin/update-grub2 is a shell script that executes update-grub
/usr/sbin/update-grub is a shell script that executes grub-mkconfig

hence grub-mkconfig == update-grub == update-grub2

=============================================================

Now, as to the original error itself, I haven't a clue, yet.
Unfortunately, the grub2 documentation is scarce, but getting better, and even that documentation that does exist becomes more obsolete every time they update grub2.

I would suggest taking a look at http://www.gnu.org/software/grub/ and wading through their documentation for your error, as grub2 is currently a moving target.
 
1 members found this post helpful.
Old 01-09-2011, 02:41 AM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Thanks kevinbenko that's useful information.
That's exactly why I question my answer because I just wasn't sure if update-grub2 was a valid command.
 
  


Reply



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
[SOLVED] Debian Squeeze grub doesn't detect windows partition on install Cultist Debian 3 05-17-2011 04:26 PM
LXer: Debian Squeeze cleans up the grub2 wallpaper in desktop-base, and we're a bit closer to Stable LXer Syndicated Linux News 0 01-04-2011 11:01 PM
Java error - Debian GNU/Linux 6.0 Squeeze/sid DebianUserfg Linux - Newbie 2 05-31-2010 07:00 PM
Error using updatetool on Glassfish 3 (Debian Squeeze 64 bit) AleLinuxBSD Debian 5 03-20-2010 02:33 AM
debian sid and grub2 problem jackgu1988 Debian 39 08-08-2009 09:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:38 AM.

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