LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 02-20-2007, 02:35 PM   #1
Mustafa^Qasim
Member
 
Registered: Dec 2005
Location: Lahore, PK
Distribution: Fedora 14
Posts: 105

Rep: Reputation: 16
Question Boot Loader Options while Installation


Hello!
I need to ask some question that arose in my mind while installing RHL 9.
Q1: Anaconda asks us to chose any boot loader (Grub/Lilo) OR none of them. What will happen if we select none of them in dual boot case with M$ Windows or in single case?

Q2: Nest to selection of boot loader there is an option in which we can pass parameters OR boot options to the kernel. Can anyone put any example what we can do with it?

Q3: In dual boot case with M$ Windows we can select the default OS to be boot if no one is slected for a while at booting. But in text mode installation I couldn't select the DOS. Can anyone explain why we can't OR how to do it?

Q4: Anaconda ask us to chose where to install boot loader in Master Boot Record(MBR) or at First Sector of Boot Partition. Please can anyone explain what is meant by MBR?
 
Old 02-20-2007, 02:51 PM   #2
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
A1: if you select no bootloader, then the installer won't install one (which is quite clear). That means: if you have already an operating system (thus a bootloader too) installed, it won't get overwritten. The other side is that you will have to manually configure that other bootloader (be it Windows bootloader or other Linux' bootloader or some other bootloader) manually and add a new entry for your newly installed operating system to be able to boot it, unless you create a boot diskette during setup.

A2: there are probably numerous things you can pass as parameters, like force VESA graphics mode ("safe graphics") and so on. They're probably easily found using Google; usually if you want to boot your Linux into a single user mode, i.e. into a mode where only one user is active and is (you) logged in as root without asking passwords (a "maintenance mode"), you can pass a parameter single to the kernel. This is one of the things why you should set a bootloader password; it prevents people from booting your machine into single user mode without passwords and resetting root user password (or do anything else superuser can do). Oh, and you definitely don't want to add that as the default option; just a note.

A3: I think it's just up to the installer. I can't speak for every single bootloader out there, but LILO and GRUB do provide a "default" option that tells which entry to boot if none is selected in a given time. For example with GRUB's config you can define "default 0" to set the default entry to be the first in the list; "default 1" would be the second and so on. Leaving the option off means usually the same as "default 0". It also supports, as far as I know, to set the last selected as the default one. To set this after the installation, alter /etc/lilo.conf (and in LILO's case after editing the file -- READ MAN PAGE FIRST -- run the command lilo as root to re-install LILO for the changes to take effect; without running it your old settings will be used) or if you use GRUB, alter /boot/grub/menu.lst (the current GRUB Legacy config file; in this case no need to run grub or do anything further, GRUB reads the changes during boot from the file).

A4: MBR, Master Boot Record, means the first 512 bytes of the harddisk. Those 512 bytes are a "reserved area" that is referred to as MBR, and is meant for a bootloader. Windows, as far as I know, always installs it's bootloader there, and that's what I suggest you do with your Linux bootloaders too. Actually the first 446 bytes from the beginning of the disk contain the actual bootloader information (again, as far as I know) and the rest up to 512 hold the partition table information; after this the following bytes contain other information such as maybe a copy of the partition table, the partitions and actual data. "First sector of boot partition" means what it says; instead of the first 512 bytes of the whole harddisk the bootloader data is written to the first bytes of the partition used to boot the operating system (in a Linux installation, /boot partition if it's separate, or if you only have root partition, then it's that). So MBR is for the same thing as the first sector of your boot partition, but of the whole harddisk instead of a partition. MBR is used in the first hand, I think, because it's a good habit to have one place where your BIOS knows to look for a bootloader; no need to guess where it is, if it's said MBR is the place for bootloaders

Hope these answers shed some light. Others have surely more to say.
 
Old 05-08-2007, 11:18 AM   #3
Mustafa^Qasim
Member
 
Registered: Dec 2005
Location: Lahore, PK
Distribution: Fedora 14
Posts: 105

Original Poster
Rep: Reputation: 16
Thanx B0uncer ...ur answer helped me alot ..
 
  


Reply

Tags
boot, grub, installation, loader, options


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
wireless Keyboard not working to select boot options (Grub boot loader) psrini_vasan Fedora 7 12-16-2009 05:45 PM
changing boot loader options saiz66 Linux - Newbie 4 10-22-2004 02:45 PM
HELP-Boot Loader Options jcskid85 Mandriva 3 09-13-2004 10:41 PM
Grub boot loader menu shows two linux boot options pramos Linux - Newbie 3 09-12-2004 11:40 PM
Boot Loader options inTUXicated Linux - General 2 09-16-2003 05:43 AM


All times are GMT -5. The time now is 03:47 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