Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: Ubuntu in a chroot

  1. #11
    Member
    Join Date
    May 2011
    Posts
    72
    Thanks
    0
    Thanked 9 Times in 8 Posts
    Right I posted some scripts with the fix...

  2. #12
    Resident
    Join Date
    Apr 2011
    Posts
    542
    Thanks
    31
    Thanked 92 Times in 43 Posts
    Fix for the ctrl key issue? Link please?

  3. #13
    Member
    Join Date
    May 2011
    Posts
    32
    Thanks
    16
    Thanked 10 Times in 2 Posts
    Hi rsidd,

    Can you post a bit more about you chroot setup? My current chroot setup uses system locations, which doesn't work seem to work in Eden 1.5.

    I tried editing fsrw, mountonly unionfs and bootubuntu where appropriate - referring to the sdcard instead of the system. . .

    A quick how to would be great.

  4. #14
    Resident
    Join Date
    Apr 2011
    Posts
    542
    Thanks
    31
    Thanked 92 Times in 43 Posts
    paronnax - at the moment the chroot is just an ubuntu karmic image (or natty image), extracted into my sdcard2 (which is ext4-formatted). I tried Eden 1.5 but reverted to Beast because Eden didn't recognise the sdcard2 (maybe it doesn't know ext4). It also works with an img file, mounted via loopback. I am not using fsrw, etc (I'm not touching /sdcard at all) -- I will upload the script I'm using tomorrow.

    UPDATE - Here's my script (a modified version of bootubuntu.sh). If you have a complete chroot environment somewhere on your system, you only need to modify the ROOT variable (first non-comment line) to point to its location. If you have an image file, mount it first:
    Code:
    mount -o loop,noatime -t ext2 /path/to/ubuntu.img /mountpoint
    If the mounting doesn't work, it may be because some apps are saved on your sdcard -- for some reason that apparently interferes with the loopback mounts on android. From settings->applications, move all apps to phone. But I find it preferable to have a directory directly on the sdcard, rather than an image -- but the sdcard should use a linux-friendly filesystem like ext4, not fat32!

    My chroot environment is rather bulky: I will upload it after trimming it down. But the above should work with the ubuntu.img linked from Nexus One Hacks, extracted into a directory. (Also add the 127.0.0.1 localhost entry to /etc/hosts -- it was in the original bootubuntu script but I removed it since doing it once is enough.)
    Last edited by rsidd; 06-02-2011 at 11:37 AM. Reason: Link to script

  5. The Following User Says Thank You to rsidd For This Useful Post:

    paronnax (06-02-2011)

  6. #15
    Member
    Join Date
    Jun 2011
    Posts
    16
    Thanks
    3
    Thanked 2 Times in 2 Posts
    I'm working on generic (and distro, any device) and well-running chroot environment called ChDistro. It can run image linked in the first image of this topic, but I also provide clean-room (completely reproducible) Ubuntu Jaunty image. There's also a topic on Tabletroms for ChDistro at http://tabletroms.com/forums/general...ce-chroot.html (General secton, as again, this stuff is not really device-specific).

  7. The Following User Says Thank You to androq For This Useful Post:

    Stef (09-18-2011)

  8. #16
    Resident
    Join Date
    Apr 2011
    Location
    India
    Posts
    875
    Thanks
    123
    Thanked 95 Times in 54 Posts
    I tried the LinuxInstall chroot package installer by Galoula today. The package is a front end for downloading and installing some Debian and Ubuntu flavours in a chroot environment. I thought I will install Debian Unstable. After taking a long time downloading and verifying, the package seemed to quit and I did not repeat the steps due to data download limitations. I read the log and it seemed that the LinuxInstaller.sh script had gone missing - the download probably got interrupted at some point.

    Later, going through the very limited How-To on the Galoula website, I realised to my chagrin that a Linux GUI won't run anyway. Re-reading this thread, I remembered that it might have been possible to get the GUI through VNC, but the how-to only talked about a remote server (and I don't know much about VNC myself).

    So anyway, I have removed the package, its loop file and the chroot directory. However, if there is a reliable way of accomplishing a Linux installation, I am quite interested in trying it now.

Page 2 of 2 FirstFirst 12

Remove Ads

Similar Threads

  1. Gentoo in a chroot (step-by-step instructions)
    By rsidd in forum Adam ROM Development
    Replies: 71
    Last Post: 04-24-2012, 04:54 PM
  2. Porting of Ubuntu Linux on Adam
    By TechGeek in forum Adam ROM Development
    Replies: 84
    Last Post: 11-09-2011, 12:22 PM
  3. Replies: 14
    Last Post: 10-23-2011, 05:30 PM
  4. can i install 'ubuntu' on my vega?
    By bbinnggooo in forum Vega General Discussion
    Replies: 4
    Last Post: 09-14-2011, 05:42 AM
  5. Ubuntu on a Galaxy Tab 10.1
    By RikR in forum Galaxy Tab 10.1/10.1v General Discussion
    Replies: 3
    Last Post: 07-21-2011, 12:25 PM

Search tags for this page

bootubuntu.sh

,

bootubuntu.sh download

,
chroot img file
,
chroot into ubuntu
,
chroot ubuntu android
,
chroot ubuntu keyboard error
,
fsrw mountonly unionsf
,
gentoo chroot ubuntu
,
ubuntu chroot in gentoo
,
ubuntu chroot larger themes
Click on a term to search for related topics.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •