Results 1 to 6 of 6

Thread: Time to run e2fsck -f -y -v

  1. #1
    Join Date
    Jun 2008
    Beans
    8

    Time to run e2fsck -f -y -v

    I had a big problem with my partitions. I changed from primary to logical and I can't boot Ubuntu. It result in a lot of errors in inodes and blocks when I try to start up.

    So, actually, I'm doing the e2fsck -f -y -v (as a friend recommend) in a 50GB partition of ext3. Do you know approximately how much time does it will take?

    Now it is running for 13h and my HD is working very hard but the progress bar is very useless.

    Thanks!

    If this doesn't work, there is another way to recover the data?

  2. #2
    Join Date
    Nov 2007
    Location
    London, England
    Beans
    7,701

    Re: Time to run e2fsck -f -y -v

    As far as I know, the files that have to change are /boot/grub/menu.lst to change the root partition, and /etc/fstab to change the root partition. You would either have to edit these before copying the partition contents, or use a live CD to make the changes after the transfer. I've never tried this though, so I could be missing a bucket load of other details that need fixing.

  3. #3
    Join Date
    Jun 2008
    Beans
    8

    Re: Time to run e2fsck -f -y -v

    the problem is that i couldn't mount the HD...

  4. #4
    Join Date
    Jun 2008
    Beans
    8

    Re: Time to run e2fsck -f -y -v

    Code:
    Filesystem volume name:   <none>
    Last mounted on:          <not available>
    Filesystem UUID:          0079ed23-a07d-45e1-8800-79ff9e9e111c
    Filesystem magic number:  0xEF53
    Filesystem revision #:    1 (dynamic)
    Filesystem features:      has_journal ext_attr resize_inode dir_index
    filetype sparse_super large_file
    Default mount options:    (none)
    Filesystem state:         not clean with errors
    Errors behavior:          Continue
    Filesystem OS type:       Linux
    Inode count:              3186688
    Block count:              12719455
    Reserved block count:     508778
    Free blocks:              4971981
    Free inodes:              3014514
    First block:              0
    Block size:               4096

  5. #5
    Join Date
    Jun 2008
    Beans
    8

    Re: Time to run e2fsck -f -y -v


  6. #6
    Join Date
    Nov 2007
    Location
    London, England
    Beans
    7,701

    Re: Time to run e2fsck -f -y -v

    This used to be on a paimary partition, right? You justcopied the contents? If so, did you correct /etc/fstab? Iwould mount hda5 with a live CD and check the contents of fstab. You can use the commadn blkid to find the new UUID, or just change the line to read /dev/sda5 instead.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •