Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
I recently enlarged my ubuntu 8.04 partition and was notified to fix the filing system. I did a search here and nothing came up. Is there a way to locate ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Enthusiast cousinlucky's Avatar
    Join Date
    Dec 2005
    Location
    New York City
    Posts
    676

    How do I go about fixing files in ubuntu 8.04?


    I recently enlarged my ubuntu 8.04 partition and was notified to fix the filing system. I did a search here and nothing came up. Is there a way to locate filing errors and fix them because my computer has been acting odd lately? Thanks!!
    PCLinuxOS Gnome and PCLinuxOS Mate
    Linux user # 414321
    You Should Not Give In To Evils, But Proceed Ever More Boldly Against Them!! -from book six of Virgil's Aeneid
    Everything Within The Universe Is Related; We Are All Cousins!!

  2. #2
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    Hi, Lucky!

    This page should help:
    Repairing Linux ext2 or ext3 file system

    Also, from the same site:
    Boot Ubuntu Linux into Rescue mode to fix system

    Either one of those should help get you sorted.
    If possible, you might want to get your hands on a LiveCD to do it, though.
    That way, even the / partition will be checked.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  3. #3
    Linux Enthusiast cousinlucky's Avatar
    Join Date
    Dec 2005
    Location
    New York City
    Posts
    676
    That's scary stuff JD!!
    PCLinuxOS Gnome and PCLinuxOS Mate
    Linux user # 414321
    You Should Not Give In To Evils, But Proceed Ever More Boldly Against Them!! -from book six of Virgil's Aeneid
    Everything Within The Universe Is Related; We Are All Cousins!!

  4. $spacer_open
    $spacer_close
  5. #4
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    Not at all!
    Use something like a Ubuntu LiveCD.
    Open up a web browser to go to the links I gave you.
    Open up a terminal and simply copy & paste the commands. I've used those steps on my own machine with no problems.
    And it is also a Ubuntu install.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  6. #5
    Linux Enthusiast cousinlucky's Avatar
    Join Date
    Dec 2005
    Location
    New York City
    Posts
    676
    So JD I am supposed to run fsck on my ubuntu partition through the terminal of a disk boot-up - is that correct??
    PCLinuxOS Gnome and PCLinuxOS Mate
    Linux user # 414321
    You Should Not Give In To Evils, But Proceed Ever More Boldly Against Them!! -from book six of Virgil's Aeneid
    Everything Within The Universe Is Related; We Are All Cousins!!

  7. #6
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    Correct.
    If you would like, post your output of sudo fdisk -l.
    We can take a look at it, and make sure that this goes smoothly for you.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  8. #7
    Linux Enthusiast cousinlucky's Avatar
    Join Date
    Dec 2005
    Location
    New York City
    Posts
    676
    cousinlucky@cousinlucky-desktop:~$ sudo fdisk -l
    [sudo] password for cousinlucky:

    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xb0e5b0e5

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 988 7936078+ 83 Linux
    /dev/sda2 19294 19457 1317330 5 Extended
    /dev/sda3 989 11646 85610385 83 Linux
    /dev/sda5 19294 19457 1317298+ 82 Linux swap / Solaris

    Partition table entries are not in disk order
    cousinlucky@cousinlucky-desktop:~$

    JD here is what appeared. Again, Thanks!!
    PCLinuxOS Gnome and PCLinuxOS Mate
    Linux user # 414321
    You Should Not Give In To Evils, But Proceed Ever More Boldly Against Them!! -from book six of Virgil's Aeneid
    Everything Within The Universe Is Related; We Are All Cousins!!

  9. #8
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    I am assuming that your Ubuntu install is on /dev/sda1.
    And Ubuntu 8.04 defaulted to an ext3 filesystem, so we're in good shape here.

    From your LiveCD, open up a terminal, and paste this in:
    Code:
    fsck.ext3 /dev/sda1
    That will run fsck on your drive, and use the correct filesystem check to do so.

    As it runs, if it finds any problems, it will ask you if you want them corrected.
    Last edited by jayd512; 07-25-2011 at 11:11 PM. Reason: typo
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  10. #9
    Linux Enthusiast cousinlucky's Avatar
    Join Date
    Dec 2005
    Location
    New York City
    Posts
    676
    I'm pretty sure JD that my suse 10 os is on sda 1 and that my ubuntu 8.04 is sda 3 the large partition.
    PCLinuxOS Gnome and PCLinuxOS Mate
    Linux user # 414321
    You Should Not Give In To Evils, But Proceed Ever More Boldly Against Them!! -from book six of Virgil's Aeneid
    Everything Within The Universe Is Related; We Are All Cousins!!

  11. #10
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    So edit the command to point at the correct partition.
    Code:
    fsck.ext3 /dev/sda3
    You may need to use sudo for that command to work also.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

Page 1 of 2 1 2 LastLast

Posting Permissions

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