trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: May 2018

Re: [trinity-users] Re: Installing Debian, offset error

From: Robert Peters <robertpeters9@...>
Date: Thu, 10 May 2018 14:40:22 -0700
On 10 May 2018 at 00:13, deloptes <deloptes@...> wrote:
> Robert Peters wrote:
>
>> 512 bytes.
> is OK for disk block device
>
> This is spinning disk
> fdisk -l /dev/sda
> Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 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
>
> This is SSD with the partitions
>
> fdisk -l /dev/sdb
> Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 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: 0xd834ff9f
>
> Device     Boot  Start       End   Sectors   Size Id Type
> /dev/sdb1  *      2048    526335    524288   256M 83 Linux
> /dev/sdb2       526336 976773167 976246832 465.5G 83 Linux
>
> Perhaps the problem is related to installing from USB to USB.
>
> regards


SOLVED.
Thanks for the help.
In partitioning, I changed FS type from ext4 to btrfs, which removed
the offset error problem. In comparison, btrfs looks like a good
replacement for ext4.
I considered using ext4 with LVM but think it's too much complexity
for a single disk setup.
Now to switch to Devuan, (with help of some previous posts) or at
least remove systemd.
Then to install TDE...

Layout of external SSD.  Later will install it into another laptop.
/dev/sdb2   /               btrfs   defaults
/dev/sdb1   /boot/efi    vfat    umask=0077
/dev/sdb4   /home       btrfs   defaults
/dev/sdb3   none         swap  sw