Re: Having problems with fixit floppy mounting filesystems

From: Greg 'groggy' Lehey (grog_at_FreeBSD.org)
Date: 05/30/03

  • Next message: admin: "Re: secure pop server"
    Date: Fri, 30 May 2003 16:05:29 +0930
    To: Tom Parquette <tparquet@twcny.rr.com>
    
    
    

    On Thursday, 29 May 2003 at 21:30:37 -0400, Tom Parquette wrote:
    > I was installing an additional hard disk and I believe I commented out
    > the wrong line in fstab or typo'ed something. The /usr filesystem is
    > not mounted. The machine will not boot to a command prompt so I can
    > repair it. It complains bitterly at boot time about not finding things
    > in the /usr/...... directories.
    >
    > I have never broken a system this badly before so this is the first time
    > I have had to use a fixit floppy.
    > If I can get the root and usr filesystems mounted r/w I should be able
    > to "ee" fstab and get myself going.
    >
    > I can get to the fixit command prompt but when I issue mount /dev/ad0s1a
    > /mnt to get the root filesystem mounted all I get is "operation not
    > permitted".

    That's because your root file system is dirty (which is normal after a
    crash). You can fix that with:

      # fsck -y /

    Greg

    --
    When replying to this message, please copy the original recipients.
    If you don't, I may ignore the reply or reply to the original recipients.
    For more information, see http://www.lemis.com/questions.html
    See complete headers for address and phone numbers
    
    



  • Next message: admin: "Re: secure pop server"

    Relevant Pages

    • Re: Help with Vinum disk crash...
      ... >> I guess my main concern is that when one of my disks crashed, the ufs filesystem ... The kind of corruption caused by an unclean shutdown is nothing like ... The "R5" on the plex line indicates that it's RAID-5. ... I may ignore the reply or reply to the original recipients. ...
      (freebsd-questions)
    • Re: [opensuse] ext3 check forced = frustration
      ... If you want to make sure that there's no check at next boot time, ... ext3 filesystems, use tune2fs. ... and the filesystem is marked as clean thereafter. ... reason, e.g. bad disk, bad cable, bad memory, kernel bug, filesystem bug ...
      (SuSE)
    • Accessing/checking raid1
      ... its controller is a compaq smart array (during boot time it identifies ... itself as hp smart array 6i, but who am I to disagree?). ... Maximum filesystem blocks=37748736 ... The superblock could not be read or does not describe a correct ext2 ...
      (comp.os.linux.misc)
    • Re: unchecked 31 times
      ... > There are currently Debian packages which are needed at boot time which depend ... the root filesystem blotched out. ... Enterprise setups. ... the PL/SQL fails "YEAH" that's what you ...
      (Debian-User)
    • Re: SATA disk device naming ?
      ... > matter where/how you mount your drives, ... > into the proper places in the filesystem. ... help at boot time. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)