Homebrew Discussion Switchroot: HOS partiton on exfat?

jacobsson

Well-Known Member
OP
Member
Joined
Oct 30, 2019
Messages
165
Trophies
0
Age
38
XP
769
Country
Sweden
Hi guys and gals.
First: Let's skip the "no you can't" or "exfat is super dangerous" -replies for now (been using exfat for years), I'd appreciate if we kept the discussion on subject :)

Goal: My goal is to have a neat little dongle-less setup focused on emulation w/ triple boot: HOS, Android and Linux from one SD-card which is now setup on a 512GB card.

Problem: Since I'm planning to emulate GC/Wii and many games are 4GB+ which is the limit of fat32, (as soon as I format HOS to exfat it can no longer boot into Android or Linux).

Question: Is there anyway I can have my HOS partition formatted to exfat and still keep the Switchroot boot intact?
If not, how come?

Thank you!
--------------------------------------------------------------------------------------
TLDR: Possible solution for exFat support for those interested:
For anyone interested in pursuing this further, I'll quote my post further down:
found out that the limitation of exfat support lies in the implementation of switch-uboot. Apparently this u-boot fork by shinyquagsire23 has exFat support
Merging or implementing his changes into the official repo and rebuilding switch-root might be your best bet.
 
Last edited by jacobsson,

jacobsson

Well-Known Member
OP
Member
Joined
Oct 30, 2019
Messages
165
Trophies
0
Age
38
XP
769
Country
Sweden
@mathew77 Wow, the disrespect, sad to see to be honest. Please be constructive or refrain yourself from posting. I want to keep the thread on topic.
Any moderator that could help me?
 
Last edited by jacobsson,

jacobsson

Well-Known Member
OP
Member
Joined
Oct 30, 2019
Messages
165
Trophies
0
Age
38
XP
769
Country
Sweden
@mathew77 I don't know what your problem is, browsing through your post history you seems like a reasonable person and I don't believe we ever spoke before? Your behavior seems very unprovoked. I believe people are under more stress than usual due to the pandemic so maybe you could rethink what you are doing and remove these posts, just to help another member out?
 

jacobsson

Well-Known Member
OP
Member
Joined
Oct 30, 2019
Messages
165
Trophies
0
Age
38
XP
769
Country
Sweden
If you can't figure out how to do that on exfat you can split a file in to 4 gb chunks and place them in to a folder with the archive bit set, HOS will see it as a single file. I'm not 100% sure what tools you need to do it though.
That's very interesting, I'll look into this, thank you man!
 
  • Like
Reactions: CompSciOrBust
Joined
Sep 9, 2019
Messages
904
Trophies
1
Location
Switch scene
Website
github.com
XP
2,663
Country
Korea, North
  • Like
Reactions: jacobsson

mathew77

Lovin' life.
Member
Joined
Jan 19, 2019
Messages
1,188
Trophies
0
Age
47
XP
3,679
Country
Kazakhstan
split a file in to 4 gb chunks and place them in to a folder with the archive bit set, HOS will see it as a single file.
He wants to use 4GB+ ROM files with GC/Wii emulator under L4T Ubuntu / Switchroot, not under the HOS, and they don't use this splitting method with archive bit at all, so it's useless for non-HOS OSes, unfortunately.
 
Last edited by mathew77,
  • Like
Reactions: jacobsson

jacobsson

Well-Known Member
OP
Member
Joined
Oct 30, 2019
Messages
165
Trophies
0
Age
38
XP
769
Country
Sweden
Put the GC/Wii games on a different partition, eg. the Android user partition? It's not like you can play them from HOS anyway.
Retroarch works pretty well currently under Atmosphere, another upside with using HOS partition that this is the one that shows when mounting the SD-card in windows and TWRP.

I found out that the limitation of exfat support lies in the implementation of switch-uboot. Apparently this u-boot fork by shinyquagsire23 has exFat support. I guess I need to learn the build process switch-root to achieve my goal.
 
Last edited by jacobsson,

kidkat210

Well-Known Member
Member
Joined
Nov 9, 2016
Messages
1,064
Trophies
0
Age
29
XP
2,333
Country
United States
I haven't messed with android a whole lot, I also haven't messed with Linux. But couldn't you plug in an external hdd/thumb drive and play it from that?
 
  • Like
Reactions: jacobsson

hippy dave

BBMB
Member
Joined
Apr 30, 2012
Messages
9,877
Trophies
2
XP
29,193
Country
United Kingdom
Retroarch works pretty well currently under Atmosphere, another upside with using HOS partition that this is the one that shows when mounting the SD-card in windows and TWRP.

I found out that the limitation of exfat support lies in the implementation of switch-uboot. Apparently this u-boot fork by shinyquagsire23 has exFat support. I guess I need to learn the build process switch-root to achieve my goal.
That's one thing you could do, but I bet it would take you less time to get a driver working on Windows to access the android/linux partitions than it would to build switchroot.

Either way, honestly I'm glad you're doing the research and seeing how you can achieve it yourself rather than just asking the devs to do more work. :yay:
 
Last edited by hippy dave,

jacobsson

Well-Known Member
OP
Member
Joined
Oct 30, 2019
Messages
165
Trophies
0
Age
38
XP
769
Country
Sweden
I haven't messed with android a whole lot, I also haven't messed with Linux. But couldn't you plug in an external hdd/thumb drive and play it from that?
Absolutely, but that would unfortunately not achieve the all-in-1 goal of one SD-card.
Thank you for the suggestion though!
 

grabman

Well-Known Member
Member
Joined
Sep 25, 2018
Messages
359
Trophies
0
Age
43
XP
717
Country
United States
I feel that sometimes you spin your wheels and you keep spinning. This is a general life thing. But the key is to adapt. There is an obvious solution to your dilemma.

It's called usb.

I really don't know what to tell you if you want to insist on stuffing it all into one sd. That's like your deal ya know?

I hope this makes sense...

Trots off to continue enjoying his Android TV switch install with 256gb removable usb storage...
 

jacobsson

Well-Known Member
OP
Member
Joined
Oct 30, 2019
Messages
165
Trophies
0
Age
38
XP
769
Country
Sweden
I feel that sometimes you spin your wheels and you keep spinning. This is a general life thing. But the key is to adapt. There is an obvious solution to your dilemma.

Love your channel bro, good stuff! My USB-c port is already occupied by a USB-c BT transceiver and I love it.
If weren't spinning our wheels, new adaptions and iterations of stuff we use wouldn't surface.
In your case, If you really accepted the old way of thinking, how could you ever find a way to decrypt those emu files, bet those wheels where spinning pretty hard. Just a thought.

Anyway, since I now know what needs to be done I have contemplate if it's worth the time I need to invest.
 
Last edited by jacobsson,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: https://www.youtube.com/watch?v=A0FyqCEfD0E