Process:

Boot up normally with 4.7 kernel.

DO THIS:

rm -rf /usr/obj/* (removes compiled files)
rm -rf /tmp/*

Add COMPAT_FREEBSD4 to your kernel configuration file.

make buildworld
make buildkernel KERNCONF=YOURKERNELFILE
cp /usr/src/sys/${MACHINE}/conf/GENERIC.hints /boot/device.hints

(MACHINE = i386, powerpc, ia64 etc depending on architecture. check out the 
directory first)

make installkernel KERNCONF=YOURKERNELFILE

#The next line installs the 5.x boot loader.
cd /usr/src/sys/boot; make install

reboot.

Hit a key at boot (other than Enter)
Type: boot -s

This will boot into single user mode with your new kernel.

fsck -p
mount -u /
mount -a


mergemaster -p
rm -rf /usr/include/g++
make installworld
mergemaster
<reboot>


PLEASE NOTE: Your should REALLY REALLY read the /usr/src/UPDATING file. All 
the information given here is taken from that file...You should read that 
file to find out if there are any particular entries that are relevent to 
your platform.  The first few pages are updates to versions of FreeBSD, you 
can ignore these really and scroll to the bottom where the upgrade processes 
are described.

Good Luck,
Anthony Carter





Yeah.

When booting the computer and it tells you to press Enter to boot or any other 
blah blah, hit any key (not enter ;)) and type

boot -s name_of_4.7_kernel

this will boot into single usermode.

Then, do this:

fsck -p
mount -u /


On Monday 31 March 2003 15:03, Ventsislav Velkov wrote:
> I could not boot in single user mode with the 5.0 kernel because it
> brokes.
> Do you mean I should boot in single user with the 4.7 kernel in there
> installworld and to mergemaster ?
>
> regards,
> Veno
>
> ----- Original Message -----
> From: CARTER  <mailto:[EMAIL PROTECTED]> Anthony
> To: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> Sent: Monday, March 31, 2003 3:15 PM
> Subject: Re: problem updating from 4.7 Stable do 5.0 Current
>
> Have you installed the world? I don't know if just rebuilding it is
> sufficient....
>
> To install the world you have to go to single user mode and run
> mergemaster to
> update any changes in configuration files (take a backup of your current
>
> files as it overwrites them).
>
> Anthony
>
> On Monday 31 March 2003 13:15, Ventsislav Velkov wrote:
> > Hello all,
> >
> > I have a problem updating one of our servers from 4.7Stable to
>
> 5.0Current.
>
> > It is a Compaq Proliant 7000 Server with 4 Xeons @500Mhz with 2MB L2
>
> cache
>
> > each. I has a 4200 Compaq Smart Raid Controler with attached 3 U1
>
> Storages.
>
> > I update the src rebuild the world from updated src to 5.0Current,
>
> build a
>
> > GENERIC kernel and installed it. But after I boot it brokes up during
>
> the
>
> > booting process with the following error:
> >
> > //strip
> >
> > Fatal trap 12: page fault while in kernel mode cpuid=0; lapic.id=
>
> 01000000
>
> > fault virtual address = 0x54
> > fault code = supervisor read, page not present
> > ....
> > ....
> > ....
> > process eflags = interrupt enabled, resume, IOPL=0
> > current process = 4(g_down)
> > kernel: type12trap, code=0
> > Stopped at ida_construct_qcb+0xe3: movzbl 0x54(%eax),%eax
> >
> > //strip
> >
> > It may have some punctual mistakes because it is not a copy/paste.
> >
> > Will appreciate any advices where could be the problem.
> >
> > Best regards,
> >
> > Veno
> > _______________________________________________
> > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>
> mailing list
>
> > http://lists.freebsd.org/mailman/listinfo/freebsd-current
>
> <http://lists.freebsd.org/mailman/listinfo/freebsd-current>
>
> > To unsubscribe, send any mail to "
>
> [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> "
> _______________________________________________
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> <http://lists.freebsd.org/mailman/listinfo/freebsd-current>
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> "
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to