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,190
Trophies
0
Age
47
XP
3,697
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,067
Trophies
0
Age
29
XP
2,347
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,895
Trophies
2
XP
29,481
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
  • No one is chatting at the moment.
  • Materia_tofu @ Materia_tofu:
    im not a very bright individual, but we live and we learn
  • SylverReZ @ SylverReZ:
    @Materia_tofu, We do learn a lot from plenty of talented individuals.
  • Materia_tofu @ Materia_tofu:
    this is true! i learned how to make soundfont remixes from a friend back in 2021
    +1
  • BakerMan @ BakerMan:
    Update on my brother: He's home now, tired and hungry, obviously, but other than that, seems to be doing fine.
    +2
  • Veho @ Veho:
    That's a relief to hear. Do you know what happened?
  • SylverReZ @ SylverReZ:
    @BakerMan, Any idea what happened? I hope that your brother's doing good.
  • BakerMan @ BakerMan:
    Well, from what I've heard from my parents, he had a seizure last night, perhaps an epileptic episode, fucking died, had a near death experience, my dad called the paramedics, they showed up, took him to the hospital, and he woke up covered in tubes, and started complaining.
  • BakerMan @ BakerMan:
    He couldn't eat until after his MRI, when he had a bomb pop.
  • BakerMan @ BakerMan:
    What matters now is that he's doing alright.
  • Veho @ Veho:
    But you still don't know what it was?
  • Veho @ Veho:
    Has he had seizures before?
  • The Real Jdbye @ The Real Jdbye:
    apparently stress can cause seizures, my brother had one during a test once
  • The Real Jdbye @ The Real Jdbye:
    never had one before that, and never had one since
  • Redleviboy123 @ Redleviboy123:
    Question about game texture chanching Do i need an own game id?
  • The Real Jdbye @ The Real Jdbye:
    @Veho for those that want to
    experience being sonic the hedgehog
  • Veho @ Veho:
    Ah, you mean
    furries.
  • The Real Jdbye @ The Real Jdbye:
    well, sonic fans are a whole separate thing from furries
  • The Real Jdbye @ The Real Jdbye:
    like bronys
  • The Real Jdbye @ The Real Jdbye:
    sonic porn is too weird even for me
  • Dumpflam @ Dumpflam:
    bruh
  • Dumpflam @ Dumpflam:
    guys how do i delete a post
  • The Real Jdbye @ The Real Jdbye:
    you don't
  • The Real Jdbye @ The Real Jdbye:
    you can report it and request deletion
    The Real Jdbye @ The Real Jdbye: you can report it and request deletion