Active Topics

 


Reply
Thread Tools
Posts: 177 | Thanked: 152 times | Joined on Oct 2011
#1
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
now I did
cat /proc/partitions
179 8 3866624 mmcblk1
179 9 3866616 mmcblk1p1
179 0 31264768 mmcblk0
179 1 20480992 mmcblk0p1
179 2 4094976 mmcblk0p2
179 3 786432 mmcblk0p3
179 4 1 mmcblk10p4
179 5 5834752 mmcblk0p5
mmcblk0p4 is the partition I created using Gparted
and when I did
mount /dev/mmcblk0p5
cannot find /dev/mmcblk0p5 in /etc/fstab

please help how can I mount it and see it in the filemanager

Last edited by Sourav.dubey; 2012-11-11 at 10:29.
 
Posts: 1,100 | Thanked: 2,797 times | Joined on Apr 2011 @ Netherlands
#2
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
 

The Following 2 Users Say Thank You to ade For This Useful Post:
peterleinchen's Avatar
Posts: 4,117 | 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, 98 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:
Posts: 177 | Thanked: 152 times | Joined on Oct 2011
#4
First mistake I made a primary partition (now corrected to extended and its mmcblk0p5)
looks very strange but when I did
sfdisk -|
went to next line and nothing
also can I change it ext3 to fat 32 filesystem
I read your custom-mount.txt file but where to write
/dev/mm.........
......data=writeback 0 0
 
peterleinchen's Avatar
Posts: 4,117 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#5
Originally Posted by Sourav.dubey View Post
First mistake I made a primary partition (now corrected to extended and its mmcblk0p5)
Not a big deal. Should have been OK before, as up to 4 primary partitions are recognized (extended only needed when you want more).

Originally Posted by Sourav.dubey View Post
looks very strange but when I did
sfdisk -|
went to next line and nothing
Oh dear
It is not
sfdisk -PIPE_SYMBOL
but
sfdisk -LOWER_L

Originally Posted by Sourav.dubey View Post
also can I change it ext3 to fat 32 filesystem
Yes, of course. Just back up any data and change the file system type with gparted (or similar tool). But, why should you want another FAT32 system, not readable by any Windows PC?

Originally Posted by Sourav.dubey View Post
I read your custom-mount.txt file but where to write
/dev/mm.........
......data=writeback 0 0
I am not going to spoon fed. Read my former post ...

--edit
OK, once.
Originally Posted by peterleinchen View Post
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).
line 11:
env mountString=""
__________________
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

Last edited by peterleinchen; 2012-11-11 at 12:42.
 

The Following 5 Users Say Thank You to peterleinchen For This Useful Post:
Posts: 177 | Thanked: 152 times | Joined on Oct 2011
#6
Thanks peter for all your efforts
I use qtrapids and when I set download directory to Mydocs it gaves vfat errors and when set to /home/user it downloads at very slow speeds
It works fine with mmc so, I thought of making fat 32 but let it be a ext partition
so which partiton should I use ext3 or ext4 ?
Got success in mounting with ext3 on /media/Files
Edit / you have a good and safe script for automounting.
 

The Following 3 Users Say Thank You to Sourav.dubey For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 23:06.