maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   Multiboot and internal custom partitiioning (https://talk.maemo.org/showthread.php?t=72894)

LTman 2011-05-09 09:10

Multiboot and internal custom partitiioning
 
I installed multiboot and it worked and did what i wanted it to do until i tried to make it boot ubuntu (props to mohammedAG) but i tried to modify his steps to install to a new partition of my creation (mmcblk0p4 (5gb)) but what ever i did multiboot refused to boot ubuntu and i tried gazillions of different .item file combinations sometime (when i asked it to boot with maemo /power kernels) it would boot maemo when left without a kernel it show booting please wait for a while then shutdown
i tried both mmcblk0p4 and [INT_CARD]p4 with the sd card in and out but it just wouldn't boot
is it due to the fact that multiboot doesn't believe in a fourth internal partition or is it something else
please help

misiak 2011-05-09 09:27

Re: Multiboot and internal custom partitiioning
 
Quote:

Originally Posted by LTman (Post 1002611)
I installed multiboot and it worked and did what i wanted it to do until i tried to make it boot ubuntu (props to mohammedAG) but i tried to modify his steps to install to a new partition of my creation (mmcblk0p4 (5gb)) but what ever i did multiboot refused to boot ubuntu and i tried gazillions of different .item file combinations sometime (when i asked it to boot with maemo /power kernels) it would boot maemo when left without a kernel it show booting please wait for a while then shutdown
i tried both mmcblk0p4 and [INT_CARD]p4 with the sd card in and out but it just wouldn't boot
is it due to the fact that multiboot doesn't believe in a fourth internal partition or is it something else
please help

What error do you get? it's not multiboot 'faith in fourth internal partition' problem definitely ;)

Try {INT_CARD}p4, not [INT_CARD]p4 (wrong brackets ;) ). What is the error you're experiencing? Does it show something on the screen?

could you write here:
- the contents of your .item file for ubuntu
- the result of commands "ls -l /boot" and "ls -l /boot/multiboot" and "ls -l /lib/modules"
- the result of command "ls /dev/mmcblk*"
It will give us who want to help some important information

LTman 2011-05-09 09:44

Re: Multiboot and internal custom partitiioning
 
Sorry about the first post i wrote in a rush and didn't put all the important facts their here is the .item
ITEM_NAME="Ubuntu 9.10 Karmic ( partition 4)"
ITEM_ID="ubuntu"
ITEM_DEVICE="${INT_CARD}p4"
ITEM_MODULES="mbcache jbd ext3"
ITEM_FSTYPE="ext3"
ITEM_FSOPTIONS="noatime,rw"

LTman 2011-05-09 10:08

Re: Multiboot and internal custom partitiioning
 
/etc/event.d $ ls /boot
multiboot zImage-2.6.28-maemo46


/etc/event.d $ ls -l /etc/multiboot
ls: /etc/multiboot: No such file or directory
/etc/event.d $ ls -l /etc/multiboot.d
-rw-r--r-- 1 root root 74 Aug 17 2010 00-Maemo-2.6.28-omap1.item
-rw-r--r-- 1 root root 145 Jan 21 21:25 01-Maemo-kernel-power46.item
-rw-r--r-- 1 root root 162 Mar 28 19:28 11-NITDroid-mmcblk1p2-2.6.28.NIT.06.item
-rwxr-xr-x 1 1000 1000 108 Apr 1 19:29 50-BackupMenu.item
-rw-r--r-- 1 root root 2859 Aug 17 2010 README
drwxr-xr-x 2 root root 664 Mar 30 13:56 examples
-rw-r--r-- 1 root root 169 Apr 1 20:52 ubuntu.ext.item
/etc/event.d $


/etc/event.d $ ls -l /etc/multiboot
ls: /etc/multiboot: No such file or directory
/etc/event.d $ ls -l /etc/multiboot.d
-rw-r--r-- 1 root root 74 Aug 17 2010 00-Maemo-2.6.28-omap1.item
-rw-r--r-- 1 root root 145 Jan 21 21:25 01-Maemo-kernel-power46.item
-rw-r--r-- 1 root root 162 Mar 28 19:28 11-NITDroid-mmcblk1p2-2.6.28.NIT.06.item
-rwxr-xr-x 1 1000 1000 108 Apr 1 19:29 50-BackupMenu.item
-rw-r--r-- 1 root root 2859 Aug 17 2010 README
drwxr-xr-x 2 root root 664 Mar 30 13:56 examples
-rw-r--r-- 1 root root 169 Apr 1 20:52 ubuntu.ext.item
/etc/event.d $

