Hello, HC4 owner here
-
- Posts: 15
- Joined: Thu May 20, 2021 10:37 pm
- languages_spoken: english
- ODROIDs: HC4
- Has thanked: 3 times
- Been thanked: 0
- Contact:
Hello, HC4 owner here
Just received my HC4, love the build quality.
Thanks to lockdown in my country all the other orders got cancelled, so I was wondering if it is possible to run an OS on the HC4 from a USB flash drive. I don't have the HDD,SSD or the microSD I ordered.
My plan was to make an HDD NAS with an SSD for cache and a microSD for the OS.
I also got a weather board 2 to add-on and create a weather monitoring station (Using the I2C meant for the OLED).
Thanks to lockdown in my country all the other orders got cancelled, so I was wondering if it is possible to run an OS on the HC4 from a USB flash drive. I don't have the HDD,SSD or the microSD I ordered.
My plan was to make an HDD NAS with an SSD for cache and a microSD for the OS.
I also got a weather board 2 to add-on and create a weather monitoring station (Using the I2C meant for the OLED).
- mad_ady
- Posts: 11182
- Joined: Wed Jul 15, 2015 5:00 pm
- languages_spoken: english
- ODROIDs: XU4 (HC1, HC2), C1+, C2, C4 (HC4), N1, N2, H2, Go, Go Advance, M1
- Location: Bucharest, Romania
- Has thanked: 647 times
- Been thanked: 1049 times
- Contact:
Re: Hello, HC4 owner here
Yes you can install to usb. Boot with a keyboard/hdmi monitor and ethernet attached, choose exit in petitboot and run pbdiscover or netboot (if I remember correctly). Then reenter the petitboot menu and you should have options to install an os to usb.
- tobetter
- Posts: 11352
- Joined: Mon Feb 25, 2013 10:55 am
- languages_spoken: Korean, English
- ODROIDs: Many
- Location: Paju, South Korea
- Has thanked: 775 times
- Been thanked: 1930 times
- Contact:
Re: Hello, HC4 owner here
small correction, run netboot_default in the command line of the Petitboot.
-
- Posts: 15
- Joined: Thu May 20, 2021 10:37 pm
- languages_spoken: english
- ODROIDs: HC4
- Has thanked: 3 times
- Been thanked: 0
- Contact:
Re: Hello, HC4 owner here
Thank you both. Is there a truly headless image you would recommend for this case? Won't the OS require me to connect a keyboard and setup some things before it can be accessed through SSH. Otherwise I'll have to start looking through some old boxes for usb hubs and hope they still work.
- tobetter
- Posts: 11352
- Joined: Mon Feb 25, 2013 10:55 am
- languages_spoken: Korean, English
- ODROIDs: Many
- Location: Paju, South Korea
- Has thanked: 775 times
- Been thanked: 1930 times
- Contact:
Re: Hello, HC4 owner here
You can use the images of Debian or Ubuntu, download the latest image that contains odroidc4 or odroidhc4 in their file name.Prasath wrote: ↑Fri May 21, 2021 2:32 amThank you both. Is there a truly headless image you would recommend for this case? Won't the OS require me to connect a keyboard and setup some things before it can be accessed through SSH. Otherwise I'll have to start looking through some old boxes for usb hubs and hope they still work.
http://ppa.linuxfactory.or.kr/images/raw/arm64/
Flash an image to your USB flash drive using balaneEtcher and plug it in to USB 2.0 host port of ODROID-HC4, then it will boot from it.
-
- Posts: 15
- Joined: Thu May 20, 2021 10:37 pm
- languages_spoken: english
- ODROIDs: HC4
- Has thanked: 3 times
- Been thanked: 0
- Contact:
Re: Hello, HC4 owner here
After entering netboot_default I am presented a list of Operating Systems. Which 1 should I choose? Also is it possible to complete the process without a USB hub.
- tobetter
- Posts: 11352
- Joined: Mon Feb 25, 2013 10:55 am
- languages_spoken: Korean, English
- ODROIDs: Many
- Location: Paju, South Korea
- Has thanked: 775 times
- Been thanked: 1930 times
- Contact:
Re: Hello, HC4 owner here
You have options to install OS from the list and the menus in the list is installer, so you cannot install OS if you do not have USB keyboard.
You need to install / flash OS image from the link I presented in the previous post.
-
- Posts: 15
- Joined: Thu May 20, 2021 10:37 pm
- languages_spoken: english
- ODROIDs: HC4
- Has thanked: 3 times
- Been thanked: 0
- Contact:
Re: Hello, HC4 owner here
I flashed 2 images to 2 drives but both boot into petitboot (The images aren't listed either). I think if I run the netboot command it might show up, no way to check since I cannot connect the keyboard while the drive is plugged in. I tried changing the boot order and enabling autoboot but no success. Is there anyway to get ssh or some kind of network terminal for petitboot?
- tobetter
- Posts: 11352
- Joined: Mon Feb 25, 2013 10:55 am
- languages_spoken: Korean, English
- ODROIDs: Many
- Location: Paju, South Korea
- Has thanked: 775 times
- Been thanked: 1930 times
- Contact:
Re: Hello, HC4 owner here
Which image did you flash and how did you flash?Prasath wrote: ↑Fri May 21, 2021 6:41 pmI flashed 2 images to 2 drives but both boot into petitboot (The images aren't listed either). I think if I run the netboot command it might show up, no way to check since I cannot connect the keyboard while the drive is plugged in. I tried changing the boot order and enabling autoboot but no success. Is there anyway to get ssh or some kind of network terminal for petitboot?
-
- Posts: 15
- Joined: Thu May 20, 2021 10:37 pm
- languages_spoken: english
- ODROIDs: HC4
- Has thanked: 3 times
- Been thanked: 0
- Contact:
Re: Hello, HC4 owner here
debian-buster-server-odroidhc4-20210301.img.xz
ubuntu-21.04-server-odroidc4-20210502.img.xz
These 2 using balenaEtcher to one 8gb drive and one 16gb drive.
ubuntu-21.04-server-odroidc4-20210502.img.xz
These 2 using balenaEtcher to one 8gb drive and one 16gb drive.
- tobetter
- Posts: 11352
- Joined: Mon Feb 25, 2013 10:55 am
- languages_spoken: Korean, English
- ODROIDs: Many
- Location: Paju, South Korea
- Has thanked: 775 times
- Been thanked: 1930 times
- Contact:
Re: Hello, HC4 owner here
If you have flashed them, they should come to the Petitboot screen since they are tested with. Do you see the two partitions from the drives when you attached to your Linux PC and have boot.scr in the first paritition?
-
- Posts: 15
- Joined: Thu May 20, 2021 10:37 pm
- languages_spoken: english
- ODROIDs: HC4
- Has thanked: 3 times
- Been thanked: 0
- Contact:
Re: Hello, HC4 owner here
I do not have a linux pc to confirm that, but etcher usually works fine for me on this system. I'll install the Linux subsystem for windows and confirm.
-
- Posts: 15
- Joined: Thu May 20, 2021 10:37 pm
- languages_spoken: english
- ODROIDs: HC4
- Has thanked: 3 times
- Been thanked: 0
- Contact:
Re: Hello, HC4 owner here
I just have to flash and plug it into the HC4, it should show up in the options, right ? Do I have to run netboot_default ?
- tobetter
- Posts: 11352
- Joined: Mon Feb 25, 2013 10:55 am
- languages_spoken: Korean, English
- ODROIDs: Many
- Location: Paju, South Korea
- Has thanked: 775 times
- Been thanked: 1930 times
- Contact:
Re: Hello, HC4 owner here
It should and it should boot for your case since you only have one USB storage with OS installed. netboot_default command is to load Netboot Installer to install Debian or Ubuntu in interactive mode, so this is not the one for you as of now.
-
- Posts: 15
- Joined: Thu May 20, 2021 10:37 pm
- languages_spoken: english
- ODROIDs: HC4
- Has thanked: 3 times
- Been thanked: 0
- Contact:
Re: Hello, HC4 owner here
The product page for the HC4 only lists HDD,SSD and micro-sd as default boot devices. Are you sure USB is also supported. Thank you so much for the time. I'll wait till lockdown lifts and reorder the micro-sd, hopefully I'll have better luck with that.
- tobetter
- Posts: 11352
- Joined: Mon Feb 25, 2013 10:55 am
- languages_spoken: Korean, English
- ODROIDs: Many
- Location: Paju, South Korea
- Has thanked: 775 times
- Been thanked: 1930 times
- Contact:
Re: Hello, HC4 owner here
All storages recognized by the Petitboot can boot from...For sure, what's the version of the Petitboot you have? The version number is at the top-left corner of Petitboot screen.
Also what's your USB storage?
-
- Posts: 15
- Joined: Thu May 20, 2021 10:37 pm
- languages_spoken: english
- ODROIDs: HC4
- Has thanked: 3 times
- Been thanked: 0
- Contact:
Re: Hello, HC4 owner here
Petitboot dev.20201005
The flash drives are Kingston DT50 and Sandisk CruzerBlade (The cheapest one)
The flash drives are Kingston DT50 and Sandisk CruzerBlade (The cheapest one)
-
- Posts: 15
- Joined: Thu May 20, 2021 10:37 pm
- languages_spoken: english
- ODROIDs: HC4
- Has thanked: 3 times
- Been thanked: 0
- Contact:
Re: Hello, HC4 owner here
The board was having trouble with the 2 USB drives. A Transcend drive worked fine after updating Petitboot. Thank you for the help and sorry for the trouble.
Who is online
Users browsing this forum: No registered users and 1 guest