Re: clearing space

From: Peter Risdon (peter_at_circlesquared.com)
Date: 01/07/05

  • Next message: V Foulk: "IPFW and whois lookup"
    To: Marty Landman <MLandman@face2interface.com>
    Date: Fri, 07 Jan 2005 17:20:59 +0000
    
    

    On Fri, 2005-01-07 at 11:59 -0500, Marty Landman wrote:
    > At 11:32 AM 1/7/2005, Peter Risdon wrote:
    > >On Fri, 2005-01-07 at 10:41 -0500, Marty Landman wrote:
    > >
    > > >
    > > > This has become a problem. Took a working keyboard from another box and it
    > > > won't work. Unless by some weird chance I should reboot first.
    > > >
    > >
    > >This happens, but don't just reboot.
    >
    > Peter, are you saying that it's possible my keyboard isn't working because
    > the console hasn't been used for a very long time? If so, why isn't
    > rebooting the easiest thing to do?

    Sort of. Sometimes, not often, just plugging a ps2 keyboard into a
    running machine won't work. It's also capable, even more rarely, of
    damaging the motherboard.

    [...]
    >
    > >No - you ought to be able to su to root still.
    >
    > But how?
    >
    > %su -
    > Password:
    > su: no directory
    > %

    I still have the machine on which I moved /root available and here's
    what happens:

    -bash-2.05b$ ls /
    COPYRIGHT dev kernel.GENERIC nonexistent stand
    bin dist kernel.old proc sys
    boot etc mnt razor-agent.log tmp
    cdrom home modules sbin usr
    compat kernel modules.old service var
    -bash-2.05b$ su
    Password:
    %ls /
    .cshrc compat kernel.GENERIC proc tmp
    .profile dev kernel.old razor-agent.log usr
    COPYRIGHT dist mnt sbin var
    bin etc modules service
    boot home modules.old stand
    cdrom kernel nonexistent sys
    %pwd
    /usr/home/peter
    %

    One thing that does occur to me: what is your user's shell and, if it
    isn't bash, do you have bash installed? And have you changed the root
    shell from csh? I suspect the latter.

    [...]
    > >If you can boot onto a FreeBSD CDROM it'd be easy to fix this. Can you?
    >
    > I still have the 4.8 mini-iso the system was installed with. But I need the
    > console to do this right? Any way I can be sure that the ps2 port/mobo
    > isn't what's really shot? Or does it even matter?

    The keyboard will almost certainly work after a reboot. If not, you've
    got other worries with that machine anyway. You can get a shell with
    root privileges from sysinstall and make your link. Move /sbin back,
    though. This was a bad thing to relocate.

    Peter.

    _______________________________________________
    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: V Foulk: "IPFW and whois lookup"

    Relevant Pages

    • Re: Linux 2.6.33-rc3, rc2 regression at boot
      ... about guessing at the proper config, but I did hear kde sign on when x ... which was just 'firmware', and rebuilt. ... I will try that when I next reboot, ... I am not convinced my wireless keyboard is alive at 0.6 seconds into the boot ...
      (Linux-Kernel)
    • Re: [SLE] Reboot breaks things
      ... >> USB keyboard and mouse won't work, My PCMCIA network adapter lights up ... >> When I reboot from WinXP to SUSE or WinXP, ... USB keyboard works in Grub menu, ... Pro and Suse 10.0 (except during reboot from 10.0). ...
      (SuSE)
    • Re: SP2 Issues
      ... Is there a keyboard connected to this server or is it running "headless"? ... If running headless, there is a registry entry to make to inform the system ... After the first reboot immidiately after the installation (and every other ...
      (microsoft.public.windows.server.general)
    • Re: Help with keyboard please!
      ... letters were not appearing when I was typing out messages. ... reboot and went to have breakfast. ... Agent' does say the keyboard driver is up to date and device manager ...
      (uk.people.silversurfers)
    • Re: Heads Up
      ... This one seems to involve hardware -- some of the time my keyboard ... then turn it back on and reboot and it works for awhile. ... the USB ports I plug into, well, you know the script. ... demons, and I thank the Lord that we have angels to seek ...
      (soc.retirement)