Displaying 1 result from an estimated 1 matches for "partition_1".
Did you mean:
partition1
2010 Dec 08
0
copy old CF image to new CF device
...for "/"
After I run all the above I get:
EXT3-fs error ext3_find_entry reading directory #129586 offset 0
then a couple lines later it remounts the root file system read only.
What have I missed in successfully make the CF card based on the old image?
Jerry
---------
DEVICE=/dev/sde
PARTITION_1=/dev/sde1
PARTITION_2=/dev/sde2
fdisk $DEVICE << EOF
o
n
p
1
+7000M
n
p
2
t
2
82
a
1
w
EOF
echo ""
fdisk -l $DEVICE
echo ""
mke2fs -j $PARTITION_1
mkswap $PARTITION_2
# mount the first partition in the image file
mount -t ext3 -o loop,offset=32256 ebox4300.centos...