Difference between pages "Package:Boot-Update" and "Package:Java SE Development Kit (JDK)"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
m (Reverted edits by Sputnik (talk) to last revision by Neduard)
 
 
Line 1: Line 1:
{{Ebuild
{{Ebuild
|Summary=Funtoo Core Boot Framework for global boot loader configuration
|Summary=Oracle's Java SE Development Kit -- Java runtime, compiler, etc.
|CatPkg=sys-boot/boot-update
|CatPkg=dev-java/oracle-jdk-bin
|Maintainer=Drobbins
|Maintainer=
|Repository=Funtoo Overlay
|Homepage=http://www.oracle.com/technetwork/java/javase/overview/index.html
|Organization=Funtoo Technologies
|Overlay=Funtoo
}}
}}
Funtoo boot-update provides a unified mechanism for configuring the GRUB 1.9x ({{Package|sys-boot/grub}}) and GRUB 0.97 ({{Package|sys-boot/grub-legacy}}) boot loaders. It is the recommended, official way to configure Funtoo Linux systems for booting.


== Current Version ==
You can install the free icedtea jdk or Oracle's version.
Therefore we have a virtual package called ''virtual/jdk''. By default it will install the Oracle version.


* {{Package|sys-boot/boot-update}}
== Installation ==
 
== Man Pages ==
Consult the following man pages for detailed, up-to-date information on configuration file settings and command-line arguments:
 
* boot-update(8)
* boot.conf(5)
 
== GRUB 1.97+ Quick Start ==
 
If using <code>sys-boot/grub-1.97</code> or later, perform the following steps:
 
* Partition disk using GPT/GUID (recommended) or MBR partitions.
* Install kernel/initrd to <code>/boot</code>
 
<console>
###i## emerge sys-boot/boot-update
###i## grub-install --no-floppy /dev/sda
</console>
Ensure that <code>/etc/fstab</code> is correct, and edit <code>/etc/boot.conf</code> to reflect your installation (see <code>/etc/boot.conf.example</code>). Then run:
 
<console>
###i## boot-update
</console>
This will auto-generate the complex <code>/boot/grub/grub.cfg</code> required for booting. Re-run <code>boot-update</code> every time your available kernels/initrds or <code>/etc/boot.conf</code> configuration changes.
 
= GRUB 0.97 (grub-legacy) Quick Start =
 
If using <code>sys-boot/grub-legacy-0.97</code>, perform the following steps:
 
* Partition disk using MBR partitions '''(GPT not supported)'''
* Install kernel/initrd to <code>/boot</code>
 
<console>
###i## emerge sys-boot/boot-update
###i## emerge ">=sys-boot/grub-legacy-0.97-r11"
###i## grub-install-legacy /dev/sda
</console>
Due to an issue with <code>grub-legacy</code>, you may see the following message:
<console>
<console>
###i## grub-install-legacy /dev/sda
###i## emerge -a virtual/jdk
The file /boot/grub-legacy/stage1 not read correctly.
</console>
</console>
Should you receive this message, you will have to install <code>grub-legacy</code> from the grub shell.
Assuming <code>/boot</code> is the partition <code>/dev/sda1</code> and you want to install grub to the MBR, you would run the following:
<console>
###i## grub-legacy
root (hd0,0)
setup (hd0)
quit
</console>
When adjusting to fit your setup, remember 'root' is the location of your boot partition, 'setup' is where you want to install grub, and don't forget about grub's unique naming conventions for hard drives / partitions. For more information run:
<console>
###i## info grub-legacy
</console>
Ensure that <code>/etc/fstab</code> is correct, and edit <code>/etc/boot.conf</code> to reflect your installation.
Ensure a <code>generate grub-legacy</code> setting in the <code>boot</code> section. Then run:
<console>
###i## boot-update
</console>
This will auto-generate the <code>/boot/grub-legacy/grub.conf</code> required for booting. Note that <code>grub-legacy-0.97-r11</code> and later stores <code>grub.conf</code> in the <code>/boot/grub-legacy</code> directory.
Re-run <code>boot-update</code> every time your available kernels / initrds or <code>/etc/boot.conf</code> configuration changes.


[[Category:Projects]]
{{PageNeedsUpdates}}
[[Category:Funtoo features]]
{{EbuildFooter}}
{{EbuildFooter}}

Revision as of 07:49, October 30, 2014

Java SE Development Kit (JDK)

   Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.


You can install the free icedtea jdk or Oracle's version. Therefore we have a virtual package called virtual/jdk. By default it will install the Oracle version.

Installation

root # emerge -a virtual/jdk