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

Thread: Add'l drive created by Ubuntu during installation

  1. #1
    Join Date
    Dec 2013
    Beans
    16

    Add'l drive created by Ubuntu during installation

    I just installed Ubuntu 24.04. I allocated about 45 GB for the system. For some reason, I also see a 2.6GB drive created during the installation. Do I need it?

    Do I need to create swap drive or anything like that? Thanks.
    Attached Images Attached Images

  2. #2
    Join Date
    Jun 2014
    Beans
    7,509

    Re: Add'l drive created by Ubuntu during installation

    I can't read the print on your image very weel but it looks like partition 8 is your Ubuntu system. I'm not sure what the partition 7 might be. Did you do an LVM install and use a separate /boot partition? Does it boot? You don't need a swap partition as recent Ubuntu releases have been using a swap file. You can see this in the output of the command below from a terminal:

    ls /

  3. #3
    Join Date
    Dec 2013
    Beans
    16

    Re: Add'l drive created by Ubuntu during installation

    Quote Originally Posted by yancek View Post
    I can't read the print on your image very weel but it looks like partition 8 is your Ubuntu system. I'm not sure what the partition 7 might be. Did you do an LVM install and use a separate /boot partition? Does it boot? You don't need a swap partition as recent Ubuntu releases have been using a swap file. You can see this in the output of the command below from a terminal:
    Can you check this image?



    I installed it using the ISO file. I can boot to Ubuntu.

    Below is the result after I ran the code, ls /.

    Code:
    bin                boot   dev  home  lib64              lost+found  mnt  proc  run   sbin.usr-is-merged  srv       sys  usrbin.usr-is-merged  cdrom  etc  lib   lib.usr-is-merged  media       opt  root  sbin  snap                swap.img  tmp  var
    Last edited by zrzhu11; May 24th, 2024 at 03:27 PM. Reason: random url removed

  4. #4
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Add'l drive created by Ubuntu during installation

    zrzhu11,

    Please do not post cryptic URLs and ask others to click them randomly. Nobody here knows what might be lurking behind them.

    It seems clear that you did not use an official image sanctioned by Canonical for Ubuntu or any of the flavors. As such, it would be very difficult to determine what might have gone wrong -- or whether you have installed a nefariously altered image.
    Please read The Forum Rules and The Forum Posting Guidelines

    A thing discovered and kept to oneself must be discovered time and again by others. A thing discovered and shared with others need be discovered only the once.
    This universe is crazy. I'm going back to my own.

  5. #5
    Join Date
    Dec 2013
    Beans
    16

    Re: Add'l drive created by Ubuntu during installation

    Quote Originally Posted by QIII View Post
    zrzhu11,

    Please do not post cryptic URLs and ask others to click them randomly. Nobody here knows what might be lurking behind them.

    It seems clear that you did not use an official image sanctioned by Canonical for Ubuntu or any of the flavors. As such, it would be very difficult to determine what might have gone wrong -- or whether you have installed a nefariously altered image.
    Thanks. I downloaded the ISO file from Ubuntu site and installed it using a USB. I didn't make any changes to the file.

    I updated my post above to insert the img.
    Last edited by zrzhu11; May 24th, 2024 at 03:28 PM.

  6. #6
    Join Date
    May 2024
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Add'l drive created by Ubuntu during installation

    mount
    lsblk
    df -h
    sudo fdisk -l

    All are commands you can use to examine active partitions and what they're used for.

  7. #7
    Join Date
    Dec 2013
    Beans
    16

    Re: Add'l drive created by Ubuntu during installation

    Quote Originally Posted by currentshaft View Post
    mount
    lsblk
    df -h
    sudo fdisk -l

    All are commands you can use to examine active partitions and what they're used for.
    Thanks. I guess my question is if Ubuntu needs any other drives besides the system drive. In my case, sda8 is the system drive. sda7 was created when I installed ubuntu 24.04. If I don't need it for ubuntu, i'll combine it with sda6 to use for both ubuntu and windows system.

    Code:
    evice         Start       End   Sectors   Size Type/dev/sda1       2048   1085439   1083392   529M Windows recovery environment
    /dev/sda2    1085440   1290239    204800   100M EFI System
    /dev/sda3    1290240   1323007     32768    16M Microsoft reserved
    /dev/sda4    1323008 100986879  99663872  47.5G Microsoft basic data
    /dev/sda5  100986880 102399999   1413120   690M Windows recovery environment
    /dev/sda6  102400000 406255615 303855616 144.9G Microsoft basic data
    /dev/sda7  406255616 411365375   5109760   2.4G Linux filesystem
    /dev/sda8  411365376 500115455  88750080  42.3G Linux filesystem

  8. #8
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Add'l drive created by Ubuntu during installation

    1 command is helpful, but not the complete picture. currentshaft provided a number of commands to run. Please do and
    a) show the exact command used,
    b) along with the output.
    c) Thanks for using code-tags. Very helpful. Keep it up.

    I'd like to see these commands myself:
    Code:
    df -hT -x squashfs -x tmpfs -x devtmpfs
    and
    Code:
    lsblk -e 7 -o name,type,fstype,size,FSAVAIL,FSUSE%,label,mountpoint
    Those commands prevent the useless cruft from being in the output, but show the important stuff ... with the fdisk output already provided, the complete picture will be known.

    Lastly, you aren't using LVM.

  9. #9
    Join Date
    Jun 2014
    Beans
    7,509

    Re: Add'l drive created by Ubuntu during installation

    I don't know what that partition is or why it was created but in addition to the suggestions above, before deleting it and combining it with sda6, it would be a good idea to mount that partition and see what, if anything is on it.

  10. #10
    Join Date
    Dec 2013
    Beans
    16

    Re: Add'l drive created by Ubuntu during installation

    Quote Originally Posted by TheFu View Post
    1 command is helpful, but not the complete picture. currentshaft provided a number of commands to run. Please do and
    a) show the exact command used,
    b) along with the output.
    c) Thanks for using code-tags. Very helpful. Keep it up.

    I'd like to see these commands myself:
    Code:
    df -hT -x squashfs -x tmpfs -x devtmpfs
    and
    Code:
    lsblk -e 7 -o name,type,fstype,size,FSAVAIL,FSUSE%,label,mountpoint
    Those commands prevent the useless cruft from being in the output, but show the important stuff ... with the fdisk output already provided, the complete picture will be known.

    Lastly, you aren't using LVM.
    Thanks. Result for df -hT -x squashfs -x tmpfs -x devtmpfs

    Code:
    Filesystem     Type      Size  Used Avail Use% Mounted on/dev/sda8      ext4       42G   12G   28G  29% /
    efivarfs       efivarfs  108K   70K   33K  69% /sys/firmware/efi/efivars
    /dev/sda2      vfat       96M   33M   64M  35% /boot/efi
    Result for lsblk -e 7 -o name,type,fstype,size,FSAVAIL,FSUSE%,label,mountpo int

    Code:
    NAME   TYPE FSTYPE   SIZE FSAVAIL FSUSE% LABEL    MOUNTPOINsda    disk        238.5G                         
    ├─sda1 part ntfs     529M                Recovery 
    ├─sda2 part vfat     100M   63.3M    34%          /boot/efi
    ├─sda3 part           16M                         
    ├─sda4 part ntfs    47.5G                         
    ├─sda5 part ntfs     690M                         
    ├─sda6 part ntfs   144.9G                         
    ├─sda7 part ext4     2.4G                         
    └─sda8 part ext4    42.3G   27.9G    27%          /
    sr0    rom          1024M

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
  •