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

Thread: Partitioning/Swap Disk Problems with New Install...

  1. #1
    Join Date
    Mar 2013
    Beans
    19

    Partitioning/Swap Disk Problems with New Install...

    Am attempting to install on a newer laptop, but I keep running into problems with 12.04s install partitioner not being accurate to 1MiB. Went into the 'Try Ubuntu' section to run Gparted to get the main and swap partitions done, but then I can't install on them because the mount-point can't be set, except with the outdated install partitioner. Is there any other way to set the mount-point on the drive so I can install on it?

    Tried it after the fact, but my swap partition keeps failing. If it were a desktop, would just use a swap-file, but on a laptop, really need it to be encrypted.

    Many Thanks for Any Help!
    Last edited by artphotodude; April 12th, 2013 at 04:02 AM.

  2. #2
    ibjsb4 is offline Ubuntu addict and loving it
    Join Date
    Sep 2012
    Beans
    5,003

    Re: Partitioning/Swap Disk Problems with New Install...

    I guess I don't understand.

    Why can't you just create free space on your drive and let the installer create swap and mount for you. The installer will detect the free space and give you the option to install ubuntu to it.

  3. #3
    Join Date
    Mar 2013
    Beans
    19

    Re: Partitioning/Swap Disk Problems with New Install...

    Quote Originally Posted by ibjsb4 View Post
    I guess I don't understand.

    Why can't you just create free space on your drive and let the installer create swap and mount for you. The installer will detect the free space and give you the option to install ubuntu to it.
    Because you can't use an encrypted swap-file without risking the system's stability (or at least I have read that on dozens of posts here).

  4. #4
    ibjsb4 is offline Ubuntu addict and loving it
    Join Date
    Sep 2012
    Beans
    5,003

    Re: Partitioning/Swap Disk Problems with New Install...

    Guess I have not seen those dozens of posts

    Good luck

  5. #5
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    6,086
    Distro
    Ubuntu

    Re: Partitioning/Swap Disk Problems with New Install...

    After setting the partition sizes, did you go to the 'something else' option in the installer.

    I would use that, then click on the partition to have the main Ubuntu installation on and click 'edit.
    Then mark the mount point as /.
    Swap doesn't need to be mounted.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  6. #6
    Join Date
    Mar 2013
    Beans
    19

    Re: Partitioning/Swap Disk Problems with New Install...

    Quote Originally Posted by deadflowr View Post
    After setting the partition sizes, did you go to the 'something else' option in the installer.

    I would use that, then click on the partition to have the main Ubuntu installation on and click 'edit.
    Then mark the mount point as /.
    Swap doesn't need to be mounted.
    I see what you mean, but since I have to reformat to add the '/' is it going to be set to the nearest MiB or nearest Cylinder? I WISH the full Gparted options were there.

  7. #7
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    6,086
    Distro
    Ubuntu

    Re: Partitioning/Swap Disk Problems with New Install...

    Quote Originally Posted by artphotodude View Post
    I see what you mean, but since I have to reformat to add the '/' is it going to be set to the nearest MiB or nearest Cylinder? I WISH the full Gparted options were there.
    .

    Just set the mount point for the root partition.
    No need to format it, if it's already set up.

    Make sure the file system for the swap is set to Linux-Swap.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  8. #8
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Partitioning/Swap Disk Problems with New Install...

    I do not think you have an issue unless you use an old (over 2years old) copy of gparted or the installer. Also if you encrypt /home then gparted will not see swap as swap is also encrypted.

    Since drives became over 8GB CHS cylinders, heads, sectors has been obsolete and LBA is how drive is configured. For more compatibility with newer drives, 4k drives, SSDs and better configuration, partitions now start at sector 2048 rather than rounding to cylinders. With 512 bytes per sector that is 1MB at the beginning of the drive.
    http://en.wikipedia.org/wiki/Cylinder-head-sector

    First, understand that most partitioning tools have moved to a policy of aligning partitions on 1 MiB (2048-sector) boundaries as a way of improving performance with some types of arrays and some types of new hard disks (those with 4096-byte physical sectors). See article by srs5694:
    http://www.ibm.com/developerworks/li...-sector-disks/
    Post on 8-sector boundaries alignment by srs5694
    http://ubuntuforums.org/showthread.php?t=1685666
    it's 8-sector (4096-byte) alignment
    http://ubuntuforums.org/showthread.php?t=1768635
    Alignment issues on 4K drives
    http://ubuntuforums.org/showthread.php?t=1635018
    srs's to show 8 sector alignment
    $ sudo parted /dev/sda unit s print
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  9. #9
    Join Date
    Mar 2013
    Beans
    19

    Re: Partitioning/Swap Disk Problems with New Install...

    Quote Originally Posted by deadflowr View Post
    .

    Just set the mount point for the root partition.
    No need to format it, if it's already set up.

    Make sure the file system for the swap is set to Linux-Swap.

    This doesn't work. It keeps pestering me about "No Mount Point" being set, and there isn't a way to set it without allowing the installer to mess with my existing partition and thus loosing the 'nearest MiB' accuracy.

  10. #10
    Join Date
    Mar 2013
    Beans
    19

    Unhappy Re: Partitioning/Swap Disk Problems with New Install...

    Quote Originally Posted by oldfred View Post
    I do not think you have an issue unless you use an old (over 2years old) copy of gparted or the installer. Also if you encrypt /home then gparted will not see swap as swap is also encrypted.

    Since drives became over 8GB CHS cylinders, heads, sectors has been obsolete and LBA is how drive is configured. For more compatibility with newer drives, 4k drives, SSDs and better configuration, partitions now start at sector 2048 rather than rounding to cylinders. With 512 bytes per sector that is 1MB at the beginning of the drive.
    http://en.wikipedia.org/wiki/Cylinder-head-sector

    First, understand that most partitioning tools have moved to a policy of aligning partitions on 1 MiB (2048-sector) boundaries as a way of improving performance with some types of arrays and some types of new hard disks (those with 4096-byte physical sectors). See article by srs5694:
    http://www.ibm.com/developerworks/li...-sector-disks/
    Post on 8-sector boundaries alignment by srs5694
    http://ubuntuforums.org/showthread.php?t=1685666
    it's 8-sector (4096-byte) alignment
    http://ubuntuforums.org/showthread.php?t=1768635
    Alignment issues on 4K drives
    http://ubuntuforums.org/showthread.php?t=1635018
    srs's to show 8 sector alignment
    $ sudo parted /dev/sda unit s print
    Tried it, but the disk utility keeps telling me that the the disk is "not clean", and whenever I create the swap file partition it always gets misaligned and fails to mount after restarting a couple of times. The installer simply needs the 'nearest MiB' option built in, or there needs to be a way to set the mount point to an already partitioned drive from the installer -without allowing the installer to futz with the partition scheme. There appears to be NO WAY to create partitions in GParted and then install onto it. Too Bad.

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
  •