Re: Disk Geometry

From: Kevin Kinsey (kdk_at_daleco.biz)
Date: 03/08/05

  • Next message: Bachelier Vincent: "Re: Issue to install Gnomemeeting"
    Date: Tue, 08 Mar 2005 15:28:04 -0600
    To: Dan Simmonds <danoxster@gmail.com>
    
    

    Dan Simmonds wrote:

    > I have a relatively new installation of FreeBSD 5.3 which I have been
    > running
    > as a file server. Recently we had a power outage and when I booted up the
    > machine again, instead of a normal boot sequence I was given an
    > "automount" prompt.
    >
    > I understand that I have to mount a disk slice and fsck my hard drive
    > (I think
    > this is right, please correct me if I'm wrong), only its been a while
    > since I sliced
    > up my hard drive and I've forgotten what the disk looks like. Is there
    > anyway
    > of investigating the disk geometry from this automount prompt? The only
    > commands I seem to have available are mount commands.
    >
    > Thanks,
    >
    > Dan.

    (Hi, Dan ... this probably needs to go over to questions@freebsd.org,
    where more experience folks will see it, so I'm redirecting the CC there...)

    Ouch! I hope your disk can recover. Once you get this grassfire
    out, be sure and check your backup strategies....

    The *only* command you can enter isn't even really a command,
    it's simply the answer to the question "where the heck is /boot?"
    which is something the system desperately needs to know.

    IIRC (and who knows, it has been a little while since I saw this
    one, thank Deity) it gives you a hint or two about what to
    do. The usual boot device is /dev/ad0s1 (for IDE drives) or
    /dev/da0s1 (for SCSI) and the filesystem type is normally
    ufs (but that could vary, ufs2 for example<?>).

    Once you get in, you will want to fsck and attempt to
    remount your slices; you probably won't have access to a lot
    of normal tools (for at least two reasons I can think of:
    one being that some of them are on the /usr partition,
    and the other being that $PATH is not set, so even stuff
    in /bin and /sbin will *say* "not found", just call 'em by the
    full path /sbin/fsck, /sbin/mount, etc.) If everything fscks
    clean, try rebooting again to return to multi-user (normal)
    mode.

    Good luck.

    Kevin Kinsey
    _______________________________________________
    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: Bachelier Vincent: "Re: Issue to install Gnomemeeting"

    Relevant Pages

    • Re: [opensuse] test for hdd
      ... fsck don't gives anything. ... on heavy work, linux freezes, disk is corrupted, ... Maxtor) even repair a disk by doing a lowlevel format. ... For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx ...
      (SuSE)
    • RE: [SLE] DMA killed IDE disk
      ... FSCK couldn't rebuild the journal and thus the disk appeared unformatted. ... PITA really as it took over 12 hours to copy the files to the IDE disk and 8 ... Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com -- ...
      (SuSE)
    • Re: Rebuild under Vista
      ... Seems like ForceDos is not in Vista. ... DISKCOPY Copies the contents of one floppy disk to another. ... ENDLOCAL Ends localization of environment changes in a batch ... SCHTASKS Schedules commands and programs to run on a computer. ...
      (comp.lang.cobol)
    • Re: FC4 Install GRUB Load Error
      ... >>downloaded the iso files and burned them to a disk and did all the ... >>It said it did the install successfully and it did the post ... I am vague about is the parameters for these two commands. ... "No one talks peace unless he's ready to back it up with war." ...
      (Fedora)
    • Re: device packages?!?
      ... i'll be back on here in a couple hours, but dan, if youre gone by ... 'cause AIX still isnt recognizing them, ... original WARNING msg's from my first post. ... ibm's fixcentral, burned them to disk and tried it with that disk, but ...
      (comp.unix.aix)