balefulbadger
August 4th, 2019, 04:04 AM
So, in the last month I bought some new parts and put them together (default everything, except a change to the bios to allow the USB boot).
- asrock z390 phantom 4 motherboard
- intel i5-9400f cpu
- 16GB corsair memory
- Sapphire R570 video card
- seagate barracude 2 TB drive (sata6)
The USB stick started the Ubuntu 19.04 LiveCD without issue. I installed to the hard drive, having Ubuntu format the drive as one partition. (In truth, I also attempted separate partitions at first and tried many things over a few days, based on web posts and what I learned from them, but my break point occurred when I went for "let the install do everything and see if it works" and still received the error message and keyboard lockup).
So, the solution that worked was to run LiveCD, use these commands to format the drive with gpt and create the partition, then installed 19.04 without allowing LiveCD to format any portion of the drive.
- sudo parted /dev/sda mklabel gpt
- sudo parted -a opt /dev/sda mkpart primary ext4 0% 100%
- sudo mkfs.ext4 -L NewPartition /dev/sda1
I'm posting this info because:
- maybe it will be useful to someone building a new PC
- it seems odd that this solution worked but I didn't see it anywhere else
- it seems strange the installed Ubuntu could not see the disk during initramfs, even though the installation process chose the MBR format and also chose the installation's boot settings
- asrock z390 phantom 4 motherboard
- intel i5-9400f cpu
- 16GB corsair memory
- Sapphire R570 video card
- seagate barracude 2 TB drive (sata6)
The USB stick started the Ubuntu 19.04 LiveCD without issue. I installed to the hard drive, having Ubuntu format the drive as one partition. (In truth, I also attempted separate partitions at first and tried many things over a few days, based on web posts and what I learned from them, but my break point occurred when I went for "let the install do everything and see if it works" and still received the error message and keyboard lockup).
So, the solution that worked was to run LiveCD, use these commands to format the drive with gpt and create the partition, then installed 19.04 without allowing LiveCD to format any portion of the drive.
- sudo parted /dev/sda mklabel gpt
- sudo parted -a opt /dev/sda mkpart primary ext4 0% 100%
- sudo mkfs.ext4 -L NewPartition /dev/sda1
I'm posting this info because:
- maybe it will be useful to someone building a new PC
- it seems odd that this solution worked but I didn't see it anywhere else
- it seems strange the installed Ubuntu could not see the disk during initramfs, even though the installation process chose the MBR format and also chose the installation's boot settings