Sponsored Content
Top Forums UNIX for Dummies Questions & Answers in need of serious help with Grub and Linux, Windows XP Post 77502 by Aco on Saturday 9th of July 2005 04:20:14 PM
Old 07-09-2005
RedHat is for newbis! Get Mandrake or Suse. They are like RedHat but look different. Also, when you think about it... there is no differents between any linux OS. They might *look* different but they still have a command liee.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Can't get GRUB to boot Linux!!!

I have installed Linux 7.2 on a IBM xseries 235 server with 5 scsi hard drives and ServerRaid-5i Ultra320 scsi controller. I started my installation by configuring the raid controller. I created 2 arrays, raid 1 and raid5. I then proceeded to install Linux and load the drivers. After the... (2 Replies)
Discussion started by: cstovall
2 Replies

2. Linux

GRUB and windows XP

After playing a bit with GRUB I got it to boot my windows XP and my Fedora (yeay!). But now my windows became awfully slow (hd seems to be the problem). Does anybody have an idea what could cause this? settings: default=1 timeout=10 splashimage=(hd1,0)/grub/splash.xpm.gz title Fedora... (1 Reply)
Discussion started by: Micky
1 Replies

3. Linux

How to get back Linux Grub screen

I had Linux and win98 installed on my PC, then I installed winXP and it has replaced the Grub Bootloader, now on booting up I get to see only win98 and winXP to choose from, Now how do I get Back the Grub screen with Linux as a option or how do I boot into linux. :confused: (3 Replies)
Discussion started by: er.pankaj
3 Replies

4. UNIX for Dummies Questions & Answers

Is there a way to get rid of GRUB and any OS selector so that Linux starts....

Is there a way to get rid of GRUB and any Linux OS selector so that Linux starts automatically without having to wait for GRUB to go through it's OS choice process? I want to keep the Windows OS selector and have it so when I select Linux, it goes right to Linux and not another selector. Know what... (0 Replies)
Discussion started by: mattzway
0 Replies

5. UNIX for Dummies Questions & Answers

Grub can't find Windows XP

grub was working beautifully on my old hard drive. I cloned my drive, and reinstalled grub. My linux partition loads fine, but when I click on Windows, grub simply sends me back to the grub prompt with no error message. On investigating, it appears that grub hasn't loaded the windows kernel. (I... (2 Replies)
Discussion started by: LeoSimon
2 Replies

6. Linux

grub error 22,after removing linux partitions only windows is threre.Pc not booting.i

hi, in my pc linux and windows was there with 2 hdd in raid.i removed linux partititons.Now my ps is not booting giving grub error 22.Nothing works.I hace my data in windows.Hard disks are RAID.when tried to go to recovery mode from windoes boot cd,it says hard disk not detected.when tried with... (2 Replies)
Discussion started by: pankajd
2 Replies

7. UNIX for Advanced & Expert Users

grub to boot windows

Hello, I am using debian-5.0.0(lenny) . I installed windows xp(a hacked version) on a usb stick. this stick works perfectly well and boots off a windows system successfully. but on linux it is finding problems to do so. So I finally decided to put a grub entry to boot off the usb HDD. ... (8 Replies)
Discussion started by: gaurav1086
8 Replies

8. UNIX for Advanced & Expert Users

Grub installation fails in Linux BMR..

Hi all, This topic is purely on a problem in installing grub in my LINUX BMR process... A major problem too.. I am designing Linux BMR where i do the following.. Backup the " / " as a whole .. with partition details ..etc And using the Knoppix Live CD i first create the partitions... (1 Reply)
Discussion started by: selvarajvs
1 Replies

9. UNIX for Dummies Questions & Answers

Linux first or GRUB first ?

Hi everyone, I am having trouble of understanding the concept of GRUB bootloader in Linux. My questions are-: Do we install GRUB first and then install Linux ? Does GRUB act as a bootloader for Windows if we are trying to dual boot Windows and Linux ? Or does GRUB load the Windows... (4 Replies)
Discussion started by: sreyan32
4 Replies
BOOT(7) 																   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) 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 non-volatile 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 (non-volatile 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 sin- gle-user, on 2 most network services start, etc.). 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 SYSV-R4 based system, which currently covers most commercial Unices (Solaris, HPUX, Irix, Tru64) as well as the major Linux distributions (RedHat, Debian, Mandrake, Suse, Caldera). 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 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 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 assert order withing the same run-level, the names of the links contains order-numbers. Also, to make the names clearer, they usually ends with the name of the service they refer to. Example: the link /etc/rc2.d/S80sendmail is starting the sendmail service on runlevel 2. This is happening 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 RedHat systems) and are used by the boot scripts. In older Unices, these files contained the actual command line options for the daemons, but in modern Linux systems (and also in HPUX), 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) 2002-06-07 BOOT(7)
All times are GMT -4. The time now is 09:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy