LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 03-28-2013, 07:47 AM   #1
gacanepa
Member
 
Registered: May 2012
Location: San Luis, Argentina
Distribution: Debian
Posts: 180

Rep: Reputation: 24
Post Debian Squeeze installation on LVM setup - Grub takes forever to load


I recently reinstalled Debian Squeeze in my home server and just to give it a try, I chose to install it over LVM. The thing is, now grub takes forever to load. When the machine boots, I get the message "GRUB loading. Welcome to GRUB!" and a blinking cursor for like 15 minutes, and then grub loads and presents the list of operating systems installed (in this case, it's just Debian Squeeze).
I tried to reconfigure grub2 by installing it to the /boot partition as well as to the MBR (the default option) by running dpkg-reconfigure grub-pc, but it didn't work.
Up to this point, I am almost 100% sure that this is caused by the installation on LVM. I don't understand exactly why, though. I'd appreciate any suggestions that could help me to understand and solve this issue, otherwise I'll just reinstall Squeeze in normal setup.
Thanks in advance folks!

Last edited by gacanepa; 03-28-2013 at 07:48 AM.
 
Old 03-28-2013, 08:10 AM   #2
goumba
Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Debian Wheezy (7.0), Jessie (future 8) and Sid (unstable)
Posts: 535
Blog Entries: 3

Rep: Reputation: 61
Hmmm... I am puzzled as well. I always use LVM and GRUB together, and never had a problem, BUT:

Is /boot on an LVM volume? At one time, GRUB would not work if trying to load from an LVM volume (GRUB would not load at all, I don't even recall getting a welcome message). To correct this I always kept /boot on a primary or extended partition outside of a volume group.
 
Old 03-28-2013, 08:28 AM   #3
gacanepa
Member
 
Registered: May 2012
Location: San Luis, Argentina
Distribution: Debian
Posts: 180

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by goumba View Post
Hmmm... I am puzzled as well. I always use LVM and GRUB together, and never had a problem, BUT:

Is /boot on an LVM volume? At one time, GRUB would not work if trying to load from an LVM volume (GRUB would not load at all, I don't even recall getting a welcome message). To correct this I always kept /boot on a primary or extended partition outside of a volume group.
I just rechecked and yes, /boot is installed in a separate partition:
Code:
root@debian:~# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/debian-root
                       37G  1.1G   34G   4% /
tmpfs                 124M     0  124M   0% /lib/init/rw
udev                  120M  148K  120M   1% /dev
tmpfs                 124M     0  124M   0% /dev/shm
/dev/sda1             228M   17M  199M   8% /boot
while the whole disk is used for the / partition.
 
Old 03-28-2013, 01:27 PM   #4
goumba
Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Debian Wheezy (7.0), Jessie (future 8) and Sid (unstable)
Posts: 535
Blog Entries: 3

Rep: Reputation: 61
Take a look at this, it sounds SIMILAR (although he flat out says hangs, but truthfully not many of us I believe would wait 15 minutes to verify if it hung or stalled):

http://elias-chatzigeorgiou.blogspot...e-to-grub.html

Yes, it is old, but that doesn't mean that it can never happen again on another piece of hardware. Good luck, maybe it will help your problem.
 
Old 03-28-2013, 09:59 PM   #5
gacanepa
Member
 
Registered: May 2012
Location: San Luis, Argentina
Distribution: Debian
Posts: 180

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by goumba View Post
Take a look at this, it sounds SIMILAR (although he flat out says hangs, but truthfully not many of us I believe would wait 15 minutes to verify if it hung or stalled):

http://elias-chatzigeorgiou.blogspot...e-to-grub.html

Yes, it is old, but that doesn't mean that it can never happen again on another piece of hardware. Good luck, maybe it will help your problem.
Thank you for taking the time to do that search. I gave it a try but it didn't work. However, I added that web page to my bookmarks just in case. I ended up reinstalling Squeeze with a normal installation (guided, no LVM) and the issue was gone.

Thanks again! I will add to your reputation for your kind help.
 
Old 03-29-2013, 06:41 AM   #6
goumba
Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Debian Wheezy (7.0), Jessie (future 8) and Sid (unstable)
Posts: 535
Blog Entries: 3

Rep: Reputation: 61
I hate to say, but damn, sorry you got it fixed that way. I'm a little disappointed as it was one of the few solutions I found that did not involve reinstalling, but hey, as long as it works, great!
 
1 members found this post helpful.
  


Reply

Tags
grub 2, lvm2, squeeze


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
Certain page in FF suddenly takes forever to load mrclisdue Slackware 5 12-08-2008 12:27 PM
X takes forever to load mrclisdue Linux - General 12 04-19-2006 08:43 PM
W2000Pro/PCLinuxOS - Windows Explorer takes forever to load pondlily General 6 12-23-2005 10:34 AM
idesk... fluxbox takes forever to load CPUFreak91 Linux - Software 1 08-05-2005 04:06 PM
Grub takes forever to load win98 after linux session... scm86 Linux - Software 7 12-30-2004 11:32 AM


All times are GMT -5. The time now is 12:33 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration