Grub information

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is from the information found in "info grub" on F7. To launch a Linux system it says:

4.1.1 How to boot an OS directly with GRUB
------------------------------------------

Multiboot (*note Multiboot Specification: (multiboot)Top.) is the
native format supported by GRUB.  For the sake of convenience, there is
also support for Linux, FreeBSD, NetBSD and OpenBSD. If you want to
boot other operating systems, you will have to chain-load them (*note
Chain-loading::).

  Generally, GRUB can boot any Multiboot-compliant OS in the following
steps:

 1. Set GRUB's root device to the drive where the OS images are stored
    with the command `root' (*note root::).

 2. Load the kernel image with the command `kernel' (*note kernel::).

 3. If you need modules, load them with the command `module' (*note
    module::) or `modulenounzip' (*note modulenounzip::).
--zz-Info:

That is load a Linux system. This next is how to load windows or another grub loader:

operating system is installed.

 1. Set GRUB's root device to the partition by the command
    `rootnoverify' (*note rootnoverify::):

         grub> rootnoverify (hd0,0)

 2. Set the "active" flag in the partition using the command
    `makeactive'(1) (*note Chain-loading-Footnote-1::) (*note
    makeactive::):

         grub> makeactive

 3. Load the boot loader with the command `chainloader' (*note
    chainloader::):

         grub> chainloader +1

    `+1' indicates that GRUB should read one sector from the start of
    the partition. The complete description about this syntax can be
    found in *Note Block list syntax::.

Sample form for Linux


    # For booting GNU/Linux
    title  GNU/Linux
    kernel (hd1,0)/vmlinuz root=/dev/hdb1

Typical real Linux sample form for Linux

title Fedora (2.6.22.1-41.fc7)
       root (hd0,5)
       kernel /boot/vmlinuz-2.6.22.1-41.fc7 ro root=LABEL=f7 rhgb quiet
       initrd /boot/initrd-2.6.22.1-41.fc7.img


My question is how do you get to the real Linux sample from the grub manual Linux sample? You need to be an expert.


--

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux