LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-31-2018, 08:02 PM   #1
kwill
Member
 
Registered: Jul 2007
Location: Horowhenua New Zealand
Distribution: (X)(K)ubuntu PCLinuxOS Mepis Puppy
Posts: 80

Rep: Reputation: 18
Asrock A320M-HDV installations don't work.


I have recently bought the Asrock board but am having great difficulty getting Linux to install on it.

Live USB images work, mostly, but when installed they are unusable as loses keyboard sometimes and mouse clicks. Mouse stilll moves around.

Tried Debian Live 9.3 and network install 9.4 also PCLinuxOS 12-2017. Both Debians installed wth mouse and keyboard working but when booted to installation not usable. The PClinux only works live in safe mode or it has no mouse or keyboard when running from USB stick. Didn't work from install also.

I bought board as it has triple monitor capblility but that also oesn't work with Linux at all. Also had trouble with the use of usb hard drives plugged into a usb hub - the mouse operation gets even worse. One time even stopped the board booting!!!.

There is no problem with the board as I sent it back and it was returned with windows on it and three monitors worked.

Anybody any suggestions?

Kwill
 
Old 06-01-2018, 01:00 AM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
Can you try a most recent distro like Ubuntu 18.04?
 
Old 06-01-2018, 01:21 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
i would start with a search phrase like this.
it looks like there's some good reading material for you.
 
Old 06-01-2018, 05:48 AM   #4
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
You might have to use Debian testing for that board.
 
Old 06-04-2018, 10:40 PM   #5
kwill
Member
 
Registered: Jul 2007
Location: Horowhenua New Zealand
Distribution: (X)(K)ubuntu PCLinuxOS Mepis Puppy
Posts: 80

Original Poster
Rep: Reputation: 18
Hi, sorry for delay, life tends to get in the way.


I had another go with PCLinuxOS and with it live after about 20 seconds the second monitor came on!!. It installed with a few problems, installed grub to the usb stick not hard drive. Booted O.K. but from the Debian boot menu Still few problems though, somewhere it lost the user password Fixed that and was going well but now has stuffed up again. I can have windows open on one monitor or on the other monitor not sure why it decided to do this.

I think I will wipe both PClinuxOS and Debian and start again from scratch. Maybe try Ubuntu instead of Debian.

I always like dual boot as it can be very helpfull when disaster strikes.

Kwill
 
Old 06-14-2018, 07:00 PM   #6
kwill
Member
 
Registered: Jul 2007
Location: Horowhenua New Zealand
Distribution: (X)(K)ubuntu PCLinuxOS Mepis Puppy
Posts: 80

Original Poster
Rep: Reputation: 18
Progress?

Hi everyone.


Finally had time to work on this problem.

PCLinuxOS installed and works, mostly! No usb hubs work and grub (grub2 or grub legacy) insisted on installing to the USB stick still. The two monitors work but while it is quite a time since I last had dual monitors I thought they were independant, on this the two monitors act as one screen (desktop). That is why I couldn't get two windows (applications) to show at same time, they were on different screens (desktops).


Haven't had chance to try installing Debian again yet.


This is first UEFI board I have had and wonder if that is problem with Grub? Another posibilty is that the hard driive is not partitioned as it used to be with 4 primary partions and any others as logical partitions in an extended partion. This has 7 partitions on 1T disk. Gparted says it has gpt partition table.

Should I perhaps try to reformat with MSDOS partition table?


Addition/Correction

Had been putting in suspend mode when not needed but last night shut it down completely, now it will not boot other than as live from the USB stick. Every other way I have tried either does nothing - boot fron /dev/sda (cursor goes down a couple of lines then nada) or starts to load but then goes into kernel panic and stops -unable to find root partition.


Looks like I will have to put some other OS on and hope that will get Grub to install properly.
 
Old 06-17-2018, 12:16 PM   #7
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
I'm sorry you're having such problems. A casual observation I've made is that a lot of Ryzen boards need some time to pass until the Linux developers can catch up with the new features. But just make sure you're using the amd64 version of the installer.
 
Old 06-18-2018, 01:53 AM   #8
kwill
Member
 
Registered: Jul 2007
Location: Horowhenua New Zealand
Distribution: (X)(K)ubuntu PCLinuxOS Mepis Puppy
Posts: 80

Original Poster
Rep: Reputation: 18
Need to get grub installed somehow.

Tried every thing I could find online to get grub to install. Systemrescue USB - no go, neither the PCLinOS or Debian live USB sticks would work as corrupted.

I had to reload Debian on the usb stick to get it to boot live. It was tricky to get it to delete data and then try to install a new partition table. However the USB stick has now lost about half its storage when formatted to Fat32. Says 7.1Gb - it's a 16Gb drive. Something to do with the iso9660 system that gets put on when you 'dd' the *.iso.

First I had to install grub then grub2 to the USB stick as Debian 9.3.0 Live doesn't have them installed.

Grub legacy won't install to (hd0,0) as it is a EFI type disk with gpt partition. Just doesn't recognise (hd0,0) will only install to USB stick /dev/sdb (hd1,0)

Grub2 which should fix the problem of grub-legacy won't install either, gives error cannot find 'overlay' No idea what that is.

I am going to put a second hard drive in (4T) so will do that and see if I can install grub to that. If not then redo existing hard drive with MSDOS partion table.


Looks like I will be scrapping this board and trying something older with a pci video card as well as on board video. That is what you get for trying to avoid the Wind$ws tax on assembled systems. Should have picked a computer with Wind$ws on it at bigger price, it would be more likely to work and saved time I have wasted.
 
