[EmuMMC setup Win/Linux]&[Quadboot]

Discussion in 'Switch - Tutorials' started by TariqSoftDev, Jun 18, 2019.

  1. TariqSoftDev
    OP

    TariqSoftDev ~Zexceil

    Member
    4
    Sep 18, 2013
    London
    I'd suggest staying far away from Integral 256G cards are they do not work, no matter what you do that SD is just funky as hell; I'll be sure to add it soon, thank you for your input!
     
    Cyan likes this.
  2. Xen0

    Xen0 GBAtemp Fan

    Member
    5
    Oct 8, 2015
    Germany
    That´s really unfortunate... AutoRCM is such a nice thing and using the jig (which works about 1 out of 10 tries) everytime I want to switch to emummc seems really annoying. Hope there will be a way around this anytime soon.
     
  3. Xen0
    This message by Xen0 has been removed from public view by Cyan, Jun 29, 2019, Reason: double post.
    Jun 29, 2019
  4. henkp

    henkp Advanced Member

    Newcomer
    4
    Mar 19, 2007
    Netherlands
    I support the vision, could be explained in a bit more detail. First time I wound up with a file called harddiskVolume19 of 32gb in the same folder as the input file :D
     
    Cyan likes this.
  5. Xen0

    Xen0 GBAtemp Fan

    Member
    5
    Oct 8, 2015
    Germany
    With Nyx now.. Is it possible to boot into stock via hektate/RCM? Or what does the launch stock in Nyx do? Because for me nothing happens.
     
  6. TariqSoftDev
    OP

    TariqSoftDev ~Zexceil

    Member
    4
    Sep 18, 2013
    London
    Yes; I'm updating the guide either tonight or tomorrow with different config sets too.
     
  7. Andre993

    Andre993 Member

    Newcomer
    1
    Jun 23, 2019
    Italy
    hi guys, i have a problmen when try to lunch dd command

    C:\Users\DJAnd\Desktop\altro procedimento>dd if=emummc.bin bs=512M of=\\?\Device\HarddiskVolume73 --progress
    rawwrite dd for windows version 0.4beta1.
    Written by John Newbigin <jn@it.swin.edu.au>
    This program is covered by the GPL. See copying.txt for details
    Error native opening file: 0 Operation completed

    thanks for help
     

    Attached Files:

  8. TariqSoftDev
    OP

    TariqSoftDev ~Zexceil

    Member
    4
    Sep 18, 2013
    London
    Make sure the drive is not being used nor open, also try using the string including volume for "of="
     
  9. Andre993

    Andre993 Member

    Newcomer
    1
    Jun 23, 2019
    Italy
    i also try with volume string of=\\.\Volume{6d577f00-9b52-11e9-9423-9cad971688b1} but tell me the file is open in other process try to reboot the pc
     
  10. TariqSoftDev
    OP

    TariqSoftDev ~Zexceil

    Member
    4
    Sep 18, 2013
    London
    Close file explorer and etc.
     
  11. Andre993

    Andre993 Member

    Newcomer
    1
    Jun 23, 2019
    Italy
    didn't find :(
    EDIT: now it's start
     
    Last edited by Andre993, Jul 3, 2019
  12. Andre993

    Andre993 Member

    Newcomer
    1
    Jun 23, 2019
    Italy
    i just finish, but now when lunch atmosphere give me this error : fatal error [NXBOOT]couldn't parse boot0: not enough space
     
  13. TariqSoftDev
    OP

    TariqSoftDev ~Zexceil

    Member
    4
    Sep 18, 2013
    London
    You either didn't merge BOOT0/1 with rawnand dump or you set the offset incorrectly.
     
  14. Andre993

    Andre993 Member

    Newcomer
    1
    Jun 23, 2019
    Italy
    i think my boot0/1 is corrupted because i try to modified the path (emummc_sector =) with wrong numbers and atmosphere give me the error: couldn't find the EmuMMC or eMMC folder
    and i merge all backup nand with this path copy /b BOOT0+BOOT1+00+01+02+03+04+05+06+07 emummc.bin
     
  15. TariqSoftDev
    OP

    TariqSoftDev ~Zexceil

    Member
    4
    Sep 18, 2013
    London
    Try doing it via Hekate Nyx; make a 31.9GB partition then use Nyx to make the EmuMMC; it'll use what's on Sys to do it.
     
    Andre993 likes this.
  16. Andre993

    Andre993 Member

    Newcomer
    1
    Jun 23, 2019
    Italy
    ok i try
     
  17. lordelan

    lordelan GBAtemp Psycho!

    Member
    11
    Jan 4, 2015
    Germany
    Alright, what I've got:

    1. A (hopefully) clean 5.1 BOOT0/1 + RAWNAND dump
    2. A Switch with Atmo and SX OS, that was offline or used 90DNS ever since I started doing unclean things
    3. No emuNAND yet
    4. A 400 gb micro SD card where many games and homebrews are installed to
    What I want to achieve:
    1. Turning my current hacky sysNAND into an emuEMMC/emuNAND that can be used by both => Atmo AND SX OS
    2. Installing L4T Ubuntu on my micro SD card
    3. Using my (hopefully) clean 5.1 BOOT0/1 + RAWNAND dump as sysNAND to play online
    4. Having hekate/Nyx with the following 4 entries:
      1. Stock (clean sysNAND)
      2. Atmosphère (emuEMMC)
      3. SX OS (emuEMMC, same as 2. of course)
      4. L4T Ubuntu
    As far as I understood my steps to achieve this would be the following, please correct me where I'm wrong:
    1. Make a BOOT0/1 + RAWNAND dump of my current setup just in case
    2. Copy everything from my SD card into a temp folder on my computer as the SD will be formatted
    3. Use Etcher to flash the L4T Ubuntu image to my SD card
      • this will obviously format it and create a FAT32 partition and a Linux partition (EXT4?) with the Linux partition being at the end of my micro SD card
    4. I resize the FAT32 partition on my computer to the maximum possible size that is left on my 400 gb card and make sure it's FAT32 with 32k cluster size
    5. I throw the L4T updates and everything from my computer's temp folder to the FAT32 partition
    6. I make sure L4T Ubuntu boots fine and is up to date
    7. I boot into SX OS boot menu since I want my emuEMMC to be compatible with it and create a partition based emuNAND from there
      • iirc this should create a partition at the beginning of my micro SD card
      • my SD card should look like this now:
      [<- emuEMMC partition ->][<- FAT32 partition ->][<- Linux partition ->]
    8. I adjust some settings in some ini files so Atmo can boot into that emuEMMC as well
      • I'm not sure about what exactly I would have to do here but I'll find out by reading more tuts I guess ... however help is appreciated :)
    9. I create the 4 entries I wanted to have in Nyx in my hekate config ini file
    10. I make sure both (Atmo and SX OS) can boot into the emuEMMC
    11. I restore my (hopefully) clean 5.1 BOOT0/1 and RAWNAND dump (in that order?) to my sysNAND, update it with ChoiDujourNX to 8.1.0 and have fun online
    Did I forget something? Any suggestions? :)
     
  18. lordelan

    lordelan GBAtemp Psycho!

    Member
    11
    Jan 4, 2015
    Germany
    Hi Tariq, please continue with this.
    I really want to know how I can have
    • emuEMMC (that can be used by Atmo and SX OS)
      and
    • L4T Ubuntu on the same SD card and boot into everything (sysNAND, emuEMMC, L4T) from hekate
     
  19. TariqSoftDev
    OP

    TariqSoftDev ~Zexceil

    Member
    4
    Sep 18, 2013
    London
    Alright I'll update the guide today then; just been busy with some stuff recently but I'm free now.
     
    lordelan likes this.
  20. lordelan

    lordelan GBAtemp Psycho!

    Member
    11
    Jan 4, 2015
    Germany
    Holy smoke, that'd be awesome!
    I've read a few guides now but both things
    • flashing the L4T img to SD

      and

    • creating an emuNAND partition from SX OS boot menu
    are each wiping the full SD card in the process so I can't figure out how to setup both at the same time.
    You'd be my hero! :)
    So if you could write a guide how to setup an emuNAND for both (Atmo and SX OS) and install L4T Ubuntu on the same SD card, you would make my day year!
     
    Last edited by lordelan, Jul 17, 2019 at 3:46 PM
  21. lordelan

    lordelan GBAtemp Psycho!

    Member
    11
    Jan 4, 2015
    Germany
    A small hint on how to do the partitioning would be a good start maybe. :)
     
  22. TariqSoftDev
    OP

    TariqSoftDev ~Zexceil

    Member
    4
    Sep 18, 2013
    London
    Make youe EmuMMC, make some free space before it which'll be the ext4 using DiskGenius to resize the FAT32 partition
     
    lordelan likes this.
Loading...