Results 1 to 7 of 7

Thread: Correct partition plan for ubuntu 12.04?

  1. #1
    Join Date
    Jul 2012
    Location
    DK
    Beans
    69
    Distro
    Ubuntu Gnome

    Correct partition plan for ubuntu 12.04?

    Hello all,
    I'm an absolute beginner at linux, newly converted from mac. I was trying to delete partitions to completely reformat an external hard disk using GParted, and I'd deleted a couple before I realised that I wasn't deleting partitions on my external drive, but on my system drive. I've included a screenshot from GParted to show what the partitions on the boot disk look like now - and what I'm really interested in is finding out how I can rebuild them with out having to reformat my disk, and reinstall my OS and all my applications. Hope some of you wise old (wo)men can help me out here

    Edit: The computer still boots, but it tells me on bootup that discs aren't ready, and that I can either wait, press S to skip mounting or M to do something manually.
    Attached Images Attached Images
    Last edited by Halpm; July 14th, 2012 at 08:08 PM. Reason: further information.

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Correct partition plan for ubuntu 12.04?

    Welcome to the forums.

    You should be able to use testdisk from a liveCD to see old partitions.

    If not rebooted recover partition:
    http://ubuntuforums.org/showpost.php...7&postcount=34

    enable the "universe" repository to download testdisk
    System>Administration>Software Sources>Ubuntu Software.

    Instructions
    http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step
    http://www.cgsecurity.org/wiki/Menu_Analyse
    http://www.cgsecurity.org/wiki/TestD..._file_for_NTFS

    repairs including testdisk info & links
    http://members.iinet.net.au/~herman546/p21.html
    https://help.ubuntu.com/community/Da...st%20Partition
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #3
    Join Date
    Jul 2012
    Beans
    110

    Re: Correct partition plan for ubuntu 12.04?

    I dual boot with Windows (which you apparently do not), and my partition scheme looks roughly like this:

    NTFS (150 Gb)

    /boot (150 Mb)

    /swap (12 Gb)

    / (88 Gb)

    /home (100 Gb)

  4. #4
    Join Date
    Feb 2012
    Location
    Athens/Greece
    Beans
    Hidden!
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Correct partition plan for ubuntu 12.04?

    Quote Originally Posted by ub07 View Post
    I dual boot with Windows (which you apparently do not), and my partition scheme looks roughly like this:

    NTFS (150 Gb)

    /boot (150 Mb)

    /swap (12 Gb)

    / (88 Gb)

    /home (100 Gb)
    I think that so much swap (12GB) its wasted space.

  5. #5
    Join Date
    Feb 2008
    Location
    Texas City, Texas
    Beans
    830
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Correct partition plan for ubuntu 12.04?

    From your screen shot, it looks like possibly all you have deleted is your swap partition and the system is complaining that a swap partition isn't available on boot up. I would try creating a new swap before trying anything else.

    Bear in mind that the newly created swap will probably have a different UUID and your /etc/fstab file will have to be edited.
    Break it, fix it, learn something.
    People who never make mistakes seldom make anything!

  6. #6
    Join Date
    Jul 2012
    Location
    DK
    Beans
    69
    Distro
    Ubuntu Gnome

    Re: Correct partition plan for ubuntu 12.04?

    Ok guys - I think I've got the partition fixed - but it still doesn't recognise it at startup. Miljet said something about a /etc/fstab file. What's the story with that?

  7. #7
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Correct partition plan for ubuntu 12.04?

    Understanding fstab
    https://help.ubuntu.com/community/Fstab
    https://help.ubuntu.com/community/Mount/
    https://help.ubuntu.com/community/FilePermissions
    http://www.psychocats.net/ubuntu/mountlinux

    sudo cp /etc/fstab /etc/fstab.backup
    gksudo gedit /etc/fstab
    # Anytime you edit fstab always do this before rebooting. If no errors it just remounts everything, but if errors you have to fix before rebooting or you may not be able to:
    sudo mount -a

    If you are creating a new swap and want to know its UUID.

    sudo blkid -c /dev/null -o list

    Ownership and permissions of vfat / ntfs are set at the time of mounting. This is often a source of confusion.
    http://www.psychocats.net/ubuntu/mountwindowsfstab
    HOWTO: Mount NTFS partitions with specific ownership/permissions - WorMzy
    http://ubuntuforums.org/showthread.php?t=1604251

    http://ubuntuforums.org/showthread.php?t=1983336
    suggest using templates instead. Post #6
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

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
  •