Hack-A-N900/Resize vfat partition: Unterschied zwischen den Versionen

aus Metalab Wiki, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Zur Navigation springenZur Suche springen
(Die Seite wurde neu angelegt: == 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 sou...)
 
Zeile 1: Zeile 1:
 
== Build parted ==
 
== Build parted ==
 
+
<pre>
#get parted source
+
# get parted source
 
wget http://ftp.gnu.org/gnu/parted/parted-2.2.tar.gz
 
wget http://ftp.gnu.org/gnu/parted/parted-2.2.tar.gz
 
tar -xzf parted-2.2.tar.gz
 
tar -xzf parted-2.2.tar.gz
 
cd parted-2.2/
 
cd parted-2.2/
  
#get e2fsprogs source
+
# get e2fsprogs source
 
apt-get source e2fsprogs
 
apt-get source e2fsprogs
  
 
ln -s /lib/libuuid.so.1 /lib/libuuid.so
 
ln -s /lib/libuuid.so.1 /lib/libuuid.so
  
CPPFLAGS="-I./e2fsprogs-1.41.3/lib/" CFLAGS="-I./e2fsprogs-1.41.3/lib/ -L/lib/" LDFLAGS="-L/lib/" ./configure --disable-dynamic-loading --without-readline --disable-device-mapper
+
CPPFLAGS="-I./e2fsprogs-1.41.3/lib/" CFLAGS="-I./e2fsprogs-1.41.3/lib/ -L/lib/" LDFLAGS="-L/lib/" \
 +
./configure --disable-dynamic-loading --without-readline --disable-device-mapper
  
 
make
 
make
 +
</pre>
  
 
== Resize vfat partition ==
 
== Resize vfat partition ==

Version vom 16. April 2010, 21:50 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./e2fsprogs-1.41.3/lib/" CFLAGS="-I./e2fsprogs-1.41.3/lib/ -L/lib/" LDFLAGS="-L/lib/" \
 ./configure --disable-dynamic-loading --without-readline --disable-device-mapper

make

Resize vfat partition

parted resize 1 0G 27G

  1. reboot now because the kernel can't re-read the partition table

reboot