Active Topics

 


Reply
Thread Tools
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#21
Before removing any of those partitions please make sure you will not need them.
Code:
mount
It is quite irritating that your first partition contains a linux filesystem, while it should be fat32. Please before deleting save the content to some external disk - just to be sure.
Please don't just tell us where you are stumbling, please give the complete error message. Just two guesses: Is there a directory /home/user/bin at all? Make /home/user/bin/fdisk executable.
Code:
ls /home/user/
chmod +x /home/user/bin/fdisk
 

The Following User Says Thank You to michaaa62 For This Useful Post:
Posts: 1,042 | Thanked: 430 times | Joined on May 2010
#22
Given /dev/mmcblk0p1 is linux I'm sure genfstab.awk generated code on fstab couldn't mount it. Good thing you aren't on a reboot loop?
 

The Following User Says Thank You to Radicalz38 For This Useful Post:
Posts: 34 | Thanked: 0 times | Joined on Dec 2010 @ U.A.E
#23
Originally Posted by Radicalz38 View Post
So if your on step 12 of that site means you already installed fdisk?
So just fire up fdisk again and do the step by step procedure I listed and it should return your phone back to normal.
The step was just to delete the extended partition, delete MyDocs, merge the unknown partition and MyDocs and recreate it.
Hmm though th link I suppose we download and install fdisk right..if so then why when I

root
fdisk

in terminal..I get the message fdisk not found?
this is the first thing I wanna do step by step..but now fdisk is the problem..can I do it on the ubuntu live cd..I mean there must be someway usong gparted ??

Originally Posted by michaaa62 View Post
Before removing any of those partitions please make sure you will not need them.
Code:
mount
It is quite irritating that your first partition contains a linux filesystem, while it should be fat32. Please before deleting save the content to some external disk - just to be sure.
Please don't just tell us where you are stumbling, please give the complete error message. Just two guesses: Is there a directory /home/user/bin at all? Make /home/user/bin/fdisk executable.
Code:
ls /home/user/
chmod +x /home/user/bin/fdisk
I tried simply the directory /home/user/bin I get the message "Permision denied" may be what I did is wrong.
and using the code
ls /home/user/
RESULT:
Downloads
Instinctive
MyDocs
Xorg.0.log
apmonitord.log
applet1.png
applet2.png
applet3.png
applications
apps
bin
book1.png
bookmask1.png
hildon-desktop_kinetic_2.2.138-1+0m5_armel.deb
hildon-desktop_kinetic_2.2.138-1+0m5_armel.deb.l
int_kb_layout
mcd001.mcr
mcd002.mcr
pcsx0002.txt
pcsx0002.txt
pcsx0004.bmp
pcsx0004.txt
spbtv
util-linux
webos
Nokia-N900:~#

and for chmod +x /home/user/bin/fdisk
Nokia-N900:~#

I go through that :s

Originally Posted by Radicalz38 View Post
Given /dev/mmcblk0p1 is linux I'm sure genfstab.awk generated code on fstab couldn't mount it. Good thing you aren't on a reboot loop?
Nah Im not on a reboot loop :s
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#24
and for chmod +x /home/user/bin/fdisk
Nokia-N900:~#

I go through that :s
Meaning you did that? Sorry for asking again. If there is no output at all, the command was applied properlyand you can go on.
For analysing your partitioning setup the output is necessary of
Code:
mount
can I do it on the ubuntu live cd..I mean there must be someway usong gparted ??
At least on my laptop the internal card=EMMC is not recognized correctly, you better do not try it that way.
 

The Following User Says Thank You to michaaa62 For This Useful Post:
Posts: 34 | Thanked: 0 times | Joined on Dec 2010 @ U.A.E
#25
Originally Posted by michaaa62 View Post
Meaning you did that? Sorry for asking again. If there is no output at all, the command was applied properlyand you can go on.
For analysing your partitioning setup the output is necessary of
Code:
mount
At least on my laptop the internal card=EMMC is not recognized correctly, you better do not try it that way.
ohk for the mount I get

~ $ root


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia-N900:~# mount
rootfs on / type rootfs (rw)
ubi0:rootfs on / type ubifs (rw,bulk_read,no_chk_data_crc)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /tmp type tmpfs (rw,noatime,size=1024k)
tmpfs on /var/run type tmpfs (rw,nosuid,noatime,size=256k,mode=755)
none on /dev type tmpfs (rw,noatime,size=10240k,mode=755)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noatime,size=65536k)
/dev/mmcblk0p1 on /home type ext3 (rw,noatime,errors=continue,commit=1,data=writebac k)
/home/opt on /opt type none (bind)
nodev on /sys/kernel/debug type debugfs (0)
Nokia-N900:~#

