SD Partitioning and fstab


4 posts
by stretch » Sat Sep 15, 2012 8:59 am
I've recently installed the wheezy minimal image raspbian_wheezy_20120608 on my pi. After doing so I recreated partitions 2 and 3 using fdisk on my 16gb sd card and after first boot I ran resize2fs /dev/mmcblk0p2 df shows the layout as

Filesystem Size Used Avail Use% Mounted on
rootfs 15G 396M 14G 3% /
/dev/root 15G 396M 14G 3% /
tmpfs 22M 176K 22M 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 44M 0 44M 0% /tmp
tmpfs 10M 0 10M 0% /dev
tmpfs 44M 0 44M 0% /run/shm
/dev/mmcblk0p1 75M 28M 48M 37% /boot

and fstab looks like this

# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/mmcblk0p1 /boot vfat defaults,noatime,nodiratime 0 0
/dev/mmcblk0p3 none swap sw 0 0

does this all look right as would prefer to get these bits sorted before I start installing extra packages etc.
Posts: 4
Joined: Sat Sep 15, 2012 8:53 am
by pluggy » Sat Sep 15, 2012 1:28 pm
To be brutally honest, this probably isn't the best place to ask questions about an obscure image from the far reaches of the internet. (I was curious enough to go looking for it and found it, I even downloaded it and installed it onto a SD Card). It has an old version of the kernel and firmware which doesn't update with apt-get upgrade so I lost interest. The constant error messages about locale suggested a bit too much has been stripped out for it to be useful in the real world. The use of 7zip to compress it didn't endear it to me either.

I'd stay mainstream if I were you, if you're confident enough with linux to do this kind of stuff, stripping some of the weight out of the more recent raspbian might be the way to go.

My opinion.........
Don't judge Linux by the Pi.......
User avatar
Posts: 2085
Joined: Thu May 31, 2012 3:52 pm
Location: Barnoldswick, Lancashire,UK
by stretch » Sat Sep 15, 2012 1:59 pm
Hi I was happy to stay mainstream but wanted a minimal install image ie no xserver etc. If you know of one available please could you post a link as im not tech minded enough to roll my own.
Posts: 4
Joined: Sat Sep 15, 2012 8:53 am
by pluggy » Sat Sep 15, 2012 2:46 pm
Arch Linux is mainstream and is minimal (Bottom of the download page), It isn't Debian however.
I use my Pis headless just using ssh for server type stuff with Raspbian and live with the X stuff still residing on there. It isn't going to be guzzling much of a 16 GB SD card, and its not eating resources if you don't start it.
Don't judge Linux by the Pi.......
User avatar
Posts: 2085
Joined: Thu May 31, 2012 3:52 pm
Location: Barnoldswick, Lancashire,UK