Boot From USB ! - Jetson Nano
Вставка
- Опубліковано 11 вер 2024
- JetPack 4.5 brings the ability to boot from USB to the NVIDIA Jetson Nano family. Full article on JetsonHacks: wp.me/p7ZgI9-3bE
0:26 Tech Talk Time
0:28 Why boot from USB?
0:56 Types of USB drives
1:49 What is disk formatting - Partitions
2:55 What is GPT?
3:18 What is Ext4?
5:32 Setup Boot From USB
Samsung T7 500 GB USB SSD: amzn.to/3vdp62b
Samsung T5 500 GB USB SSD: amzn.to/2PtE7bK
Western Digital 2TB External Hard Drive: amzn.to/3t7A7jH
NVIDIA Jetson Nano Developer Kit: amzn.to/3v7i0fL
NVIDIA Jetson Nano 2GB Developer Kit: amzn.to/3l57L70
Website: jetsonhacks.com
Github: github.com/jet...
Twitter: / jetsonhacks
#JetsonNano #JetsonNano2GB
I really appreciate you doing all these tutorials. However I'm more of a hardware guy I wish you would show us more of what you are building specifically with robotics and the Jetson. Thanks for posting this content.
Noted! Thanks for watching!
@@JetsonHacks Rock on! and thanks for the heart
I just did this on my 4 GB Jetson Nano (the model with SD card, without eMMC) starting with Jetpack 4.6.1 and the latest version from your Github (as of Sept 2, 2023) and it works perfectly. Thank you!
Thank you for the kind words. You are welcome, and thanks for watching!
i used the ssd you recommended, rewrote my custom jetson nano image to it and now it runs 100x faster. much better :) . was using a sandisk micro usb, so slow...
I am glad you were able to get it to work!
I really appreciate you. I followed various other guides, but it not worked. I formatted my SD card all day long. Thank you so much.
Thank you for the kind words. I am glad you found the video useful. Thanks for watching!
@@JetsonHacks Hello, I have a question. When running my first 'sudo apt-get upgrade' and 'sudo apt-get autoremove' I see many errors. and after that, I can't boot with USB. is there something wrong in my installation? there was some error likes "Broken nvidia-l4t-bootloader packge"
Awesome. Thanks Jim. Another well presented and articulated video...
Thank you for the kind words, and thanks for watching!
This worked 100% exactly like you demonstrated!
I am using a 2TB nVme for my Jetson nano 4GB
I'm glad you were able to get it to work. Thanks for watching!
@@JetsonHacks
And thanks for your great tutorials.
By the way: can I install the latest version of jetpack (JP 5) on my Jetson Nano 4GB (non Orion) version?
@@blackstonesoftware7074 You are welcome. JetPack 5.X is for the Xavier/Orin. The Jetson Nano will remain in the 4.X line.
Amazing tutorial. Can't wait to get a Jetson next few months. The possibilities!
Woow it looks like a payed course
It has been really useful for me
I really appreciate what you are doing 👍👍
Thank you for the kind words, and thanks for watching!
It finally works here now. I need to initialize with the SD card first then can use the SSD only. Maybe I missed your previous videos. Anyway thanks for your instructions.
Awesome, I've followed all the instructions and ... now I have a Jetson Nano booting from SSD! "Look mom, no SD-card". SSD-drive is a 128GB Z3-drive from Aliexpress.
I am glad you got it to work. Thanks for watching!
Thanks to you, my jetson nano now runs smoothly like an oiled deer.
You are welcome. Where do you live that they oil the deers? Thanks for watching!
@@JetsonHacks Germany . We like everything running smoothly and just a tiny bit overengineered.
You're a lifesaver Sir ! Thank you for the Nano videos, much needed 🙏 thanks
You are welcome, and thanks for watching!
hell yeah =)) after 2 years i finally can do that )) appreciated ^^
I'm glad you found it useful. Thanks for watching!
@@JetsonHacks thanks a lot !
Thank you for your wonderful explanation. I also liked the video, saved it and followed it. Thank you Jetson Hacks Famiyl :)
Thank you for the kind words, and thanks for watching!
Thanks a lot!!! I love your videos and articles!
Happy to hear that! Thanks for watching!
You are the best! Thanks a lot !!
I'm not the best, you are! Thanks for watching.
When we can have windows 10 on arm on jetson?
If yes it will be much better then RPI
Thanks, I like your explanation, quick and clear )
You are welcome! Thanks for watching!
Thank you for your wonderful and professional works! I cannot thank you enough.
Thank you for the kind words, and thanks for watching!
what if i want to switch between SD card and USB also thanks for the tutorial.
Typically you would modify your extlinux.conf file to reflect the change. Thanks for watching!
very nice, I got it work ! thank u !
I'm glad you were able to get it to work. Thanks for watching!
Great as always - now having watched this video manual I'am wondering why didn't I try to modify extlinux myself a while ago and have it booting from USB not looking for help from an SD card 🙏
I am glad you found this useful. Thanks for watching!
I followed the whole process but it doesn't work. I have a reComputer j1010. When i show the blocks the "/" stays on the old partition (the internal one of the reComputer J1010).
Thank you for another great video Jim! Quick question, when this video was made, I assume you were using the latest Jetpack at the time? As I go ahead with this procedure, should I use the Jetpack you are using here or can I go ahead with the a later version if available?
Thank you again Jim!
You are welcome. Yes, the video was from the current JetPack at the time. I believe that there may be issues with the latest release. Thanks for watching!
@@JetsonHacks thanks Jim and also thank you for that latest online discussion you had with Paul McWhorter, that was great!
@@vaughntaylor2855 I am glad you enjoyed the discussion. It is not in my nature to do interviews, so it's good to hear that someone enjoyed it!
Hi, Was facing difficulties to boot from a ssd in Nvidia Jetson TX2, can you help. Thanks
Hi i tried the above and got an error inappropriate ioctl for device
did you get this to work? I have the same error ...
Hi. Great video. Thanks. I've had to superglue my microSD card as the holder is broken in order to get my Jetson Nano to boot. Can I force a USB boot even with a valid microSD card present? I see you had to remove it in your video.
I do not know the answer, you may be able to work with the boot manager to trick it. Sorry to hear about your broken SD card holder, and thanks for watching!
this did not work for me. Seeed Jetson Nano has eMMC root. How do I override the eMMC to boot from USB SSD?
The Dev Kit is different than the production modules. You should use the SDK Manger to help with this task. At the time this was recorded, the SDK Manager did not have that capability. Thanks for watching!
Thanks for the tutorial. It would be great if you could make one for booting the Xavier NX from NVME with the new jetpack 4.5.1
You are welcome. I believe that there is an issue which causes this type of approach not to work on the Xavier NX. Thanks for watching!
Hi Jim thank you for sharing your knowledge and tools. They improve a lot Jetson's lineup.
In fact I've got a Jetson Xavier NX running from NVME, obviously I've followed your tutorial.
I would like to know if the procedure you shown here can be apply to Xavier NX now that JetPack 4.5 is out?. I still needed the SD card in place for my Xavier to boot.
Will be an update video to boot Jetson Xavier NX from USB 3.0 SSD?
Thanks again Jim!!!
Thank you for the kind words. My current understanding is that there is an issue which causes this type of method not to work on the Xavier NX under JetPack 4.5. Thanks for watching!
it's awesome tutorial, but it will be great if there is a comparison for the two, maybe in boot time, copying process speed, or some benchmark :)
Excellent! Looking forward to seeing your video about those points. Thanks for watching!
Hi there, it would be great to eliminate the time the hesitation while the Nano is looking for drives when it starts; it didn't have that delay with the SD card. Is it possible to do this? I am trying to get a really fast start out of the Nano and that hesitation is a drag.
I have an industrial board with nvidia jetson Xavier NX with eMMC, what should I do to get the same result? I can't remove eMMC and I'm afraid that when I reboot it always starts from the eMMC because the file that I edit extlinux.conf is on the SSD.
UP
Which driver is being used for the USB port uas or usb-storage? uas is only 480M. I used the command lsusb -t to get the driver information.
my nano does not have an SD card, instead it has SD chips on the board. Thus they cannot be removed. How can I change the boot order, or disable the onboard sd?
Thanks for such a great step-by-step guide. However, I doubt what happens if I lose the USB drive, and I want to boot back from sd card? any idea?
Hello,
I bought a jetson nano which does not have an internal sd card reader, and I boot it with an external sd card read this will work?
I do not know, I have not tried it.
Hi, thank you for this amazing tutorial. My Jetson suddenly turned off and after turning on it was stuck on the Nvidia logo. I tried to boot Jetson via USB according to this tutorial and it was successful. But after booting up the operating system, none of the USB ports work. The mouse and keyboard and modem that I connected to Jetson turn on, but they don't work. I can only connect to Jetson via serial and TTL. Can you guide me what the problem is?
Could you repeat this set up using gdisk and do everything over the terminal
Anyone have the same problem that the jetson nano with the emmc version have trouble mounting the usb drive? Once I have done this, the jetson will not boot from the usb.
Thank you
You're welcome. Thanks for watching!
Hello, Can it be implemented on Nvidia jetson nano b01 Dev kit with integrated emmc without microSD slot?
Thank you!
You are welcome, and thanks for watching!
Hello, I have follow the steps(it won't boot) I'm using Jetson nano Developer kit. any suggestion pls?
thanks for sharing this update. So, we can now remove the sd card permanently, right?
You won't need the SD card to boot during normal circumstances. Keep it around in case something untoward happens. Thanks for watching!
@@JetsonHacks wow thats good
my ssd boot, stuck on nvidia boot screen...
Hi, I use jetson orin nano 8GB. I write the images to memorySD card 32GB. I have installed Jetpack. I follow this tutorial but it does not work. is it possible to extend the disk to HDD2TB? i just need more disk space in root.
This tutorial is for a Jetson Nano, you have a different machine the Jetson Orin Nano. You can use the NVIDIA SDK Manager to setup your Jetson Orin Nano to boot from the SSD. Thanks for watching!
Thanks!!!!
You are welcome. Thanks for watching!
My SD card slot is broken, can I know if there's a way for me to boot from USB by using my computer as I don't have another Jetson Nano with me.
I do not know the answer. You should ask the question on the official NVIDIA Jetson Nano forum where a large group of developers and NVIDIA engineers share their experience.
I tried this with a pcie mini to m2 nvme adapter with a nvme ssd. It somehow works to boot and use remote control with nomachine while still havin lots of pcie bus errors on my native screen.
Interesting. Sounds like there's a lot going on there. Thanks for watching!
Hello,
I want to ask you I have an eMMC jetson nano, can I do this procedure to boot from usb? Because the eMMC comes with very little space (only 16 GB)
thank you in advance
I do not know, I have not tried it. Thanks for watching!
I did successfully but when i start jetson first time it work very well then it not start up. What the reason? Could you explain for me?
It is difficult to tell from your description what the issue might be. Can you SSH into the Jetson? You will most likely need to look at the serial console to find out what the issue might be.
Thanks for your nice demos! Can I upgrade my system to JetPack 4.6 and continue to use the same technique for my USB drive?
Hi! Yes, you can do this tutorial with the JetPack 4.6. I've did it!
Hi, thank you for these good videos about jetson. I just wondering how to use HX711 load cell amplifier with jetson nano? Are there any resources or videos about that?
Thank you for the kind words. I don't know of any HX711 resources for the Jetson. Please ask this on the Jetson Nano forum where a large group of developers and NVIDIA engineers share their experience. Good luck on your project!
Hi. I am really interested in this but am worried that CUDA features wont work right. Would they be installable and usable?
You should use the SDK manager instead of this method.
@@JetsonHacks Would it be possible to somehow change the installation directory to the USB to make it work instead of native storage? Thank you for your response. I really appreciate it and these videos .
I have one jetson nano 2GB , can I use this jetpack version?
I dnt like the jetpack 2gb variant.
If you mean the interface, I believe you can. Unfortunately the interface shown uses so much memory that the 2GB won't be very useful after that. Thanks for watching!
Help! I've followed the instructions many times now but I keep getting the same problem. When I shut down, remove the sdcard and reboot it just hangs on the logo. When I reboot with the sdcard back in and run the lsblk command, my usb drive is mounted at /media/my-user-name/usb-drive name. I don't know how to rectify this. Any ideas?
Hard to tell without a description of what USB drive you are using, the device address (/dev/sda*), how you set up the partition, which Nano, which version of L4T you are running and so on. Did you look at the output from the serial console?
@@JetsonHacks Samsung SSD T7 500GB, /dev/sda1 (tried both new roots in extlinux.conf file, partitioning exactly as you demonstrated, version 4.5.1.
@@DesignerRealities Which version of L4T and which Jetson? How are you powering the Jetson?
@@JetsonHacks L4T 32.5.1, Nano (not 2gb), 5V 4A input to barrel jack.
@@DesignerRealities Does it boot if you remove the keyboard and mouse?
Hey jim great video! But when i shut it down, remove sd card then boot it up again the drive can't mount the partUUID then failed to boot up.. i use jetson nano 2gb and a hdd drive, on your website says that it can be i didn't format it properly, i'd try the quick format and the slow one but still failed..
Is your HDD on a powered USB hub?
Hi. Have you tried to connect a Jetson (nano or NX) to a USB dongle 3G/4G module? Do you think it would work?
I haven't tried it. Please ask this question on the official NVIDIA Jetson forums where a large group of developers and NVIDIA engineers share their experience. Thanks for watching!
Hello, it doesn't work for me. I'm stuck at the Nvidia Logo when I am trying to boot from ssd.
Can you help me with this?
You should refresh it again using the NVIDIA SDK Manager. This video was created before the SDK Manager had this feature.
@@JetsonHacks can you explain me what do you mean refresh it again. I am new to Nvidia Nano thing. I already did all the steps on the video but it does not boot from USB
Thank you very much for your video. Could you explain us how do you make a screencast on Jetson Nano, please?
I use a HDMI to USB converter by Elgato which saves the video to a Mac. Thanks for watching!
@@JetsonHacks Thank you very much!
thank you for this tutorials.. but i use a windows os.. how can i run these command lines
The tools described here require an Ubuntu system, and are not Windows compatible.
Hi awesome, nice videos. Keep up the good work. But what if I have my SD Card but also an NVMe SSD and I have JetPack on both but want to have a dual boot option. Maybe a simple shell script is this possible?
It sounds like an interesting project! You should investigate it and write a solution. Thanks for watching!
Hello Sir. You're a really good teacher. Please can you tell me how to do a human tracking in jetson nano using a tensorrt inference. I need at least 10 FPS. I tried deepsort with yolo. But it produce 1fps. That is not enough. Please Help.. 🙏
Thank you for the kind words. Please ask this question in the official NVIDIA Jetson Nano forums, where a large group of developers and NVIDIA engineers share their experience. Thanks for watching!
didn't work for me, now got a blinking NVIdia logo .. oh well.. just going to have to flash it again ...
Does can i do this usb boot on jetpack 4.6.4
It should work using this method, though you should use the SDK Manager.
@@JetsonHacks that good sir all the process complete but / not come on usb . I have a doubt i have my files on emmc on jetson.does this video transfer emmc to usb
@@aswath_tamilan The NVIDIA Jetson Developer Kit does not have eMMC. Do you have the Developer Kit?
@@JetsonHacks no sir it's custom board I think . I didn't know much details 😕. I am just a noob learning from your videos. I bought Eagle 101 jetson nano from Tanna Techbiz sir. Please help me on it sir.
@@aswath_tamilan You should use the SDK Manager and get help from Tanna Techbiz if needed. Please ask support questions on the official NVIDIA Jetson Nano forum, or the place where you bought the device.
kind sir, please help me to factory reset my jetson xavier nx 8GB. the case is, i forgot the password. i dont have any data, can you please help to explain to me as humanly possible how to factory reset or recover password? becaus i am a dummy. thanks in advance!!!
You don't say if it is a developer kit or not. If it is a NVIDiA developer kit, you should use the NVIDIA SDK Manager: developer.nvidia.com/nvidia-sdk-manager
If it is not a NVIDIA developer kit, you will need to follow the directions from the manufacturer. Good luck on your project!
Could this procedure work for a pen drive?
It should work, but I have not tried it. Thanks for watching!
not working for me this days
Maybe one can tell me the Keyboard keys enter bios of jetson nano?
The Jetson Nano is an embedded system that uses UBoot as its bootloader. Unlike a PC, there is no BIOS. Thanks for watching!
Thanks for this Jim! I'm using an 1TB WD elements external HDD and when rebooting without an sdcard, it displays the nvidia logo and then just stays there forever. However, if I keep the sdcard in and I change the boot extlinux.conf file on the sdcard to look for the usb first, it boots from the usb. Did I miss a step? Is there anything that I have to change so that the nano picks up the usb hdd as a boot device?
I am connecting the drive on the nano itself btw and not an external powered usb hub.
What does the serial console say when it enumerates USB? Does if find a mass storage device?
did you ever get this to work? I have the same issue
@@JetsonHacks I'd love to learn how to do that. I am having the same issue. I'm using a SATA USB converter for this
I had a 32 gb usb which format should i format mbr/gpt?
gpt/ext4 for Linux. Thanks for watching!
@@JetsonHacks successfully booted but i Experience a significant lagg in system maybe it was due to 32gb usb pendrive
@@_urban_khattak_ A USB pen drive is basically the same as a SD card, the same type of memory and access speeds. To benefit fully, you would use a USB SSD.
Hello! Is it possible to deploy JetPack to Jetson TX2 NX+JetsonNano Carrier Board B01 in such way? Thanks.
I do not know, I have not tried it.
@@JetsonHacksHello again! Yesterday I tried to do this and iit works! I like your helpful videos. Thanks!
It will be better to put this comment under the video: ua-cam.com/video/s1QDsa6SzuQ/v-deo.html.
@@whiteman14 Thank you for the kind words. I am glad you got it to work.
Hello, can you make a video, how to run serial console through arduino. Ttl converter is very expensive, but arduino has a ttl converter. Thank you
When you use your Arduino as a serial converter for the Jetson, are you experiencing difficulties? Have you written an article or have a video on how to do it?
@@JetsonHacks connected reset to the ground to disable Arduino and use as ttl converter. Then connected rx to rx and tx to tx + ground(Arduino) to ground(jetson). When connected to rx to tx and vice versa, it doesn't show anything on the serial monitor. But in the other situation it shows, but only shows, I can't login. Arduino shows that it sends data, but I don't see it on the monitor. Jetson doesn't want to receive data. I have Arduino mega and jetson nano with 2 camera input
@@dragonwave2652 If you are only using the TTL to serial converter chip, you would connect RX directly to the RX of the Jetson RX, and TX directly to the Jetson TX. The Arduino Mega is a 5V device, the Jetson is a 3.3V device. How is your level shifter wired?
@@JetsonHacks Honestly I don't really know. I have just connected as it was shown in your video, but to the arduino. Can you explain how to do it right, if it is possible. Thank you
@@dragonwave2652 I don't know enough to help you. My understanding is that you are using a 5V Arduino and 5V RX/TX pins, and are connecting it to a RX/TX pins on the Jetson which are 3.3V. Typically one would convert the level to 3.3V before connecting to avoid damaging the Jetson. In my experience, that requires a level shifter of some sort. See: roboticsbackend.com/raspberry-pi-arduino-serial-communication/ under the section 'Serial via GPIOs' for the similar Raspberry Pi serial debug console.
I had to make a brand new fresh SD image to get this to work? I couldn't use my SD card that I already got all configured for AI programming. I kept getting some sd card read error at boot up when I used my original SD image.
rootOnUSB changes the initramfs. Did you change that to the previous state on your original SD card image? The note in the repository tries to manage your expectations, maybe you can help change the wording so that it resonates better with people:
"WARNING: This is a low level system change. You may have issues which are not easily solved. You should do this working on a freshly flashed micro SD card, and certainly do not attempt this with valuable data on the card itself. Assume that if this does not work, you may have to flash the micro SD card again. A serial debug console is useful if things go wrong."
This is method is for experienced developers, and unfortunately it is difficult to help people with issues solely through UA-cam comments.
@@JetsonHacks You wouldn't believe how I got it to work... I copied my SD card that I had all set up the way I want it. THEN I plugged in a fresh installed SD card and copied the root=partUUID.... from the fresh installed SD and then restarted on HD and it booted up.
@@wayneswan3092 I am glad you got it to work.
Thank you. Please can you show how boot from jetson nano (sub) emmc to usb. Because emmc has 16 gb and not enaugh space. please i am trying for 1 month.
what usb drive are you using?
@@JetsonHacks SanDisk Ultra microSD 64gb card attached USB converter. Converter attached USB slot. Because sdcard reader slot not working.
Thank you for reply. Sorry for my bad english.
@@mehmetsar3112 That does not sound like a combination that would work. There's timing issues when the machine starts to boot, the boot drive has to already be available. In the case of having a SD card reader using USB, the USB driver has to load and then the SD reader->USB driver. By then, the machine has already timed out waiting for the boot device.
In that particular case, you're better off using the external SD card reader as additional storage.
@@JetsonHacks thank you. if I get samsung ssd driver 500 GB as in your video. Is it possible to copy rootf to ssd driver on jetson nano developer kit (sub) B01 with emmc so i can use more than 16gb?
Will it work on Jetson Nano 4GB module?
When you tried it, did it work?
@@JetsonHacks It is not working for me 4gb b01 Jetpack Version 4.5-b129 but working fine with my new 2gb Jetson Nano. in 4gb model i am still using sd card boot/extlinux.conf for boot from usb ssd. Any idea why not working in 4gb Jetson Nano
Sorry issue solved it is because of my USB key board and Mouse Wireless Adapter. if it is pugged in during boot then I am facing this issue. Want to say thank you for this informative video from you.
@@kalomeghe I am glad you got it to work.
It works out of the box... Thank you so much!!
Root on USB
Hey man i forgot my password?
I'm not sure how to help you.
@@JetsonHacks reflashed the sd card it works now
@@Nik-tm6vq Good to hear!
I followed the nvidia's official document to do this and got noting for a month ( and broked my computer several times ), then I find your video, Everything now works well! THANK YOU!
no way
Way!
@@JetsonHacks 😅😄