Old 06-18-2018, 05:37 AM   #9
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,813
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
If PCLinuxOS is like other distros, you need a different grub2 for UEFI with GPT. In openSUSE 42.3 it's grub2-x86_64-efi.
 
Old 06-21-2018, 01:20 AM   #10
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
You can convert MBR<>GPT.
 
Old 07-05-2018, 10:13 PM   #11
kwill
Member
 
Registered: Jul 2007
Location: Horowhenua New Zealand
Distribution: (X)(K)ubuntu PCLinuxOS Mepis Puppy
Posts: 80

Original Poster
Rep: Reputation: 18
Hi, update time.

I have twice previously tried to update but not sure what happened.

Basically nothing I can find/do seems to get PCLinuxOS to install grub on this board. So re-installed both PCLinuxOS and Debian but Debian only gave me choice of installing grub2 to the EFI partiition this time. I have had PCLinuxOS running on a USB hard disk but could not find any way of getting grub to install on internal hard drive.

So currently booting PClinuxOS from Debian menu. It would be nice if I could set it as default but haven't yet found a way. Apart from very slow boot - it waits 1 minute for the sda1 and sda5 partitions then times out. Very wierd as it is running on sda1 and sda5 is swap.

Any thooughts on speeding up?

Went to try sound and nadda only sound system available is dummy, others are greyed out. not even a usb sound dondle would work, it shows with lsusb but does not show in the kde sound mixer.

Any suggestions?

I have no idea why PCLinuxOS will work on both monitors but Debian will not nor why Debian will install a useable grub but PCLinuxOS won't.

Warning to others do not buy thiss board.

Thanks kwill
 
Old 07-05-2018, 11:27 PM   #12
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,813
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
Quote:
Originally Posted by kwill View Post
Any thooughts on speeding up?
Code:
systemd-analyze blame
and
Code:
dmesg
would be places to start looking for reasons for the timeouts. What timeout messages do you get, any details? What do
Code:
blkid /dev/sda1
blkid /dev/sda5
show and what are the corresponding entries for sda1 & sda5 in /etc/fstab?

Take a look at /etc/grub.d/*custom & README, and /etc/default/grub's GRUB_DEFAULT= for changing the boot time default. I mv /etc/grub.d/40_custom to 07_custom to make my personally created custom.cfg file take precedence at boot time.

FWIW, which I know won't help OP now, but I bought my first and last Asrock in Nov 2007. It was never anything but a test device, so had low total hours over its installed life. It had to be replaced under warranty the first year, and in July 2014 it died.
 
Old 07-06-2018, 06:25 PM   #13
kwill
Member
 
Registered: Jul 2007
Location: Horowhenua New Zealand
Distribution: (X)(K)ubuntu PCLinuxOS Mepis Puppy
Posts: 80

Original Poster
Rep: Reputation: 18
I figured out cause. When I installed Debian it gave the swap partition a new UUID. I should have realised as the swap partition didn't show so I changed fstab to use /dev/sda5 rather than UUID .


However I cannot manage to get it correct. All have managed is to stuff up Debian so it won't boot and PCLinuxOS is still stopping for a minute.

Tried update-grub2 in PCLinuxOS that didn't work tried the same in Debian again it didn't fix. So changed the grub.cfg file (O.K. not supposed to) to set the correct UUID first in the PCLinuxOS file then after that didn't work in the Debian file. As it hasn't worked I think it must be in the EFI partition on motherbaord where Debian put its version of grub2 boot info. It goes to the UEFI before it booots since Debian put it's grub to EFI.


So using the USB drive, save the PCLinuxOS partition with dd to .img file then clear the internal hard drive, install a MSDOS partition table on it, repartition as before then put the .img file back and hope I can get grub to install to the internal hard drive.

By the way systemd-analyze command doesn't seem to exist.
 
Old 07-06-2018, 06:55 PM   #14
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,813
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
Maybe try this:

add a volume label to swap
change both fstabs to mount by label
replace resume=blah with noresume on the kernel cmdlines
optionally change the fstabs to mount everything by label

A USB external HD might be assigned resources by the kernels and Grub(s) in different order, especially when more than one kernel version is involved, so at some point during the entire boot process sda and sdb could be being swapped. UUIDs are supposed to avoid that problem, but bugs....

None of my hundreds of filesystems mount by or are found by Grub via UUID.

Quote:
By the way systemd-analyze command doesn't seem to exist.
In both Debian and PCLOS? Could it be spelled systemd-analyse in your locale?
 
Old 07-07-2018, 04:24 AM   #15
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by kwill View Post
When I installed Debian it gave the swap partition a new UUID. I should have realised as the swap partition didn't show so I changed fstab to use /dev/sda5 rather than UUID .


However I cannot manage to get it correct. All have managed is to stuff up Debian so it won't boot and PCLinuxOS is still stopping for a minute.
this is why i always use UUIDs.
fixing the swap partition's UUID in fstab after installation of a second OS is trivial.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ASUS A320M-A cyberpixel Linux - Hardware 2 05-21-2018 11:17 PM
No POST on asrock ab350m-hdv with Ryzen 1600 Mark_667 Linux - Hardware 2 07-08-2017 10:07 PM
Will the ASRock 4COREDUAL-SATA2 motherboard work with Linux terry_g Linux - Hardware 7 02-24-2008 09:51 AM
ASRock K8NF4G motherboard, does it work? jonsd Linux - Hardware 4 05-24-2006 01:53 PM
winex - installations don't work geniarse Linux - Software 0 03-26-2004 02:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration