ptolemytoo
September 15th, 2019, 08:42 PM
I am utterly confused regarding the disk and partition setup of Ubuntu 18.04 on my recently acquired refurbished Dell Latitude E7440. The good news, such as it is, is that I bought this computer in order to experiment and see if I can use Linux as my full time platform before I spend serious money on a new machine. This is an endeavour to free myself from the unilateral actions and control, not to mention unwelcome surveillance of both Apple and Microsoft.
So here's what happened and what led to my current confusion:
System information:
i7-4600U - 2.10GHz x 4
16GB RAM
Apart from processor and RAM specifications shown above, this computer has a 1TB HDD and a 256GB SSD. The latter having been installed as a special incentive by the company from whom I had purchased it. It came with Windows 10 Pro loaded.
When it came to loading Ubuntu, (installed from a bootable flash/thumb drive) I chose to go with the minimal install and to encrypt the entire system. I then let the installation program do it's thing with whatever defaults were set.
I should mention that when installing the OS, the drive it defaulted to for the installation was the 1TB drive. For obvious reasons, I prefer to have it install to the 256GB SSD. That is all I changed in the partition/drive setup. I saw both drives listed there and assumed Linux would install itself in the best way possible, creating all the traditional UNIX/Linux directories and that it would also include the 1TB drive; all formatted to ext4. Apparently not.
On the bright side, I was delighted to see that everything worked right away; WiFi, Bluetooth and trackpad and even the little IBM/Lenovo like Trackpoint.
While playing around and installing some of my favourite apps, editors etc. I came across the Disks program. (I have set up a Linux server or two in the distant past but this is my first foray into the Linux GUI world.) I noticed that the "secondary" drive, the 1TB HDD, was listed as /dev/sda and the boot drive was /dev/sdb/. I'm not sure if that is significant or not.
But my main problem -- I thought -- was that the 1TB drive was still formatted as NTFS and appeared to be "outside" the Linux file system. I was perturbed, but no problem, I used Gparted (or was it Disks) to kill that partition and create a new partition which I formatted as ext4. Big. Mistake. I effectively locked myself out of my computer. On rebooting, the system encryption password was no longer accepted and I was essentially dead in the water.
At this point, due to increasing irritation and frustration, I have sort of lost the plot. I don't remember exactly what I did next. Generally speaking, I reinstalled a few times, with and without encryption. The last installation was without encryption, allowing the install program to just do whatever it wanted to do. But, when I inspected, the disks' setup and the file and directory structure, I was surprised to see that I did not recognise anything. It seems that both drives have been created with a single partition and that there were things I had never heard of happening.
Where is /boot? Where is /home? Where is /? Where is /var? And there appears to be no /swap.
Instead of the familiar directory structure, I see Loops and snaps.
The terminal command *lsblk -f* produces the following:
NAME FSTYPE LABEL UUID MOUNTPOINT
loop0 squashfs /snap/gnome-logs/61
loop1 squashfs /snap/gtk-common-themes/1313
loop2 squashfs /snap/core18/1066
loop3 squashfs /snap/gnome-calculator/406
loop4 squashfs /snap/gnome-characters/296
loop5 squashfs /snap/gnome-system-monitor/100
loop6 squashfs /snap/core/7270
loop7 squashfs /snap/gnome-3-28-1804/67
loop8 squashfs /snap/core18/1144
loop9 squashfs /snap/core/7713
loop10 squashfs /snap/gnome-characters/317
loop11 squashfs /snap/gnome-logs/73
loop12 squashfs /snap/gnome-calculator/501
loop13 squashfs /snap/gnome-3-28-1804/71
sda
└─sda1 ext4 41094aa3-b4f0-460a-8d9d-46779c0f1a5f /media/ptolemy/41094aa3-b4f0-460a-8d9d-46779c0f1a5f
sdb
└─sdb1 ext4 43790a07-577c-406a-bb12-a7de65f3ee00 /
And the command *fdisk -l* produced the following.
Disk /dev/loop0: 1008 KiB, 1032192 bytes, 2016 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop1: 42.8 MiB, 44879872 bytes, 87656 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop2: 54.4 MiB, 57069568 bytes, 111464 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop3: 4 MiB, 4218880 bytes, 8240 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop4: 14.8 MiB, 15462400 bytes, 30200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop5: 3.7 MiB, 3825664 bytes, 7472 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop6: 88.5 MiB, 92778496 bytes, 181208 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop7: 149.9 MiB, 157184000 bytes, 307000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x78e8ef54
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 1953523532 1953521485 931.5G 83 Linux
Disk /dev/sdb: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x2bb57bf7
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 500117503 500115456 238.5G 83 Linux
Disk /dev/loop8: 54.4 MiB, 57065472 bytes, 111456 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop9: 89 MiB, 93327360 bytes, 182280 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop10: 14.8 MiB, 15462400 bytes, 30200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop11: 956 KiB, 978944 bytes, 1912 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop12: 4.2 MiB, 4403200 bytes, 8600 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop13: 149.9 MiB, 157192192 bytes, 307016 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
So that rather long winded preface sets the scene and I hope provides enough information.
My question is: How can I (provided it is still possible to do so) reinstall Ubuntu, preferably with system encryption turned on (but that can be a subject for another post) with the following conditions:
1. It boots off the 256GB ssd.
2. Incorporates the 1TB drive as part of the overall directory structure, perhaps as */home*
3. Creates the traditional \*NIX directory structure, as mentioned above.
4. Leaves out the *loops* and *snaps* ... and is it desirable to do so?
Thanks in advance
So here's what happened and what led to my current confusion:
System information:
i7-4600U - 2.10GHz x 4
16GB RAM
Apart from processor and RAM specifications shown above, this computer has a 1TB HDD and a 256GB SSD. The latter having been installed as a special incentive by the company from whom I had purchased it. It came with Windows 10 Pro loaded.
When it came to loading Ubuntu, (installed from a bootable flash/thumb drive) I chose to go with the minimal install and to encrypt the entire system. I then let the installation program do it's thing with whatever defaults were set.
I should mention that when installing the OS, the drive it defaulted to for the installation was the 1TB drive. For obvious reasons, I prefer to have it install to the 256GB SSD. That is all I changed in the partition/drive setup. I saw both drives listed there and assumed Linux would install itself in the best way possible, creating all the traditional UNIX/Linux directories and that it would also include the 1TB drive; all formatted to ext4. Apparently not.
On the bright side, I was delighted to see that everything worked right away; WiFi, Bluetooth and trackpad and even the little IBM/Lenovo like Trackpoint.
While playing around and installing some of my favourite apps, editors etc. I came across the Disks program. (I have set up a Linux server or two in the distant past but this is my first foray into the Linux GUI world.) I noticed that the "secondary" drive, the 1TB HDD, was listed as /dev/sda and the boot drive was /dev/sdb/. I'm not sure if that is significant or not.
But my main problem -- I thought -- was that the 1TB drive was still formatted as NTFS and appeared to be "outside" the Linux file system. I was perturbed, but no problem, I used Gparted (or was it Disks) to kill that partition and create a new partition which I formatted as ext4. Big. Mistake. I effectively locked myself out of my computer. On rebooting, the system encryption password was no longer accepted and I was essentially dead in the water.
At this point, due to increasing irritation and frustration, I have sort of lost the plot. I don't remember exactly what I did next. Generally speaking, I reinstalled a few times, with and without encryption. The last installation was without encryption, allowing the install program to just do whatever it wanted to do. But, when I inspected, the disks' setup and the file and directory structure, I was surprised to see that I did not recognise anything. It seems that both drives have been created with a single partition and that there were things I had never heard of happening.
Where is /boot? Where is /home? Where is /? Where is /var? And there appears to be no /swap.
Instead of the familiar directory structure, I see Loops and snaps.
The terminal command *lsblk -f* produces the following:
NAME FSTYPE LABEL UUID MOUNTPOINT
loop0 squashfs /snap/gnome-logs/61
loop1 squashfs /snap/gtk-common-themes/1313
loop2 squashfs /snap/core18/1066
loop3 squashfs /snap/gnome-calculator/406
loop4 squashfs /snap/gnome-characters/296
loop5 squashfs /snap/gnome-system-monitor/100
loop6 squashfs /snap/core/7270
loop7 squashfs /snap/gnome-3-28-1804/67
loop8 squashfs /snap/core18/1144
loop9 squashfs /snap/core/7713
loop10 squashfs /snap/gnome-characters/317
loop11 squashfs /snap/gnome-logs/73
loop12 squashfs /snap/gnome-calculator/501
loop13 squashfs /snap/gnome-3-28-1804/71
sda
└─sda1 ext4 41094aa3-b4f0-460a-8d9d-46779c0f1a5f /media/ptolemy/41094aa3-b4f0-460a-8d9d-46779c0f1a5f
sdb
└─sdb1 ext4 43790a07-577c-406a-bb12-a7de65f3ee00 /
And the command *fdisk -l* produced the following.
Disk /dev/loop0: 1008 KiB, 1032192 bytes, 2016 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop1: 42.8 MiB, 44879872 bytes, 87656 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop2: 54.4 MiB, 57069568 bytes, 111464 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop3: 4 MiB, 4218880 bytes, 8240 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop4: 14.8 MiB, 15462400 bytes, 30200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop5: 3.7 MiB, 3825664 bytes, 7472 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop6: 88.5 MiB, 92778496 bytes, 181208 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop7: 149.9 MiB, 157184000 bytes, 307000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x78e8ef54
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 1953523532 1953521485 931.5G 83 Linux
Disk /dev/sdb: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x2bb57bf7
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 500117503 500115456 238.5G 83 Linux
Disk /dev/loop8: 54.4 MiB, 57065472 bytes, 111456 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop9: 89 MiB, 93327360 bytes, 182280 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop10: 14.8 MiB, 15462400 bytes, 30200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop11: 956 KiB, 978944 bytes, 1912 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop12: 4.2 MiB, 4403200 bytes, 8600 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop13: 149.9 MiB, 157192192 bytes, 307016 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
So that rather long winded preface sets the scene and I hope provides enough information.
My question is: How can I (provided it is still possible to do so) reinstall Ubuntu, preferably with system encryption turned on (but that can be a subject for another post) with the following conditions:
1. It boots off the 256GB ssd.
2. Incorporates the 1TB drive as part of the overall directory structure, perhaps as */home*
3. Creates the traditional \*NIX directory structure, as mentioned above.
4. Leaves out the *loops* and *snaps* ... and is it desirable to do so?
Thanks in advance