Active Topics

 


Reply
Thread Tools
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#91
I think that's supposed to be mmcblk0p1 for the external to the boot menu... I think that's the reverse mmc problem.... my external 8GB card is mmcblk0 to both flash and the external card... to my cloned SD boot it is mmcblk1.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
Stskeeps's Avatar
Posts: 1,671 | Thanked: 11,478 times | Joined on Jun 2008 @ Warsaw, Poland
#92
Originally Posted by leosam View Post
/etc/bootmenu.d/deblet-external-MMC-p1.item:

ITEM_NAME="Deblet on external-MMC-p1"
ITEM_ID="deblet-external-MMC-p1"
ITEM_DEVICE="mmcblk1p1"
ITEM_MODULES="mbcache jbd ext3"
ITEM_FSTYPE="ext3"
ITEM_FSOPTIONS="noatime,ro"
ITEM_LINUXRC="linuxrc"
It should have generated one with this:

ITEM_DEVICE="${EXT_CARD}p1"

Change it to this and refresh-bootmenu.d
__________________
As you go on to other communities, remember to build them around politeness, respect, trust and humility. Be wary of poisonous people and deal with them before they end up killing your community.. Seen it happen to too many IRC channels, forums, open source projects.

Last edited by Stskeeps; 2008-09-05 at 14:23.
 
Posts: 4 | Thanked: 0 times | Joined on Sep 2008 @ Paris
#93
Originally Posted by fatalsaint View Post
I think that's supposed to be mmcblk0p1 for the external to the boot menu... I think that's the reverse mmc problem.... my external 8GB card is mmcblk0 to both flash and the external card... to my cloned SD boot it is mmcblk1.
Tried mmcblk0p1 with no luck. Same behavior...

EDIT: I tried again and it worked. Maybe I typed sth wrong before. Thanks!

Last edited by leosam; 2008-09-05 at 14:55.
 
Posts: 4 | Thanked: 0 times | Joined on Sep 2008 @ Paris
#94
Originally Posted by Stskeeps View Post
It should have generated one with this:

ITEM_DEVICE="${EXT_CARD}p1"

Change it to this and refresh-bootmenu.d
It was like this to begin with. But I was unsure the EXT_CARD var was correclty set, so I put mmcblk1p1 just to be sure.

It turns out it is supposed to be mmcblk0p1!

Thanks anyways.
 
