• Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such softwareNintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.

Debian Lenny now running on Hero!

65 posts in this topic

Posted · Report post

Has anyone got Debian running on the Hero?

Having all sorts of issues with the modprobe, mount etc.

P

0

Share this post


Link to post
Share on other sites

Posted · Report post

OK so the normal mount command won't mount debian.img, but 'busybox mount' will.

Woohoo, success!

My doing 'rm /system/bin/mount' this makes 'bootdeb' use the busybox mount instead, and hey presto! :D

P

herodeb.png

0

Share this post


Link to post
Share on other sites

Posted · Report post

Sadly I don't have a clue what Debian is :D

0

Share this post


Link to post
Share on other sites

Posted · Report post

Here is my installer.sh btw... I copied the debian.img to /sdcard/debian/debian.img but everything else to a new directory called /data/debian. This allows chmod 4755 on the installer.sh file.

I used the 2.1 zip from here.

P

su <./fsrw

modprobe ext2

clear

rm -f /data/local/bin/fsrw
rm -f /data/local/bin/bootdeb
rm -f /data/local/bin/unionfs
rm -f /data/local/bin/installer.sh
rm -f /data/local/bin/mountonly

mkdir /data/local/mnt

clear

cp -f fsrw /system/bin
cp -f bootdeb /system/bin
cp -f unionfs /system/bin
cp -f installer.sh /system/bin
cp -f mountonly /system/bin

cd /sdcard/debian

chmod 777 *

cd /system/bin/

chmod 4777 *

cd /

clear

echo " "
echo "VERSION 2.1"
echo "Custom Debian Bootloader is now installed! Quick huh?"
echo "This process does NO damage to your Android underlying OS!"
echo " "
echo "Courtesy of http://www.androidfanatic.com"
echo "Installer by Mark Walker (ghostwalker)"

echo " "

echo "To enter the Debian Linux console just type 'bootdeb'"
echo "PS: Be sure to run /scripts/onetime.sh as root from the shell after your FIRST 'boot'."[/code]

:D

P

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Hey Paul,

Ive run your installer.sh script on my hero but im still getting mount (file or directory not found) errors when I run dootdeb. I'd really appreciate it if you could post a quick rundown of how to install debian on the Hero. I know there is a guide for installing onto the G1, but is the process the same? :)

Thanks in advance!!

Edited by bobbymilla
0

Share this post


Link to post
Share on other sites

Posted · Report post

I decided to give this a try last night - I put the debian.img into /sdcard/debian and the other files into /data/debian. I then pasted your code into a text file and pushed it to /data/debian/installer.sh.

I had to edit the installer.sh in vi (1st use of vi evar!) to remove the ^M at the end of each line which I believe was due to me creating the file in Windows.

I then did a chmod 4755 on the installer.sh and ran it....

...but got the following (this is from adb shell but it seemed the same when running it via a local Connectbot connection on the phone):