hey ls /dev/mmcblk* offended
do you really think that i am big enough a noob not to know if an entire partion is there
well trust me it does exist and i extracted mohammadAG 's image there i can even chroot into it (fat lot of good that does me though)

misiak 2011-05-09 10:17

Re: Multiboot and internal custom partitiioning
 
Quote:

Originally Posted by LTman (Post 1002630)
Sorry about the first post i wrote in a rush and didn't put all the important facts their here is the .item
ITEM_NAME="Ubuntu 9.10 Karmic ( partition 4)"
ITEM_ID="ubuntu"
ITEM_DEVICE="${INT_CARD}p4"
ITEM_MODULES="mbcache jbd ext3"
ITEM_FSTYPE="ext3"
ITEM_FSOPTIONS="noatime,rw"

You have "ITEM_ID" in your file... Is it necessary? And I think that you need "ITEM_KERNEL" in every .item file... You wrote you tried to make it boot with power kernel (added line ITEM_KERNEL="2.6.28.10-power47" ?), what was the result?

Quote:

Originally Posted by LTman (Post 1002637)
hey ls /dev/mmcblk* offended
do you really think that i am big enough a noob not to know if an entire partion is there
well trust me it does exist and i extracted mohammadAG 's image there i can even chroot into it (fat lot of good that does me though)

1. Please output of "ls -l /boot/multiboot" (not /etc/multiboot), pretty please :)
2. No, I don't think you are noob, but I just think it is quite important information and, as I have ZERO knowledge about your skills I just ask questions I would like to know answers ;) Sorry if you felt offended.

LTman 2011-05-09 10:21

Re: Multiboot and internal custom partitiioning
 
sorry misiak i am just cranky today
$ ls /boot/multiboot
vmlinuz-2.6.28-omap1 vmlinuz-2.6.28.NIT.04 vmlinuz-2.6.28.NIT.06
vmlinuz-2.6.28.10power46 vmlinuz-2.6.28.NIT.05
~ $

misiak 2011-05-09 10:26

Re: Multiboot and internal custom partitiioning
 
Quote:

Originally Posted by LTman (Post 1002648)
sorry misiak i am just cranky today
$ ls /boot/multiboot
vmlinuz-2.6.28-omap1 vmlinuz-2.6.28.NIT.04 vmlinuz-2.6.28.NIT.06
vmlinuz-2.6.28.10power46 vmlinuz-2.6.28.NIT.05
~ $

No problem. Thanks for output. Looks ok... did you follow instructions from http://talk.maemo.org/showpost.php?p...6&postcount=51 ? I see there is no ITEM_KERNEL definition in ubuntu.ext.item, co maybe I was wrong saying it is needed...

I didn't know that I could boot ubuntu this way before, and it looks nice :D Thanks for pointing that. I will try today or tommorow installing it on sd card maybe I will experience the same bug as you did and we will be able to further investigate more.

LTman 2011-05-09 10:27

Re: Multiboot and internal custom partitiioning
 
PS if add a kernel it boots maemo

LTman 2011-05-09 10:36

Re: Multiboot and internal custom partitiioning
 
no i am sure tha it is a intenal memory problem nd i wouldn't bother with it if could get my hands on a 4-8 gig memory card

misiak 2011-05-09 10:45

Re: Multiboot and internal custom partitiioning
 
Quote:

Originally Posted by LTman (Post 1002656)
PS if add a kernel it boots maemo

What if you try booting using kernel 2.6.28.NIT.06 ? (this is serious question)

And did you try to download and replace tsc2005.ko file a suggested here: http://talk.maemo.org/showthread.php....ko#post839751 ?


All times are GMT. The time now is 16:55.

vBulletin® Version 3.8.8