Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: suddenly: EXT4?!?

  1. #1
    Join Date
    Aug 2008
    Beans
    35

    suddenly: EXT4?!?

    i now officially vow to never put this computer in standby again.

    every once in a while, it won't come back. the problem is, it is sometimes accessing the hdd, and sometimes it damages the filesystem. i've killed the superblock before, but that was easily fixed with fsck. but this time is truly anomalous.

    i tried to boot (i use grub), and got an error 15. boot from live cd, i can't mount /dev/sda6 (my linux partition), ubuntu thinks it is ext4 (i booted livecd). so i backed up with dd_rescue, then tried various tools. fsck and e2fsck didn't work, so i'm coming to you.

    help?

  2. #2
    Join Date
    Mar 2008
    Location
    California, USA
    Beans
    8,111

    Re: suddenly: EXT4?!?

    Do you have an AMD 64 processor? If so, the solution to your problem may be simple:

    http://ubuntuforums.org/showthread.php?t=927831

    Let me know if that applies to you.

  3. #3
    Join Date
    Aug 2008
    Beans
    35

    Re: suddenly: EXT4?!?

    sorry, but that doesn't apply to me. my computer is back from the boring days of processors: 32-bit single core, 1.6ghz.

    dell latitude d610 laptop.

    the big problem is: what could make ubuntu think the partition is ext4? and what (if anything) can be done to fix it?

  4. #4
    Join Date
    Dec 2007
    Beans
    1,042
    Distro
    Ubuntu Karmic Koala (testing)

    Re: suddenly: EXT4?!?

    Ext3 filesystems can be mounted as Ext4 (limited backwards and forwards compatibility.) I am unsure as to whether or not the Ext4-only features will be activated when something like that happens.
    He that would make his own liberty secure must guard even his enemy from oppression; for if he violates this duty he establishes a precedent that will reach to himself.
    -Thomas Paine

  5. #5
    Join Date
    Mar 2008
    Location
    California, USA
    Beans
    8,111

    Re: suddenly: EXT4?!?

    How about first posting:
    Code:
    sudo fdisk -lu
    Also, see if you can do a file system repair on your sda6 linux partition:
    Code:
    sudo fsck -y /dev/sda6
    Please post the results of that command too.

  6. #6
    Join Date
    Aug 2008
    Beans
    35

    Re: suddenly: EXT4?!?

    Quote Originally Posted by caljohnsmith View Post
    How about first posting:
    Code:
    sudo fdisk -lu
    Also, see if you can do a file system repair on your sda6 linux partition:
    Code:
    sudo fsck -y /dev/sda6
    Please post the results of that command too.
    the dd_rescue copy is all i have; i had to reinstall ubuntu to get grub to be bootable again. is there a way i can run these on the file? (the system seems to treat it the same as /dev/sdax input, but i'm not sure about the first one)

  7. #7
    Join Date
    Mar 2008
    Location
    California, USA
    Beans
    8,111

    Re: suddenly: EXT4?!?

    Quote Originally Posted by bgugi View Post
    the dd_rescue copy is all i have; i had to reinstall ubuntu to get grub to be bootable again. is there a way i can run these on the file? (the system seems to treat it the same as /dev/sdax input, but i'm not sure about the first one)
    When you used dd_rescue, did you copy the Ubuntu partition only or the entire HDD? If you copied the entire HDD, navigate to the folder where your HDD image is and do:
    Code:
    sudo fdisk -lu HDD.image
    Replace HDD.image with the dd_rescue HDD image, and please post the results.

  8. #8
    Join Date
    Aug 2008
    Beans
    35

    Re: suddenly: EXT4?!?

    Quote Originally Posted by caljohnsmith View Post
    When you used dd_rescue, did you copy the Ubuntu partition only or the entire HDD?
    just the ubuntu partiton

  9. #9
    Join Date
    Mar 2008
    Location
    California, USA
    Beans
    8,111

    Re: suddenly: EXT4?!?

    OK, if for example the dd_rescue Ubuntu partition image is "ubuntu.img", then navigate to the folder where it is and do:
    Code:
    sudo fsck -y ubuntu.img
    I believe that should work, and after that try:
    Code:
    sudo losetup /dev/loop0 ubuntu.img
    sudo mount /dev/loop0 /mnt
    ls -l /mnt
    And post the output of all the above commands.

  10. #10
    Join Date
    Aug 2008
    Beans
    35

    Re: suddenly: EXT4?!?

    file is /media/disk/backup.img

    bgugi@OPERATOR:~$ sudo fsck -y /media/disk/backup.img
    [sudo] password for bgugi:
    fsck 1.40.8 (13-Mar-2008)
    e2fsck 1.40.8 (13-Mar-2008)
    fsck.ext2: Filesystem revision too high while trying to open /media/disk/backup.img
    The filesystem revision is apparently too high for this version of e2fsck.
    (Or the filesystem superblock is corrupt)


    The superblock could not be read or does not describe a correct ext2
    filesystem. If the device is valid and it really contains an ext2
    filesystem (and not swap or ufs or something else), then the superblock
    is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>
    bgugi@OPERATOR:~$ sudo losetup /dev/loop0 /media/disk/backup.img
    bgugi@OPERATOR:~$ sudo mount /dev/loop0 /mnt
    mount: unknown filesystem type 'ext4'
    bgugi@OPERATOR:~$ ls -l /mnt
    total 0
    bgugi@OPERATOR:~$

Page 1 of 2 12 LastLast

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
  •