Active Topics

 


Reply
Thread Tools
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#271
N800 wuth OS2008.

uname -r returns 2.6.21-omap1 which seems right to me but I still got unable to locate mbcache.ko and carried on which trashed my partition because it was writing to itself. Ah well, I got it to work fine and thanks again for the brilliant script
 
Posts: 479 | Thanked: 58 times | Joined on Dec 2007 @ Dubai, UAE
#272
Sorry if this has already been addressed, but I've been at this for the last 4 hours (it's 6.45 am now and I need to get ready for work).

Thus far, I have learned that before starting on step 7 of post #1 of this thread, one should partition the card first.

sudo gainroot
umount /media/mmc2
sfdisk /dev/mmcblk0 -uM
1,14000,0C
,,,
reboot

sudo gainroot
umount /media/mmc2
mkdosfs /dev/mmcblk0p1
reboot

sudo gainroot
umount /media/mmc2
mke2fs /dev/mmcblk0p2
reboot

sudo gainroot
umount /media/mmc2
cd bin
./nupgrade.sh 0
yes
./nupgrade.sh 1
yes
./nupgrade.sh 2
yes
./nupgrade.sh 3
yes
./nupgrade.sh 4
yes
reboot

After all this, it's still not booting from the MMC.

Did I go wrong with a step somewhere?

Last edited by ghoonk; 2008-01-27 at 03:07.
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#273
Originally Posted by ghoonk View Post
Sorry if this has already been addressed, but I've been at this for the last 4 hours (it's 6.45 am now and I need to get ready for work).

Thus far, I have learned that before starting on step 7 of post #1 of this thread, one should partition the card first.

sudo gainroot
umount /media/mmc2
sfdisk /dev/mmcblk0 -uM
1,14000,0C
,,,
reboot
I'm probably wrong (my knowledge of Linux is average) but -uM isn't needed.

Also the 1st partition that is created is VFAT which has the code of "6", not "0C".
For the second partition, try the line:
14001,,

(Starts from 1 cylinder after the VFAT partition, fills rest of space & I think sfdisk assumes ext2fs is nothing is entered after the second comma)

Last edited by qwerty12; 2008-01-27 at 08:44.
 
Posts: 479 | Thanked: 58 times | Joined on Dec 2007 @ Dubai, UAE
#274
dan, it looks like you managed to get it working. Could you share with us the exact steps, or did you, like me, end up applying so many fixes along the way that you lost track of the steps as well?
 
Posts: 678 | Thanked: 197 times | Joined on Jul 2007 @ San Jose CA
#275
I was able to do it with my 8GB cards. Only thing I noticed is that I would do:


sudo gainroot
umount /media/mmc2
sfdisk /dev/mmcblk0 -uM
0,14000,0C <<<<<
14000,, <<<<<<
,,
reboot

sudo gainroot
umount /media/mmc2
mkdosfs /dev/mmcblk0p1
reboot

sudo gainroot
umount /media/mmc2
mke2fs /dev/mmcblk0p2
reboot
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#276
Originally Posted by ghoonk View Post
dan, it looks like you managed to get it working. Could you share with us the exact steps, or did you, like me, end up applying so many fixes along the way that you lost track of the steps as well?
Try the sfdisk lines first and if they don't work for you, I'll write up exactly what I did (won't be as greatly written as Milhouses' guide though).
 
Posts: 479 | Thanked: 58 times | Joined on Dec 2007 @ Dubai, UAE
#277
got the SDHC fixed, and it's now a FAT16. What's an optimal file system to use? FAT16? FAT32? FAT (LBA?)

This card is used for virtual memory, MP3s, pictures, and movies
 
Posts: 479 | Thanked: 58 times | Joined on Dec 2007 @ Dubai, UAE
#278
Originally Posted by dan View Post
Milhouse, Bunanson and Fanoush,

I did it!!!
I'm dual booting from from a 16gb class 6 sdhc card.
I put 3.3gb for os and 11.9gb for storage.
The os on partition loads in about 15-17 seconds and the normal flash
loads in about 32-34 seconds.

I also got USB HOST running from normal flash. So now I have USB hub
with 4 sdhc cards. Strange thing is that it activates bluetooth?

Well again many thanks for your help, patience and support.
Dan
Are you running OS2007 or 2008? N800 or N810?
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#279
Originally Posted by ghoonk View Post
Are you running OS2007 or 2008? N800 or N810?
http://www.internettablettalk.com/fo...&postcount=147

I found that post by him.
 
Posts: 479 | Thanked: 58 times | Joined on Dec 2007 @ Dubai, UAE
#280
I think I found part of the problem.

After partitioning, i rebooted, then

sudo gainroot
sfdisk -ls

and got the following results:

/home/user # sfdisk -ls
/dev/mmcblk0: 15694336

Disk /dev/mmcblk0: 490448 cylinders, 4 heads, 16 sectors/track
Units = cylinders of 32768 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/mmcblk0p1 32 448031 448000 14336000 c W95 FAT32 (LBA)
/dev/mmcblk0p2 0+ 31 32- 1023+ 83 Linux
/dev/mmcblk0p3 448032 490447 42416 1357312 83 Linux
/dev/mmcblk0p4 0 - 0 0 0 Empty
total: 15694336 blocks


For some strange reason, the 1GB I allocated for the Linux partition for the bootspace ended up being mmcblk0p3 instead of mmcblk0p2 as I thought.

How do I designate p03 to be the default bootspace?
 
Reply


 
Forum Jump


All times are GMT. The time now is 12:47.