SPMEREDITH / urukdroid

Automatically exported from code.google.com/p/urukdroid
0 stars 0 forks source link

multiboot not working #73

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I have a archos 101 IT and im trying from 2 days to multiboot bodhi linux, I 
managed to fiz all problems, excepting 1, where it should send 0 it says 563, 
and at the end it says cant umount mnt/card permisions denied, any fix, using 
uruk droid 1.5 with the 1.5.1 kernel update.

Atached my debug.txt file, the run script is as the original one on the wiki.

Original issue reported on code.google.com by adi.bonc...@gmail.com on 1 Sep 2011 at 7:28

Attachments:

GoogleCodeExporter commented 8 years ago
forgot to say i have it on my internal memory

Original comment by adi.bonc...@gmail.com on 1 Sep 2011 at 7:34

GoogleCodeExporter commented 8 years ago
Hi

I have succesfully boot bodhilinux from UrukDroid 1.5.1 on my Archos 70 IT but 
unfurtunetly touch screen is not working on it and I can't do anythint. I was 
able to run bodhilinux before installing UrukDroid using this manual: 
http://www.openaos.org/archives/739 and touchscreen was working fine. Probably 
it's because of different kernel an initramfs in UrukDroid and BuBu dualboot 
project. You can find my bodhilinux boot config for UrukDroid in attachenment, 
there is some more debug code added.

Br,
Akus

Original comment by pawel.ak...@gmail.com on 24 Oct 2011 at 4:00

GoogleCodeExporter commented 8 years ago
Forget to say, my bodhilinux system image is also on internal memory ;)

Original comment by pawel.ak...@gmail.com on 24 Oct 2011 at 4:02

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I can't see my attachenment so just copy paste my bodhilinux boot script. Check 
your partition which system image device name and change debian_dev variable if 
needed. In UrukDroid these device is placed in /dev/block/mmcblk* so you can 
easy find it by mounting one by one and check.

#!/bin/sh 
# 
# Script to boot alternative OS: Debian 
# 
# OS_Name: Debian
# OS_Desc: Bodhi Linux armel
# 
# Ver: 1.0 (22.10.2011) Pawel (Akus) Akonom
# 
set -xv 

# Device where debian image reside (storagefs on sdcard in example) 
dev_loop="/dev/loop0"
debian_dev="/dev/mmcblk1p1" 
debian_dev_mountp="/mnt/card" 

# Debian image file 
debian_img="bodhi_linux_a1.img"
debian_mountp="/AlternativeOS/" 

#if [ -d $debian_dev_mountp ] ; then
#   mkdir $debian_dev_mountp
#   sync
#fi

ls $debian_dev ; echo $?
ls $debian_dev_mountp ; echo $?
# Mounting device where image file reside 
$MOUNT $debian_dev $debian_dev_mountp || log_msg "Failed to mount device with 
debian file"

sync 

# Creating loop device 
ls $dev_loop ; echo $?
$LOSETUP $dev_loop $debian_dev_mountp"/"$debian_img || log_msg "Mounting 
AlternativeOS partition failed" 

sync 

# Mounting debian rootfs disk 
echo "mounting $dev_loop"
$MOUNT $dev_loop $debian_mountp 
echo $?

# It mount went ok

if [ $! -eq 574 ]; then 
# Switching to debian 
    exec /sbin/switch_root $debian_mountp /sbin/init 
fi 
# IF it fails -we can do some clean ups 

$UMOUNT $debian_mountp 
$UMOUNT $debian_dev_mountp

Original comment by pawel.ak...@gmail.com on 24 Oct 2011 at 4:17

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
so tell me where did u put ur rootfs.img file, what folder, so il put it where 
it must be?

Original comment by adi.bonc...@gmail.com on 25 Oct 2011 at 9:57

GoogleCodeExporter commented 8 years ago
I put it to internal storage: /mnt/storage

Original comment by pawel.ak...@gmail.com on 26 Oct 2011 at 10:40