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

Thread: unclean shutdown - manual fsck?

  1. #1
    Join Date
    Sep 2008
    Beans
    32

    unclean shutdown - manual fsck?

    So when I start my laptop up I am told that a fsck check will occur because of an unclean shutdown. It always stops at 69% and tells me I need to run the fsck manually which I have tried, but my novice ubuntu skills don't get me very far. It might be a physical problem.

    Anyway, these are my concerns:

    I need to save my hard-drive with my photos and music and documents and all.
    -is there a way of accessing and backing up my Home Folder through the live cd? (Which I'm using as we speak - leading me to believe it isn't a physical problem)

    Not a huge deal if I need to redo my settings and download my programs again - though I'd like to avoid that.

    Or if someone could walk me through a manual fsck check I would be most thankful.


    Interestingly, I have been trying to get this thing going for about a week and 99% of the time I can't log on, but twice I was able to get to the log in screen and access my hard-drive, which quickly froze up on me.

    At the end of the day all what I'm mostly concerned about is my documents because I haven't had the chance to back some of them up yet.

    Is it possible to reinstall Intrepid without erasing the hard drive?


    I feel how I did when I was 18 and the engine in my Dodge Charger seized while I pulled into Mr. Oil Change.


    Thanks in advance.

  2. #2
    Join Date
    Oct 2005
    Location
    Jacksonville, FL
    Beans
    29,420

    Re: unclean shutdown - manual fsck?

    You first need to mount your partition where /home is resided or / if you don't have a separate /home partition. Then, you can access your personal files. Assuming you only have / and it is /dev/sda1, open a terminal and run

    Code:
    sudo mkdir /media/ubuntu
    sudo mount -t ext3 /dev/sda1 /media/ubuntu
    ls -la /media/ubuntu/home
    You can navigate to your $HOME with nautilus if you wish. Remember, it is in /media/ubuntu/home/<your_username>.
    In the world of Linux, who needs Windows and Gates...

    Got most of my golden beans at an auction on eBay (with a couple of free drinks).

  3. #3
    Join Date
    Sep 2008
    Beans
    32

    Re: unclean shutdown - manual fsck?

    Taurus,
    Thanks for the reply, I've seen your other posts and they've helped me in the past.

    How do I use nautilus?

    (I only have on partition and currently I'm working off the live cd).

  4. #4
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: unclean shutdown - manual fsck?

    If you are copying your files to an external drive you may need to run nautilus as root, to do this press Alt-F2 and type:

    Code:
    gksu nautilus
    The will start nautilus in /root so you will have to navigate to where your home folder is mounted, then copy your files.

    I would suggest once you have your problems repaired that you use sbackup to back up your files, it can be setup to backup files in the background and at scheduled times.

    Jim

  5. #5
    Join Date
    Sep 2008
    Beans
    32

    Re: unclean shutdown - manual fsck?

    great! got to my files but that still doesn't solve my fsck problem. Do you have any suggestions on that?

  6. #6
    Join Date
    Jul 2008
    Location
    Netherlands
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: unclean shutdown - manual fsck?

    Quote Originally Posted by raucous View Post
    So when I start my laptop up I am told that a fsck check will occur because of an unclean shutdown. It always stops at 69% and tells me I need to run the fsck manually which I have tried, but my novice ubuntu skills don't get me very far. It might be a physical problem.
    --- cut ---
    Is it possible to reinstall Intrepid without erasing the hard drive?
    To run fsck manually you need to know which partition you want to use fsck on.

    For example : sudo fsck /dev/sda1
    where /dev/sda1 would be the partition you want to run fsck on.

    And about reinstalling Intrepid without erasing the hard disk :
    During a normal Ubuntu installation you are forced to re-format your / partition.
    So if you have installed everything in / and you only have a swap-partition and no other Linux-partitions like /home
    then you first need to backup your important data to some external media.

  7. #7
    Join Date
    Oct 2005
    Location
    Jacksonville, FL
    Beans
    29,420

    Re: unclean shutdown - manual fsck?

    Remember to unmount the partition first before you fsck it.

    Code:
    sudo umount /dev/sda1
    sudo fsck -y /dev/sda1
    And if your harddrive is about to go, fsck will not do a whole of good.
    In the world of Linux, who needs Windows and Gates...

    Got most of my golden beans at an auction on eBay (with a couple of free drinks).

  8. #8
    Join Date
    Sep 2008
    Beans
    32

    Re: unclean shutdown - manual fsck?

    I got this:


    ubuntu@ubuntu:~$ sudo fsck -y /dev/sda1
    fsck 1.41.3 (12-Oct-2008)
    e2fsck 1.41.3 (12-Oct-2008)
    /dev/sda1 contains a file system with errors, check forced.
    Pass 1: Checking inodes, blocks, and sizes
    Error reading block 37912812 (Attempt to read block from filesystem resulted in short read) while getting next inode from scan. Ignore error? yes

    Force rewrite? yes

    Error reading block 37912813 (Attempt to read block from filesystem resulted in short read) while getting next inode from scan. Ignore error? yes

    Force rewrite? yes

    Error reading block 37912814 (Attempt to read block from filesystem resulted in short read) while getting next inode from scan. Ignore error? yes

    Force rewrite? yes

    Error reading block 37912815 (Attempt to read block from filesystem resulted in short read) while getting next inode from scan. Ignore error? yes

    Force rewrite? yes

    Error reading block 37912816 (Attempt to read block from filesystem resulted in short read) while getting next inode from scan. Ignore error? yes

    Force rewrite? yes

    Error reading block 37912817 (Attempt to read block from filesystem resulted in short read) while getting next inode from scan. Ignore error? yes

    Force rewrite? yes

    Error reading block 37912818 (Attempt to read block from filesystem resulted in short read) while getting next inode from scan. Ignore error? yes

    Force rewrite? yes

    Error reading block 37912819 (Attempt to read block from filesystem resulted in short read) while getting next inode from scan. Ignore error? yes

    Force rewrite? yes

    Error reading block 37912820 (Attempt to read block from filesystem resulted in short read) while getting next inode from scan. Ignore error? yes

    Force rewrite? yes

    Error reading block 37912821 (Attempt to read block from filesystem resulted in short read) while getting next inode from scan. Ignore error? yes

    Force rewrite? yes

    Error reading block 37912822 (Attempt to read block from filesystem resulted in short read) while getting next inode from scan. Ignore error? yes

    Force rewrite? yes

    Error reading block 37912823 (Attempt to read block from filesystem resulted in short read) while getting next inode from scan. Ignore error? yes

    Force rewrite? yes

    Error reading block 37912824 (Attempt to read block from filesystem resulted in short read) while getting next inode from scan. Ignore error? yes

    Force rewrite? yes

    Error reading block 37912825 (Attempt to read block from filesystem resulted in short read) while getting next inode from scan. Ignore error? yes

    Force rewrite? yes

    Pass 2: Checking directory structure
    Pass 3: Checking directory connectivity
    Pass 4: Checking reference counts
    Pass 5: Checking group summary information
    /dev/sda1: 215482/9584640 files (3.4% non-contiguous), 17281350/38321041 blocks
    ubuntu@ubuntu:~$

  9. #9
    Join Date
    Jul 2008
    Location
    Netherlands
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: unclean shutdown - manual fsck?

    Quote Originally Posted by raucous View Post
    Pass 2: Checking directory structure
    Pass 3: Checking directory connectivity
    Pass 4: Checking reference counts
    Pass 5: Checking group summary information
    /dev/sda1: 215482/9584640 files (3.4% non-contiguous), 17281350/38321041 blocks
    ubuntu@ubuntu:~$
    Looks good!
    Are there any files in /lost+found/ ?

  10. #10
    Join Date
    Sep 2008
    Beans
    32

    Re: unclean shutdown - manual fsck?

    i dont know about lost and found, but im back on board and everything is intact. So all this has convinced me i need backup.

    enter... http://store.iomega.com/section?SID=...60&secid=40119


    any suggestions on how to get drivers?

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
  •