For ls /home/user/
I get

Nokia-N900:~# ls /home/user/
Downloads
Instinctiv
MyDocs
Xorg.0.log
apmonitord.log
applet1.png
applet2.png
applet3.png
applications
apps
bin
book1.png
bookmask1.png
hildon-desktop_kinetic_2.2.138-1+0m5_armel.deb
hildon-desktop_kinetic_2.2.138-1+0m5_armel.deb.1
int_kb_layout
mcd001.mcr
mcd002.mcr
pcsx0002.txt
pcsx0003.txt
pcsx0004.bmp
pcsx0004.txt
spbtv
util-linux
webos
Nokia-N900:~#

n for the final one chmod +x /home/user/bin/fdisk
I get

Nokia-N900:~# chmod +x /home/user/bin/fdisk
Nokia-N900:~#

:s
 
Posts: 1,042 | Thanked: 430 times | Joined on May 2010
#26
@zohal
I recommend you do this step by step in order to install fdisk. Don't skip even 1 step or even a letter

mkdir -p /home/user/util-linux /home/user/bin
cd /home/user/util-linux
apt-get install wget
dpkg-deb -x util-linux_2.13.1.1-1_armel.deb root
cp root/sbin/fdisk /home/user/bin/
cd ..
rm -rf util-linux
Or the easy way is... Download this from the link below and move it to /usr/sbin then redo the chmod and then the steps I made on the previous page

http://www.plunder.com/fdisk-download-244e0e688f.htm

Last edited by Radicalz38; 2010-12-22 at 13:18.
 

The Following User Says Thank You to Radicalz38 For This Useful Post:
Posts: 34 | Thanked: 0 times | Joined on Dec 2010 @ U.A.E
#27
Originally Posted by Radicalz38 View Post
@zohal
I recommend you do this step by step in order to install fdisk. Don't skip even 1 step or even a letter










Or the easy way is... Download this from the link below and move it to /usr/sbin then redo the chmod and then the steps I made on the previous page

http://www.plunder.com/fdisk-download-244e0e688f.htm
thnks alot for the alternative!
but could u temme how do I move it /usr/sbin ??
sry

ahh winscp ayt? sry..

Last edited by zohal; 2010-12-22 at 13:30.
 
Posts: 34 | Thanked: 0 times | Joined on Dec 2010 @ U.A.E
#28
Originally Posted by Radicalz38 View Post
@zohal
I recommend you do this step by step in order to install fdisk. Don't skip even 1 step or even a letter










Or the easy way is... Download this from the link below and move it to /usr/sbin then redo the chmod and then the steps I made on the previous page

http://www.plunder.com/fdisk-download-244e0e688f.htm
ohk I did that via winscp
but when I do
(root)
chmod +x /home/user/bin/fdisk

I get chmod: /home/user/bin/fdisk: Operation not permitted
~ $

:s ??? I did that as you directed

ohk I tried it again..n I went through the chmod step..but after that when I typed fdisk (enter) I get:
Permission denied :s

Last edited by zohal; 2010-12-22 at 13:57.
 
Posts: 1,042 | Thanked: 430 times | Joined on May 2010
#29
Uhm not sure if that should work but I said you should
chmod 777 /usr/sbin/fdisk
it... also try
chown root /usr/sbin/fdisk
although I think it's not necessary.
 

The Following User Says Thank You to Radicalz38 For This Useful Post:
Posts: 34 | Thanked: 0 times | Joined on Dec 2010 @ U.A.E
#30
Originally Posted by Radicalz38 View Post
Uhm not sure if that should work but I said you should it... also try although I think it's not necessary.
for a sec I was so happy when fdsik command resulted with somethin different, but then when I type d I get this:

~ $ root


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia-N900:~# chmod 777 /usr/sbin/fdisk
Nokia-N900:~# fdisk

Usage: fdisk [-l] [-b SSZ] [-u] device
E.g.: fdisk /dev/hda (for the first IDE disk)
or: fdisk /dev/sdc (for the third SCSI disk)
or: fdisk /dev/eda (for the first PS/2 ESDI drive)
or: fdisk /dev/rd/c0d0 or: fdisk /dev/ida/c0d0 (for RAID devices)
...
Nokia-N900:~# d
-sh: d: not found
Nokia-N900:~#

hmm :s
do you think this problem has a solution?
 
Reply


 
Forum Jump


All times are GMT. The time now is 21:30.