jrraines
Posts: 14
Joined: Sat Jul 14, 2012 4:18 pm

SD filesystem noob question

Sun Jul 22, 2012 12:24 am

I added apache and can see the default server page. The instructions I followed suggest proceeding with vi to edit the file index.html. It seems to me like I should be able to put the SD card in my Mac and use a GUI editor to modify the file and then reboot on the RPi and see my changes. It seems like I could move a couple of hundred megabytes of files into the .../www directory, in fact. However when I put the SD card on my Mac I don't see the filesystem the RPi sees; I can see it in the finder or in terminal.
Macintosh-4:Untitled raine001$ ls
arm128_start.elf arm224_start.elf cmdline.txt issue.txt kernel_cutdown.img loader.bin
arm192_start.elf bootcode.bin config.txt kernel.img kernel_emergency.img start.elf
Macintosh-4:Untitled raine001$
Is accessing the filesystem from a PC a forlorn hope?

timothy3592
Posts: 64
Joined: Wed Jun 13, 2012 6:06 am

Re: SD filesystem noob question

Sun Jul 22, 2012 4:53 am

From the ls output your are viewing the FAT partition on the sd card there are a total of 2 on that card. The second is the one the pi uses, the EXT4 filesystem. I'm unsure if macosx supports this filesystem. but I've found a mac implementation of the ext filesystem (which should do ext2/3/4) at http://sourceforge.net/projects/ext2fsx ... g/download. Last time I looked up ext drivers for other OSs besides linux it was to get my windows partition to see my linux partition so they could share. Anyway, this may be what your looking for, if after installing it the partition just won't automagically mount in the gui. Then consider some quality time with the mac terminal emulator. You might be able to just mount it manually. good luck :D

jrraines
Posts: 14
Joined: Sat Jul 14, 2012 4:18 pm

Re: SD filesystem noob question

Sun Jul 22, 2012 10:42 am

so the RPi can see both partititons, uses the stuff the PC writes for booting but also creates this EXT system. I will looks at the sourceforge link. Other approaches seem to be a USB stick or trying out the unused USB port on the router the RPi is plugged into. I don't know much about network file transfers into linux but that must also be an option, maybe (probably) the best of all.

jrraines
Posts: 14
Joined: Sat Jul 14, 2012 4:18 pm

Re: SD filesystem noob question

Sun Jul 22, 2012 11:53 am

i followed this link http://blog.applegrew.com/2011/12/acces ... lion-10-7/ and now I can see the filesystem in the finder on osx 10.7. It mounts as a separate volume, disk1s2.

I didn't figure out where filesystem info was on the wiki, but I'm OK.

Thanks for your help!

jrraines
Posts: 14
Joined: Sat Jul 14, 2012 4:18 pm

Re: SD filesystem noob question

Mon Jul 23, 2012 1:09 am

Unfortunately the Mac sees the EXT4 partition as read-only.

I've tried enabling file sharing on the Mac and accessing the files with wget on the RPi; this seems like it must be possible but I have not had success.

What has worked for me is to put the files in DropBox's public folder, get the public link and wget that on the RPi. When I had a lot of files I zipped them first.

Unfortunately DropBox indicates users who sign up after 7/31/12 will not get the same public folder functionality I am using. Those who sign up before 7/31 will continue to have access to the public folder functionality.

jrraines
Posts: 14
Joined: Sat Jul 14, 2012 4:18 pm

Re: SD filesystem noob question

Mon Jul 23, 2012 9:40 am

If the Mac sees the EXT4 partition as read-only then backing up the SD card to the Mac does not help restore the card very well. What solutions are available?

Return to “Beginners”