|
|
2010-12-22
, 17:12
|
|
Posts: 34 |
Thanked: 0 times |
Joined on Dec 2010
@ U.A.E
|
#54
|
please look above your message for a howto
Edit man i think slower than you type

|
|
2010-12-22
, 17:12
|
|
Posts: 1,042 |
Thanked: 430 times |
Joined on May 2010
|
#55
|
Unmount MyDocs for safeties sakeMake the second partition to contain a fresh file systemCode:Umount /home/user/MyDocsMount the new filesystemCode:mkfs.ext3 -L home /dev/mmcblk0p2Copy the content of /homeCode:mount /dev/mmcblk0p2 /mntUnmount the new partition after the copying is doneCode:cp -a /home /mntCreate a new partition table with this command (everything in this box is just one command)Code:umount /mntWrite the new partition table to the deviceCode: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" > tableNow reboot the phoneCode:sfdisk --no-reread /dev/mmcblk0 < table
After the next start make a fresh file system for MyDocs
Mount MyDocsCode:umount MyDocs mkfs.vfat -F32 -s64 -n MyDocs /dev/mmcblk0p1If 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.Code:mount /dev/mmcblk0p1 /home/user/MyDocs
| The Following User Says Thank You to Radicalz38 For This Useful Post: | ||
|
|
2010-12-22
, 17:24
|
|
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.
| The Following User Says Thank You to michaaa62 For This Useful Post: | ||
|
|
2010-12-22
, 17:32
|
|
Posts: 34 |
Thanked: 0 times |
Joined on Dec 2010
@ U.A.E
|
#57
|
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.
|
|
2010-12-22
, 17:33
|
|
Posts: 34 |
Thanked: 0 times |
Joined on Dec 2010
@ U.A.E
|
#58
|
|
|
2010-12-22
, 17:45
|
|
Posts: 2,101 |
Thanked: 1,934 times |
Joined on Sep 2008
@ Berlin, Germany
|
#59
|
| The Following User Says Thank You to michaaa62 For This Useful Post: | ||
|
|
2010-12-22
, 17:46
|
|
Posts: 34 |
Thanked: 0 times |
Joined on Dec 2010
@ U.A.E
|
#60
|
I didnt hear abt this genfstab.awk before
So I shall proceed with steps below..
nyways I'll give a try now
EDIT: I'll give a try to michii way