OESF Portables Forum

Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => Qt/Qtopia => Topic started by: Snooby on April 08, 2004, 07:20:46 pm

Title: cramfs dev-img install failure
Post by: Snooby on April 08, 2004, 07:20:46 pm
I tried isntalling the gcc devimg 1.5 cramfs onto my SL-5500/tkc 2.0 Alpha 3/SD on home/img on FAT CF card, setup but when i run the setup script it fails saying the image could not be mounted.

Am i doing something wrong and if so, what?

TIA
Title: cramfs dev-img install failure
Post by: ArchiMark on April 08, 2004, 07:42:55 pm
Hi Snooby,

Check out this thread on this subject...

http://www.zaurususergroup.com/index.php?n...iewtopic&t=2285 (https://www.oesf.org/forums/index.php?showtopic=2285)

probably should have been in this part of the forum....but so it goes....

 8)

Read the entire thread....

HTH,

Mark
Title: cramfs dev-img install failure
Post by: Snooby on April 08, 2004, 11:35:17 pm
Archimark, thanks for the advise but it didnt seem to help so here\'s what i did:

I manually typed in the relevant commands from the included image_setup.sh script with one change:

======================================================

DEVELOP=/home/zaurus/develop

echo \"/mnt/cf/dev/dev_img-1.5 /mnt/dev cramfs loop,noauto 0 0\" ]] /etc/fstab

# next line was originally: mkdir $DEVELOP 2] /dev/null
mkdir $DEVELOP  

ln -sf $DEVELOP /mnt/dev

mount /mnt/dev

echo \"export PATH=$PATH:/mnt/dev/bin\" ]] /home/zaurus/.profile
echo \"export PATH=$PATH:/mnt/dev/bin\" ]] /home/root/.profile

$DEVELOP/bin/compiler_setup.sh

======================================================


This works fine so i suspect there is something wrong with the install script (on my setup at least)
Title: cramfs dev-img install failure
Post by: maslovsky on April 09, 2004, 01:57:59 am
It\'s strange why mkdir $DEVELOP 2] /dev/null  command did not work. It\'s basicaly the same as mkdir $DEVELOP but simply redirects all error output into nowhere...
Title: cramfs dev-img install failure
Post by: Snooby on April 09, 2004, 06:43:13 am
I forgot to mention, also, that i had to edit /etc/fstab and /home/zaurus/.profile because the \"echo\" commands added onto the end of the last line of these files because there was no \"new line\" character present i.e.

export <previous line>export<echo\'d line>

instead of

export <previous line>
export<echo\'d line>
Title: cramfs dev-img install failure
Post by: maslovsky on April 09, 2004, 08:18:45 am
Quote
I forgot to mention, also, that i had to edit /etc/fstab and /home/zaurus/.profile because the \"echo\" commands added onto the end of the last line of these files because there was no \"new line\" character present i.e.

export <previous line>export<echo\'d line>

instead of 

export <previous line>
export<echo\'d line>

Opps