Active Topics

 


Reply
Thread Tools
Posts: 34 | Thanked: 0 times | Joined on Dec 2010 @ U.A.E
#41
Originally Posted by Radicalz38 View Post
You need to do this first(Not very sure thou)



Then proceed with this updated steps
Updated steps















God! This is going risky lol! I thought you just repartitioned MyDocs
Good thing it failed and I let you show df -h
ohk I did umount /home
but I get the message: Device or resource busy
:s
 
Posts: 1,042 | Thanked: 430 times | Joined on May 2010
#42
Just restart first the device before doing the steps...
 

The Following User Says Thank You to Radicalz38 For This Useful Post:
Posts: 34 | Thanked: 0 times | Joined on Dec 2010 @ U.A.E
#43
Originally Posted by Radicalz38 View Post
Just restart first the device before doing the steps...
Nokia-N900 :~# umount /home
umount: cannot umount /home: Device or resource busy
Nokia-N900 :~#

the same message again.. :s

*btw I really appreciate ur help and effort to sort out My trouble!
thx aloott mate!!
 
Posts: 1,042 | Thanked: 430 times | Joined on May 2010
#44
Ok now that I don't know
Could you tell me what did you do to mount home to another block? from mmcblk0p2 to mmcblk0p1? Cause you need to reverse that first in order to work with fdisk.

Neopwnv2 tutorial should just guide you on splitting your MyDocs folder but I don't know how did /home partition got edited. Also I don't know how you managed to partition your EMMC without fdisk.
If all else fails then you won't have any choice but to do a reflash... And I could guide you on repartitioning your EMMC properly with fdisk if you still want to install neopwn. Cuase that guide you just linked on neopwn is missing some commands.
@michaaa62
You have any idea for this?

Last edited by Radicalz38; 2010-12-22 at 16:39.
 

The Following User Says Thank You to Radicalz38 For This Useful Post:
Posts: 34 | Thanked: 0 times | Joined on Dec 2010 @ U.A.E
#45
Originally Posted by Radicalz38 View Post
Ok now that I don't know
Could you tell me what did you do to mount home to another block? from mmcblk0p2 to mmcblk0p1? Cause you need to reverse that first in order to work with fdisk.

Neopwnv2 tutorial should just guide you on splitting your MyDocs folder but I don't know how did /home partition get's edited. Also I don't know how you managed to partition your EMMC without fdisk.
If all else fails then you won't have any choice but to do a reflash... And I could guide you on repartitioning your EMMC properly with fdisk if you still want to install neopwn. Cuase that guide you just linked on neopwn is missing some commands.
@michaaa62
You have any idea for this?


I have no clue how I did that..because I was following this tutorial..like the previous link..but I followed this link to do the partition..you may want to use Gtranslate..its a chinese site

http://www.blogjava.net/baicker/arch...19/338479.html

hope you get an idea on this because the partition table is clear here..
*I did use fdisk to the partition.
 
Posts: 1,042 | Thanked: 430 times | Joined on May 2010
#46
Yeah it's correct but with that tutorial there's no way /home or mmcblk0p2 was ever touched at all... Maybe you accidentally mistyped something? I could return back your original partition table but I don't know if ever /home will be able to remount properly(in short its a gamble).

I have no idea what will genfstab would do after rebooting.
Cause when you do the fdisk step above there's only 2 results...
1. You'll be stuck on an endless reboot loop(no choice but to reflash)
2. genfstab.awk would remount your MyDocs and /home properly.

So I don't know what's your decision here
 

The Following User Says Thank You to Radicalz38 For This Useful Post:
Posts: 34 | Thanked: 0 times | Joined on Dec 2010 @ U.A.E
#47
Originally Posted by Radicalz38 View Post
Yeah it's correct but with that tutorial there's no way /home or mmcblk0p2 was ever touched at all... Maybe you accidentally mistyped something? I could return back your original partition table but I don't know if ever /home will be able to remount properly(in short its a gamble).

I have no idea what will genfstab would do after rebooting.
Cause when you do the fdisk step above there's only 2 results...
1. You'll be stuck on an endless reboot loop(no choice but to reflash)
2. genfstab.awk would remount your MyDocs and /home properly.

