Reply
Thread Tools
macey's Avatar
Posts: 283 | Thanked: 276 times | Joined on Aug 2011 @ uk or @Pai,Mae Hong Son, Thailand
#341
Originally Posted by unknown.obvious View Post
@ gregoranderson
@ macey

Ok, thanks. Let's stop here. The thread is about ubuntu on n900. Your favorite DE on Desktop seems a bit OT.
Agreed! Sorry, following this thread as interested in putting Ubuntu on MY N900.
Seems to be beyond my confidence levels, haven't plucked up the courage to put U-Boot on yet.

Last edited by macey; 2012-07-06 at 17:12. Reason: typo fix
 

The Following User Says Thank You to macey For This Useful Post:
Posts: 191 | Thanked: 415 times | Joined on Jan 2012
#342
@freemangordon: I can only mount the root partition on my uSD with your 2.6.37+ kernel. Would you please comment on the patches you have applied over nemo's kernel that lead to 2.6.37+?
 

The Following User Says Thank You to caveman For This Useful Post:
Posts: 58 | Thanked: 197 times | Joined on Apr 2012
#343
Interessting set of scripts. https://github.com/trapd00r/n900 (but seem to be for maemo)





EDIT & PROPOSAL:


Found this:
https://github.com/robertcnelson/netinstall

I must say, that looks good. I propose we use this and add the n900 to this script. This would make it simply more comfortable to install Ubuntu. This would also add Debian as a choice. I'd do it myself but scripting is not exactly my strong point.

Last edited by unknown.obvious; 2012-07-07 at 03:00. Reason: Netinstall script
 

The Following 5 Users Say Thank You to unknown.obvious For This Useful Post:
qwazix's Avatar
Moderator | Posts: 2,622 | Thanked: 5,447 times | Joined on Jan 2010
#344
sorry to continue the window manager discussion but I believe this is a bit more relevant. Until 11.04 and maybe 11.10 hildon-desktop (the diablo one) was part of the official ubuntu repos. There is also a launchpad repository with cordia for ubuntu.
__________________
Proud coding competition 2012 winner: ρcam
My other apps: speedcrunch N9 N900 Jolla –– contactlaunch –– timenow

Nemo UX blog: Grog
My website: qwazix.com
My job: oob
 
Posts: 191 | Thanked: 415 times | Joined on Jan 2012
#345
this is a somewhat unrelated but nice to see what else is going on (notice the chroot): http://jeffhoogland.blogspot.com.br/...ry-online.html
 

The Following User Says Thank You to caveman For This Useful Post:
Posts: 58 | Thanked: 197 times | Joined on Apr 2012
#346
cloned some repos for backup. http://code.google.com/p/n900/source/browse/
 

The Following 6 Users Say Thank You to unknown.obvious For This Useful Post:
Posts: 24 | Thanked: 28 times | Joined on Jan 2010
#347
There's a small typo in the install.sh script which turns two arguments into one:

=== modified file 'install.sh'
*** install.sh 2012-06-28 02:57:10 +0000
--- install.sh 2012-07-15 20:39:48 +0000
***************
*** 306,312 ****
[[ -f "$image_name_raw" ]] || ( [[ -f $image_name ]] && zcat $image_name > "$image_name_raw" ) || (wget "$url" && zcat "$image_name" > "$image_name_raw" ) || exit 1
mkdir -p "$mountpoint_ubuntu"
skip="$(parted -m $image_name_raw unit B print | grep '^2' | cut -d: -f2 | sed 's/B//')"
! mount -o "loop,offset=${skip}" -t auto "$image_name_raw $mountpoint_ubuntu" || exit 1
rm "${mountpoint_ubuntu}SWAP.swap"
cp -av "$mountpoint_ubuntu"* "$mountpoint_target"
umount "$mountpoint_ubuntu"
--- 306,312 ----
[[ -f "$image_name_raw" ]] || ( [[ -f $image_name ]] && zcat $image_name > "$image_name_raw" ) || (wget "$url" && zcat "$image_name" > "$image_name_raw" ) || exit 1
mkdir -p "$mountpoint_ubuntu"
skip="$(parted -m $image_name_raw unit B print | grep '^2' | cut -d: -f2 | sed 's/B//')"
! mount -o "loop,offset=${skip}" -t auto $image_name_raw $mountpoint_ubuntu || exit 1
rm "${mountpoint_ubuntu}SWAP.swap"
cp -av "$mountpoint_ubuntu"* "$mountpoint_target"
umount "$mountpoint_ubuntu"
 

The Following 3 Users Say Thank You to iamsrp For This Useful Post:
Posts: 24 | Thanked: 28 times | Joined on Jan 2010
#348
Has anyone tried the install script of late?

I'm currently going with the basic debian installation and the nemo kernel but, alas, it doesn't seem to work since there is no initrd.img in the kernel-adaptation-n900-2.6.37 rpm. Does anyone have a work-around? (I saw earlier in the thread that you don't actually need the ramdisk to boot but it wasn't clear from the post what changes to make in order to do that.)
 

The Following 2 Users Say Thank You to iamsrp For This Useful Post:
Posts: 191 | Thanked: 415 times | Joined on Jan 2012
#349
Originally Posted by iamsrp View Post
Has anyone tried the install script of late?
Last time was last week. I could not understand what you are trying to achieve.
 

The Following User Says Thank You to caveman For This Useful Post:
Posts: 24 | Thanked: 28 times | Joined on Jan 2010
#350
I guess I am mainly trying to figure out which options work for people. I tried choosing:

# grep . options/selected_* | cut -c-80
options/selected_firmware_source:meego
options/selected_image_source:ubuntu-core
options/selected_kernel:nemo
options/selected_target:/dev/sdc
options/selected_target_type:disk


but that just yields a boot directory looking like:

total 5084
-rw-r--r-- 1 root root 300 Jul 18 20:49 boot.script
-rw-r--r-- 1 root root 62453 Jun 26 14:33 config-2.6.37-10.7.Nemo.Adaptation.N900-adaptation-n900
-rw-r--r-- 1 root root 1170840 Jun 26 14:33 System.map-2.6.37-10.7.Nemo.Adaptation.N900-adaptation-n900
-rw-r--r-- 1 root root 1972136 Jun 26 14:33 uImage
-rwxr-xr-x 1 root root 1972072 Jun 26 14:33 vmlinuz-2.6.37-10.7.Nemo.Adaptation.N900-adaptation-n900

i.e. no ramdisk.

If folks have options which seem to work out-of-the box then that would be great. Else I'll work through the permutations

[EDIT]

I ended up creating a ramdisk with:

update-initramfs -c -k 2.6.37-10.7.Nemo.Adaptation.N900-adaptation-n900
ln -s initrd.img-2.6.37-10.7.Nemo.Adaptation.N900-adaptation-n900 initrd.img
mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n initramfs -d /initrd.img /uInitrd

Last edited by iamsrp; 2012-07-20 at 05:17. Reason: Got a ramdisk now
 

The Following 4 Users Say Thank You to iamsrp For This Useful Post:
Reply


 
Forum Jump


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