Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Install TinkerOS to HDD
#1
I've tried for ages to boot the board from a HDD and all I get is a kernel panic every time, has anyone managed it yet?
Linux Noob but learning fast.
I have a small blog with some Raspberry Pi and Tinker Board tutorials I've picked up.
https://the-bionic-cyclist.co.uk
Reply
#2
I have not tried this, but on RPi you have to have the bootloader on the SD card that loads OS from HDD. Are you doing this?
Reply
#3
Yeah it's a very similar setup only instead of cmdline.txt it's /boot/extlinux/extlinux.conf

The only thing I can think of is that a HDD can't spin up fast enough, so an SSD/USB memory stick might be the only option, it's also damned slow to copy from microSD - around 3mb per sec.
Linux Noob but learning fast.
I have a small blog with some Raspberry Pi and Tinker Board tutorials I've picked up.
https://the-bionic-cyclist.co.uk
Reply
#4
Confirmed. I've installed it a USB memory stick and it's fine, so yes a HDD can't spin up quickly enough to satisfy the boot loader. Now how do I pause the boot loader for 10 seconds while it spins up?

https://the-bionic-cyclist.co.uk/2017/04/05/setup-asus-tinkerboard-to-boot-from-a-hard-drive/
Linux Noob but learning fast.
I have a small blog with some Raspberry Pi and Tinker Board tutorials I've picked up.
https://the-bionic-cyclist.co.uk
Reply
#5
(04-06-2017, 09:04 AM)dazbobaby Wrote: Confirmed. I've installed it a USB memory stick and it's fine, so yes a HDD can't spin up quickly enough to satisfy the boot loader. Now how do I pause the boot loader for 10 seconds while it spins up?

https://the-bionic-cyclist.co.uk/2017/04/05/setup-asus-tinkerboard-to-boot-from-a-hard-drive/

Have you tried adding rootwait or rootdelay to the line in extlinux.conf ?
Reply
#6
(04-06-2017, 09:16 AM)Mikerr Wrote:
(04-06-2017, 09:04 AM)dazbobaby Wrote: Confirmed. I've installed it a USB memory stick and it's fine, so yes a HDD can't spin up quickly enough to satisfy the boot loader. Now how do I pause the boot loader for 10 seconds while it spins up?

https://the-bionic-cyclist.co.uk/2017/04/05/setup-asus-tinkerboard-to-boot-from-a-hard-drive/

Have you tried adding rootwait or rootdelay to the line in extlinux.conf ?
I'll give it a try, I'm a complete noob using linux so I didn't know I could do that Smile
Linux Noob but learning fast.
I have a small blog with some Raspberry Pi and Tinker Board tutorials I've picked up.
https://the-bionic-cyclist.co.uk
Reply
#7
(04-06-2017, 09:19 AM)dazbobaby Wrote:
(04-06-2017, 09:16 AM)Mikerr Wrote:
(04-06-2017, 09:04 AM)dazbobaby Wrote: Confirmed. I've installed it a USB memory stick and it's fine, so yes a HDD can't spin up quickly enough to satisfy the boot loader. Now how do I pause the boot loader for 10 seconds while it spins up?

https://the-bionic-cyclist.co.uk/2017/04/05/setup-asus-tinkerboard-to-boot-from-a-hard-drive/

Have you tried adding rootwait or rootdelay to the line in extlinux.conf ?
I'll give it a try, I'm a complete noob using linux so I didn't know I could do that Smile
rootwait is typically a boot arg passed to the kernel just before the kernel is loaded into memory by the second stage bootloader.  Which I'll assume for now is uboot(since I don't own one of these boards yet ). So if your extlinux.conf file has a cmdline= target, you would typically add it to that line. In addition, you'll need to start the USB controller. In uboot this is, or was done( have not checked recently ) by using:

uenvcmd=usb start;

But that simply tells uboot to start USB. Not where to load the kernel from, where in memory to load the kernel. The same goes for device tree overlays if this board uses device tree overlays . . .

But I digress. I have not looked at the BSP for this board yet. So, I'm assuming it uses uboot as the second stage bootloader to begin with.
Reply
#8
I found one video on YouTube
"Asus Tinker Board Run Tinker OS From USB Or External Hard Drive"

https://www.youtube.com/watch?v=XLlMWfDfpzw
Reply
#9
(05-03-2017, 01:45 AM)frankwu Wrote: I found one video on YouTube
"Asus Tinker Board Run Tinker OS From USB Or External Hard Drive"
https://www.youtube.com/watch?v=XLlMWfDfpzw

Thanks for the link. I followed the instructions in the video and everything worked fine. The only issue I had was the partitions didn't automatically re-size correctly on first boot. It left a lot of unallocated space on the HDD for some reason. I fixed it with GParted.

I used an old 160GB SATA drive that I pulled out of a system a few years ago due to it getting noisy and a Seagate GoFlex Desk USB HDD enclosure that I had laying around. It works good enough for testing but I don't trust it. I'll have to find a better HDD for it.
Reply
#10
Has anyone else found that dd if/of is bloody slow on the tinkerboard?

Has anyone else found that dd if/of is damn slow on the tinkerboard?

Has anyone else found that copy dd is slow on the tinkerboard?

It takes an absolute age to copy from MicroSD to USB, roughly 3MB/s where the raspberry pi is around 12MB/s
Linux Noob but learning fast.
I have a small blog with some Raspberry Pi and Tinker Board tutorials I've picked up.
https://the-bionic-cyclist.co.uk
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)