jiiv's Avatar
Posts: 124 | Thanked: 47 times | Joined on Aug 2008 @ Northern DFW
#95
Well, I've been having a bit of trouble since reinstalling yesterday (and then again this morning) as well.
I install to mmcblk1p1 (with swap on mmcblk1p2), which is a 4GB microsd card (worked fine on previous installs except for having to change the .item from mmcblk1p1 to mmcblk0p1.
The .item file created is to $INT_CARD, which obviously doesn't work. Changing to $EXT_CARD or mmcblk0p1 and then running refresh_bootmenu.d doesn't work for me- I get to the pivot_root step for about 10 seconds and then the tablet reboots.
Does any logging happen this early in the boot process?
Shouldn't make any difference, but I'm trying to install nit-base-x. I run the deblet installer from maemo, which is installed in flash. I've tried both the dialog and gtk installers, same result with both.
Edit: I modified the linuxrc in the installed partition to add a text2screen after the pivot_root, and it never makes it there- looks like pivot_root is failing.

Last edited by jiiv; 2008-09-05 at 17:59.
 
Stskeeps's Avatar
Posts: 1,671 | Thanked: 11,478 times | Joined on Jun 2008 @ Warsaw, Poland
#96
Originally Posted by jiiv View Post
Does any logging happen this early in the boot process?
in linuxrc, after DEBLET_RUN_FROM_LINUX="1" add:

chroot . /etc/init.d/console-fb start

and see if that shows you anything worthwhile.

Other methods. Make the chroot /sbin/init line output to a file on the partition and make sure your boot menu item mounts the fs readwrite.. and hope you are running ext3 :P
__________________
As you go on to other communities, remember to build them around politeness, respect, trust and humility. Be wary of poisonous people and deal with them before they end up killing your community.. Seen it happen to too many IRC channels, forums, open source projects.
 
jiiv's Avatar
Posts: 124 | Thanked: 47 times | Joined on Aug 2008 @ Northern DFW
#97
Originally Posted by Stskeeps View Post
add: chroot . /etc/init.d/console-fb start
Added after export DEBLET_RUN_FROM_LINUXRC="1" and before the pivot, but it doesn't seem to do anything at all. Also tried with /sbin/chroot, still a no-go.
Tried adding mount > /mnt/new_root/mountpoints to see what filesystems were mounted where, but no files are created. (I'd redirect it to a specific filesystem, but I don't yet know what filesystems are mounted- I'm assuming /mnt/new_root should be the mmc card).

Originally Posted by Stskeeps View Post
.. and hope you are running ext3 :P
Does ext2 not work, or are you just concerned about the integrity of my filesystem after all this rebooting? I'm running ext2, but the .item seems to be properly set up for it. Is ext3 a requirement at this point?

Update: Tried adding 'touch $ROOT_PLACE/test' before cd $ROOT_PLACE to figure out where $ROOT_PLACE actually was, and it doesn't seem to have created a file anywhere.
Also added text2screen -s 2 -H center -y 100 -T 0 -t `mount | grep new_root`, which displays the line '/dev/mmcblk0p1' (and nothing else; not like /dev/mmcblk0p1 on /mnt/new_root type ext2 or anything)... and then promptly reboots.

Update again:
Meh. Just ran through another complete install on ext3 to make sure that ext2 wasn't the issue, but I'm running into the same problems.

Last edited by jiiv; 2008-09-05 at 21:35.
 
Posts: 5 | Thanked: 0 times | Joined on Jul 2008 @ LA
#98
Still playing catchup but this is my .02 since the last time i tried 1.2-5 figured out that my external is mmcblk1 mmcblk0 is my internal 2gig so I've been trying to install it to the 4gb sdhc card I have made the partion for the swap so i have mmcblk1p1 and mmcblk1p2 as the swap and run the installer so that it installs deblet on mmcblk1p1 after reboot and everything was fine as someone else said on page eight i click on boot deblet from mmcblk1 like it was supposed to and it starts to do something runs a line about linxrc which I noted before and then it would just reset and I forced it into boot menu so that it boot from the sd again and same results just updated to the 1.2-7 which currently updating the font config pretty far along if I remember and I'm still up I'll post my results.

ps I know i'm jumping in and out just been crazy busy going back to catch up now so I'll go back through the last couple of pages and catch up thanks to everyone who responded to my reply thank you.
 
Posts: 5 | Thanked: 1 time | Joined on Aug 2008 @ Spain
#99
Hi, newbie here.

One month with my new n810, very happy.

I have cloned diablo to internal card, with install_tools from penguinbait.
Now, I'm waiting for a 8Gb minisd, to try debian, and have installed
the deblet_install.

Launched install_bootmentu, and created a diablo.item in /etc/bootmenu.d/

[1|root@N810bar|/etc/bootmenu.d]cat diablo-mmcblk1p2.item
ITEM_NAME="diablo en mmcblk0p2"
ITEM_ID="diablo-mmcblk0p2"
ITEM_DEVICE="mmcblk0p2"
ITEM_MODULES="mbcache jbd ext2"
ITEM_FSTYPE="ext2"
ITEM_FSOPTIONS="noatime,ro"

launched refresh_bootmenu.d, rebooted and choose to boot from mmcblkop2, the progress bar appears, and then, instead of the desktop, the lead light flash and reboot.

The internal card partitions:
[1|root@N810bar|/etc/bootmenu.d]sfdisk -l /dev/mmcblk0

Disk /dev/mmcblk0: 61440 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 0+ 3839 3840- 122879+ 6 FAT16
/dev/mmcblk0p2 3840 57599 53760 1720320 83 Linux
/dev/mmcblk0p3 57600 61439 3840 122880 82 Linux swap / Solaris
/dev/mmcblk0p4 0 - 0 0 0 Empty

and fsck says it's ok:
[1|root@N810bar|/etc/bootmenu.d]fsck.ext2 /dev/mmcblk0p2
e2fsck 1.37 (21-Mar-2005)
/dev/mmcblk0p2: clean, 21450/215040 files, 98877/430080 blocks


So, what's wrong?
 
Stskeeps's Avatar
Posts: 1,671 | Thanked: 11,478 times | Joined on Jun 2008 @ Warsaw, Poland
#100
rinkin: try noatime,rw instead.
 

The Following User Says Thank You to Stskeeps For This Useful Post:
Reply

Tags
debian, deblet, deblet bootmenu installer


 
Forum Jump


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