Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7040563
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:56:00+00:00 2026-05-28T01:56:00+00:00

I have placed an ubuntu.img file in a folder on my SD card as

  • 0

I have placed an ubuntu.img file in a folder on my SD card as well as the following scripts obtained from – http://blog.coralic.nl/2010/08/17/ubuntu-on-samsung-galaxy-s-android/

/mnt/sdcard/ubuntu/start

#!/bin/bash
#Created by Armin Coralic http://blog.coralic.nl
if [ "$1" == "" ] ; 
then
    echo "You need to specify the img file!"
    exit 9;
fi

if `test -d /data/local/mnt` ; then
   echo "/data/local/mnt"
else
   mkdir /data/local/mnt
fi

export HOME=/root
export USER=root
export PATH=$bin:/usr/bin:/usr/sbin:/bin:$PATH

mount -o loop,noatime -t ext2 $1 /data/local/mnt
sleep 3
mount -t proc proc /data/local/mnt/proc
mount -t devpts devpts /data/local/mnt/dev/pts
chroot /data/local/mnt /bin/bash

/mnt/sdcard/ubuntu/stop

#!/bin/bash
#Created by Armin Coralic http://blog.coralic.nl

umount /data/local/mnt/dev/pts
umount /data/local/mnt/proc 
umount /data/local/mnt

After running the start script, I get an ubuntu chrooted shell, but I do not have access to my external storage SD card from within the chroot.

I would like to know the answer for the following two questions:

  • 1) what is the /dev/block/ device file name for the external SD card
    which I should mount on a Samsung
    Galaxy S I9000?

  • 2) what is the exact syntax that I should use before/after entering
    chroot to get read/write/execute
    access to the external SD storage?

It would be helpful if the start/stop scripts could be modified with the required changes.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T01:56:00+00:00Added an answer on May 28, 2026 at 1:56 am

    You can check the block devices by running ls in /dev/block/
    But actually, there are multiple ways to address the devices, for instance through vold, or sys etc.

    you might check a file cald vold.fstab, it should give you an idea of which device is your external SD car

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a file located in my CakePHP root folder placed under a folder
I'm trying to compile the oauth-utils http://mir.dnsalias.com/oss/oauth/start for Windows from Ubuntu. I have compiled
I am using Ubuntu 10.10 (Maverick Meerkat). I have downloaded python-mode.el from Launchpad and placed
I am working on a WordPress site and I have placed the following code
I have images placed in following path res>drawable>Images>Currencies>[All images] I have made a custom
I have observed the following behavior under Ubuntu 12.04: On a system with 24GB
hi every one i have installed qt-creator from built in ubuntu software center now
I have installed libsvm-3.12 and placed into: /home/ubuntu/libsvm-3.12 In my pythonpath I have the
I'd like to place a special file in the /usr/bin folder of Ubuntu. Basically
I have placed an Image as a button in my App and I want

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.