Hello, Has anyone installed Debian 9 from USB? I try to install to a ~480GB SDD that is in a carrier connected to a USB port. When trying to write partition changes to disk, the installer stops and complains that the root partition is offset by some multiple of 512 bytes. I try without success to find a way to set the SSD's physical and logical volume both sizes to 4096 bytes. Maybe the carrier's connection circuitry affects the perceived volume size? Maybe the SDD has to be internal and directly connected to the laptop? Thanks for any help. Robert
On Wed, May 9, 2018 at 6:23 PM, Robert Peters robertpeters9@gmail.com wrote:
Hello, Has anyone installed Debian 9 from USB? I try to install to a ~480GB SDD that is in a carrier connected to a USB port. When trying to write partition changes to disk, the installer stops and complains that the root partition is offset by some multiple of 512 bytes. I try without success to find a way to set the SSD's physical and logical volume both sizes to 4096 bytes. Maybe the carrier's connection circuitry affects the perceived volume size? Maybe the SDD has to be internal and directly connected to the laptop? Thanks for any help.
might you use something like gparted to handle the partitioning and then do the install? or simply linux fdisk?
On 9 May 2018 at 15:47, dep dep@drippingwithirony.com wrote:
On Wed, May 9, 2018 at 6:23 PM, Robert Peters robertpeters9@gmail.com wrote:
Hello, Has anyone installed Debian 9 from USB? I try to install to a ~480GB SDD that is in a carrier connected to a USB port. When trying to write partition changes to disk, the installer stops and complains that the root partition is offset by some multiple of 512 bytes. I try without success to find a way to set the SSD's physical and logical volume both sizes to 4096 bytes. Maybe the carrier's connection circuitry affects the perceived volume size? Maybe the SDD has to be internal and directly connected to the laptop? Thanks for any help.
might you use something like gparted to handle the partitioning and then do the install? or simply linux fdisk?
Tried both, also cfdisk, checked the man pages - there seems to be no command to set both volume sizes. BTW, I tried "force UEFI mode" and "do not force". For each, I tried manual and guided partitioning. In every case there is an offset error :-(
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
On 10 May 2018 at 00:13, deloptes deloptes@gmail.com 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