Page 4 of 4 FirstFirst ... 234
Results 31 to 40 of 40

Thread: crash - lucid boots to initramfs

  1. #31
    Join Date
    Nov 2011
    Beans
    342
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: crash - lucid boots to initramfs

    Quote Originally Posted by HavarN View Post
    Could you please post the output of this command from the liveCD?
    Code:
    cat /etc/mtab && cat /proc/mounts
    If the partition still shows up in that output after you ran the umount command. Try this command before running fsck:
    Code:
    sudo umount -l /dev/sda1
    Edit:
    You could also have a look at the -r switch of the umount command.
    Code:
    cat /etc/mtab && cat /proc/mounts
    aufs / aufs rw 0 0
    none /proc proc rw,noexec,nosuid,nodev 0 0
    none /sys sysfs rw,noexec,nosuid,nodev 0 0
    none /dev devtmpfs rw,mode=0755 0 0
    none /dev/pts devpts rw,noexec,nosuid,gid=5,mode=0620 0 0
    /dev/sr0 /cdrom iso9660 ro,noatime 0 0
    /dev/loop0 /rofs squashfs ro,noatime 0 0
    none /sys/fs/fuse/connections fusectl rw 0 0
    none /sys/kernel/debug debugfs rw 0 0
    none /sys/kernel/security securityfs rw 0 0
    none /dev/shm tmpfs rw,nosuid,nodev 0 0
    tmpfs /tmp tmpfs rw,nosuid,nodev 0 0
    none /var/run tmpfs rw,nosuid,mode=0755 0 0
    none /var/lock tmpfs rw,noexec,nosuid,nodev 0 0
    none /lib/init/rw tmpfs rw,nosuid,mode=0755 0 0
    binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,noexec,nosuid,nodev 0 0
    gvfs-fuse-daemon /home/ubuntu/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user=ubuntu 0 0
    rootfs / rootfs rw 0 0
    none /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
    none /proc proc rw,nosuid,nodev,noexec,relatime 0 0
    none /dev devtmpfs rw,relatime,size=767104k,nr_inodes=191776,mode=755 0 0
    none /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
    /dev/sr0 /cdrom iso9660 ro,noatime 0 0
    /dev/loop0 /rofs squashfs ro,noatime 0 0
    tmpfs /cow tmpfs rw,noatime,mode=755 0 0
    aufs / aufs rw,noatime,si=613b3d05 0 0
    none /sys/fs/fuse/connections fusectl rw,relatime 0 0
    none /sys/kernel/debug debugfs rw,relatime 0 0
    none /sys/kernel/security securityfs rw,relatime 0 0
    none /dev/shm tmpfs rw,nosuid,nodev,relatime 0 0
    tmpfs /tmp tmpfs rw,nosuid,nodev,relatime 0 0
    none /var/run tmpfs rw,nosuid,relatime,mode=755 0 0
    none /var/lock tmpfs rw,nosuid,nodev,noexec,relatime 0 0
    none /lib/init/rw tmpfs rw,nosuid,relatime,mode=755 0 0
    binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime 0 0
    gvfs-fuse-daemon /home/ubuntu/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,relatime,user_id=999,group_id=999 0 0
    It does not appear as mounted, so I don't suppose umount can do anything to it. Reading up on the bug report mentioned in an earlier post in this thread, this problem is somehow caused by the boot up process trying to mount the drive but failing at it due to problems with the drive, and the failed mounting attempt somehow persists(?) so that any operations on the drive are not possible. I guess I need to find a way to boot without the system attempting to mount the drive, then it may be possible to fix the problems with fsck.

  2. #32
    Join Date
    Dec 2011
    Location
    The Netherlands
    Beans
    1,093
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: crash - lucid boots to initramfs

    Quote Originally Posted by kurja View Post
    I see you've had way too much ubuntu, I did mention using the disk utility in an earlier post
    I guess i know so many commands that this one slipped away in a dark corner of my memory.
    "Everything that has a beginning, has an end." --an unexpectedly wise wallpaper

  3. #33
    Join Date
    Dec 2011
    Location
    The Netherlands
    Beans
    1,093
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: crash - lucid boots to initramfs

    Quote Originally Posted by kurja View Post



    Code:
    dmesg | grep sda1
    [    4.353211]  sda: sda1 sda2 < sda5 >
    [    6.754193] EXT4-fs (sda1): INFO: recovery required on readonly filesystem
    [    6.754202] EXT4-fs (sda1): write access will be enabled during recovery
    [    6.758070] EXT4-fs warning (device sda1): ext4_clear_journal_err: Filesystem error recorded from previous mount: IO failure
    [    6.758078] EXT4-fs warning (device sda1): ext4_clear_journal_err: Marking fs in need of filesystem check.
    [    6.758117] last sysfs file: /sys/devices/pci0000:00/0000:00:0e.1/host0/target0:0:0/0:0:0:0/block/sda/sda1/uevent
    I'm starting to believe you've got yourself a HD-failure (or at least a corrupted fs)... (Or a loose wire in your pc)
    "Everything that has a beginning, has an end." --an unexpectedly wise wallpaper

  4. #34
    Join Date
    May 2010
    Location
    Tewkesbury uk
    Beans
    7,512
    Distro
    Ubuntu Development Release

    Re: crash - lucid boots to initramfs

    Hi

    For Slax, download the iso for a CD and use that for the USB.

    The Ubuntu built in usb creator may work; i have never tried it.

    If not, you can try unetbootin to create the bootable USB or the dd command.

    Code:
    sudo dd if=/path/to/iso of=/dev/<device>
    You will need to change the above command as required to point o the ISO and the correct device. It is very important to get these correct.

    Filesystem state: clean with errors
    [ 6.758070] EXT4-fs warning (device sda1): ext4_clear_journal_err: Filesystem error recorded from previous mount: IO failure
    [ 6.758078] EXT4-fs warning (device sda1): ext4_clear_journal_err: Marking fs in need of filesystem check.
    The problem seems to be with the journal.

    I do not think this is a hard drive failure but a filing system error.

    The partition is not mounted so that is not the problem. I would try to create a bootable Slax USB and use fsck from that.

    If not, you may be able to delete and recreate the journal if that is what is causing the problems. (debugfs and then tuune2fs).

    I would try with Slax fsck first though as that has fixed it for other people.

    EDIT:

    @roelforg

    I'm starting to believe you've got yourself a HD-failure
    Maybe...

    Run a smart test from the command line.

    Code:
    sudo apt-get install smartmontools
    Code:
    sudo smartctl -t long /dev/sda
    When it has finished (This will take a while)

    Code:
    sudo smartclt -a /dev/sda
    Post the results back here and we can take a look.

    *** Change sda above to the correct device if it is different ***

    Kind regards
    Last edited by matt_symes; February 23rd, 2012 at 05:11 PM.
    Join us on irc at #ubuntuforums. For web chat see here

    If you believe everything you read, you better not read. ~ Japanese Proverb

    Do not read newspapers on an empty stomach ~ Russian Proverb ~ BrunoLotse

  5. #35
    Join Date
    Feb 2007
    Location
    Norway
    Beans
    51
    Distro
    Ubuntu Development Release

    Re: crash - lucid boots to initramfs

    Quote Originally Posted by kurja View Post
    It does not appear as mounted, so I don't suppose umount can do anything to it. Reading up on the bug report mentioned in an earlier post in this thread, this problem is somehow caused by the boot up process trying to mount the drive but failing at it due to problems with the drive, and the failed mounting attempt somehow persists(?) so that any operations on the drive are not possible. I guess I need to find a way to boot without the system attempting to mount the drive, then it may be possible to fix the problems with fsck.
    Well... I'm not so sure about that. You can try to remount it read-only before umounting it again:
    Code:
    sudo umount -r /dev/sda1
    sudo fsck /dev/sda1
    After all this is Linux, you are in full control over everything on your system. There is nothing it won't allow you to do if you have super user access.

  6. #36
    Join Date
    Nov 2011
    Beans
    342
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: crash - lucid boots to initramfs

    Quote Originally Posted by roelforg View Post
    I'm starting to believe you've got yourself a HD-failure (or at least a corrupted fs)... (Or a loose wire in your pc)
    Entirely possible.

    There's this bug report https://bugs.launchpad.net/ubuntu/+s...gs/+bug/711799 describing similar symptoms, where the problem has been solved with fsck, which apparently can't be ran when booted from the live cd (for the reasons already brought up).

  7. #37
    Join Date
    Nov 2011
    Beans
    342
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: crash - lucid boots to initramfs

    Quote Originally Posted by HavarN View Post
    Well... I'm not so sure about that. You can try to remount it read-only before umounting it again:
    Code:
    sudo umount -r /dev/sda1
    sudo fsck /dev/sda1
    After all this is Linux, you are in full control over everything on your system. There is nothing it won't allow you to do if you have super user access.
    I can't mount it, it just hangs for a while and then nothing.

  8. #38
    Join Date
    Nov 2011
    Beans
    342
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: crash - lucid boots to initramfs

    Quote Originally Posted by matt_symes View Post
    Hi

    For Slax, download the iso for a CD and use that for the USB.

    The Ubuntu built in usb creator may work; i have never tried it.

    If not, you can try unetbootin to create the bootable USB or the dd command.

    Code:
    sudo dd if=/path/to/iso of=/dev/<device>
    You will need to change the above command as required to point o the ISO and the correct device. It is very important to get these correct.
    I'll give that another try, I tried earlier and couldn't get a working archive.

  9. #39
    Join Date
    May 2010
    Location
    Tewkesbury uk
    Beans
    7,512
    Distro
    Ubuntu Development Release

    Re: crash - lucid boots to initramfs

    Hi

    Slax can be used to check an ext4 filing system. You can aso create a bootable USB for it.

    I have just used multisystem to create a bootable USB with it (I have been meaning to do that for ages on my rescue USB stick so thankyou for the prompting) but the other methods should work.

    A fsck from Slax may fix the issue.

    Kind regards
    Join us on irc at #ubuntuforums. For web chat see here

    If you believe everything you read, you better not read. ~ Japanese Proverb

    Do not read newspapers on an empty stomach ~ Russian Proverb ~ BrunoLotse

  10. #40
    Join Date
    Nov 2011
    Beans
    342
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: crash - lucid boots to initramfs

    Booted slax, ran fsck, problem solved!!!!

Page 4 of 4 FirstFirst ... 234

Tags for this Thread

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
  •