Active Topics

 


Reply
Thread Tools
iliaden's Avatar
Posts: 267 | Thanked: 50 times | Joined on Feb 2008 @ Montreal, Canada
#1
I have a nokia n800, OS 2008.

when following one of the [many] instructions on creating a dual-boot, I encountered a problem.
I was following http://thisweekinnuclear.com/KDEonN800.html since he said that it worked on a n800 with 2008.

however, on the

# mkdir /opt/
# mount /dev/mmcblk0p2 /opt
# mkdir /floppy/
# mount -t jffs2 -o ro /dev/mtdblock4 /floppy

the system said that:
1) /opt/ and /floppy/ directories existed before.

2) after a
# rm -rf /opt/
# mkdir /opt/
# mount /dev/mmcblk0p2 /opt

I got :
mount: mounting /dev/mmcblk0p2 on /opt failed

why???
Is there anything I can do?

thank you in advance
 
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#2
If you have try the instructions more than once, chances are the directory has already been created, so re-created an existing directory will give you an err message. In this case, just move on to the next step will be fine. Same for mounting device, if there is error message, just move onto the next step would be just fine. You may want to try this, I think it is easier, http://www.internettablettalk.com/fo...mplified+clone, thread #1 and #292, for a step by step instruction. After able to make a cloned OS, you can then proeed with this, http://www.internettablettalk.com/fo...t=15491&page=7, thread #66 for the KDE install.

The advantage of Milhouse's script is 1) total handsoff, automatic, 2) one line command upon reuse. Yup, dont have to redo all the BS dls, just re-issue the command ./nupgrade.sh -optional parameters and go get a cup of coffee, and when you are back, it is done.




bun

Last edited by bunanson; 2008-02-17 at 00:57.
 

The Following User Says Thank You to bunanson For This Useful Post:
iliaden's Avatar
Posts: 267 | Thanked: 50 times | Joined on Feb 2008 @ Montreal, Canada
#3
if it was so easy...

i had this error the first time I tried (a few hours ago), and decided to skip.
the result was that when it started copying the OS, it all looked OK, but I was not paying attention. Then, it started saying "cannot copy ..., insufficient space on disk" when I looked at the memory usage, mmc2 was completely free, and the device memory had 1kb free.
I presume that the mount failed, but i'm not certain. Is there any way of removing the mount and re-mounting it afterwards.
any clue how?
 
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#4
Are you booting from flash or MMC?

bun
 
iliaden's Avatar
Posts: 267 | Thanked: 50 times | Joined on Feb 2008 @ Montreal, Canada
#5
right now - flash.
trying to make it from mmc
 
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#6
More info here, http://www.internettablettalk.com/fo...ad.php?t=16770

what size is your SD? if 2 G and above, read here, http://www.internettablettalk.com/fo...ighlight=clone.



post if question.


bun
 
iliaden's Avatar
Posts: 267 | Thanked: 50 times | Joined on Feb 2008 @ Montreal, Canada
#7
hi,

thanks a lot from your help.
I ran the Milhouse's script, paying careful attention. although it is automatic, the problem occurred on the same spot: on the
./nupgrade.sh 1
i got:
[...] unable to mount to /opt
done.

i took a guess and proceeded with the rest of the script. on the ./nupgrade.sh 3, [as suspected], after some time, the system said that it could not copy the files since there was insufficient space on disk.
after the reboot, there might have been a menu (i said might), but after a split-second the system started to boot from flash (as it said on the top of the screen).
in the control panel/memory, it said that device memory had 1kb free, ~256mb total.
by now, I am reflashing the device to factory state (OS 2008). I do this every time after a failed try.

the SD card i'm using is a 2gb pqi Hi-Speed 60 (guess that's the name)
any clue what to do now?
Btw, I do not plan to install Sardine nor the KDE. I need the flash since I lack space for simple programs (my canola2 took 40mb - album covers...)

thanks again

ilia
 
iliaden's Avatar
Posts: 267 | Thanked: 50 times | Joined on Feb 2008 @ Montreal, Canada
#8
OH i have a clue!

re-reading carefully the instructions i noticed :
See various Wiki entries for details. Alternatively see post #49 in this thread which details the partitioning of various sized memory cards, ultimately creatiing a 0.5GB second partition in each case - formatting of the second partition will take place later on during the cloning process. Use the built-in Internet Tablet File Manager, a Windows PC or mkdosfs on the tablet/Linux PC to format the FAT partition).

I did not format the card using mihouse's script. this (i hope) is the problem. retrying right away. I'll post the results.

ilia
 
Posts: 9 | Thanked: 1 time | Joined on Feb 2008
#9
Iliaden:

Did you or did you not load the module for EXT2 mount?
Eg. did you run the two commands below?

# insmod /mnt/initfs/lib/modules/2.6.21-omap1/mbcache.ko
# insmod /mnt/initfs/lib/modules/2.6.21-omap1/ext2.ko

Did you check so that you had the 2.6.21-omap1 directory?

When you failed to mount the drive you copied the internal flash memory to itself; that is why you ran out of space.
Another reason for the failed mounting could be that the memory card wasn't detected. You have to check for the mmcblk0p2 directory in /dev/
 
iliaden's Avatar
Posts: 267 | Thanked: 50 times | Joined on Feb 2008 @ Montreal, Canada
#10
nope... the formatting allowed me to make a 500 mb partition visible in file manager (yes, i know i'm not EXACTLY following all the instructions, but i will need ~1.4Gb for the OS)


# insmod /mnt/initfs/lib/modules/2.6.21-omap1/mbcache.ko
# insmod /mnt/initfs/lib/modules/2.6.21-omap1/ext2.ko
have been ran;
and yes, i figured that it was due to a failed mount.

#/dev/ ls showed
[...]
mmcblk0
mmcblk0p1
mmcbllk0p2

until now, the 1st partition is correctly formated into FAT16.
the second one, however, is kinda tricky:
the process did run, and the output was correct, but: after this (as read elsewhere) I simply typed:
# shutdown -r now
for a simple reboot after each step.
It did nothing, nor didn't the
# reboot

I closed my eyes on this (maybe the formatting wasn't successful?) and proceded with the
# ./nupgrade.sh 1
I quote:

Target device: Internal Flash Card, second partition (/dev/mmcblk0p2)
Using filesystem: ext2fs
Continue? (YES/no) :
i type: "y"
Installing ext2.ko module and mounting Internal Flash card, second partition...
mount: mounting /dev/mmcblk0p2 on /opt failed
Done
/home/user/bin #

the result is identical after
# cd ..
# cd ..
# cd ..
# rm -rf /opt
# mkdir /opt/

what now?

ilia

P.S. thanks a lot for your time and help

Last edited by iliaden; 2008-02-17 at 23:28. Reason: typo
 
Reply


 
Forum Jump


All times are GMT. The time now is 19:03.