So in the spirit of open source, and because it’s Friday, I present my step by step guide to making your own boot SD card for the BeagleBoard…
Step 1 – What’s going on here?
First a summary of what’s about the happen. The gist of the steps that follow are this: you start with an SD card… and then you’re going to download Liquidware Beagle Angstrom Linux, format the SD card in a specific way that helps the BeagleBoard know where to find the boot image, untar the rootfs, and untar the kernel into separate partitions on the SD card.
It’s actually pretty simple once there’s a roadmap :)
Step 2 – Download the Liquidware Beagle Angstrom Linux rootfs and kernel tar images
Kernel tar - http://www.liquidware.com/
Rootfs tar - http://www.liquidware.com/
Step 3 – Format the SD card
Run fdisk on the SD card
Delete everything off the SD card
Key in the following commands:
x
h
255
s
63
c
Take the number you got from x above, and divide it by 255 / 63 / 512. For instance:
7950303232 / 255 / 63 / 512 = 966.569, rounded down is 966
Key in that number, for instance:
966
Then do this:
r
n
p
1
1
n
p
1
+50
t
1
c
a
1
n
p
2
enter
enter
w
Then do the hokey pokey, turn yourself around, quit fdisk, and issue the commands on the command line:
sync
sync
Run fdisk on the SD card you just formatted, and then make the vfat file system with this command:
sudo mkfs.vfat /dev/vfat
On my computer, this was the command I ran:
sudo mkfs.vfat /dev/mmcblk0p1
Then eject the SD card, reinsert it, and repeat for the ext3 partition.
sudo mkfs -t ext3 /dev/ext3
On my computer, this was the command I ran:
sudo mkfs -t ext3 /dev/mmcblk0p2
Then unmount the SD card, and eject and reinsert it.
cd into the vfat partition (for me, it was /media/vfat) and run this command:
sudo tar -xvf /home/root/kernel-vfat.tar
sync
sync
Then unmount the vfat partition, and run these commands:
sync
sync
Eject the SD card, and then reinsert it. More hokey pokey. Then continue.
mount ext
sudo tar -xvf /home/root /rootfs-ext.tar
sync
sync
Then unmount the ext3 partition, and run these commands:
sync
sync
Eject the SD card. Pop it into the BeagleBoard, and it should boot up Liquidware BeagleBoard Angstrom Linux :-)
And I’ve put the BeagleBoard, pre-formatted Beagle Boot SD card, and the BeagleTouch up over at the Liquidware shop.
6 comments:
Your instructions would be a lot simpler with sfdisk. Do a Google search for mkcard.sh.
thanks for the info
i did the tutorial
but in this part
-------------------------------------------
cd into the vfat partition (for me, it was /media/vfat) and run this command:
sudo tar -xvf /home/root/kernel-vfat.tar
sync
sync
--------------------------------
cant find the .tar file ,,, the downloaded
git clone git://github.com/liquidware/liquidware_beagleboard_linux.git
went to this folder
/home/jars/liquidware_beagleboard_linux
folder
@arcblog - whoops, that's my fault. i wrote that all up, and then forgot to actually upload the file... it's around 300 megs, and i'm uploading it now... sorry about that
can the kernel disply on monitor too. ?
I think it will be possible to do this with gparted as highlight in alwaysinnovating.com --> multi OS kit.
I went through your steps in Ubuntu 11.10 but some them do not work. Generally do this in gparted: create fat32 : 500 - 730Mib ; Linux Swap: 500 - 1Gib and the rest of this SD Card for ext3
Than you for putting this up for us to learn from. I am currently experiencing various SD Card partition and bootable methods and I will publish them soon.
God blesses!!!
Best regards,
Sanyaade
Can this be done in gparted?
I went through your steps but soem of them are not working
May be it is me or Ubuntu 11.10
God blesses!!!
Best regards,
Sanyaade
Post a Comment