GRUB: Difference between revisions

From Q
Jump to navigation Jump to search
Tgurr (talk | contribs)
Tgurr (talk | contribs)
No edit summary
Line 1: Line 1:
== Packages ==
== GRUB ==
=== 32bit ===
 
{{Box Code|emerge grub -pv|
=== Packages ===
<pre>
==== 32bit ====
[ebuild  N    ] sys-boot/grub-0.97-r5  USE="ncurses -custom-cflags -netboot -static" 1,013 kB
</pre>
}}
=== 64bit ===
{{Box Code|emerge grub -pv|
{{Box Code|emerge grub -pv|
<pre>
<pre>
[ebuild  N    ] app-emulation/emul-linux-x86-baselibs-20080316  24,596 kB
[ebuild  N    ] sys-boot/grub-0.97-r5  USE="ncurses -custom-cflags -netboot -static" 1,013 kB
[ebuild  N    ] sys-boot/grub-0.97-r5  USE="ncurses -custom-cflags -netboot -static" 1,013 kB
</pre>
</pre>
}}
}}


== Installation ==
=== Installation ===
{{Codeline|# mount /boot}}
{{Codeline|# mount /boot}}


{{Codeline|# emerge grub}}
{{Codeline|# emerge grub}}


== Configuration ==
=== Configuration ===
=== Normal ===
==== Normal ====
==== 1 HDD 3 Partitions (boot/swap/root) - Linux only ====
===== 1 HDD 3 Partitions (boot/swap/root) - Linux only =====
{{Box File|/boot/grub/grub.conf|
{{Box File|/boot/grub/grub.conf|
<pre>
<pre>
Line 38: Line 33:
}}
}}
{{Codeline|# grub-install --no-floppy /dev/sda}}
{{Codeline|# grub-install --no-floppy /dev/sda}}
==== 1 HDD - Linux and Windows ====
===== 1 HDD - Linux and Windows =====
==== 2 HDD - Linux and Windows ====
===== 2 HDD - Linux and Windows =====
==== x HDD - Linux and Windows ====
===== x HDD - Linux and Windows =====
=== Software RAID-1 ===
==== Software RAID-1 ====
=== Hardware RAID (HP/Compaq Smart Array RAID controller) ===
==== Hardware RAID (HP/Compaq Smart Array RAID controller) ====
{{Box File|/boot/grub/grub.conf|
{{Box File|/boot/grub/grub.conf|
<pre>
<pre>
Line 67: Line 62:
{{Codeline|# grub-install --no-floppy /dev/cciss/c0d0}}
{{Codeline|# grub-install --no-floppy /dev/cciss/c0d0}}


== Finalize ==
=== Finalize ===
If the menu.lst symlink doesn't exist we MUST create it
If the menu.lst symlink doesn't exist we MUST create it



Revision as of 11:07, 2 March 2011

GRUB

Packages

32bit

Template:Box Code

Installation

# mount /boot

# emerge grub

Configuration

Normal

1 HDD 3 Partitions (boot/swap/root) - Linux only

Template:Box File # grub-install --no-floppy /dev/sda

1 HDD - Linux and Windows
2 HDD - Linux and Windows
x HDD - Linux and Windows

Software RAID-1

Hardware RAID (HP/Compaq Smart Array RAID controller)

Template:Box File

Template:Box File

# grub-install --no-floppy /dev/cciss/c0d0

Finalize

If the menu.lst symlink doesn't exist we MUST create it

# cd /boot/grub

# ln -snf grub.conf menu.lst