Hello,
it is possible to migrate from a 4b usb stick to 2 gb usb stick?
usb 4b to 2b
Moderator: Mattk
Re:usb 4b to 2b
That would be a lot of manual work. Not a problem for someone with solid Linux knowledge..
Basic steps are:
1) shrinking ext3 on 3rd partition to something below 2GB (including space for 1st and 2nd partition)
2) shrinking 3rd partition itself with fdisk.
3) copying first 2GB of 4GB stick onto 2 GB stick with dd.
Basic steps are:
1) shrinking ext3 on 3rd partition to something below 2GB (including space for 1st and 2nd partition)
2) shrinking 3rd partition itself with fdisk.
3) copying first 2GB of 4GB stick onto 2 GB stick with dd.
Re:usb 4b to 2b
Thank you. I have another question regarding this topic. Can I zip files from 4gb stick (folders: /data, /srv/www, /home/meteohub) and extract them on a newly installed meteohub on 2gb stick?
Re:usb 4b to 2b
yes, this should work in general. But I would suggest to make tar archives via linux, to get the attributes of the files right. Doing that with windows tools will not work (from my insight).
Re:usb 4b to 2b
Great. Thank you.
Re: usb 4b to 2b
shrinking ext3 on 3rd partition to something below 2GB (including space for 1st and 2nd partition)