summaryrefslogtreecommitdiffstats
path: root/client/shared/lib/grub4dos
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2011-03-02 17:39:59 +0000
committerramon <ramongomez@us.es>2011-03-02 17:39:59 +0000
commit2338c95f5ab7569bbce01178ea1426555271e5a4 (patch)
treed1744759c0d0c578191210f08cab9e71c095b0e9 /client/shared/lib/grub4dos
parent803bc36238663cda57898d83bc90b7a3d232b60f (diff)
Rama version1.0:
* Redistribución de directorios para el cliente. * Modificación del instalador para adaptarse a la nueva estructura de directorios. * Desinstalador quita los recursos de OpenGnSys en Samba. * Documentación actualizada para la nueva versión. git-svn-id: https://opengnsys.es/svn/branches/version1.0@1526 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/shared/lib/grub4dos')
-rw-r--r--client/shared/lib/grub4dos/badgrub.exebin0 -> 210827 bytes
-rwxr-xr-xclient/shared/lib/grub4dos/bootlace.combin0 -> 37092 bytes
-rw-r--r--client/shared/lib/grub4dos/config.sys6
-rw-r--r--client/shared/lib/grub4dos/default46
-rw-r--r--client/shared/lib/grub4dos/grldrbin0 -> 195435 bytes
-rw-r--r--client/shared/lib/grub4dos/grldr.mbrbin0 -> 9216 bytes
-rw-r--r--client/shared/lib/grub4dos/grub.exebin0 -> 212363 bytes
-rw-r--r--client/shared/lib/grub4dos/grub.pifbin0 -> 967 bytes
-rw-r--r--client/shared/lib/grub4dos/hmload.combin0 -> 1856 bytes
-rw-r--r--client/shared/lib/grub4dos/menu.lst83
10 files changed, 135 insertions, 0 deletions
diff --git a/client/shared/lib/grub4dos/badgrub.exe b/client/shared/lib/grub4dos/badgrub.exe
new file mode 100644
index 00000000..3cd26a61
--- /dev/null
+++ b/client/shared/lib/grub4dos/badgrub.exe
Binary files differ
diff --git a/client/shared/lib/grub4dos/bootlace.com b/client/shared/lib/grub4dos/bootlace.com
new file mode 100755
index 00000000..199831f6
--- /dev/null
+++ b/client/shared/lib/grub4dos/bootlace.com
Binary files differ
diff --git a/client/shared/lib/grub4dos/config.sys b/client/shared/lib/grub4dos/config.sys
new file mode 100644
index 00000000..9aa253ef
--- /dev/null
+++ b/client/shared/lib/grub4dos/config.sys
@@ -0,0 +1,6 @@
+rem load grub.exe before emm386.exe
+device=grub.exe --bypass --time-out=5 --config-file="color black/cyan yellow/cyan;timeout 60;default 0;title find and load NTLDR of Windows NT/2K/XP;find --set-root /ntldr;chainloader /ntldr;title find and load CMLDR, the Recovery Console of Windows NT/2K/XP;find --set-root /cmldr;chainloader /cmldr;write 0x7C03 0x63646D63;write 0x7C07 0x00736E6F;title find and load IO.SYS of Windows 9x/Me;find --set-root /io.sys;chainloader /io.sys;title floppy (fd0);chainloader (fd0)+1;rootnoverify (fd0);title find and boot Linux with menu.lst already installed;find --set-root /sbin/init;configfile /boot/grub/menu.lst;title find and boot Mandriva with menu.lst already installed;find --set-root /etc/mandriva-release;configfile /boot/grub/menu.lst;title back to dos;quit;title commandline;commandline;title reboot;reboot;title halt;halt;"
+
+device=c:\windows\himem.sys
+device=c:\windows\emm386.exe
+
diff --git a/client/shared/lib/grub4dos/default b/client/shared/lib/grub4dos/default
new file mode 100644
index 00000000..689c3c8b
--- /dev/null
+++ b/client/shared/lib/grub4dos/default
@@ -0,0 +1,46 @@
+
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+# !!!!!!! The file size is 2048 bytes. Don't change the file size !!!!!!!
+# XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+# XXXXXXXXXXXXXXXXXXXXX
+# WARNING: If you want to edit this file directly, do not remove any line
+# from this file, including this warning. XXXXXXXXXXXXXXXXXXXXXXXXXXX
+# XXXXXXXXXXXXXXXXXXXXX
+# WARNING: If you want to edit this file directly, do not remove any line
+# from this file, including this warning. XXXXXXXXXXXXXXXXXXXXXXXXXXX
+# XXXXXXXXXXXXXXXXXXXXX
+# WARNING: If you want to edit this file directly, do not remove any line
+# from this file, including this warning. XXXXXXXXXXXXXXXXXXXXXXXXXXX
+# XXXXXXXXXXXXXXXXXXXXX
+# WARNING: If you want to edit this file directly, do not remove any line
+# from this file, including this warning. XXXXXXXXXXXXXXXXXXXXXXXXXXX
+# XXXXXXXXXXXXXXXXXXXXX
+# WARNING: If you want to edit this file directly, do not remove any line
+# from this file, including this warning. XXXXXXXXXXXXXXXXXXXXXXXXXXX
+# XXXXXXXXXXXXXXXXXXXXX
+# WARNING: If you want to edit this file directly, do not remove any line
+# from this file, including this warning. XXXXXXXXXXXXXXXXXXXXXXXXXXX
+# XXXXXXXXXXXXXXXXXXXXX
+# WARNING: If you want to edit this file directly, do not remove any line
+# from this file, including this warning. XXXXXXXXXXXXXXXXXXXXXXXXXXX
+# XXXXXXXXXXXXXXXXXXXXX
+# WARNING: If you want to edit this file directly, do not remove any line
+# from this file, including this warning. XXXXXXXXXXXXXXXXXXXXXXXXXXX
+# XXXXXXXXXXXXXXXXXXXXX
+# WARNING: If you want to edit this file directly, do not remove any line
+# from this file, including this warning. XXXXXXXXXXXXXXXXXXXXXXXXXXX
+# XXXXXXXXXXXXXXXXXXXXX
+# WARNING: If you want to edit this file directly, do not remove any line
+# from this file, including this warning. XXXXXXXXXXXXXXXXXXXXXXXXXXX
+# XXXXXXXXXXXXXXXXXXXXX
+# !!!!!!! The file size is 2048 bytes. Don't change the file size !!!!!!!
+# XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
diff --git a/client/shared/lib/grub4dos/grldr b/client/shared/lib/grub4dos/grldr
new file mode 100644
index 00000000..a31e27bd
--- /dev/null
+++ b/client/shared/lib/grub4dos/grldr
Binary files differ
diff --git a/client/shared/lib/grub4dos/grldr.mbr b/client/shared/lib/grub4dos/grldr.mbr
new file mode 100644
index 00000000..6130129d
--- /dev/null
+++ b/client/shared/lib/grub4dos/grldr.mbr
Binary files differ
diff --git a/client/shared/lib/grub4dos/grub.exe b/client/shared/lib/grub4dos/grub.exe
new file mode 100644
index 00000000..8df2433f
--- /dev/null
+++ b/client/shared/lib/grub4dos/grub.exe
Binary files differ
diff --git a/client/shared/lib/grub4dos/grub.pif b/client/shared/lib/grub4dos/grub.pif
new file mode 100644
index 00000000..28b43805
--- /dev/null
+++ b/client/shared/lib/grub4dos/grub.pif
Binary files differ
diff --git a/client/shared/lib/grub4dos/hmload.com b/client/shared/lib/grub4dos/hmload.com
new file mode 100644
index 00000000..04c794c3
--- /dev/null
+++ b/client/shared/lib/grub4dos/hmload.com
Binary files differ
diff --git a/client/shared/lib/grub4dos/menu.lst b/client/shared/lib/grub4dos/menu.lst
new file mode 100644
index 00000000..e7641534
--- /dev/null
+++ b/client/shared/lib/grub4dos/menu.lst
@@ -0,0 +1,83 @@
+# This is a sample menu.lst file. You should make some changes to it.
+# The old install method of booting via the stage-files has been removed.
+# Please install GRLDR boot strap code to MBR with the bootlace.com
+# utility under DOS/Win9x or Linux.
+
+color black/cyan yellow/cyan
+timeout 30
+default /default
+
+title find and load NTLDR of Windows NT/2K/XP
+fallback 1
+find --set-root /ntldr
+chainloader /ntldr
+savedefault --wait=2
+
+title find and load CMLDR, the Recovery Console of Windows NT/2K/XP
+fallback 2
+find --set-root /cmldr
+chainloader /cmldr
+#####################################################################
+# write string "cmdcons" to memory 0000:7C03 in 2 steps:
+#####################################################################
+# step 1. Write 4 chars "cmdc" at 0000:7C03
+write 0x7C03 0x63646D63
+# step 2. Write 3 chars "ons" and an ending null at 0000:7C07
+write 0x7C07 0x00736E6F
+savedefault --wait=2
+
+title find and load IO.SYS of Windows 9x/Me
+fallback 3
+find --set-root /io.sys
+chainloader /io.sys
+savedefault --wait=2
+
+title find and boot Mandriva with menu.lst already installed
+fallback 4
+find --set-root /etc/mandriva-release
+savedefault --wait=2
+configfile /boot/grub/menu.lst
+
+title find and boot Linux with menu.lst already installed
+fallback 5
+find --set-root /sbin/init
+savedefault --wait=2
+configfile /boot/grub/menu.lst
+
+title commandline
+savedefault --wait=2
+commandline
+
+title floppy (fd0)
+chainloader (fd0)+1
+rootnoverify (fd0)
+savedefault --wait=2
+
+title back to dos
+savedefault --wait=2
+quit
+
+title reboot
+savedefault --wait=2
+reboot
+
+title halt
+savedefault --wait=2
+halt
+
+title memdrive duplicated from floppy image file (hd0,0)/sbm.bin
+map --mem (hd0,0)/sbm.bin (fd0)
+map --hook
+chainloader (fd0)+1
+rootnoverify (fd0)
+savedefault --wait=2
+
+title memdrive based on win98 partition (hd0,6)
+map --mem (hd0,6)+1 (hd0)
+# map --mem (hd0,0)/win98.gz (hd0)
+map --hook
+chainloader (hd0)+1
+rootnoverify (hd0)
+savedefault --wait=2
+
+