[SOLVED] Debian Squeeze installation on LVM setup - Grub takes forever to load
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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!
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.
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:
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):
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):
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.
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!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.