./installer.sh
Filesytem remounted as read/write
modprobe: chdir(2.6.27-0078c992): No such file or directory
←[H←[Jmkdir: cannot create directory '/data/local/mnt': File exists
←[H←[J←[H←[J
VERSION 2.1
Custom Debian Bootloader is now installed! Quick huh?
This process does NO damage to your Android underlying OS!

Courtesy of [url="http://www.androidfanatic.com"]http://www.androidfanatic.com[/url]
Installer by Mark Walker (ghostwalker)

To enter the Debian Linux console just type 'bootdeb'
PS: Be sure to run /scripts/onetime.sh as root from the shell after your FIRST '
boot'.[/codebox]

I guessed the "no such file or directory" error near the start is due to the script trying to remove some files that aren't there (guesswork as I am by no means a linux/script-master!) and for the "File exists" error, I presumed it shouldn't be a problem if the thing we are trying to create is already there, and so I tried running 'bootdeb'!

This is what I got in return:

[codebox]bootdeb
modprobe: chdir(2.6.27-0078c992): No such file or directory
←[H←[JAndroid Filesytem remounted as read/write
mknod: /dev/loop2: File exists
←[H←[J
a888a
d888888b
8P YP Y88
8|o||o|88
8. .88
8 ._. Y8.
d/ 8b.
.dP . Y8b.
d8: ::88b.
d8 Y88b
:8P :888
8a. : _a88P
._/ Yaa_ : .| 88P|
\ YP | 8P \.
/ \._____.d| .|
--..__)888888P ._.|


mount: cannot setup loop device: No such file or directory
mount: mounting devpts on /data/local/mnt/dev/pts failed: No such file or direct
ory
mount: mounting proc on /data/local/mnt/proc failed: No such file or directory
mount: mounting sysfs on /data/local/mnt/sys failed: No such file or directory
Custom Linux Pseudo Bootstrapper V2.1 - by Mark Walker
WEB: [url="http://www.androidfanatic.com"]http://www.androidfanatic.com[/url]
EML: [email protected]

Starting init process
INIT: Debian booting.....
Running Linux Kernel
net.ipv4.ip_forward = 1
AutoMounter started
Type EXIT to end session
Make sure you do a proper EXIT for a clean kill of Debian!

chroot: can't execute '/bin/bash': No such file or directory

Shutting down Debian........
Processes killed......
Loopback device shutdown - success
Debian down
Coded by Mark Walker
[url="http://www.androidfanatic.com"]http://www.androidfanatic.com[/url]
admin.androidfanatic.com

Rebooting device to ensure clean takedown.........

...and then my phone rebooted itself. Paul do you have any idea what I'm doing wrong? I don't know enough to have written the script myself but I believe I'm capable enough to be attempting it by ripping off your own script so I hope you can help out :)

[bTW big love for the sick Hero ROM, and for sorting the voda/peep issue! I think there will be a donation coming your way regardless, but especially if I can get this working!]

0

Share this post


Link to post
Share on other sites

Posted · Report post

I decided to give this a try last night - I put the debian.img into /sdcard/debian and the other files into /data/debian. I then pasted your code into a text file and pushed it to /data/debian/installer.sh.

I had to edit the installer.sh in vi (1st use of vi evar!) to remove the ^M at the end of each line which I believe was due to me creating the file in Windows.

I then did a chmod 4755 on the installer.sh and ran it....

...but got the following (this is from adb shell but it seemed the same when running it via a local Connectbot connection on the phone):

./installer.sh
Filesytem remounted as read/write
modprobe: chdir(2.6.27-0078c992): No such file or directory
←[H←[Jmkdir: cannot create directory '/data/local/mnt': File exists
←[H←[J←[H←[J
VERSION 2.1
Custom Debian Bootloader is now installed! Quick huh?
This process does NO damage to your Android underlying OS!

Courtesy of [url="http://www.androidfanatic.com"]http://www.androidfanatic.com[/url]
Installer by Mark Walker (ghostwalker)

To enter the Debian Linux console just type 'bootdeb'
PS: Be sure to run /scripts/onetime.sh as root from the shell after your FIRST '
boot'.[/codebox]

I guessed the "no such file or directory" error near the start is due to the script trying to remove some files that aren't there (guesswork as I am by no means a linux/script-master!) and for the "File exists" error, I presumed it shouldn't be a problem if the thing we are trying to create is already there, and so I tried running 'bootdeb'!

This is what I got in return:

[codebox]bootdeb
modprobe: chdir(2.6.27-0078c992): No such file or directory
←[H←[JAndroid Filesytem remounted as read/write
mknod: /dev/loop2: File exists
←[H←[J
a888a
d888888b
8P YP Y88
8|o||o|88
8. .88
8 ._. Y8.
d/ 8b.
.dP . Y8b.
d8: ::88b.
d8 Y88b
:8P :888
8a. : _a88P
._/ Yaa_ : .| 88P|
\ YP | 8P \.
/ \._____.d| .|
--..__)888888P ._.|
mount: cannot setup loop device: No such file or directory
mount: mounting devpts on /data/local/mnt/dev/pts failed: No such file or direct
ory
mount: mounting proc on /data/local/mnt/proc failed: No such file or directory
mount: mounting sysfs on /data/local/mnt/sys failed: No such file or directory
Custom Linux Pseudo Bootstrapper V2.1 - by Mark Walker
WEB: [url="http://www.androidfanatic.com"]http://www.androidfanatic.com[/url]
EML: [email protected]

Starting init process
INIT: Debian booting.....
Running Linux Kernel
net.ipv4.ip_forward = 1
AutoMounter started
Type EXIT to end session
Make sure you do a proper EXIT for a clean kill of Debian!

chroot: can't execute '/bin/bash': No such file or directory

Shutting down Debian........
Processes killed......
Loopback device shutdown - success
Debian down
Coded by Mark Walker
[url="http://www.androidfanatic.com"]http://www.androidfanatic.com[/url]
admin.androidfanatic.com

Rebooting device to ensure clean takedown.........

...and then my phone rebooted itself. Paul do you have any idea what I'm doing wrong? I don't know enough to have written the script myself but I believe I'm capable enough to be attempting it by ripping off your own script so I hope you can help out :)

[bTW big love for the sick Hero ROM, and for sorting the voda/peep issue! I think there will be a donation coming your way regardless, but especially if I can get this working!]

paul not that i doubt your intentions or your reasons for doing this but why would you want lenny on hero?

daymn. thats some sic modding!

0

Share this post


Link to post
Share on other sites

Posted · Report post

This is what I got in return:


mount: cannot setup loop device: No such file or directory
[/codebox]

Would you please change the line "mknod /dev/loop2 b 7 0" in bootdeb to "mknod /dev/loop0 b 7 0" and try again?

HTH

Niki

0

Share this post


Link to post
Share on other sites

Posted · Report post

Would you please change the line "mknod /dev/loop2 b 7 0" in bootdeb to "mknod /dev/loop0 b 7 0" and try again?

HTH

Niki

Got pretty much the same result, but I will post it here in case you spot something I missed:

bootdeb
modprobe: chdir(2.6.27-0078c992): No such file or directory
←[H←[JAndroid Filesytem remounted as read/write
mknod: /dev/loop2: File exists
←[H←[J
a888a
d888888b
8P YP Y88
8|o||o|88
8. .88
8 ._. Y8.
d/ 8b.
.dP . Y8b.
d8: ::88b.
d8 Y88b
:8P :888
8a. : _a88P
._/ Yaa_ : .| 88P|
\ YP | 8P \.
/ \._____.d| .|
--..__)888888P ._.|


mount: cannot setup loop device: No such file or directory
mount: mounting devpts on /data/local/mnt/dev/pts failed: No such file or direct
ory
mount: mounting proc on /data/local/mnt/proc failed: No such file or directory
mount: mounting sysfs on /data/local/mnt/sys failed: No such file or directory
Custom Linux Pseudo Bootstrapper V2.1 - by Mark Walker
WEB: [url="http://www.androidfanatic.com"]http://www.androidfanatic.com[/url]
EML: [email protected]

Starting init process
INIT: Debian booting.....
Running Linux Kernel
net.ipv4.ip_forward = 1
AutoMounter started
Type EXIT to end session
Make sure you do a proper EXIT for a clean kill of Debian!

chroot: can't execute '/bin/bash': No such file or directory

Shutting down Debian........
Processes killed......
Loopback device shutdown - success
Debian down
Coded by Mark Walker
[url="http://www.androidfanatic.com"]http://www.androidfanatic.com[/url]
admin.androidfanatic.com

Rebooting device to ensure clean takedown.........
[/codebox]

Thanks for your help though - Any other ideas?

0

Share this post


Link to post
Share on other sites

Posted · Report post

mknod: /dev/loop2: File exists

Thanks for your help though - Any other ideas?

The error "mknod: /dev/loop2: File exists" means you didn't change /dev/loop2 to /dev/loop0. You might want to try again.

0

Share this post


Link to post
Share on other sites

Posted · Report post

The error "mknod: /dev/loop2: File exists" means you didn't change /dev/loop2 to /dev/loop0. You might want to try again.

Ah I had edited the bootdeb in /data/debian/ but then ran bootdeb without running the installer.sh again first, so in essence it was the old version of the file!

Now that I've done that it is working perfectly - that is awesome!

Just gotta work out proper reasons for having debian on my phone now - I'm very much the "Wow you can do that? I have no reason for it but let's try it!" kinda guy.

Quick question Loxley - what did we change by altering that "mknod..." line and why was it different for me than for Paul? Just want to try and learn whilst I'm at it :)

Thanks very much for your help!

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Hi there, I did some cleanup on the bootdeb file. Could someone please point me to the right place to discuss this?

Until then you might want to try this one. I tested it on Modaco 2.2.

HTH

Niki

Edit: Now makes sure that you are root and allows you to mount the sdcard on your pc after exiting debian.

#!/system/bin/sh

# Based on Saurik's remount.sh - modified by Mark Walker of [url="http://www.androidfanatic.com"]http://www.androidfanatic.com[/url]
# Email [email protected]

# Further work by K.-M. Hansche
# No more reboot
# Loopdevice corrected
# Check for root
# Free loopdevice

noroot(){
echo "Please become root!"
exit 0
}
id | grep uid=0 || noroot

export kit=/sdcard/debian
export bin=/system/bin
export mnt=/data/local/mnt

export PATH=$bin:/usr/bin:/usr/sbin:/bin:$PATH
export TERM=linux
export HOME=/root

[ -b /dev/loop0 ] || mknod /dev/loop0 b 7 0

clear
echo " "
echo " a888a "
echo " d888888b "
echo " 8P YP Y88 "
echo " 8|o||o|88 "
echo " 8. .88 "
echo " 8 ._. Y8. "
echo " d/ 8b. "
echo " .dP . Y8b. "
echo " d8: ::88b. "
echo " d8 Y88b "
echo " :8P :888 "
echo " 8a. : _a88P "
echo " ._/ Yaa_ : .| 88P| "
echo " \ YP | 8P \. "
echo " / \._____.d| .| "
echo " --..__)888888P ._.|"
echo " "
echo " "

mount -o loop,noatime $kit/debian.img $mnt

mount -t devpts devpts $mnt/dev/pts
mount -t proc proc $mnt/proc
mount -t sysfs sysfs $mnt/sys

echo "Type EXIT to end session"
echo "Make sure you do a proper EXIT for a clean kill of Debian!"
echo " "

chroot $mnt /bin/bash

#After exit command is executed clear it all up
echo " "

echo "Shutting down Debian........"
[ -d /data/local/mnt/bin ] || exit 0

fuser -k -m /data/local/mnt/
sleep 2
fuser -KILL -k -m /data/local/mnt/
umount /data/local/mnt/sys /data/local/mnt/proc /data/local/mnt/dev/pts
umount -d /data/local/mnt

[ ! -d /data/local/mnt/bin ] || echo "I'm sorry, but something went wrong. You might want to reboot."

[/codebox]

Edited by Loxley
0

Share this post


Link to post
Share on other sites

Posted · Report post

Hi there, I did some cleanup on the bootdeb file. Could someone please point me to the right place to discuss this?

Until then you might want to try this one. I tested it on Modaco 2.2.

HTH

Niki

#!/system/bin/sh

# Based on Saurik's remount.sh - modified by Mark Walker of [url="http://www.androidfanatic.com"]http://www.androidfanatic.com[/url]
# Email [email protected]

# Further work by K.-M. Hansche:
# No more reboot
# Dont't remount /system rw, there's no need to
# Loopdeviceusage corrected
# Get rid of all debian processes after exit

export kit=/sdcard/debian
export bin=/system/bin
export mnt=/data/local/mnt

export PATH=$bin:/usr/bin:/usr/sbin:/bin:$PATH
export TERM=linux
export HOME=/root

[ -b /dev/loop0 ] || mknod /dev/loop0 b 7 0

clear
echo " "
echo " a888a "
echo " d888888b "
echo " 8P YP Y88 "
echo " 8|o||o|88 "
echo " 8. .88 "
echo " 8 ._. Y8. "
echo " d/ 8b. "
echo " .dP . Y8b. "
echo " d8: ::88b. "
echo " d8 Y88b "
echo " :8P :888 "
echo " 8a. : _a88P "
echo " ._/ Yaa_ : .| 88P| "
echo " \ YP | 8P \. "
echo " / \._____.d| .| "
echo " --..__)888888P ._.|"
echo " "
echo " "

mount -o loop,noatime $kit/debian.img $mnt

mount -t devpts devpts $mnt/dev/pts
mount -t proc proc $mnt/proc
mount -t sysfs sysfs $mnt/sys

echo "Type EXIT to end session"
echo "Make sure you do a proper EXIT for a clean kill of Debian!"
echo " "

chroot $mnt /bin/bash

#After exit command is executed clear it all up
echo " "

echo "Shutting down Debian........"
[ -d /data/local/mnt/bin ] || exit 0

#Terminate all Debian processes, give them tow seconds, then kill them
fuser -k -m /data/local/mnt/
sleep 2
fuser -KILL -k -m /data/local/mnt/

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

#This will give fair warnining if a process started in the chroot couldn't be killed
[ ! -d /data/local/mnt/bin ] || echo "I'm sorry, but something went wrong. You might want to reboot."

[/codebox]

Wow! I had already got it working but wouldn't mind using this instead as it won't try and reboot each time (doesn't succeed from Connectbot prompt but still slightly irritating) plus I'd quite like to be using a script adapted for this purpose (putting it on a Hero). I presume I just need to go through the whole process (inc. ./installer.sh) again using this bootdeb?

Quick question though: As I use Windows, I tend to find that if I copy and paste some text from this site into a text file it tends to have "^M" (carriage returns?) at the end of each line. Is there a way to either stop this from happening, or to easily remove them before pushing the file onto my phone? Would prefer if the answer wasn't "use a Linux PC instead"! :)

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

That's my final bootdeb: bootdeb.gz

It mounts important android directories under /android, uses tmpfs for directories containing temporary files, really kills all running debian programs on shutdown, …

Changed:

  • Rebuild resolv.conf on boot(deb) -> Makes debian use current dns-servers.
  • Fix building of resolv.conf.
  • Enlarge ramdisks.

Enjoy.

Edited by Loxley
0

Share this post


Link to post
Share on other sites

Posted · Report post

That's may final bootdeb: .

It mounts important android directories under /android, uses tmpfs for directories containing temporary files, really kills all running debian programs on shutdown, …

Enjoy.

That's awesome Loxley, thanks very much. Just seems a lot 'cleaner' than the original!

0

Share this post


Link to post
Share on other sites

Posted · Report post

Hi all,

I'm running MoDaCo Custom ROM 2.5. Do I need to install version 2.8 to run Debian Linux?

My second question would be, how do I install Debian Linux safely? I have searched on the internet for a guide on how to do this. I found one for a different HTC device, but I'm not to sure about this. If you are interested here is the link: http://www.geekzone.co.nz/barf/985 . Is there anyone who knows a noob guide on the internet, or is anyone willing to make one? I'd really like to try this. The custom ROM was installed with a guide from here too which made it quite simple for me :D

best regards,

Solarian

0

Share this post


Link to post
Share on other sites

Posted · Report post

I'm running MoDaCo Custom ROM 2.5. Do I need to install version 2.8 to run Debian Linux?

No. The files needed for this were already included in MCR 2.5.

My second question would be, how do I install Debian Linux safely? I have searched on the internet for a guide on how to do this. I found one for a different HTC device, but I'm not to sure about this. If you are interested here is the link:

Forget that link. That's about a Windows Mobile device. Hero is running Android, which is a Linux-based operating system. This is why we can use a more simple solution for running Debian, called chrooting.

Is there anyone who knows a noob guide on the internet, or is anyone willing to make one? I'd really like to try this. The custom ROM was installed with a guide from here too which made it quite simple for me :P

I'm not sure if a noob should try this. In the worst case, you type something wrong and brick your phone. Even if everything goes well, there's just the command line interface. And although you can run a GUI in VNC session, your phone won't be able to run heavy desktop applications.

After the warnings, here's how I did it: :D

  1. Downloaded the installer from http://www.androidfanatic.com/cms/unoffici...einfo&id=21. It took a while before a download slot became available @FileFactory.
  2. Unzipped the file on my computer. This created a directory called "debian".
  3. Downloaded Loxley's bootdeb.gz (see post #14 above).
  4. Used 7-Zip to extract the bootdeb file from the gzip archive and moved it to the "debian" folder. There already was a bootdeb file which was overwritten.
  5. Replaced the contents of installer.sh in debian folder with Paul's version (copy-paste from post #4). I used Notepad++ for this so the linefeed characters would be kept in UNIX format.
  6. Moved the whole debian folder in the root directory of Hero's memory card using the data cable. After this I disconnected the cable.
  7. Opened ConnectBot in Hero, choosed local connection.
  8. Became root by typing: su -
  9. Entered the debian directory in memory card: cd /sdcard/debian
  10. Launched the installer script: sh installer.sh
  11. Entered Debian console: bootdeb
  12. Launched the setup script: /scripts/onetime.sh
  13. That's it!
After having fun with Debian console, it must be closed by typing exit. Then the chroot session will be terminated correctly.

Only steps 7,8 and 11 are required to launch Debian console again.

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

No. The files needed for this were already included in MCR 2.5.

...

thx for the writeup, really nice. just tried, everything works fine, apart from the dns servers. somewhere i read that changes were made, anyway, the /etc/resolv.conf contains:

localhost:~# cat /etc/resolv.conf 
10.74.83.22
192.168.1.1
193.254.160.1[/codebox]

and should read:

[codebox]localhost:~# cat /etc/resolv.conf
nameserver 192.168.1.1
(other servers if needed)

then apt-get update downloads the indexes, but then segfaults:


localhost:~# echo "nameserver 192.168.1.1" > /etc/resolv.conf
localhost:~# apt-get update
Get:1 [url="http://ftp.de.debian.org"]http://ftp.de.debian.org[/url] lenny Release.gpg [1032B]
Get:2 [url="http://ftp.de.debian.org"]http://ftp.de.debian.org[/url] lenny Release [73.6kB]
Ign [url="http://ftp.de.debian.org"]http://ftp.de.debian.org[/url] lenny/main Packages/DiffIndex
Get:3 [url="http://ftp.de.debian.org"]http://ftp.de.debian.org[/url] lenny/main Packages [6703kB]
Fetched 6777kB in 42s (161kB/s)
Segmentation faultsts... 99%[/codebox]

anyone? :D

Edited by kendon
0

Share this post


Link to post
Share on other sites

Posted · Report post

Hi Kendon!

then apt-get update downloads the indexes, but then segfaults:

anyone? :D

I fixed the resolv.conf issue. Unfortunately I can't reproduce the segfault.

I enlarged the ramdisks to 25% of memory, perhaps that might fix it. Could you redownload my bootdeb and try again, please?

HTH

Niki

0

Share this post


Link to post
Share on other sites

Posted · Report post

Hi Kendon!

I fixed the resolv.conf issue. Unfortunately I can't reproduce the segfault.

I enlarged the ramdisks to 25% of memory, perhaps that might fix it. Could you redownload my bootdeb and try again, please?

HTH

Niki

i would love to, a link might help...? :D

0

Share this post


Link to post
Share on other sites

Posted · Report post

see, i knew it. i knew you would give me the obvious link i missed. before asking i asked google, looked through your twitter account, thorugh your profile here & @xda, looked in the threads here and @xda, but as it goes i forgot to check THIS thread... :D

checking now...

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

not better here:

localhost:/# apt-get update
Hit [url="http://ftp.de.debian.org"]http://ftp.de.debian.org[/url] lenny Release.gpg
Hit [url="http://ftp.de.debian.org"]http://ftp.de.debian.org[/url] lenny Release
Ign [url="http://ftp.de.debian.org"]http://ftp.de.debian.org[/url] lenny/main Packages/DiffIndex
Hit [url="http://ftp.de.debian.org"]http://ftp.de.debian.org[/url] lenny/main Packages
Segmentation faultsts... 0%
localhost:/# [/codebox]

but i will check this later at home. i am currently at work, i don't have wifi here, and not really time to look into this :D

btw, i had to overwrite /etc/resolv.conf again, as it had the default values again, is that normal? i would have guessed changes are persistent?

edit: forgot to update the bootdeb in /system/bin... did it now, didn't help though:

[codebox]localhost:/# apt-get update
Get:1 [url="http://ftp.de.debian.org"]http://ftp.de.debian.org[/url] lenny Release.gpg [1032B]
Hit [url="http://ftp.de.debian.org"]http://ftp.de.debian.org[/url] lenny Release
Ign [url="http://ftp.de.debian.org"]http://ftp.de.debian.org[/url] lenny/main Packages/DiffIndex
Hit [url="http://ftp.de.debian.org"]http://ftp.de.debian.org[/url] lenny/main Packages
Fetched 1032B in 3s (269B/s)
Segmentation faultsts... 0%
localhost:/#

but resolv.conf looks fine now :P

Edited by kendon
0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

see, i knew it. i knew you would give me the obvious link i missed. before asking i asked google, looked through your twitter account, thorugh your profile here & @xda, looked in the threads here and @xda, but as it goes i forgot to check THIS thread... :D

checking now...

Hm, whichever twitteraccount you checked, it wasn't mine, I don't even live in colorado. :P

I'm sorry it doesn't work out for you. To test things I just made an update to Debian 5.03 over umts (took a moment). It worked flawlessly. May get I a "df -h" from within your debian, please? An strace of apt-get might be helpfull to.

Unfortunatly I will be preocupied the next two days, so please don't get upset if I won't reply for some time. But I will look into this.

Regards

Niki

P.S. Did you try those:

http://www.debianhelp.org/node/1972

http://blog.springenwerk.com/2008/05/speic...leresen-97.html

Edited by Loxley
0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Hm, whichever twitteraccount you checked, it wasn't mine, I don't even live in colorado. ;)

lol dude i'm sorry, i guess i got you confused with lox_dev... :D http://twitter.com/LoxDev

I'm sorry it doesn't work out for you. To test things I just made an update to Debian 5.03 over umts (took a moment). It worked flawlessly. May get I a "df -h" from within your debian, please? An strace of apt-get might be helpfull to.

localhost:~# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 704M 355M 314M 54% /
tmpfs 704M 355M 314M 54% /dev
df: `/sqlite_stmt_journals': No such file or directory
df: `/system': No such file or directory
df: `/data': No such file or directory
df: `/cache': No such file or directory
df: `/system/sd': No such file or directory
df: `/sdcard': No such file or directory
/dev/loop0 704M 355M 314M 54% /
none 48M 0 48M 0% /tmp
none 48M 0 48M 0% /var/log
none 48M 0 48M 0% /tmp
none 48M 0 48M 0% /var/tmp
none 48M 0 48M 0% /var/lock
/dev/block/mtdblock3 170M 147M 24M 87% /android/system
/dev/block/mtdblock5 166M 64M 102M 39% /android/data
/dev/block//vold/179:1
7.2G 5.2G 2.0G 73% /android/sdcard[/codebox]

i have never heard of strace, from ubuntus man page i think i got what it is. problem here is:

[codebox]
localhost:~# strace apt-get update
-bash: strace: command not found

or am i doing it wrong?

Unfortunatly I will be preocupied the next two days, so please don't get upset if I won't reply for some time. But I will look into this.

Regards

Niki

stay reasonable :P i'm glad if anyone helps at all, there doesn't seem to be this much interest in the whole story... too bad.

no, but i definitly will :lol:

and i think i will make a fresh start with debian, not that there was anything corrupted... thx so far!

Edited by kendon
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.