Reply
Thread Tools
Posts: 34 | Thanked: 0 times | Joined on Dec 2010 @ U.A.E
#51
Originally Posted by Radicalz38 View Post
BTW... unless this code in genfstab.awk is commented/edited it should remount /home perfectly...


So if your sure that you haven't messed up your genfstab.awk go with the fdisk step by step at the top post.
A nooby qs again..should I type this in terminal?
I didnt hear abt this genfstab.awk before

So I shall proceed with steps below..

Originally Posted by Radicalz38 View Post
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.
















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

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.
but like I said before..the step you tell Me to enter w..its 1-4 choice?
nyways I'll give a try now

EDIT: I'll give a try to michii way
 
Posts: 2,101 | Thanked: 1,934 times | Joined on Sep 2008 @ Berlin, Germany
#52
please look above your message for a howto

Edit man i think slower than you type
 

The Following User Says Thank You to michaaa62 For This Useful Post:
Posts: 1,042 | Thanked: 430 times | Joined on May 2010
#53
Try michaaa62's post first before mine. I have no idea with sfdisk so can't guide you with that.

and I updated that post so it should work now.
 

The Following User Says Thank You to Radicalz38 For This Useful Post:
Posts: 34 | Thanked: 0 times | Joined on Dec 2010 @ U.A.E
#54
Originally Posted by michaaa62 View Post
please look above your message for a howto

Edit man i think slower than you type
mate its just that I love this phone totally!
and when crappy problem lyk this..I feel really tensed and kinda depressed

hmm a noobi qs again..should I type first fdisk and thn the steps you mentioned..because it says cannot umount and that its Invalid argument..

so..??
 
Posts: 1,042 | Thanked: 430 times | Joined on May 2010
#55
Originally Posted by michaaa62 View Post
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.
BTW 1 question with this... Will n900 properly mount the temporary home(/mnt) properly?
 

The Following User Says Thank You to Radicalz38 For This Useful Post:
Posts: 2,101 | Thanked: 1,934 times | Joined on Sep 2008 @ Berlin, Germany
#56
And what genfstab.awk does here is
Quote: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.
It is said already

Edit No need for fdisk here, just use the commands as root.
Edit2: Regarding the unmount error. Totally fine, as there is no MyDocs on your device, which i wanted to make sure again.

Last edited by michaaa62; 2010-12-22 at 17:27.
 

The Following User Says Thank You to michaaa62 For This Useful Post:
Posts: 34 | Thanked: 0 times | Joined on Dec 2010 @ U.A.E
#57
Originally Posted by michaaa62 View Post
It is said already

Edit No need for fdisk here, just use the commands as root.
Edit2: Regarding the unmount error. Totally fine, as there is no MyDocs on your device, which i wanted to make sure again.
so is this xterminal command
Quote:start == 1 && $6 == 83 && !__home {
printf "%s /home ext3 %s 0 0\n", $1, home_opts
printf "/home/opt /opt none bind\n"
__home++
}

Im really sry for asking silly qs but its just that Im not a well versed user of linux.

And I asked to use fdisk for Michaas way, because if I simply start with root > umount ... I get the message that "cannot mount, invalid argument"
:/
 
Posts: 34 | Thanked: 0 times | Joined on Dec 2010 @ U.A.E
#58
Originally Posted by michaaa62 View Post
It is said already

Edit No need for fdisk here, just use the commands as root.
Edit2: Regarding the unmount error. Totally fine, as there is no MyDocs on your device, which i wanted to make sure again.
So I should just proceed further like that??
 
Posts: 2,101 | Thanked: 1,934 times | Joined on Sep 2008 @ Berlin, Germany
#59
The howto is here http://talk.maemo.org/showpost.php?p...3&postcount=51
Anything else is just talk, talk, talk
 

The Following User Says Thank You to michaaa62 For This Useful Post:
Posts: 34 | Thanked: 0 times | Joined on Dec 2010 @ U.A.E
#60
err does this command take time??
cp -a /home /mnt

 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 07:43.