Now I want to see if I can produce 10 to 20 of these cards to use with our new XOs. Today I plan to test out a process for creating these cards using:
- ativa SDHC 4GB cards
- my Asus eeepc 1000
It recognized the card as /dev/sdc1 and mounted it on /media/OLPCRoot. At a root prompt on the eepc, I then did the following:
- mkdir /opt/OLPCRoot
- cp -R /media/OLPCRoot/* /opt/OLPCRoot
- inserted the ativa SD card into the eeepc card reader (it recognized it again as /dev/sdc1)
- umount /dev/sdc1
- dd if=/dev/zero of=/dev/sdc bs=4096 count=1 (to erase the partition table)
- echo -e ',,L,*\n\n\n' | sfdisk /dev/sdc (to create a new partition table)
- mke2fs -jLOLPCRoot /dev/sdc1 (to create an ext2 file system on the new partition)
- removed the card and reinserted it so it would automount
- cp -R /opt/OLPCRoot/* /media/OLPCRoot/
It Works (sort of)!
I took the new SD card out of the eeepc's card reader and put it in my XO. I turned it on and... it worked! Actually, it booted as far as the custom Xubuntu splash screen and then seemed to freeze. After what seemed like 2 minutes, I was about to turn off the machine using the power button when the progress bar started advancing. It finally proceeded to the gdm login screen, and I tried logging in using the olpc username and password I have configured on the source card. I got an error message that the $HOME/.dmrc file should be owned by the user with permissions of 644.
It looks like this process is close, but will require some tweeking. I'll talk to Matt about it tomorrow. In the mean time, I have confirmed that the ativa SD cards will work, so I can put in an order for a bunch of them tomorrow while the sale is on at Office Depot.
Hi friends,
ReplyDeletethis post is very useful and very interesting to read, Really this blog is nice information about sd cards,Keep it up.
SD Cards
Online Community Management Software I like viewing web sites which comprehend the price of delivering the excellent useful resource free of charge. I truly adored reading your posting. Thank you!
ReplyDeleteIt has fully emerged to crown Singapore's southern shores and undoubtedly placed her on the global map of residential landmarks. I still scored the more points than I ever have in a season for GS. I think you would be hard pressed to find somebody with the same consistency I have had over the years so I am happy with that. cyber security online internship
ReplyDeleteI definitely enjoying every little bit of it. It is a great website and nice share. I want to thank you. Good job! You guys do a great blog, and have some great contents. Keep up the good work minitab 19 product key
ReplyDelete