So I don't know what's your decision here
hmm ohk..so mean to say you don't know how nokia care center gave Me that modified emmc of theirs?..
I hope u know I gave it to the care center and dats wen I got this new 50/50 trouble.

For sum reason I dnt have trust in the care center that dey know what I want..because they wouldnt give Me this 50/50 partition right?

I don't mind to try your way..if it gets struck on reboot loop I'll give it tomm again after Im done with university :/
What say how much chances of getting lucky?
n to try your way which I did earliar..I faced a problem ayt?
How do I progress that to give a try
 
Posts: 1,042 | Thanked: 430 times | Joined on May 2010
#48
BTW... unless this code in genfstab.awk is commented/edited it should remount /home perfectly...
start == 1 && $6 == 83 && !__home {
printf "%s /home ext3 %s 0 0\n", $1, home_opts
printf "/home/opt /opt none bind\n"
__home++
}
So if your sure that you haven't messed up your genfstab.awk go with the fdisk step by step at the top post.
 

The Following User Says Thank You to Radicalz38 For This Useful Post:
Posts: 1,042 | Thanked: 430 times | Joined on May 2010
#49
Originally Posted by zohal View Post
hmm ohk..so mean to say you don't know how nokia care center gave Me that modified emmc of theirs?..
I hope u know I gave it to the care center and dats wen I got this new 50/50 trouble.

For sum reason I dnt have trust in the care center that dey know what I want..because they wouldnt give Me this 50/50 partition right?

I don't mind to try your way..if it gets struck on reboot loop I'll give it tomm again after Im done with university :/
What say how much chances of getting lucky?
n to try your way which I did earliar..I faced a problem ayt?
How do I progress that to give a try
Ok... So nokia made that one T_T their weird...
Anyways I could assure you 80% success chance if you go with the fdisk tutorial.

type fdisk /dev/mmcblk0 then enter
type d then enter
type 4 then enter
type d then enter
type 1 then enter
type n then enter
type p then enter
type 1 then enter
Hit enter twice
type t then enter
type 1 then enter
type 0c then enter
type w then enter
reboot your device
For that to work or not depends on your genfstab.awk
Cause the situation is... if N900 doesn't see any /home partition it would reboot.

And what genfstab.awk does here is
start == 1 && $6 == 83 && !__home {
printf "%s /home ext3 %s 0 0\n", $1, home_opts
printf "/home/opt /opt none bind\n"
__home++
}
if /dev/mmcblk0p2 is formatted as Linux partition(83) and there's no /home mounted it would add "/dev/mmcblk0p2 /home ext3 noatime, rw,etc.. 0 0" to your fstab and that should make your n900 boot properly.

Last edited by Radicalz38; 2010-12-22 at 17:00.
 

The Following User Says Thank You to Radicalz38 For This Useful Post:
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#50
Unmount MyDocs for safeties sake
Code:
Umount /home/user/MyDocs
Make the second partition to contain a fresh file system
Code:
mkfs.ext3 -L home /dev/mmcblk0p2
Mount the new filesystem
Code:
mount /dev/mmcblk0p2 /mnt
Copy the content of /home
Code:
cp -a /home /mnt
Unmount the new partition after the copying is done
Code:
umount /mnt
Create a new partition table with this command (everything in this box is just one command)
Code:
echo "unit: sectors
> /dev/mmcblk0p1 : start= 64, size= 56631296, Id= c
> /dev/mmcblk0p2 : start= 56631360, size= 4194304, Id=83
> /dev/mmcblk0p3 : start= 60825664, size= 1572864, Id=82
> /dev/mmcblk0p4 : start= 0, size= 0, Id= 0" > table
Write the new partition table to the device
Code:
sfdisk --no-reread /dev/mmcblk0 < table
Now reboot the phone

After the next start make a fresh file system for MyDocs
Code:
umount MyDocs
mkfs.vfat -F32 -s64 -n MyDocs /dev/mmcblk0p1
Mount MyDocs
Code:
mount /dev/mmcblk0p1 /home/user/MyDocs
If errors occur please post the full message, don't panic, may be the Nokia folks did some extra tweak which have to get reverted also.
 

The Following User Says Thank You to michaaa62 For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 01:50.