Anaconda/BootDiskPatch

From FedoraProject

< Anaconda(Difference between revisions)
Jump to: navigation, search
(Imported from MoinMoin)
 
m (1 revision(s))
 

Latest revision as of 16:37, 24 May 2008

[edit] Anaconda Boot Disk Patch

Boot up patches.

Be careful with this file. It contains control characters, which are created by pressing Ctrl+v, and then Ctrl+letter. For instance, [Ctrl+v,Ctrl+o] means to press Ctrl+v, and then Ctrl+o. 0f and 07 after [Ctrl+v,Ctrl+o] below are both the number zero, not the letter.
Just download this patch here: [[%ATTACHURL%/bootdisk.patch] [bootdisk.patch]

Right click on the link and choose Save Link Target As...

Check the file to ensure that it has the special control characters.

This is a conglomeration of [[%ATTACHURL%/../Bootmsg/boot.msg.patch] [boot.msg.patch] , [[%ATTACHURL%/../Syslinuxcfg/syslinux.cfg.patch] [syslinux.cfg.patch] , [[%ATTACHURL%/../MakeDiskDruidTheDefault/disk-druid-default.patch] [disk-druid-default.patch] , [[%ATTACHURL%/../EnableMediaCheckInKickstart/mediacheck-in-kickstart.patch] [mediacheck-in-kickstart.patch] , and [[%ATTACHURL%/../DontUnmountCD-ROMBeforeRunningPostInKickstart/Do-not-unmount-cdrom.patch] [Do-not-unmount-cdrom.patch] .


diff -urN anaconda-8.0.93.orig/bootdisk/i386/boot.msg anaconda-8.0.93/bootdisk/i386/boot.msg
--- anaconda-8.0.93.orig/bootdisk/i386/boot.msg   2002-09-05 09:34:25.000000000 -0700
+++ anaconda-8.0.93/bootdisk/i386/boot.msg   2003-01-24 16:02:08.000000000 -0800
@@ -1,9 +1,11 @@
[Ctrl+v,Ctrl+l] 
[Ctrl+v,Ctrl+x] splash.lss

- -  To install or upgrade in graphical mode, press the [Ctrl+v,Ctrl+o] 0f<ENTER>[Ctrl+v,Ctrl+o] 07 key.
-
- -  To install or upgrade in text mode, type: [Ctrl+v,Ctrl+o] 0flinux text <ENTER>[Ctrl+v,Ctrl+o] 07.
+ -  To install [Ctrl+v,Ctrl+o] 02Fedora Core[Ctrl+v,Ctrl+o] 07 (formerly Red Hat) Linux in graphical mode, press the [Ctrl+v,Ctrl+o] 0f<ENTER>[Ctrl+v,Ctrl+o] 07 key.

+ -  Type [Ctrl+v,Ctrl+o] 0fks[Ctrl+v,Ctrl+o] 07 (or just press [Ctrl+v,Ctrl+o] 0f<ENTER>[Ctrl+v,Ctrl+o] 07) for a kickstart install (default),
+     type [Ctrl+v,Ctrl+o] 0fupgrade[Ctrl+v,Ctrl+o] 07 to upgrade from a previous release, type [Ctrl+v,Ctrl+o] 0frescue[Ctrl+v,Ctrl+o] 07 to enter
+     Rescue/Repair mode, or type [Ctrl+v,Ctrl+o] 0fmemtest[Ctrl+v,Ctrl+o] 07 to test the system memory.
+ -  Type [Ctrl+v,Ctrl+o] 0flinux[Ctrl+v,Ctrl+o] 07 if you want a regular install (you must answer all questions).
-  Use the function keys listed below for more information.

[Ctrl+v,Ctrl+o] 02[F1-Main]  [F2-Options]  [F3-General]  [F4-Kernel]  [F5-Rescue] [Ctrl+v,Ctrl+o] 07
diff -urN anaconda-8.0.93.orig/bootdisk/i386/syslinux.cfg anaconda-8.0.93/bootdisk/i386/syslinux.cfg
--- anaconda-8.0.93.orig/bootdisk/i386/syslinux.cfg   2002-12-04 09:40:38.000000000 -0800
+++ anaconda-8.0.93/bootdisk/i386/syslinux.cfg   2003-01-24 16:05:49.000000000 -0800
@@ -1,6 +1,6 @@
-default linux
+default ks
prompt 1
-timeout 600
+timeout 300
display boot.msg
F1 boot.msg
F2 options.msg
@@ -19,7 +19,18 @@
append expert initrd=initrd.img ramdisk_size=8192
label ks
kernel vmlinuz
-  append ks initrd=initrd.img ramdisk_size=8192
+  append ks=cdrom:/kickstart/ks.cfg initrd=initrd.img ramdisk_size=8192
+label everything
+  kernel vmlinuz
+  append ks=cdrom:/kickstart/ks.cfg.everything initrd=initrd.img ramdisk_size=8192
+label upgrade
+  kernel vmlinuz
+  append ks=cdrom:/kickstart/ks.cfg.upgrade initrd=initrd.img ramdisk_size=8192
+label local
+  localboot 0x80
+label rescue
+  kernel vmlinuz
+  append rescue ks=cdrom:/kickstart/ks.cfg.everything initrd=initrd.img ramdisk_size=8192
label lowres
kernel vmlinuz
append initrd=initrd.img lowres ramdisk_size=8192
diff -urN anaconda-9.0.6.orig/iw/partmethod_gui.py anaconda-9.0.6/iw/partmethod_gui.py
--- anaconda-9.0.6.orig/iw/partmethod_gui.py   2002-11-18 12:45:51.000000000 -0800
+++ anaconda-9.0.6/iw/partmethod_gui.py   2003-10-17 12:23:28.000000000 -0700
@@ -61,6 +61,8 @@
else:
self.useDS.set_active(1)

+        self.useDS.set_active(1)
+
align = gtk.Alignment()
align.add(radioBox)
align.set(0.5, 0.5, 0.0, 0.0)
diff -urN anaconda-9.0.6.orig/loader2/cdinstall.c anaconda-9.0.6/loader2/cdinstall.c
--- anaconda-9.0.6.orig/loader2/cdinstall.c   2003-08-18 09:32:16.000000000 -0700
+++ anaconda-9.0.6/loader2/cdinstall.c   2003-10-17 12:23:27.000000000 -0700
@@ -235,9 +235,9 @@
char mediasum[33] ;
int isostatus;

-  /* dont bother to test in automated installs */
+  /* dont bother to test i automated installs
if (FL_KICKSTART(flags))
-      return;
+      return; */

/* see what status is */
isostatus = getISOStatusFromCDROM(dev, mediasum);
diff -urN anaconda-9.0.6.orig/loader2/method.c anaconda-9.0.6/loader2/method.c
<nop>--- anaconda-9.0.6.orig/loader2/method.c   2003-07-09 09:45:44.000000000 -0700
+++ anaconda-9.0.6/loader2/method.c   2003-10-17 12:23:27.000000000 -0700
@@ -326,9 +326,9 @@
char *tmpstr;
int rc, first;

-    /* dont bother to test in automated installs */
+    /* dont bother to test in automated installs
if (FL_KICKSTART(flags))
-   return;
+   return; */

/* if they did not specify to mediacheck explicitely then return */
if (!FL_MEDIACHECK(flags))%BR%
diff -urN anaconda-9.0.6.orig/packages.py anaconda-9.0.6/packages.py
--- anaconda-9.0.6.orig/packages.py   2003-08-21 09:33:36.000000000 -0700
+++ anaconda-9.0.6/packages.py   2003-10-17 12:23:28.000000000 -0700
@@ -911,7 +911,8 @@
if not cb.beenCalled:
cb.initWindow.pop()

-    method.filesDone ()
+    # Removed this line to see if it unmounts the CDROM after installation
+    #method.filesDone ()

for file in ["__db.001", "__db.002", "__db.003"] :
  • [[%ATTACHURL%/bootdisk.patch] [bootdisk.patch]  : Patches for the installer