Using the same SD card partition for eMMC and SD booting

Search This thread

soonereng

Member
Jan 16, 2011
20
5
I can't post on the development forum, but this was asked there. Basically for those running Froyo or HC off SD who want the stock (or rooted) eMMC system to recognize the same SD partition.

It was suggested that one should edit the vold.fstab file, however, this file doesn't exist in the stock (or my rooted) BN filesystem. However, vold.conf does exist in /system/etc

I just edited my vold.conf so that it reads as below (bold is added line):

Code:
## vold configuration file for zoom2
# modified for encore

volume_sdcard {
    ## This is the direct uevent device path to the SD slot on the device
    media_path     /devices/platform/mmci-omap-hs.1/mmc_host/mmc0
    partition	   8
    media_type     mmc
    ##mount_point    /sdcard
    mount_point    /media
    ums_path       /devices/platform/usb_mass_storage/lun0
}

volume_sdcard2 {
    ## Currently points to internal eMMC, assumes eMMC is formatted as FAT32
    media_path     /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
    [B][SIZE="3"]partition      4[/SIZE][/B]
    media_type     mmc
    ##mount_point    /media
    mount_point    /sdcard
    ums_path       /devices/platform/usb_mass_storage/lun1
}
I can now use the same SD card partition when booting from the SDcard or internal eMMC.

Disclaimer: If you copy this and it bricks your Nook. Don't blame it on me. I didn't make you do it.

Remove the .txt extension, make sure your SD card is out and boot off internal system, make /system writable, backup the original vold.conf either by adb pull or as below, then push the new vold.conf file.

Code:
adb shell
mount -o remount,rw /dev/block/mmcblk0p5 /system
cd /system/etc
mv vold.conf vold.conf.bak
exit
adb push vold.conf /system/etc

Shut down nook and reboot off internal eMMC, replace SD card, and voila, the same SD working partition.
 

Attachments

  • vold.conf.txt
    695 bytes · Views: 124
Last edited:
  • Like
Reactions: tj!2k7

soonereng

Member
Jan 16, 2011
20
5
But doesn't it automatically boot to the sd card
If it inside?
From 1.1 Nook Color with 1.1 ghz overclock

Yes. If you want to boot off internal eMMC you would need to remove SD card before booting. Then install the SD after it's booted up. This allows you to use the entire SD card rather than the 100 mb that is on the boot partition of the froyo and HC SD images.

There is probably a more elegant solution, this was just mine.
 

Damager78

Member
Mar 2, 2011
23
0
Stupid Question...

Do you need to partition the SD card before doing this, or will it be done already when you burn the HC image into the SD card? I'm looking to burn the HC (4 gigs) into an 8 gig card and have about 3-4 gigs free in the SD card to use.
 

w8wca

Senior Member
Mar 21, 2008
210
39
Columbus
OK post http://xdaforums.com/showpost.php?p=15798431&postcount=15
Has it right - I just needed to change both auto's to 4's

vold.fstab
Was:
dev_mount sdcard /mnt/sdcard auto auto /devices/platform/usb_mass_storage/lun1 /devices/platform/mmci-omap-hs.0/mmc_host/mmc1

Now:
dev_mount sdcard /mnt/sdcard 4 4 /devices/platform/usb_mass_storage/lun1 /devices/platform/mmci-omap-hs.0/mmc_host/mmc1

Thanks !
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    I can't post on the development forum, but this was asked there. Basically for those running Froyo or HC off SD who want the stock (or rooted) eMMC system to recognize the same SD partition.

    It was suggested that one should edit the vold.fstab file, however, this file doesn't exist in the stock (or my rooted) BN filesystem. However, vold.conf does exist in /system/etc

    I just edited my vold.conf so that it reads as below (bold is added line):

    Code:
    ## vold configuration file for zoom2
    # modified for encore
    
    volume_sdcard {
        ## This is the direct uevent device path to the SD slot on the device
        media_path     /devices/platform/mmci-omap-hs.1/mmc_host/mmc0
        partition	   8
        media_type     mmc
        ##mount_point    /sdcard
        mount_point    /media
        ums_path       /devices/platform/usb_mass_storage/lun0
    }
    
    volume_sdcard2 {
        ## Currently points to internal eMMC, assumes eMMC is formatted as FAT32
        media_path     /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
        [B][SIZE="3"]partition      4[/SIZE][/B]
        media_type     mmc
        ##mount_point    /media
        mount_point    /sdcard
        ums_path       /devices/platform/usb_mass_storage/lun1
    }
    I can now use the same SD card partition when booting from the SDcard or internal eMMC.

    Disclaimer: If you copy this and it bricks your Nook. Don't blame it on me. I didn't make you do it.

    Remove the .txt extension, make sure your SD card is out and boot off internal system, make /system writable, backup the original vold.conf either by adb pull or as below, then push the new vold.conf file.

    Code:
    adb shell
    mount -o remount,rw /dev/block/mmcblk0p5 /system
    cd /system/etc
    mv vold.conf vold.conf.bak
    exit
    adb push vold.conf /system/etc

    Shut down nook and reboot off internal eMMC, replace SD card, and voila, the same SD working partition.