maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   formated file system, cant mount it now (https://talk.maemo.org/showthread.php?t=89297)

catan900 2013-02-25 17:34

formated file system, cant mount it now
 
Hello, recently i tried using my n900 (as a last resort) to install windows 7 on a machine by creating a bootable iso/usb.
Hence i formated the MyDocs and installed the bootable iso there.

now that i have succesfully installed windows i have no clue how to reformat it and to what. i tried ext3 but windows wont recognise it. i then tried fat32 but whenever i transfer songs/movies n900 simply wont recognize it.

i tried the mount commands nothing happened.

is there any way to reset it so i can have the default folders in /MyDocs? and basically have the phone in its previous state? that was usable :P

thanks in advance for any reply, and please forgive my noobiness :(

michaaa62 2013-02-25 21:22

Re: formated file system, cant mount it now
 
Simply use the in-build HildonFileManager (HFM).
Open HFM, long press the Nokia N900 device and choose to format, done.

catan900 2013-02-25 22:03

Re: formated file system, cant mount it now
 
hello, thanks for the reply

when i open the file manager it says:

(no files/folders)

michaaa62 2013-02-26 07:18

Re: formated file system, cant mount it now
 
Do you have the stock kernel or kernel-power running?

Look at the partition table for the first partition. You need rootsh installed for this to work. This is the command to look at
Code:

sudo gainroot
sfdisk -l

You need the first partition line to be some thing like that
Quote:

Device Boot Start End #cyls #blocks Id System
/dev/mmcblk0p1 1 610463 610463 19534816 c W95 FAT32 (LBA)
The red font indicates the identification for the vfat file system. Do not change the numbers for start and size of the partition.
Here in the wiki http://wiki.maemo.org/Repartitioning...Docs_partition you will find the informations to edit the partition table.

Feel free to ask for additional help.

catan900 2013-02-27 07:26

Re: formated file system, cant mount it now
 
Hello and thank you very much for the usefull message

i did the sfdisk command and thats exactly what i got, like the message you highlighted in red color.
fat32 lba.

still i cant get any mediaplayer work and when its connected to my pc via usb it doesnt recharge :/

ps i tried to mount /home/user/MyDocs

and it gets me back that failed: invalid argument

Sourav.dubey 2013-02-27 08:10

Re: formated file system, cant mount it now
 
Try doing this but this will erase your data on MyDocs so be careful
root
mkfs.vfat /dev/mmcblk0p1
mount /dev/mmcblk0p1 /home/user/Mydocs
reboot

try this at your own risk

michaaa62 2013-02-27 08:11

Re: formated file system, cant mount it now
 
With the correct info in the partition table: Check also for the c, this is the important info for the system, the rest is just for the user information!!!

You might want to create the file system on the partition.
Please try
Code:

sudo gainroot
mkfs.vfat -n MyDocs /dev/mmcblk0p1

Feel free to post any error messages here, or, if none appear, shutdown the phone and restart.

catan900 2013-02-27 12:24

Re: formated file system, cant mount it now
 
thank you so much,

your commands worked.

i can finally use my camera and listen to some music :D

well i used my n900 to install my official iso win7 on my pc and i ruined the file system on the process.

thank you a lot mates,
<3 n900


All times are GMT. The time now is 15:45.

vBulletin® Version 3.8.8