View Single Post
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#3
Originally Posted by Sourav.dubey View Post
Hello everyone
I just tried to create a new partition of ext3 filesystems but mess up in between. First I resized MyDocs to 20 Gb and resized /home to 4 gb and created a new ext3 partition of 5gb using GParted
...
mmcblk0p4 is the partition I created using Gparted
and when I did
mount /dev/mmcblk0p4
cannot find /dev/mmcblk0p4 in /etc/fstab

please help how can I mount it and see it in the filemanager
Why do you think you messed up?
Looks quite OK. Can you give output of
sfdisk -l

BUT for sure you can not just type
mount /dev/mmcblk0p4
without having an entry in /etc/fstab
Where should this device be mounted? Which file system type? Which options?
You need to give all this info on each mount or put it into /et/fstab, like:
/dev/mmcblk0p2 /home ext3 rw,noatime,errors=continue,commit=1,data=writeback 0 0


Originally Posted by ade View Post
It is not possible to just add an entry in /etc/fstab.

You can find a description for your next step over here:
http://my.opera.com/bachkhois/blog/2...onal-partition
It is possible,
But please do not mess with /etc/fstab directly on creating. It will be recreated on every boot. If you fail, everything may fail.

So I have my own upstart script to mount my needs.
Just edit mountString and put it into folder /etc/event.d/ (remove txt ending).
After that you may easily use above short command.

Create a folder where you want that partition to be mounted (e.g. /home_2), then your mountString will look like
/dev/mmcblk0p4 /home_2 ext3 rw,noatime,errors=continue,commit=1,data=writeback 0 0
Attached Files
File Type: txt custom-Mount.txt (1.6 KB, 109 views)
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 

The Following 4 Users Say Thank You to peterleinchen For This Useful Post: