I just started my journey with the installation of Amahi on a GuruPlug. I used 'fdisk /dev/sbd1' to make two partitions (one primary 7,5Gb and one primary 512Mb swap) on my 8Gb SD-card.
Code: Select all
sheevaplug-debian:/home# fdisk /dev/sdb1
Command (m for help): p
Disk /dev/sdb1: 8014 MB, 8014266368 bytes
247 heads, 62 sectors/track, 1022 cylinders
Units = cylinders of 15314 * 512 = 7840768 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1p1 1 66 505331 82 Linux swap / Solaris
/dev/sdb1p2 67 1022 7320092 83 Linux
Command (m for help):
Code: Select all
sheevaplug-debian:/dev# ls -l /dev/disk/by-id/
total 0
lrwxrwxrwx 1 root root 9 2010-02-27 07:35 usb-Generic_STORAGE_DEVICE_000000009909-0:0 -> ../../sda
lrwxrwxrwx 1 root root 9 2010-02-27 07:35 usb-Generic_STORAGE_DEVICE_000000009909-0:1 -> ../../sdb
lrwxrwxrwx 1 root root 10 2010-02-27 07:36 usb-Generic_STORAGE_DEVICE_000000009909-0:1-part1 -> ../../sdb1
sheevaplug-debian:/dev#
Code: Select all
sheevaplug-debian:/home# df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 256716 0 256716 0% /lib/init/rw
udev 10240 724 9516 8% /dev
tmpfs 256716 4 256712 1% /dev/shm
rootfs 473444 405932 67512 86% /
tmpfs 256716 0 256716 0% /var/cache/apt
/dev/sdb1 7822336 32 7822304 1% /media/usb0
How should I modify the file (create-amahi-f12-plug-disk.sh) to get the right partition? (sdb1p1 and sdb1p2 does not work)
If I use the proposed and existent 'sdb1' I get no benefit from my new swap partition?
Or?
I hope you can understand my question.
regards
Hakan