maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Android (https://talk.maemo.org/forumdisplay.php?f=54)
-   -   Multiboot 0.2.5 released (https://talk.maemo.org/showthread.php?t=58797)

SimonGie 2010-07-29 15:49

Re: Multiboot 0.2.5 released
 
Does multiboot keep a log file?

I have set up multiboot to boot Titan's Power Kernel, NITDroid kernel and Fedora 12. The power and NIT kernels work fine but the Fedora one doesnt.

At the boot select screen, if I select Fedora, it appears to flash the kernel and reboot, bit then it goes back to the kernel select screen instead of booting further. The text moves too quickly for me to see what is going on, so I was wondering if I could log the output to file.

Any way of doing this?

mornage 2010-07-29 17:43

Re: Multiboot 0.2.5 released
 
Quote:

Originally Posted by SimonGie (Post 769347)
Does multiboot keep a log file?

I have set up multiboot to boot Titan's Power Kernel, NITDroid kernel and Fedora 12. The power and NIT kernels work fine but the Fedora one doesnt.

At the boot select screen, if I select Fedora, it appears to flash the kernel and reboot, bit then it goes back to the kernel select screen instead of booting further. The text moves too quickly for me to see what is going on, so I was wondering if I could log the output to file.

Any way of doing this?

did you try my suggestion from the other thread?

Code:

ITEM_NAME="Fedora 12 on SD p4"
ITEM_KERNEL=2.6.28-fedora
ITEM_MODULES=ext3 mbcache jbd
ITEM_DEVICE=${EXT_CARD}p4
ITEM_FSTYPE=ext3
ITEM_FSOPTIONS=noatime,rw

the red text is the kernel you have in /boot/multiboot so I think this is what it should be trying to boot. (just realised I had typed it wrong previously)

if the kernel is 2.6.28-framebuffer1 then you need this kernel in /boot/multiboot

SimonGie 2010-07-29 22:31

Re: Multiboot 0.2.5 released
 
Quote:

Originally Posted by mornage (Post 769436)
did you try my suggestion from the other thread?

Code:

ITEM_NAME="Fedora 12 on SD p4"
ITEM_KERNEL=2.6.28-fedora
ITEM_MODULES=ext3 mbcache jbd
ITEM_DEVICE=${EXT_CARD}p4
ITEM_FSTYPE=ext3
ITEM_FSOPTIONS=noatime,rw

the red text is the kernel you have in /boot/multiboot so I think this is what it should be trying to boot. (just realised I had typed it wrong previously)

if the kernel is 2.6.28-framebuffer1 then you need this kernel in /boot/multiboot

Hi.

Yep I tried that. It now flashes the kernel, or at least it appears to, I cant see because it's too quick. Then it reboots to start the boot into fedora but heads back into the boot selection screen again.

Then it won't allow me to boot any of my other options and I have to enter the sheel, reboot and then boot either NIT, Maemo or Power Kernel........but Fedora....no go :(

sacal 2010-07-30 02:30

Re: Multiboot 0.2.5 released
 
I have multiboot installed and i can boot omap1, power37 and NITdroid without problems. My gratitude to the developers for that.

However i would like to auto load the module bq27x00_battery when i boot titans power37.

I think that:
Code:

echo bq27x00_battery >> /etc/modules
doesn't work with multiboot because whenever i boot power37 i have to execute:
Code:

modprobe bq27x00_battery
to get that module active.

There is a modules.boot.example file in /etc that is part of multiboot package.
I have tried to create a /etc/modules.boot file with:

Code:

#
# modules.boot
#
# List of modules the bootloader (multiboot) shall load.
#
bq27x00_battery

but then booting power37 fails.

Can anyone help with this issue?

Thanks

SimonGie 2010-08-01 11:33

Re: Multiboot 0.2.5 released
 
Ok, all working. I reflashed the software to start anew, then install my kernel with framebuffer support. Then installed the power kernel, then installed the NITDroid kernel. So now I have a tri-boot system that can boot Fedora 12 with XFCE desktop, Maemo, Maemo Power and NITDroid. Hats off to the makers of Multiboot, it is a kickass bit of software. Well done and thanks!

Coffee 2010-08-01 22:59

Re: Multiboot 0.2.5 released
 
Guys,
Could anyone assist?
Using Multiboot for my NITDroid install and works perfectly. I have since been following a thread:
http://talk.maemo.org/showthread.php?t=59374
Swapping the rootfs and need to use the dual boot to load the copied root. Could someone assist by advising how to get Multiboot to load this?

Stephen

mornage 2010-08-02 07:48

Re: Multiboot 0.2.5 released
 
Quote:

Originally Posted by Coffee (Post 772469)
Guys,
Could anyone assist?
Using Multiboot for my NITDroid install and works perfectly. I have since been following a thread:
http://talk.maemo.org/showthread.php?t=59374
Swapping the rootfs and need to use the dual boot to load the copied root. Could someone assist by advising how to get Multiboot to load this?

Stephen

I have had a quick read and if I am correct then this rootfs uses the same kernel but runs from an SD card? If so, the only chnages you should need to make to the item file is the location of the rootfs you are using. I.E ITEM_DEVICE=${EXT_CARD}p (which ever partition number you are using)

You may also want to include
ITEM_MODULES=ext3 (if it require additional modules, they need to be specified here)
ITEM_FSTYPE=ext3 (presuming this is the file system used)
ITEM_FSOPTIONS=noatime,rw (not sure what options the rootfs needs if any)

Coffee 2010-08-02 09:31

Re: Multiboot 0.2.5 released
 
mornage,
thanks for your reply mate. Whilst talk was about loading it off an sd card, I am pretty sure, no, I know it has just swapped the rootfs location to the /home folder on internal hard drive. These are the new folders:
/home/bin
/home/boot
/home/cdrom
/home/dev
/home/etc
/home/floppy
/home/initrd
/home/lib
/home/proc
/home/root
/home/sbin
/home/src
/home/sys
/home/syspart
/home/usr (usr - not user! /home/user is OK)
/home/var
/home/mnt
/home/tmp
/home/media
/home/home.
From what I understand, he has simply relocated the folder/ files and made a few tweaks to make all work as it should (what that entails?)
I don't understand how the Multiboot works, well any of it actually, lol.
I know enough that the Multiboot has files for the Nitdroid in both /etc/multiboot.d and /home/boot/multiboot/. I assume the .item file in the multiboot.d folder tells the multiboot what to load, where etc. I don't know what the vmlinuzp file does and wonder if I also need something else here to make it work?

mornage 2010-08-02 11:20

Re: Multiboot 0.2.5 released
 
Quote:

Originally Posted by Coffee (Post 772832)
mornage,
thanks for your reply mate. Whilst talk was about loading it off an sd card, I am pretty sure, no, I know it has just swapped the rootfs location to the /home folder on internal hard drive. These are the new folders:
/home/bin
/home/boot
/home/cdrom
/home/dev
/home/etc
/home/floppy
/home/initrd
/home/lib
/home/proc
/home/root
/home/sbin
/home/src
/home/sys
/home/syspart
/home/usr (usr - not user! /home/user is OK)
/home/var
/home/mnt
/home/tmp
/home/media
/home/home.
From what I understand, he has simply relocated the folder/ files and made a few tweaks to make all work as it should (what that entails?)
I don't understand how the Multiboot works, well any of it actually, lol.
I know enough that the Multiboot has files for the Nitdroid in both /etc/multiboot.d and /home/boot/multiboot/. I assume the .item file in the multiboot.d folder tells the multiboot what to load, where etc. I don't know what the vmlinuzp file does and wonder if I also need something else here to make it work?

The files in /etc/multiboot.d are the item files that are shown on the boot screen. Each item file refers to a kernel in boot/multiboot (the vmlinuzp file).

For the original kernel and power kernel, you only need to give it a name, tell it which kernel to use tell it that is is using ext3. If the only thing that has changed for is the FS then I think you should only have to specify where the new rootfs is.

I presume the default partition which the normal kernels use is 1 which would be {INT_CARD}p1. P3 is the swap so try creating an item file and changing the to ITEM_DEVICE=${INT_CARD}p1 and p2 to see if either of them boot the rootfs you need.

Coffee 2010-08-02 13:46

Re: Multiboot 0.2.5 released
 
Mornage,
Thanks mate, you've done it, was as said and p2.


All times are GMT. The time now is 08:08.

vBulletin® Version 3.8.8