Announcement

Collapse
No announcement yet.

Partitioning for Kubuntu

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Qqmike
    replied
    @elijathegold: Ha! You're right: on this subject hard to tell who's right, and what "right" means. Well, anyway, I thought your summary of the principles and rules of thumb were pretty good.

    Leave a comment:


  • elijathegold
    replied
    Originally posted by Qqmike View Post
    The only thing WE did was to make the swap partition a bit on the heavy side at 8 GB, unless you meet the criteria elijathegold posted or you end up needing it.
    It doesn't matter too much and better to err on the large side. I remember using the old 2x rule but that was back in the day when 1 and especially 2 GB was a good amount of ram which does make me feel old! Now-a-days everyone has an opinion on how much swap and those numbers I used are based on the majority views from many such discussions.

    It doesn't mean they're right though. I mean the majority of UK voters thought a Tory government was a good thing

    Leave a comment:


  • Qqmike
    replied
    The only thing WE did was to make the swap partition a bit on the heavy side at 8 GB, unless you meet the criteria elijathegold posted or you end up needing it.

    I wasn't paying much attention, wasn't concerned, didn't care ('cause we can care too much sometime), was following other rules you'll see (like 2 x RAM or 1.5 x RAM), and generally knew it was OK. Almost certainly, you probably will not need the full 8 GB, so we are on the safe side -- assuming you can afford the space, which it looked like you had plenty to spare. And so on.

    In the future, I would hang on to and refer to these guidelines and rules of thumb:

    Post #8, elijathegold

    https://www.kubuntuforums.net/showth...l=1#post379324

    Leave a comment:


  • logan01
    replied
    Please not in the Code box of post #36 the Slab partition highlighted in red.

    Leave a comment:


  • Qqmike
    replied
    and you can edit that text, too, adding red or bold-face, or introducing blank lines for readability between command blocks, etc.

    Leave a comment:


  • logan01
    replied
    Please forgive me, I can't resist:

    Code:
    richard@richard-HP-15-Notebook-PC:~$ swapon
    
    Usage:
     swapon [options] [<spec>]
    
    Options:
     -a, --all              enable all swaps from /etc/fstab
     -d, --discard          discard freed pages before they are reused
     -e, --ifexists         silently skip devices that do not exis
     -f, --fixpgsz          reinitialize the swap space if necessary
     -h, --help             display help and exit
     -p, --priority <prio>  specify the priority of the swap device.
     -s, --summary          display summary about used swap devices and exit
     -v, --verbose          verbose mode
     -V, --version          display version and exit
    
    The <spec> parameter:
     -L <label>             LABEL of device to be used
     -U <uuid>              UUID of device to be used
     LABEL=<label>          LABEL of device to be used
     UUID=<uuid>            UUID of device to be used
     <device>               name of device to be used
     <file>                 name of file to be used
    
    richard@richard-HP-15-Notebook-PC:~$ sudo gdisk -l /dev/sda
    [sudo] password for richard: 
    GPT fdisk (gdisk) version 0.8.8
    
    Partition table scan:
      MBR: protective
      BSD: not present
      APM: not present
      GPT: present
    
    Found valid GPT with protective MBR; using GPT.
    Disk /dev/sda: 976773168 sectors, 465.8 GiB
    Logical sector size: 512 bytes
    Disk identifier (GUID): E889530C-A73F-4139-931D-F3514484DDFE
    Partition table holds up to 128 entries
    First usable sector is 34, last usable sector is 976773134
    Partitions will be aligned on 2048-sector boundaries                                                                         
    Total free space is 115808836 sectors (55.2 GiB)                                                                             
    
    Number  Start (sector)    End (sector)  Size       Code  Name
       1            2048         1333247   650.0 MiB   2700  Basic data partition
       2         1333248         1865727   260.0 MiB   EF00  EFI system partition
       3         1865728         2127871   128.0 MiB   0C01  Microsoft reserved part
       4         2127872       623644072   296.4 GiB   0700  Basic data partition
       5       930844672       932605951   860.0 MiB   2700  
       6       932605952       976762879   21.1 GiB    0700  Basic data partition
       [COLOR=#ff0000]7       623644672       639268863   7.5 GiB     8200[/COLOR]  
       8       639268864       697862143   27.9 GiB    8300  
       9       697862144       815048703   55.9 GiB    8300  
    richard@richard-HP-15-Notebook-PC:~$ lsblk
    NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
    sda      8:0    0 465.8G  0 disk 
    ├─sda1   8:1    0   650M  0 part 
    ├─sda2   8:2    0   260M  0 part /boot/efi
    ├─sda3   8:3    0   128M  0 part 
    ├─sda4   8:4    0 296.4G  0 part 
    ├─sda5   8:5    0   860M  0 part 
    ├─sda6   8:6    0  21.1G  0 part 
    ├─sda7   8:7    0   7.5G  0 part [SWAP]
    ├─sda8   8:8    0    28G  0 part /
    └─sda9   8:9    0  55.9G  0 part /home
    sr0     11:0    1  1024M  0 rom  
    richard@richard-HP-15-Notebook-PC:~$ sudo blkid
    /dev/sda1: LABEL="WINRE" UUID="5E7EB4607EB4329F" TYPE="ntfs" 
    /dev/sda2: UUID="2648-DDDC" TYPE="vfat" 
    /dev/sda4: LABEL="Windows" UUID="54E02C91E02C7B7E" TYPE="ntfs" 
    /dev/sda5: UUID="4234BCE134BCD95D" TYPE="ntfs" 
    /dev/sda6: LABEL="New Volume" UUID="44AA5CF6AA5CE648" TYPE="ntfs" 
    /dev/sda7: UUID="a3fa32b1-9c83-4f9b-b96a-9007c0013c0d" TYPE="swap" 
    /dev/sda8: UUID="0e5d634c-2ebd-473a-b4d9-4fae65502020" TYPE="ext4" 
    /dev/sda9: UUID="df6e3eb1-0e21-47e5-b077-cdead7997339" TYPE="ext4" 
    richard@richard-HP-15-Notebook-PC:~$ free
                 total       used       free     shared    buffers     cached
    Mem:       3934964    1595992    2338972     123516      77176     821180
    -/+ buffers/cache:     697636    3237328
    Swap:      7812092          0    7812092
    richard@richard-HP-15-Notebook-PC:~$ sudo gdisk -l /dev/sda 
    [sudo] password for richard: 
    GPT fdisk (gdisk) version 0.8.8
    
    Partition table scan:
      MBR: protective
      BSD: not present
      APM: not present
      GPT: present
    
    Found valid GPT with protective MBR; using GPT.
    Disk /dev/sda: 976773168 sectors, 465.8 GiB
    Logical sector size: 512 bytes
    Disk identifier (GUID): E889530C-A73F-4139-931D-F3514484DDFE
    Partition table holds up to 128 entries
    First usable sector is 34, last usable sector is 976773134
    Partitions will be aligned on 2048-sector boundaries
    Total free space is 115808836 sectors (55.2 GiB)
    
    Number  Start (sector)    End (sector)  Size       Code  Name
       1            2048         1333247   650.0 MiB   2700  Basic data partition
       2         1333248         1865727   260.0 MiB   EF00  EFI system partition
       3         1865728         2127871   128.0 MiB   0C01  Microsoft reserved part
       4         2127872       623644072   296.4 GiB   0700  Basic data partition
       5       930844672       932605951   860.0 MiB   2700  
       6       932605952       976762879   21.1 GiB    0700  Basic data partition
       7       623644672       639268863   7.5 GiB     8200  
       8       639268864       697862143   27.9 GiB    8300  
       9       697862144       815048703   55.9 GiB    8300  
    richard@richard-HP-15-Notebook-PC:~$ swapon -s
    Filename                                Type            Size    Used    Priority
    /dev/sda7                               partition       7812092 0       -1
    richard@richard-HP-15-Notebook-PC:~$
    Just had to do it.
    Last edited by logan01; Sep 12, 2015, 09:51 AM.

    Leave a comment:


  • logan01
    replied
    Originally posted by Qqmike View Post
    I keep a note pad nearby to write down new commands I come across. Then when I have time, I type them up and print out.

    Commands is what that how-to you cited (yesterday) is all about:

    https://www.kubuntuforums.net/showth...sole-Beginners

    If you have questions, you can always post them here in the main forums (better than posting in the how-to section), like you are doing now, under New Guy or Misc. or catch-all, etc.
    Duh. I even have that link on my Bookmarks bar.

    Leave a comment:


  • Qqmike
    replied
    I will learn this, though, ya'll may suffer through the process. Thanks again everyone for all the help. Priceless.
    People like to help. It keeps us on our toes, and you can always learn something new by helping out.

    Leave a comment:


  • Qqmike
    replied
    This was it:

    Code:
    cd / && sudo find -name *grub*
    There are always more clever ways of writing these things, too! I tend to be not-too-sophisticated, more straightforward, basic, "naive" ... easier to understand when you try to read it after some months pass!

    Leave a comment:


  • logan01
    replied
    I will learn this, though, ya'll may suffer through the process. Thanks again everyone for all the help. Priceless.

    Leave a comment:


  • logan01
    replied
    Good deal. Great name oshunluvr. Me too.

    Leave a comment:


  • Qqmike
    replied
    Mike: My latest power command is learning to use "find". I swear it's the most powerful tool at the command line if you know how to use it.
    Funny, me, too, just lately. I needed to find ALL references to "grub" on my system (for that how-to I wrote about removing GRUB), and "find" was perfect for that, with *grub* as the -name.

    Leave a comment:


  • oshunluvr
    replied
    Mike: My latest power command is learning to use "find". I swear it's the most powerful tool at the command line if you know how to use it.

    I play with it when I'm not learning postgresql...

    Leave a comment:


  • Qqmike
    replied
    I keep a note pad nearby to write down new commands I come across. Then when I have time, I type them up and print out.

    Commands is what that how-to you cited (yesterday) is all about:

    https://www.kubuntuforums.net/showth...sole-Beginners

    If you have questions, you can always post them here in the main forums (better than posting in the how-to section), like you are doing now, under New Guy or Misc. or catch-all, etc.

    Leave a comment:


  • oshunluvr
    replied
    Yeah, I used to keep a text file in my desktop folder that I would open up and put in commands as I learned them. These days, most are stuck in my head - the simple ones anyway.

    I'm an old DOS guy from waaaay back. To me, there's so much more you can do from the command line (aka in a terminal) and you get more information back usually. I seem to default to the terminal for system "house-keeping" tasks rather than trying to dig through some GUI somewhere.

    If you're going to play a lot with terminal commands, I recommend a program called "yakuake" to make it quick and easy. It's a drop down terminal that appears when you hit F12 and goes away when you're not using it.

    Leave a comment:

Users Viewing This Topic

Collapse

There are 0 users viewing this topic.

Working...
X