Hello,
I'm currently operating Meteohub on a NSLU h/w. I have installed the Meteohub to a new ebox 3300 on a 4GB SD card. License has not been transfered yet. I'm considering to upgrade the SD to 16GB.
Q1: is it supported?
Q2: if yes, is there a kind of clone mechanism like on the NSLU, or should I need to reinstall the software all over (and then transfert data + settings)?
Thank you
Nicolas
Install on a SD card bigger than 4GB
Moderator: Mattk
-
- Senior Boarder
- Posts: 44
- Joined: Sun Sep 25, 2011 7:48 pm
Re: Install on a SD card bigger than 4GB
I run meteohub on a dream plug and did something similar. I bought a 16GB SD card. I used the unix tool "dd" to make a perfect image. Then copied the image on the new card. After this I increased the size of the partitions: about 5 GB for the root file system "/" and 10 GB for the data file system "/data". If you want to do the same I can post some details.
But make sure your hardware supports the new SD card before!
But make sure your hardware supports the new SD card before!
-
- Expert Boarder
- Posts: 91
- Joined: Sun Feb 17, 2008 11:17 am
- Location: Saint Pierre de Jards - France
Re: Install on a SD card bigger than 4GB
This is very kind of you to answer that post. Yes I'd love to have the details.
-
- Senior Boarder
- Posts: 44
- Joined: Sun Sep 25, 2011 7:48 pm
Re: Install on a SD card bigger than 4GB
Ok. You need either a
You open the Unix/Linux terminal window and type
then you put the SD card into the computer and type
you should see difference in the listings. And that is the name of your sd card (there are other methods to find the device name on each operating systems). So assume your card has the name "/dev/sdc" then you do
you probably have to enter the root / admin password to do that. This will take some while - you can drink a coffee… Then you check if the file is big enough (4 GByte)
Then you remove the SD card and put the new one in. You again check for the name of the new card. Let's assume that it is "/dev/sdb"
Will take a while again… And then you have the perfect copy of the SD card. Next step is to make the partitions bigger. I used "gparted" for that. It is open source http://gparted.org.
As I installed some additional software in the root file system I increased the part ion "sdb2" to 4 GB and the "sdb4" to 10 GB. If you just want to add more space to store more data I would recommend only to increase "sdb4" which is the "/data" partition to the maximum possible size.
This will take about 1h of your time...
- Linux Computer
- Unix shell on your Windows Computer (like cygwin)
- Mac with a Unix Terminal
You open the Unix/Linux terminal window and type
Code: Select all
mkdir backup
cd backup
ls /dev/*
Code: Select all
ls /dev/*
Code: Select all
su dd if=/dev/sdc of=./dd-img-meteohub-4GB bs=1m
you probably have to enter the root / admin password to do that. This will take some while - you can drink a coffee… Then you check if the file is big enough (4 GByte)
Code: Select all
ls -hl *
Code: Select all
su dd if=./dd-img-meteohub-4GB of=/dev/sdb bs=1m
Will take a while again… And then you have the perfect copy of the SD card. Next step is to make the partitions bigger. I used "gparted" for that. It is open source http://gparted.org.
As I installed some additional software in the root file system I increased the part ion "sdb2" to 4 GB and the "sdb4" to 10 GB. If you just want to add more space to store more data I would recommend only to increase "sdb4" which is the "/data" partition to the maximum possible size.
This will take about 1h of your time...
-
- Expert Boarder
- Posts: 91
- Joined: Sun Feb 17, 2008 11:17 am
- Location: Saint Pierre de Jards - France
Re: Install on a SD card bigger than 4GB
This is really very kind of you. Thank you very much. I'll keep you posted.