Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: current snapshot cannot mount / from CD



Much thanks to Michael Hitch, and everyone else.
The fix for this appears to be:

Index: sys/arch/x86/x86/x86_autoconf.c
===================================================================
RCS file: /cvsroot/src/sys/arch/x86/x86/x86_autoconf.c,v
retrieving revision 1.59
diff -u -p -r1.59 x86_autoconf.c
--- sys/arch/x86/x86/x86_autoconf.c     8 Mar 2011 02:57:00 -0000       1.59
+++ sys/arch/x86/x86/x86_autoconf.c     13 Jun 2011 23:32:49 -0000
@@ -575,7 +575,7 @@ findroot(void)
                                if (device_class(dv) == DV_DISK &&
                                    device_is_a(dv, "cd")) {
                                        booted_device = dv;
-                                       booted_partition = 0;
+                                       booted_partition = RAW_PART;
                                        break;
                                }
                        }


Home | Main Index | Thread Index | Old Index