Sponsored Content
Top Forums UNIX for Dummies Questions & Answers About MBR,Boot Loader programe. Post 302286020 by vishwasrao on Tuesday 10th of February 2009 06:26:46 AM
Old 02-10-2009
Bug About MBR,Boot Loader programe.

Hi all,
I am newbie here.I want to know what is MBR,boot loader & boot strap programe.
What is procedure of loading OS in to memory.
Thanx in advanceSmilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

boot loader - HELP !!!!

i have installed windows on this c: drive i have linux installed on drive d: when i disconnect d: it boots into c: into windows when i have both drives connected it stops after sys check. how do i get a dual boot goin ???? or a boot loader and if i reinstall linux 7. where should i... (1 Reply)
Discussion started by: perleo
1 Replies

2. UNIX for Dummies Questions & Answers

boot loader problem - can't load linux

Hi i have both Linux and Windows XP on my PC. i used to use grub as a boot loader and everything was perfect, until i reinstalled Windows. apparently, Windows installer installed its own bootloader, that doesn't recognize Linux. i tried using a tool called GrubInstaller for Windows, and now... (4 Replies)
Discussion started by: shx2
4 Replies

3. Red Hat

Dual boot (Booting Windows from Linux MBR)

Hi , I have two disk installed with Linux(disk 1) and WinXP(disk 2) .Now i am changing Hardisk jumbper manualy to get in to Linux/Windows .I want to configure my REDHAT linux boot manager to list Linux and WindowXP and wanna boot according to my choice . Here is what my fdisk -l shows (Only... (2 Replies)
Discussion started by: gkrishn
2 Replies

4. UNIX for Dummies Questions & Answers

LILO boot loader installation

What are the ways in which a LILO boot loader can be installed on a Linux system. (0 Replies)
Discussion started by: tjay83
0 Replies

5. Filesystems, Disks and Memory

Creating /boot partition & MBR concerns

I have 40GB HD with mepis8, swap, MBR and under flags word boot. I also have a 160 GB external with a few Linux OS, no swaps, no extended etc. I am total Linux no MS I would feel more secure by resizing that sda1 partition and creating a /boot partition with the MBR housed there. Is that a... (1 Reply)
Discussion started by: worthamtx
1 Replies

6. UNIX and Linux Applications

using vivi as a boot loader for s3c2410

Hi all, I am very new to arm and embedded architecture. I am using s3c2410 board and using vivi to create a boot loader, I am following all the steps and getting the vivi image successfully without any error, but when i port it to arm i donot get anything thing displayed on minicom, can... (0 Replies)
Discussion started by: niranjanvg
0 Replies

7. UNIX for Dummies Questions & Answers

What Does Happen During Boot Process? - BIOS and MBR

I'm talking about boot process in multi-boot Linux perceptive. Please tell me whether my explanation is right or wrong? If wrong, please explain. "The BIOS checks the system and loads this initial bootstrapping code into memory. This initial bootstrap code searches for an active partition... (0 Replies)
Discussion started by: f.ben.isaac
0 Replies

8. UNIX for Dummies Questions & Answers

Boot loader problem

Hi, I have installed pre Vista windows and Redhat in my PC. Recently I have installed windowsXP for install weblogic server, but after installing XP it is not showing Redhat linux. At booting time it is showing only XP and pre Vista. Can you please help me how get my Redhat back. Thanks in... (1 Reply)
Discussion started by: sarfraz
1 Replies

9. UNIX for Dummies Questions & Answers

Boot loader problem

Hi, I have installed pre Vista windows and Redhat in my PC. Recently I have installed windowsXP for install weblogic server, but after installing XP it is not showing Redhat linux. At booting time it is showing only XP and pre Vista. Can you please help me how get my Redhat back. Thanks in... (1 Reply)
Discussion started by: sarfraz
1 Replies

10. UNIX for Advanced & Expert Users

Changing Ubuntu 10.4 Boot Loader Option

Hi, I am using Ubuntu 10.4 and I want to change the boot loader option to boot Windows 7 by default. Every time I update Ubuntu some extra lines appears at the boot menu. I want to remove them also. Please help me (1 Reply)
Discussion started by: dearanik
1 Replies
BOOT(7) 						     Linux Programmer's Manual							   BOOT(7)

NAME
boot-scripts - general description of boot sequence DESCRIPTION
The boot sequence varies in details among systems but can be roughly divided to the following steps: (i) hardware boot, (ii) operating sys- tem (OS) loader, (iii) kernel startup, (iv) init and inittab, (v) boot scripts. We will describe each of these in more detail below. Hardware-boot After power-on or hard reset, control is given to a program stored on read-only memory (normally PROM). In PC we usually call this program the BIOS. This program normally makes a basic self-test of the machine and accesses nonvolatile memory to read further parameters. This memory in the PC is battery-backed CMOS memory, so most people refer to it as the CMOS, although outside of the PC world, it is usually called nvram (nonvolatile ram). The parameters stored in the nvram vary between systems, but as a minimum, the hardware boot program should know what is the boot device, or which devices to probe as possible boot devices. Then the hardware boot stage accesses the boot device, loads the OS Loader, which is located on a fixed position on the boot device, and transfers control to it. Note: We do not cover here booting from network. Those who want to investigate this subject may want to research: DHCP, TFTP, PXE, Ether- boot. OS Loader In PC, the OS Loader is located in the first sector of the boot device - this is the MBR (Master Boot Record). In most systems, this primary loader is very limited due to various constraints. Even on non-PC systems there are some limitations to the size and complexity of this loader, but the size limitation of the PC MBR (512 bytes including the partition table) makes it almost impos- sible to squeeze a full OS Loader into it. Therefore, most operating systems make the primary loader call a secondary OS loader which may be located on a specified disk partition. In Linux the OS loader is normally lilo(8) or grub(8). Both of them may install either as secondary loaders (where the DOS installed MBR points to them), or as a two part loader where they provide special MBR containing the bootstrap code to load the second part of the loader from the root partition. The main job of the OS Loader is to locate the kernel on the disk, load it and run it. Most OS loaders allow interactive use, to enable specification of alternative kernel (maybe a backup in case the last compiled one isn't functioning) and to pass optional parameters to the kernel. Kernel Startup When the kernel is loaded, it initializes the devices (via their drivers), starts the swapper (it is a "kernel process", called kswapd in modern Linux kernels), and mounts the root file system (/). Some of the parameters that may be passed to the kernel relate to these activities (e.g: You can override the default root file system). For further information on Linux kernel parameters read bootparam(7). Only then the kernel creates the first (user land) process which is numbered 1. This process executes the program /sbin/init, passing any parameters that weren't handled by the kernel already. init and inittab When init starts it reads /etc/inittab for further instructions. This file defines what should be run in different run-levels. This gives the system administrator an easy management scheme, where each run-level is associated with a set of services (e.g, S is single- user, on 2 most network services start). The administrator may change the current run-level via init(8) and query the current run-level via runlevel(8). However, since it is not convenient to manage individual services by editing this file, inittab only bootstraps a set of scripts that actu- ally start/stop the individual services. Boot Scripts Note: The following description applies to System V release 4-based systems, which currently covers most commercial UNIX systems (Solaris, HP-UX, Irix, Tru64) as well as the major Linux distributions (Red Hat, Debian, Mandriva, SUSE, Ubuntu). Some systems (Slackware Linux, FreeBSD, OpenBSD) have a somewhat different scheme of boot scripts. For each managed service (mail, nfs server, cron, etc.) there is a single startup script located in a specific directory (/etc/init.d in most versions of Linux). Each of these scripts accepts as a single argument the word "start" -- causing it to start the service, or the word "stop" -- causing it to stop the service. The script may optionally accept other "convenience" parameters (e.g: "restart", to stop and then start, "status" do display the service status). Running the script without parameters displays the possible arguments. Sequencing Directories To make specific scripts start/stop at specific run-levels and in specific order, there are sequencing directories. These are normally in /etc/rc[0-6S].d. In each of these directories there are links (usually symbolic) to the scripts in the /etc/init.d directory. A primary script (usually /etc/rc) is called from inittab(5) and calls the services scripts via the links in the sequencing directories. All links with names that begin with 'S' are being called with the argument "start" (thereby starting the service). All links with names that begin with 'K' are being called with the argument "stop" (thereby stopping the service). To define the starting or stopping order within the same run-level, the names of the links contain order-numbers. Also, to make the names clearer, they usually end with the name of the service they refer to. Example: the link /etc/rc2.d/S80sendmail starts the sendmail service on runlevel 2. This happens after /etc/rc2.d/S12syslog is run but before /etc/rc2.d/S90xfs is run. To manage the boot order and run-levels, we have to manage these links. However, on many versions of Linux, there are tools to help with this task (e.g: chkconfig(8)). Boot Configuration Usually the daemons started may optionally receive command-line options and parameters. To allow system administrators to change these parameters without editing the boot scripts themselves, configuration files are used. These are located in a specific directory (/etc/sysconfig on Red Hat systems) and are used by the boot scripts. In older UNIX systems, these files contained the actual command line options for the daemons, but in modern Linux systems (and also in HP- UX), these files just contain shell variables. The boot scripts in /etc/init.d source the configuration files, and then use the variable values. FILES
/etc/init.d/, /etc/rc[S0-6].d/, /etc/sysconfig/ SEE ALSO
inittab(5), bootparam(7), init(8), runlevel(8), shutdown(8) COLOPHON
This page is part of release 3.44 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. Linux 2010-09-19 BOOT(7)
All times are GMT -4. The time now is 02:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy