LinuxQuestions.org
Review your favorite Linux distribution.
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 10-30-2010, 04:05 AM   #1
angelo_maci
Member
 
Registered: Apr 2006
Posts: 62

Rep: Reputation: 15
does grub (or similar) slow down boot process?


Hello,
I wonder and hence ask you whether there is a difference in boot time between two systems when just one of them features grub at the boot stage.
Thanks
 
Old 10-30-2010, 04:08 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,234

Rep: Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019
And what do you think is there if grub is absent ?.
 
Old 10-30-2010, 06:37 AM   #3
Samotnik
Member
 
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 471

Rep: Reputation: 40
Yes, there is a really big difference. System without grub will boot in infinite time, because it will never boot at all.
 
Old 10-30-2010, 07:15 AM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,436

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
Since the question is out there, I'll ask 1 also.

1. If I installed grub2 in it's own partition and load multiple os'es, when the other os'es make entries to the existing grub do they still have grub in their root?

2. If it's not necessary then how do you disable the additional grub from being loaded?

3. Also I've been trying to find out what fs does the grub2 use?

I hope this wasn't too newbieish.

Last edited by EDDY1; 10-30-2010 at 07:16 AM.
 
Old 10-30-2010, 07:38 AM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,582
Blog Entries: 2

Rep: Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037
Quote:
Originally Posted by EDDY1 View Post
Since the question is out there, I'll ask 1 also.

1. If I installed grub2 in it's own partition and load multiple os'es, when the other os'es make entries to the existing grub do they still have grub in their root?

2. If it's not necessary then how do you disable the additional grub from being loaded?

3. Also I've been trying to find out what fs does the grub2 use?

I hope this wasn't too newbieish.
This is a misunderstanding, only one OS will make entries to your Grub-installation, namely that OS that has installed this Grub-installation. You can also install Grub independent from any OS, but the you will have to maintain the entries yourself. Only one bootloader has to been present one the system, so you will be fine if you simply don't install grub on more than one OS.
Grub is only a bootloader, it uses no filesystem, its first part is written to the master boot record, the second must ly on a filesystem that Grub knows. For more infos about bootloading with Grub have a look here.
 
Old 10-30-2010, 07:53 AM   #6
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,436

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
Thank you TobiSGD the reason I asked is because I had grub-legacy and grub2 recently and found it easier to get rid of legacy and change my 2.6.26 kernel to 2.6.32 so that I could read ext4 fs.
Right now I have three grubs and wins chainloader so, I was trying to find-out what fs was better for grub to read all os'es with simple os-prober. Thank you as your answer was most helpful
 
Old 10-30-2010, 03:53 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,234

Rep: Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019
Quote:
Originally Posted by TobiSGD View Post
Only one bootloader has to been present one the system, so you will be fine if you simply don't install grub on more than one OS.
Strictly speaking this is true - however I have had an occasion (recently) where choosing not to install a boot-loader also caused the omission of a kernel at all.
With grub legacy, choosing to always install to a partition wasn't a problem. Grub2 however needs to build a node list for core.img - the so-called flexibility has some (normally hidden) costs. grub2 complains if installed to a partition - I haven't found this causes a problem yet, but the possibility is there.
It is always possible that distro devs will take the decision on where (or whether) to install a loader out of your hands completely. SLES for example.
 
Old 10-30-2010, 04:05 PM   #8
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
I have noticed it takes grub2 about twice as long to boot a partition as it does grub legacy.
 
  


Reply


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
[SOLVED] Is it possible to slow down the kernel boot process ? Mike Davies Linux - General 4 02-08-2011 03:10 PM
8.4. Using GRUB to Set Up the Boot Process exvor Linux From Scratch 1 06-10-2010 06:44 PM
Fedora 10 SLOW BOOT process troyski Linux - Newbie 1 06-12-2009 06:22 PM
Boot process very slow at line dhcpcd theangler Linux - Laptop and Netbook 4 11-28-2006 10:33 PM
Boot process slow after formatting partition to ext3 robbbert Linux - Hardware 2 04-18-2006 03:23 PM


All times are GMT -5. The time now is 08:41 AM.

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