I figured I would post the exact steps I had to take there are a few
things that are slightly different from above. So maybe this will help
someone. Anyways part is from above another part is from the sd card
format page and a few are a little steps I had to follow. The steps
are as follows
I do it with a card reader so I have access to the SD card from my
desktop (linux of course). On my system it appears at /dev/sdd
1) erase the memory card with the hp utility
2) Start up linux go to terminal (unplug then replug in your sd card)
then do the following
Determine which device the SD Card Reader is on your system
Plug the SD Card into the SD Card Reader and then plug the SD Card
Reader into your system. After doing that, do the following to
determine which device it is on your system.
$ [dmesg | tail]
...
[ 6854.215650] sd 7:0:0:0: [sdc] Mode Sense: 0b 00 00 08
[ 6854.215653] sd 7:0:0:0: [sdc] Assuming drive cache: write through
[ 6854.215659] sdc: sdc1
[ 6854.218079] sd 7:0:0:0: [sdc] Attached SCSI removable disk
[ 6854.218135] sd 7:0:0:0: Attached scsi generic sg2 type 0
...
In this case, it shows up as /dev/sdc (note sdc inside the square
brackets above).
Check to see if the automounter has mounted the SD Card
Note there may be more than one partition (only one shown in the
example below).
$ [df -h]
Filesystem Size Used Avail Use% Mounted on
...
/dev/sdc1 400M 94M 307M 24% /media/disk
...
Note the "Mounted on" field in the above and use that name in the
umount commands below.
If so, unmount it
$ [umount /media/disk]
Start fdisk
Be sure to choose the whole device (/dev/sdc), not a single partition
(/dev/sdc1).
$ [sudo fdisk /dev/sdc]
Print the partition record
So you know your starting point. Make sure to write down the number of
bytes on the card (in this example, 2021654528).
Command (m for help): [p]
Disk /dev/sdc: 2021 MB, 2021654528 bytes
255 heads, 63 sectors/track, 245 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 246 1974240+ c W95 FAT32
(LBA)
Partition 1 has different physical/logical endings:
phys=(244, 254, 63) logical=(245, 200, 19)
Delete any partitions that are there already
Command (m for help): [d]
Selected partition 1
3) write the image
gunzip -c randomxxx.img.gz | sudo dd of=/dev/sdd
it will format the SD card and create 2 partitions. sdd1 is the fat
needed for booting, sdd2 is the EXT3 where you'll put your file system
4) unplug usbcard reader then plug back in to remount 1 and 2
2) write the file system in sdd2
sudo mount /dev/sdd2 /mnt
cd /mnt
sudo tar xjf path-to-randomxxx.tar.bz2
sudo umount /dev/sdd2
Et voila.
It should boot.
- Hide quoted text -
- Show quoted text -