Hack-A-N900/Resize vfat partition: Unterschied zwischen den Versionen
Amir (Diskussion | Beiträge) |
Ra (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
(5 dazwischenliegende Versionen von einem anderen Benutzer werden nicht angezeigt) | |||
Zeile 11: | Zeile 11: | ||
ln -s /lib/libuuid.so.1 /lib/libuuid.so | ln -s /lib/libuuid.so.1 /lib/libuuid.so | ||
CPPFLAGS="-I | CPPFLAGS="-I`pwd`/e2fsprogs-1.41.3/lib/" \ | ||
CFLAGS="-I`pwd`/e2fsprogs-1.41.3/lib/ -L/lib/" LDFLAGS="-L/lib/" \ | |||
./configure --disable-dynamic-loading --without-readline --disable-device-mapper | |||
make | make | ||
Zeile 18: | Zeile 19: | ||
== Resize vfat partition == | == Resize vfat partition == | ||
Example: | |||
<pre> | |||
# resize the vfat partition to 27G | |||
parted resize 1 0G 27G | parted resize 1 0G 27G | ||
# reboot now because the kernel can't re-read the partition table | # reboot now(!) because the kernel can't re-read the partition table | ||
reboot | reboot | ||
</pre> | |||
[[Kategorie:N900]] |
Aktuelle Version vom 20. Juli 2010, 01:48 Uhr
Build parted
# get parted source wget http://ftp.gnu.org/gnu/parted/parted-2.2.tar.gz tar -xzf parted-2.2.tar.gz cd parted-2.2/ # get e2fsprogs source apt-get source e2fsprogs ln -s /lib/libuuid.so.1 /lib/libuuid.so CPPFLAGS="-I`pwd`/e2fsprogs-1.41.3/lib/" \ CFLAGS="-I`pwd`/e2fsprogs-1.41.3/lib/ -L/lib/" LDFLAGS="-L/lib/" \ ./configure --disable-dynamic-loading --without-readline --disable-device-mapper make
Resize vfat partition
Example:
# resize the vfat partition to 27G parted resize 1 0G 27G # reboot now(!) because the kernel can't re-read the partition table reboot