Constant crash Xenial minimal - help much appreciated
#6
By way of update: the problem is not so much with connecting the hard drives, but starts as soon as I mount these drives. My hypothesis is that Seagate stores a bunch of stuff on the first (boot) sectors of the hard drives which causes I/O errors. The drives had two partitions on them out of the box: a 128MB partition and a second partition with the remainder of the drives.

Attempt #2 (repeated for each HD): set up a new partition table and start the new partition after the first 128MB. Alternatively, you could zero the first 128MB of the drives -- my guess is that would work the same (while wasting less space), but I wanted a quick workaround.

Code:
Step 1: find drive identifiers
sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL

Drive will show up as /dev/sda or similar.

STEP 2: create new partition table
sudo parted /dev/sd[?] mklabel gpt

STEP 3: boot up parted
sudo parted --align optimal /dev/sd[?]

STAP 3: partition starting at 1% (using percentages to ensure optimal alignment -- you could also zero the first 128MB and save more space by starting the partition at 0%)
mkpart primary ext4 1% 100%

STAP 4: check
align-check optimal 1

STAP 5: stop parted
quit

I'll get back if that does not work.

Later edit: confirmed, this solved it.
  Reply


Messages In This Thread
RE: Constant crash Xenial minimal - help much appreciated - by freeloader - 01-01-2018, 09:06 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Sad Rock64 crash randomly during usb 3 copy with RAID1 drive phalae 24 35,698 09-14-2020, 10:48 AM
Last Post: BrownLuther007
  How to get a minimal Debian system started? musbur 3 4,267 02-07-2019, 11:50 AM
Last Post: musbur
  Arch Linux minimal image w/ full HDMI output support hiccupstix 1 3,698 11-01-2018, 08:33 AM
Last Post: danboid
  Xenial Mate + Emmc Guettt 2 3,229 05-31-2018, 02:49 AM
Last Post: pas059
  compiling meteor on xenial-minimal-rock64-0.5.15-136-armhf.img.xz maudy 0 1,932 05-02-2018, 05:35 PM
Last Post: maudy
  Crash/Hardlock on boot audiohacked 0 1,645 04-13-2018, 02:31 PM
Last Post: audiohacked
  Rock64 Xenial Mate Community Build Image [microSD to eMMC] [0.5.15-136] Guld 6 7,746 03-14-2018, 08:26 PM
Last Post: colgs3b
  bringing up X on minimal stretch install gene83 11 12,210 03-05-2018, 01:47 AM
Last Post: jegb
Question stretch-minimal with static IP and GUI RDC skipper 1 2,648 11-24-2017, 03:45 PM
Last Post: dontpostalot
  Rock64 crash - spinlock lockup suspected on CPU (possibly thermal reason) JoeH 2 3,940 11-17-2017, 04:49 AM
Last Post: dkryder

Forum Jump:


Users browsing this thread: 1 Guest(s)