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

Thread: I suck

  1. #1
    Join Date
    Jul 2008
    Location
    Chattanooga, TN
    Beans
    14
    Distro
    Ubuntu 8.04 Hardy Heron

    I suck

    Since I can never leave anything working alone...I altered my swap partition. Now but I can not boot up. Using the live usb I can get to all my files and look at them, but I can not copy them over to my storage partition(where they should be in the 1st place). It keeps saying I do not have permission. I even tried reconfiguring my now wrong UUID of my swap partition to the right one with etc/fstb(<--- may be wrong but had it right) and it would not change it.

    I have been searching for 2 days and can not figure it out. I do not mind reinstalling my OS at all but I really hate to lose my evolution and firefox settings. I normally back them up but made alot of changes recently without a current backup of each.

    Thank you for the help,
    Jason

  2. #2
    Join Date
    Jun 2009
    Location
    Open Linux Forums
    Beans
    2,710

    Re: I suck

    if you are booting with the livecd, i think you have read-only access to your ubuntu system. unmount the root partition with the umount command and then mount in read/write mode. you will then be able to modify and save your /etc/fstab.

  3. #3
    Join Date
    Jul 2008
    Location
    Chattanooga, TN
    Beans
    14
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: I suck

    Thank you Leppie. I think I forgot to mention I am still new to linux. I would need pretty detailed instructions. Sorry about that.

    Thanks again,
    Jason

  4. #4
    Join Date
    Jun 2009
    Location
    Open Linux Forums
    Beans
    2,710

    Re: I suck

    i'll try something.
    firs of all, could you post the output of the following command:
    Code:
    $sudo blkid
    NOTE: the leading $ sign merely represents your prompt, it's not part of a command (you will see this more often in forums).
    NOTE2: you can use copy and paste with the terminal as well.

  5. #5
    Join Date
    Dec 2008
    Location
    /home
    Beans
    163
    Distro
    Ubuntu Development Release

    Re: I suck

    Since I can never leave anything working alone
    That doesn't mean that you suck, just that you should never EVER try Arch Linux. Or that you should become a programmer and should totally go for it.

    to mount the filesystem as read-only, boot into your liveCD and in a terminal run

    Code:
    mount -u -o ro -f /
    then, run

    Code:
    sudo nano /etc/fstab
    to edit your /etc/fstab so that you can change your UUID to the correct input.

  6. #6
    Join Date
    Jul 2008
    Location
    Chattanooga, TN
    Beans
    14
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: I suck

    /dev/loop0: TYPE="squashfs"
    /dev/sda1: UUID="962A0AC82A0AA579" LABEL="PQSERVICE" TYPE="ntfs"
    /dev/sda2: UUID="463001DB3001D33B" LABEL="ACER" TYPE="ntfs"
    /dev/sda5: LABEL="Ultimate Edition" UUID="8c58b746-167f-45e9-9bfc-99b238fbcb38" TYPE="ext4"
    /dev/sda6: UUID="6BD916293D69B047" LABEL="Storage" TYPE="ntfs"
    /dev/sda7: UUID="338a3bb2-a21c-4fb5-a27e-1c10071c7f4e" TYPE="swap"
    /dev/sdb: UUID="08D1-386F" TYPE="vfat"

  7. #7
    Join Date
    Jun 2009
    Location
    Open Linux Forums
    Beans
    2,710

    Re: I suck

    to unmount your actual system:
    Code:
    $sudo umount /dev/sda5
    mount it in read/write mode:
    Code:
    $sudo mont -t ext4 /dev/sda5 /mnt
    to open your fstab in an editor:
    Code:
    $gksudo gedit /mnt/etc/fstab
    change the uuid of your swap, save the file and reboot.
    let me know if it worked.

  8. #8
    Join Date
    Jul 2008
    Location
    Chattanooga, TN
    Beans
    14
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: I suck

    fstab

    # /etc/fstab: static file system information.
    #
    # Use 'blkid -o value -s UUID' to print the universally unique identifier
    # for a device; this may be used with UUID= as a more robust way to name
    # devices that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    # / was on /dev/sda5 during installation
    UUID=8c58b746-167f-45e9-9bfc-99b238fbcb38 / ext4 errors=remount-ro 0 1
    # swap was on /dev/sda6 during installation
    UUID=14c93fb0-a27c-455d-9c2f-21fce00b11fd none swap sw 0 0

    That is the right UUID beside the swap but when I open Gparted and right click the swap file and click info it shows the wrong UUID.
    My swap partition is sda7?

    I can not find my Ubuntu partition now to open it and try to copy it. I am just going under places on the top right menu. It is not showing up now.

    Thanks,
    Jason

  9. #9
    Join Date
    Jul 2008
    Location
    Chattanooga, TN
    Beans
    14
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: I suck

    Thanks for the reply danastasio. I did what you said and this is what I got.

    aufs / aufs rw 0 0
    tmpfs /tmp tmpfs nosuid,nodev 0 0
    /dev/sda7 swap swap defaults 0 0


    I am n ot sure where to change the UUID here?

  10. #10
    Join Date
    Mar 2008
    Location
    Cloud 9
    Beans
    1,428
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: I suck

    I've found the easiest way to fix a borked Ubuntu setup is to do a full reinstall, in MANUAL mode and UNCHECK all the format boxes for the Ubuntu drive mountpoints. This will reinstall all the system files fresh, so you'll need to update everything again, but no customized files will be overwritten or erased...
    Last edited by pastalavista; January 4th, 2010 at 04:52 AM.

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
  •