[Lunar-commits] <moonbase> grub2: for the adventurous only

Dave Brown dagbrown at lart.ca
Fri Feb 12 05:09:01 CET 2010


commit 80f70f5558826f5dfeb3e0095116c4cce44dc3d9
Author: Dave Brown <dagbrown at lart.ca>
Date:   Fri Feb 12 13:09:01 2010 +0900

    grub2: for the adventurous only
---
 zbeta/grub2/CONFLICTS |    1 +
 zbeta/grub2/DEPENDS   |    1 +
 zbeta/grub2/DETAILS   |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 50 insertions(+), 0 deletions(-)

diff --git a/zbeta/grub2/CONFLICTS b/zbeta/grub2/CONFLICTS
new file mode 100644
index 0000000..9b6a1c0
--- /dev/null
+++ b/zbeta/grub2/CONFLICTS
@@ -0,0 +1 @@
+conflicts grub
diff --git a/zbeta/grub2/DEPENDS b/zbeta/grub2/DEPENDS
new file mode 100644
index 0000000..5764a9c
--- /dev/null
+++ b/zbeta/grub2/DEPENDS
@@ -0,0 +1 @@
+depends ncurses
diff --git a/zbeta/grub2/DETAILS b/zbeta/grub2/DETAILS
new file mode 100644
index 0000000..46b8f48
--- /dev/null
+++ b/zbeta/grub2/DETAILS
@@ -0,0 +1,48 @@
+          MODULE=grub2
+         VERSION=1.97.1
+          SOURCE=grub-$VERSION.tar.gz
+   SOURCE_URL[0]=ftp://alpha.gnu.org/gnu/grub
+   SOURCE_URL[1]=http://www.funet.fi/pub/gnu/alpha/gnu/grub
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/grub-$VERSION
+      SOURCE_VFY=sha1:a8465fc16ef5d082a43df0f8e7caeea01db0c515
+        WEB_SITE=http://www.gnu.org/software/grub
+         ENTERED=20100112
+         UPDATED=20100112
+      MAINTAINER=dagbrown at lunar-linux.org
+           SHORT="GNU GRUB boot loader"
+
+cat << EOF
+GNU GRUB is a Multiboot boot loader. It was derived from GRUB, GRand
+Unified Bootloader, which was originally designed and implemented by
+Erich Stefan Boleyn. Briefly, bootloader is the first software program
+that runs when a computer starts. It is responsible for loading and
+transferring control to the operating system kernel software (such as
+the Hurd or the Linux). The kernel, in turn, initializes the rest of
+the operating system (e.g. GNU).  Now with md, LVM and ZFS support!
+
+Sample command to install grub on an ide hard drive with a boot
+partition mounted anywhere, and a root partition mounted likewise:
+
+~# grub-install /dev/sda
+
+Sample /boot/grub/grub.cfg file is:
+
+set default=0
+set timeout=30
+
+menuentry "Lunar Linux 2.6.31" {
+    linux /2.6.31 ramdisk_size=16384 ro
+    initrd /initramfs-raid.gz
+}
+
+menuentry "Lunar Linux 2.6.31 (emergency initrd boot)" {
+    linux /2.6.31 ramdisk_size=16384 ro init=/bin/sh
+    initrd /initramfs-raid.gz
+}
+
+menuentry "Lunar Linux 2.6.31 (rescue boot)" {
+    linux /2.6.31 ramdisk_size=16384 ro init_run=/bin/sh
+    initrd /initramfs-raid.gz
+}
+
+EOF


More information about the Lunar-commits mailing list