Re: harddisk problem and/or fsck problem?

From: Kent Stewart (kstewart_at_owt.com)
Date: 03/26/04

  • Next message: Stefan A. Deutscher: "Wine: user_ldt not recognized?"
    To: Richard Dawes <rdawes@epstais.com>
    Date: Fri, 26 Mar 2004 14:09:35 -0800
    
    

    On Friday 26 March 2004 01:02 pm, Richard Dawes wrote:
    > On Fri, Mar 26, 2004 at 11:55:06AM -0800, Kent Stewart wrote:
    > > On Friday 26 March 2004 10:06 am, Richard Dawes wrote:
    > > > Greetings, fellow FreeBSD users!
    > > >
    > > > Everything so far works fine for me, until I drop into single-
    > > > user mode to prep for making world. Even then, it seems OK,
    > > > except for this alarming output of "fsck -p":
    > >
    > > Well, you missed reading something because you are supposed to boot
    > > -s into single user mode. Then, you don't have write access and the
    > > fsck works.
    > >
    > > BTW, the whole point of booting into single user mode is to avoid a
    > > bad kernel. When you drop into single user mode, you aren't testing
    > > the new kernel.
    > >
    > > Kent
    >
    > Doh! Yes, I guess I was reading too quickly. And of course
    > it makes sense that I'd not need to fsck and mount things if
    > I just "drop" into single-user mode.
    >
    > But I wasn't yet testing a new kernel... I haven't yet made the
    > buildworld target. I see later on, though, where I'm supposed
    > to boot -s after installing a newly built kernel.
    >

    The sequence that is designed to keep your out of trouble is buildworld,
    buildkernel, installkernel, boot -s, and installworld, followed by a
    mergemaster.

    There are times as the statfs change to current that would render your
    system useless until you repair if if you do the installworld before
    booting to the new kernel. The sequence is /usr/src/UPDATING is there
    for a reason. You can change the order but if it breaks your system,
    you could have to repair it using the fixit disk or re-install.

    Kent

    -- 
    Kent Stewart
    Richland, WA
    http://users.owt.com/kstewart/index.html
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: Stefan A. Deutscher: "Wine: user_ldt not recognized?"

    Relevant Pages

    • Re: error when doing make installworld
      ... "Doing a make installworld before finding out if the ... How am I able to find out if the new kernel will boot ... *** Error code 1 ...
      (freebsd-questions)
    • Re: [SLE] fsck!!!
      ... > A little informed but still desperate to fsck the system. ... How to get to the CLI from the rescue option when booting off the ... Continue to boot to the rescue system. ... kernel versions and sources required if you move your harddrive to another ...
      (SuSE)
    • Re: error when doing make installworld
      ... "Doing a make installworld before finding out if ... How am I able to find out if the new kernel will ... kernel will boot will bite ... *** Error code 1 ...
      (freebsd-questions)
    • Booting after make installworld takes ages [Was Re: Cant boot after make installworld]
      ... world and kernel went smoothly I can boot with new kernel, ... installworld' I could boot my system. ... After 'make installworld' and rebooting it hangs at: ... Czerska 8/10, 00-732 Warszawa; Numer identyfikacji ...
      (freebsd-stable)
    • Re: Cannot boot with newly compiled kernel, or kernel.old after upgrading to RELENG_6
      ... On Sunday 04 December 2005 12:56 pm, Torgeir Hoffmann wrote: ... > mixed kernel and userland. ... > Thanks for the boot command - it worked very well. ... If you haven't done an installworld, you shouldn't do anything but boot ...
      (freebsd-questions)