Hi,
I'm enjoy when I read that there are an distribution of FreeBSD on Raspberry PI2 with HDMI,
I've installed system but now I should to install GNOME3, and what's happening there a out of memory, of course there is no swap!
1/
2/ I do :
3/
4/
5/
6/ /etc/fstab
I think that at near the solution just I don't format fine, and issue to file /etc/fstab.
Regards
Philippe
I'm enjoy when I read that there are an distribution of FreeBSD on Raspberry PI2 with HDMI,
I've installed system but now I should to install GNOME3, and what's happening there a out of memory, of course there is no swap!
1/
fdisk
Code:
root@rpi2:~ # fdisk
******* Working on device /dev/mmcsd0 *******
parameters extracted from in-core disklabel are:
cylinders=3880 heads=255 sectors/track=63 (16065 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=3880 heads=255 sectors/track=63 (16065 blks/cyl)
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA))
start 63, size 102375 (49 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 6/ head 95/ sector 63
The data for partition 2 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 102438, size 62230490 (30385 Meg), flag 0
beg: cyl 6/ head 96/ sector 1;
end: cyl 1023/ head 255/ sector 63
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
root@rpi2:~ #
2/ I do :
dd if=/dev/zero bs=1m count=2048 of=/memory/swap
3/
gpart
Code:
root@rpi2:~ # [CMD]gpart show [/CMD]
=> 63 62333889 mmcsd0 MBR (30G)
63 102375 1 !12 [active] (50M)
102438 62230490 2 freebsd (30G)
62332928 1024 - free - (512K)
=> 0 62230490 mmcsd0s2 BSD (30G)
0 90 - free - (45K)
90 62230400 1 freebsd-ufs (30G)
4/
swapinfo
Code:
root@rpi2:~ # swapinfo
Device 1K-blocks Used Avail Capacity
root@rpi2:~ #
5/
swapon -a
Code:
root@rpi2:~ # swapon -a
fstab: /etc/fstab:6: Inappropriate file type or format
root@rpi2:~ #
Code:
/dev/mmcsd0s1 /boot/msdos msdosfs rw,noatime 0 0
/dev/mmcsd0s2a / ufs rw,noatime 1 1
md /tmp mfs rw,noatime,-s50m 0 0
md /var/log mfs rw,noatime,-s15m 0 0
md /var/tmp mfs rw,noatime,-s10m 0 0
md /memory/swap mfs swap sw 0 0
Regards
Philippe
Last edited by a moderator: