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,197
Trophies
0
Age
47
XP
3,719
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,073
Trophies
0
Age
29
XP
2,367
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,926
Trophies
2
XP
30,121
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
  • realtimesave @ realtimesave:
    @SylverReZ that reminds me that my friend sells CRTs he gets cheap or free for hundreds of dollars. people are dumb
    +1
  • RedColoredStars @ RedColoredStars:
    And is incredibly annoying.
  • realtimesave @ realtimesave:
    man I just washed my shoes and they look exactly the same as before I washed them :|
  • realtimesave @ realtimesave:
    luckily they didn't fall apart
  • RedColoredStars @ RedColoredStars:
    Some CRTs are very much worth the price
  • RedColoredStars @ RedColoredStars:
    i used to go out to the recycling center every couple weeks and look at the crts and other electronics people would drop off. Usually screens were broken or severely scratched from being tossed around. Did find a good one here and there, but never anything like a 1080i widescreen crt.
  • RedColoredStars @ RedColoredStars:
    Or a good contition 40" Sony Trini that weighs 300 lbs. lol
  • RedColoredStars @ RedColoredStars:
    Literally 300 lbs. lolol
  • BigOnYa @ BigOnYa:
    I have a few of those boat anchors in my basement I tried giving away but no one wanted them, So anyone close to Columbus, Ohio area that wants them, (26", 2x 19") please come get, for free.
  • RedColoredStars @ RedColoredStars:
    Dont know anyone wants those smaller ones. Most are after larger sizes and the kinda top of the line models
  • RedColoredStars @ RedColoredStars:
    Motion handling and input lag on those things destroy plasmas, led, oled
  • realtimesave @ realtimesave:
    I had some really nice CRTs I should've kept
  • realtimesave @ realtimesave:
    now I have all lcd
  • realtimesave @ realtimesave:
    one in particular I regret getting rid of oh well :|
  • realtimesave @ realtimesave:
    the Sonys and stuff I don't care about
  • realtimesave @ realtimesave:
    and used LCD are hard to sell I can imagine.. not worth much
  • realtimesave @ realtimesave:
    @SylverReZ where do u lurk
  • a_username_that_isnt_cool @ a_username_that_isnt_cool:
    Is it piracy if it was released for free? Not in my opinion, but I also think it's not piracy if buying it isn't owning it, and it's not piracy if you can't buy it from the original creators anymore.
  • K3Nv2 @ K3Nv2:
    Free release can have loopholes where they still make money through ads
    +1
  • Xdqwerty @ Xdqwerty:
    sigh
  • Xdqwerty @ Xdqwerty:
    @a_username_that_isnt_cool, could you change your username?
  • Xdqwerty @ Xdqwerty:
    i guess not...
  • Xdqwerty @ Xdqwerty:
    yawn
  • Xdqwerty @ Xdqwerty:
    anybody here?
    Xdqwerty @ Xdqwerty: anybody here?