summaryrefslogtreecommitdiffstats
path: root/extra/grub
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-02-26 20:00:01 +0100
committertnut <thierryn1 at hispeed dot ch>2010-02-26 20:00:01 +0100
commit951660417b0e9fc1cf85675a6cd04543ce989a01 (patch)
tree49c7c76fe91532c8f00ea87858d7d0c753efdc72 /extra/grub
parent429db18408791a5968cee746f1fd35ec965057d9 (diff)
downloadnutyx-extra-951660417b0e9fc1cf85675a6cd04543ce989a01.tar.gz
nutyx-extra-951660417b0e9fc1cf85675a6cd04543ce989a01.tar.bz2
nutyx-extra-951660417b0e9fc1cf85675a6cd04543ce989a01.tar.xz
nutyx-extra-951660417b0e9fc1cf85675a6cd04543ce989a01.zip
grub2, renommé en grub
Diffstat (limited to 'extra/grub')
-rw-r--r--extra/grub/.footprint174
-rw-r--r--extra/grub/.md5sum2
-rwxr-xr-xextra/grub/Pkgfile33
-rw-r--r--extra/grub/grub.cfg37
4 files changed, 246 insertions, 0 deletions
diff --git a/extra/grub/.footprint b/extra/grub/.footprint
new file mode 100644
index 000000000..1b35e910d
--- /dev/null
+++ b/extra/grub/.footprint
@@ -0,0 +1,174 @@
+drwxr-xr-x root/root boot/
+drwxr-xr-x root/root boot/grub/
+-rw-r--r-- root/root boot/grub/grub.cfg
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/grub.d/
+-rwxr-xr-x root/root etc/grub.d/00_header
+-rwxr-xr-x root/root etc/grub.d/10_linux
+-rwxr-xr-x root/root etc/grub.d/30_os-prober
+-rwxr-xr-x root/root etc/grub.d/40_custom
+-rw-r--r-- root/root etc/grub.d/README
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/grub-editenv
+-rwxr-xr-x root/root usr/bin/grub-mkelfimage
+-rwxr-xr-x root/root usr/bin/grub-mkfont
+-rwxr-xr-x root/root usr/bin/grub-mkimage
+-rwxr-xr-x root/root usr/bin/grub-mkrescue
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/grub/
+-rw-r--r-- root/root usr/lib/grub/grub-mkconfig_lib
+drwxr-xr-x root/root usr/lib/grub/i386-pc/
+-rw-r--r-- root/root usr/lib/grub/i386-pc/acpi.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/affs.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/afs.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/afs_be.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/aout.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/at_keyboard.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/ata.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/ata_pthru.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/befs.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/befs_be.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/biosdisk.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/bitmap.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/blocklist.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/boot.img
+-rw-r--r-- root/root usr/lib/grub/i386-pc/boot.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/bsd.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/bufio.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/build_env.mk
+-rw-r--r-- root/root usr/lib/grub/i386-pc/cat.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/cdboot.img
+-rw-r--r-- root/root usr/lib/grub/i386-pc/chain.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/cmp.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/command.lst
+-rw-r--r-- root/root usr/lib/grub/i386-pc/config.h
+-rw-r--r-- root/root usr/lib/grub/i386-pc/configfile.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/cpio.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/cpuid.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/crc.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/date.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/datehook.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/datetime.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/diskboot.img
+-rw-r--r-- root/root usr/lib/grub/i386-pc/dm_nv.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/drivemap.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/echo.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/efiemu.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/elf.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/ext2.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/extcmd.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/fat.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/font.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/fs.lst
+-rw-r--r-- root/root usr/lib/grub/i386-pc/fs_file.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/fs_uuid.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/fshelp.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/gfxterm.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/gptsync.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/grub_script.tab.h
+-rw-r--r-- root/root usr/lib/grub/i386-pc/gzio.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/halt.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/handler.lst
+-rw-r--r-- root/root usr/lib/grub/i386-pc/handler.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/hdparm.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/hello.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/help.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/hexdump.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/hfs.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/hfsplus.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/iso9660.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/jfs.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/jpeg.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/kernel.img
+-rw-r--r-- root/root usr/lib/grub/i386-pc/keystatus.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/linux.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/linux16.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/lnxboot.img
+-rw-r--r-- root/root usr/lib/grub/i386-pc/loadenv.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/loopback.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/ls.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/lsmmap.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/lspci.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/lvm.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/mdraid.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/memdisk.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/memrw.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/minicmd.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/minix.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/mmap.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/moddep.lst
+-rw-r--r-- root/root usr/lib/grub/i386-pc/msdospart.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/multiboot.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/normal.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/ntfs.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/ntfscomp.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/ohci.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/part_acorn.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/part_amiga.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/part_apple.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/part_gpt.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/part_msdos.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/part_sun.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/partmap.lst
+-rw-r--r-- root/root usr/lib/grub/i386-pc/parttool.lst
+-rw-r--r-- root/root usr/lib/grub/i386-pc/parttool.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/password.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/pci.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/play.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/png.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/probe.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/pxe.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/pxeboot.img
+-rw-r--r-- root/root usr/lib/grub/i386-pc/pxecmd.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/raid.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/raid5rec.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/raid6rec.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/read.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/reboot.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/reiserfs.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/scsi.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/search.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/serial.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/setjmp.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/sfs.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/sh.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/sleep.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/tar.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/terminfo.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/test.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/tga.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/true.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/udf.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/ufs1.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/ufs2.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/uhci.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/usb.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/usb_keyboard.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/usbms.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/usbtest.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/vbe.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/vbeinfo.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/vbetest.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/vga.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/vga_text.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/video.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/video_fb.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/videotest.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/xfs.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/xnu.mod
+-rw-r--r-- root/root usr/lib/grub/i386-pc/xnu_uuid.mod
+-rw-r--r-- root/root usr/lib/grub/update-grub_lib
+drwxr-xr-x root/root usr/sbin/
+-rwxr-xr-x root/root usr/sbin/grub-install
+-rwxr-xr-x root/root usr/sbin/grub-mkconfig
+-rwxr-xr-x root/root usr/sbin/grub-mkdevicemap
+-rwxr-xr-x root/root usr/sbin/grub-probe
+-rwxr-xr-x root/root usr/sbin/grub-setup
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/grub/
+drwxr-xr-x root/root usr/share/info/
+-rw-r--r-- root/root usr/share/info/grub.info.gz
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+drwxr-xr-x root/root usr/share/man/man8/
diff --git a/extra/grub/.md5sum b/extra/grub/.md5sum
new file mode 100644
index 000000000..89ac405f5
--- /dev/null
+++ b/extra/grub/.md5sum
@@ -0,0 +1,2 @@
+db4d23fb8897523a7e484e974ae3d1c9 grub-1.97.2.tar.gz
+39c7eaf1127012f1f548f2b5dfda47d6 grub.cfg
diff --git a/extra/grub/Pkgfile b/extra/grub/Pkgfile
new file mode 100755
index 000000000..8429e9184
--- /dev/null
+++ b/extra/grub/Pkgfile
@@ -0,0 +1,33 @@
+# Description: GRand Unified Bootloader, le programme de chargement du noyau en mémoire vive
+# URL: http://www.gnu.org/software/grub/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: freetype
+
+name=grub
+version=1.97.2
+release=1
+source=(ftp://alpha.gnu.org/gnu/grub/grub-$version.tar.gz\
+ grub.cfg)
+build() {
+ cd grub-$version
+ unset CXXFLAGS
+ unset CFLAGS
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --sysconfdir=/etc \
+ --disable-grub-emu \
+ --disable-grub-emu-usb \
+ --disable-grub-fstest \
+ --disable-efiemu \
+ --infodir=/usr/share/info
+ make
+ make DESTDIR=$PKG install
+ install -d $PKG/boot/grub
+ install -d $PKG/usr/share
+ if [ -f $PKG/usr/share/info/dir ]; then
+ rm $PKG/usr/share/info/dir
+ fi
+ install -Dm644 ../grub.cfg \
+ $PKG/boot/grub/grub.cfg
+}
diff --git a/extra/grub/grub.cfg b/extra/grub/grub.cfg
new file mode 100644
index 000000000..52bf4dc02
--- /dev/null
+++ b/extra/grub/grub.cfg
@@ -0,0 +1,37 @@
+# Config file for GRUB2 - The GNU GRand Unified Bootloader
+# /boot/grub/grub.cfg
+
+# DEVICE NAME CONVERSIONS
+#
+# Linux Grub
+# -------------------------
+# /dev/fd0 (fd0)
+# /dev/sda (hd0)
+# /dev/sdb2 (hd1,2)
+# /dev/sda3 (hd0,3)
+#
+
+# Timeout for menu
+set timeout=5
+
+# Set default boot entry as Entry 0
+set default=0
+
+# (0) NuTyX Linux 2009 Maintence
+menuentry "NuTyX Linux 2009 Maintenance" {
+set root=(hd0,1)
+linux /boot/kernel ro
+initrd /boot/nutyx-initrd
+}
+
+# (1) NuTyX Linux 2009
+menuentry "NuTyX Linux 2009" {
+set root=(hd0,1)
+linux /boot/kernel root=/dev/sda1 ro
+}
+
+## (1) Windows
+#menuentry "Windows" {
+#set root=(hd0,3)
+#chainloader +1
+#}