maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Newbie (https://talk.maemo.org/forumdisplay.php?f=26)
-   -   Diablo dual boot? (https://talk.maemo.org/showthread.php?t=21245)

CyberCowboy 2008-06-24 19:59

Diablo dual boot?
 
as a fairly new N800 user (got it at the start of may) but semi-competent Linux user are the instructions for putting Diablo onto a memory card basically the same as previous OS2008 incarnations (flash firmware, then copy it onto the card) or are there special instructions/proceedures that I'll need to follow?

jjstewart 2008-06-24 20:07

Re: Diablo dual boot?
 
Got to wait for the tools. Even if you copy flash to SD...you still have the problem that Fanoush is lazy and hasn't finished a new bootmenu. I don't see why when he's had at least 8 or so hours to do it. I'm getting tired of waiting...aren't you? ;)

Benson 2008-06-24 20:17

Re: Diablo dual boot?
 
Does anyone know that the old bootmenu doesn't work?

If you're getting tired of waiting... you could always try it.

jjstewart 2008-06-24 20:36

Re: Diablo dual boot?
 
Quote:

Originally Posted by Benson (Post 195191)
Does anyone know that the old bootmenu doesn't work?

If you're getting tired of waiting... you could always try it.

Old boot menu definitely won't work. This is an entirely new version 2008-24 initfs (and entirely bigger). I'm pretty sure Fanoush has a safeguard in his initfs_flasher script that should prevent you from installing it.

CyberCowboy 2008-06-24 21:01

Re: Diablo dual boot?
 
hehe fair enough. I wasn't complaining, just asking... will keep running the older version until we get a boot menu :) Thanks for the quick replies everyone.

Benson 2008-06-24 21:19

Re: Diablo dual boot?
 
You know initfs_flasher starts from the existing initfs, not from it's own image? It then adds and removes stuff from there. I'm trying to recover my SD boot now, so I'm not flashing Diablo yet, or I'd try. But I'm pretty sure it should work with at most minimal modifications. And you can always remount the initfs read-write, and just modify it yourself... It's not that hard, once there's enough free space to be writable.

codeMonkey 2008-06-24 23:06

Re: Diablo dual boot?
 
jjstewart is right - it prevents you from automatically updating the initfs.

Quote:

Originally Posted by Benson (Post 195237)
You know initfs_flasher starts from the existing initfs, not from it's own image? It then adds and removes stuff from there. I'm trying to recover my SD boot now, so I'm not flashing Diablo yet, or I'd try. But I'm pretty sure it should work with at most minimal modifications. And you can always remount the initfs read-write, and just modify it yourself... It's not that hard, once there's enough free space to be writable.

Why did you have to go and say that? I'll be up for hours playing with it now!

nhanquy 2008-06-24 23:12

Re: Diablo dual boot?
 
Quote:

Originally Posted by jjstewart (Post 195207)
I'm pretty sure Fanoush has a safeguard in his initfs_flasher script that should prevent you from installing it.

He surely did !

Benson 2008-06-24 23:21

Re: Diablo dual boot?
 
Well, Fanoush released it now, so don't bother... :)

iceman600 2008-06-25 00:40

Re: Diablo dual boot?
 
hey i just updated my NIT to diablo.... can i still use the .deb file from PD's bootmenu? if not can pls any one direct me to it.... thanks

CyberCowboy 2008-06-25 00:47

Re: Diablo dual boot?
 
Quote:

Originally Posted by Benson (Post 195309)
Well, Fanoush released it now, so don't bother... :)

Erm any hints as to where he has posted it?

Benson 2008-06-25 00:50

Re: Diablo dual boot?
 
http://fanoush.wz.cz/maemo/

nemo 2008-06-25 00:58

Re: Diablo dual boot?
 
Anyone willing to dumb it down and come down to my level...perhaps help me figure out how to boot Diablo from my card?

Please? I'll write up a pretty tutorial for the wiki so you can all avoid this question in the future!

(yes, I've read all the threads about it...but with Fanoush's update for diablo, I'm not having any luck)

CyberCowboy 2008-06-25 01:02

Re: Diablo dual boot?
 
Nemo,

Doing some more research Fanoush says it's not completely done yet... so I'd recommend waiting a few days for everything to break out... otherwise my understanding is that you could use any of the guides to copy other versions to a card, just substitute the new version of the software for the older one.

and thanks Benson

JoeF 2008-06-25 01:59

Re: Diablo dual boot?
 
I am currently using dual boot and followed all the instructions word for word and have no problems. Except. I have no idea what most of the words mean. For instance; what the heck is "initfs". I have searched and searched and come up blank.
If I can understand some of the jargon I will be able to better understand how to get to dual booting Diablo. Thnks.

bunanson 2008-06-25 03:38

Re: Diablo dual boot?
 
Quote:

Originally Posted by nemo (Post 195335)
Anyone willing to dumb it down and come down to my level...perhaps help me figure out how to boot Diablo from my card?

Please? I'll write up a pretty tutorial for the wiki so you can all avoid this question in the future!

(yes, I've read all the threads about it...but with Fanoush's update for diablo, I'm not having any luck)

Start with installing a bootmenu first.

This may help, http://www.internettablettalk.com/fo...mplified+clone, #347
__________________________________________________ ______
Bootmenu installation, http://examplified.net/guide/Nokia_7...ting_from_MMC/ , perform steps 6,7,8,9 and then 13:
__________________________________________________
When the tablet restarts, connect to the internet and download, http://www.internettablettalk.com/fo...&page=20, #199, to the documents folder.

Type

sudo gainroot
cd /home/user/MyDocs/.documents/
tar zxvf initfs_flasher.tgz
cd initfs_flasher
mv bootmenu.conf.n800.example bootmenu.conf #or choose your own one

Close all applications, and disconnect from internet. Then type:

./initfs_flash

This will ask you several questions, here is what I recommend (type what's in bold):

backup? no
remove extra stuff? yes
found, do you want to add it to initfs? yes
ready for flashing this image? yes
Press enter to reboot device

Press enter. Boot from internal flash as we haven't cloned the system yet on to the MMC.

Reboot
sudo gainroot
chroot /mnt/initfs cal-tool --set-root-device ask:mmc2 #pick your own choice
__________________________________________________ _____

Edit: Link is now fixed. Sorry about that.



bun

Benson 2008-06-25 03:42

Re: Diablo dual boot?
 
Don't need to remove extra stuff now. It's got double the size with Diablo...

JoeF 2008-06-25 04:17

Re: Diablo dual boot?
 
http://examplified.net/guide/Nokia_7...ting_from_MMC/,

this link returns "Not Found"

iceman600 2008-06-25 05:51

Re: Diablo dual boot?
 
Quote:

When the tablet restarts, connect to the internet and download, http://www.internettablettalk.com/fo...&page=20, #199, to the documents folder.

Type

sudo gainroot
cd /home/user/MyDocs/.documents/
tar zxvf initfs_flasher.tgz
cd initfs_flasher
mv bootmenu.conf.n800.example bootmenu.conf #or choose your own one

Close all applications, and disconnect from internet. Then type:

./initfs_flash

This will ask you several questions, here is what I recommend (type what's in bold):

backup? no
remove extra stuff? yes
found, do you want to add it to initfs? yes
ready for flashing this image? yes
Press enter to reboot device


mv bootmenu.conf.n800.example bootmenu.conf #or choose your own one

i got error on this code.... mv connot rename bootmenu.conf.n800.example: no such file on directory


HELP!!!!

svs57 2008-06-25 06:01

Re: Diablo dual boot?
 
There is no diablo initfs here http://fanoush.wz.cz/maemo/
IMHO the best way is change linuxrc on diablo initfs and put bootmenu.sh + bootmenu.conf on it.

codeMonkey 2008-06-25 06:06

Re: Diablo dual boot?
 
Iceman: The file is bootmenu.conf.n8x0.example

Quote:

Originally Posted by svs57 (Post 195436)
There is no diablo initfs here http://fanoush.wz.cz/maemo/

Its the same initfs_flasher.tgz - It's been updated for diablo.

iceman600 2008-06-25 06:51

Re: Diablo dual boot?
 
got it.... im so stupid.... thanks codemonkey

svs57 2008-06-25 07:30

Re: Diablo dual boot?
 
Quote:

Originally Posted by codeMonkey (Post 195437)
Iceman: The file is bootmenu.conf.n8x0.example



Its the same initfs_flasher.tgz - It's been updated for diablo.

Are you sure?
I see here last initfs:
initfs.osso-RX-44.2007-49.tgz

fanoush 2008-06-25 07:54

Re: Diablo dual boot?
 
Quote:

Originally Posted by CyberCowboy (Post 195336)
Doing some more research Fanoush says it's not completely done yet...

Well, it is never completely done :-) What I meant in this post is that there is unfinished new functionality. If you just want Diablo support then go ahead. If you wait for emergency root shell in text mode with usb (or N810) keyboard then there is still little or no joy for you in this update.

fanoush 2008-06-25 08:09

Re: Diablo dual boot?
 
Quote:

Originally Posted by jjstewart (Post 195184)
Fanoush is lazy and hasn't finished a new bootmenu. I don't see why when he's had at least 8 or so hours to do it. I'm getting tired of waiting...aren't you? ;)

I've got, y'know, real life ;)

BTW, flashing diablo enlarges initfs (and shrinks rootfs) partition by 2MB
so it is fully writable now. This means one can edit /mnt/initfs/bootmenu.conf in place and also bootmenu installations can be done without full initfs partition reflash in future. Also tons of kernel modules and other stuff (0xffff flasher, mtd-utils, e2fsprogs,..) will fit there.

svs57 2008-06-25 08:16

Re: Diablo dual boot?
 
I get error when i try to clone diablo:
"!!! unknown initfs version 2008-24, cannot install bootmenu"

fanoush 2008-06-25 08:24

Re: Diablo dual boot?
 
Quote:

Originally Posted by svs57 (Post 195475)
I get error when i try to clone diablo:
"!!! unknown initfs version 2008-24, cannot install bootmenu"

just redownload initfs_flasher.tgz, it was updated ~8 hours ago, new file size is 373606 bytes

nemo 2008-06-25 08:28

Re: Diablo dual boot?
 
I managed to get it to work by following these instructions: http://www.internettablettalk.com/fo...ad.php?t=18751

and just updating the initfs_flasher provided with fanoush's new one.


I hhope that helps.

svs57 2008-06-25 09:01

Re: Diablo dual boot?
 
Quote:

Originally Posted by fanoush (Post 195476)
just redownload initfs_flasher.tgz, it was updated ~8 hours ago, new file size is 373606 bytes

May be problem in our corporate proxy.
I got size 350227 using wget ...
I'll check later from home.
Temporary I did
flasher-3.0-static --set-root-device mmc

codeMonkey 2008-06-25 09:30

Re: Diablo dual boot?
 
It took me a re-download of the initfs flasher too, but I'm now running it on the n800 with no problems.

qole 2008-06-25 11:18

Re: Diablo dual boot?
 
Thanks fanoush, I'm now quad-booting my N800, with Diablo in flash, two versions of OS2008 (one with KDE) and bootable Debian.

Just a note, the instructions in your README.txt have the name of the script backwards.

CyberCowboy 2008-06-25 12:45

Re: Diablo dual boot?
 
Quote:

Originally Posted by fanoush (Post 195463)
Well, it is never completely done :-) What I meant in this post is that there is unfinished new functionality. If you just want Diablo support then go ahead. If you wait for emergency root shell in text mode with usb (or N810) keyboard then there is still little or no joy for you in this update.

Ah fair enough Fanoush, Like I said fairly new to the N800 scene so misunderstood what was being said.

JoeF 2008-06-25 14:31

Re: Diablo dual boot?
 
Earlier in this thread I asked about "initfs". Well I finally found a definition here:

http://maemo.org/maemo_release_docum...1.x/node3.html

initfs
Initial file system used as the root file system during Linux kernel boot e.g. for hardware initialization (contains kernel modules and utilities for initializing them). Mounted after boot to /mnt/initfs.

There are some other good definitions there for folks like me who are not acquainted with the jargon used in these forums. This might be a nice addition to the Wiki.

Peet 2008-06-26 11:47

Re: Diablo dual boot?
 
Thanks JoeF,

That glossary isn't really huge but I finally found out what the ubiquitous OSSO actually means:

"Open Source Software Operations, Nokia organization developing and integrating software for Internet Tablets."

:rolleyes:

dont 2008-06-26 12:34

Re: Diablo dual boot?
 
Quote:

Originally Posted by JoeF (Post 195619)
There are some other good definitions there for folks like me who are not acquainted with the jargon used in these forums. This might be a nice addition to the Wiki.

Maybe it already exists somewhere (?) but I would really appreciate a description of what happens when a tablet boots and the role that things such as initfs play. Also, what is going on when, for example, KDE is booted.

TIA.

fanoush 2008-06-26 15:35

Re: Diablo dual boot?
 
http://maemo.org/maemo_release_docum...on/maemo4.1.x/
5. Architecture
5.2.1 Operating System Layer and Bootup

dont 2008-06-26 16:04

Re: Diablo dual boot?
 
Quote:

Originally Posted by fanoush (Post 196173)
http://maemo.org/maemo_release_docum...on/maemo4.1.x/
5. Architecture
5.2.1 Operating System Layer and Bootup

That was really helpful, thank you.

I'd like to ask a couple of follow-up questions:

Could you tell me (roughly) what gets replaced in this diagram:
http://maemo.org/maemo_release_docum...00000000000000
when you run KDE on the tablet? (Maybe saying what gets retained would be more useful).

How does Diablo manage to update the kernel without re-flashing?

Thanks again.

CyberCowboy 2008-06-26 16:26

Re: Diablo dual boot?
 
As far as your last question, I presume it's going to be the same way that most linux distros do, it downloads the new one, but doesn't actually replace the kernel until the next full reboot (Hopefully it will indicate it needs a reboot as the only time I turn off my system is to flash, or I don't make it to a charging station fast enough)

sachin007 2008-06-27 19:22

Re: Diablo dual boot?
 
Quote:

Originally Posted by bunanson (Post 195383)
Start with installing a bootmenu first.

This may help, http://www.internettablettalk.com/fo...mplified+clone, #347
__________________________________________________ ______
Bootmenu installation, http://examplified.net/guide/Nokia_7...ting_from_MMC/ , perform steps 6,7,8,9 and then 13:
__________________________________________________
When the tablet restarts, connect to the internet and download, http://www.internettablettalk.com/fo...&page=20, #199, to the documents folder.

Type

sudo gainroot
cd /home/user/MyDocs/.documents/
tar zxvf initfs_flasher.tgz
cd initfs_flasher
mv bootmenu.conf.n800.example bootmenu.conf #or choose your own one

Close all applications, and disconnect from internet. Then type:

./initfs_flash

This will ask you several questions, here is what I recommend (type what's in bold):

backup? no
remove extra stuff? yes
found, do you want to add it to initfs? yes
ready for flashing this image? yes
Press enter to reboot device

Press enter. Boot from internal flash as we haven't cloned the system yet on to the MMC.

Reboot
sudo gainroot
chroot /mnt/initfs cal-tool --set-root-device ask:mmc2 #pick your own choice
__________________________________________________ _____

Edit: Link is now fixed. Sorry about that.



bun

Okay guys i desperately need help her.
Well i recently installed diablo in the flash. i already had chinook booting of my card.
Obviously after flashing diablo... i lost the bootmenu and could not boot the chinook from the card.
So i tried installing bootmenu with fanoush's new flasher for diablo and followed the steps in the above mentioned thread.
Everything went well, but when i tried selected to boot from mmc ... it says bootinm from mmc failed and booted diablo from flash.
So is there anyway i could dual boot with chinook on the sd card and diablo on the flash??

Thanks

nhanquy 2008-06-27 19:55

Re: Diablo dual boot?
 
Quote:

Originally Posted by iceman600 (Post 195432)
mv bootmenu.conf.n800.example bootmenu.conf #or choose your own one

i got error on this code.... mv connot rename bootmenu.conf.n800.example: no such file on directory


HELP!!!!

Have you done

#cd initfs_flasher/

?


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

vBulletin® Version 3.8.8