Active Topics

 


Closed Thread
Thread Tools
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#241
I've applied for an invitation to upload to Extras; this will make things better for Easy Debian Final. You'll be able to install from the standard repositories!
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 

The Following 2 Users Say Thank You to qole For This Useful Post:
Posts: 7 | Thanked: 0 times | Joined on Sep 2008
#242
I uninstalled, rebooted, reinstalled, rebooted, and still get the exact same errors. If I click the Debian chroot icon the screen with the error messages vanishes, so I'm showing what happens when I run /sbin/debian, as the errors appear the same. As I said before, the problem seems to be that the mount commands don't work. One other user, maxzar100, earlier in this thread (on page 5 of this thread) gave an identical error log on so I am not the only one:

http://www.internettablettalk.com/fo...t=21629&page=5

So here is my error output:

$ sudo /sbin/debian
Setting up the chroot...
using device: /media/mmc1/debian.img.ext2
Using ext2 file system
.
mount: mounting /dev on /debian/dev failed
mount: mounting /proc on /debian/proc failed
..
mount: none is write-protected, mounting read-only
mount: mounting none on /debian/dev/pts failed
mount: mounting /tmp on /debian/tmp failed
...
mount: /media/mmc1 is write-protected, mounting read-onl y
mount: mounting /media/mmc1 on /debian/media/mmc1 failed
mount: /media/mmc2 is write-protected, mounting read-onl y
mount: mounting /media/mmc2 on /debian/media/mmc2 failed
mount: /media/usb is write-protected, mounting read-only
mount: mounting /media/usb on /debian/media/usb failed
....
mount: /home/user is write-protected, mounting read-only
mount: mounting /home/user on /debian/home/user failed
cp: cannot stat '/debian/etc/resolv.conf': Permission de nied
cp: cannot stat '/debian/etc/hosts': Permission denied
cp: cannot stat '/debian/etc/group': Permission denied
cp: cannot stat '/debian/etc/passwd': Permission denied
cp: cannot stat '/debian/etc/localtime': Permission deni ed
cp: cannot stat '/debian/etc/pointercal.default': Permis sion denied
cp: cannot stat '/debian/etc/pointercal': Permission den ied
touch: /debian/tmp/chroot-complete: Permission denied
Everything set up, running chroot...
chroot: cannot execute /bin/bash: Permission denied
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#243
what is the output of:

Code:
df -h
and

Code:
mount
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#244
My first thought is: there's something wrong with your debian.img.ext2 file.

All of your "mount failed" errors are very likely due to the fact that your debian image file isn't mounting properly in the first place, which causes all the other stuff to go south.

First, you need to know where your debian.img.ext2 file is. It should be something like /media/mmc2/debian.img.ext2 or /media/mmc1/debian.img.ext2 so substitute the right one in the commands that follow.

1. Reboot. This makes sure you've got nothing chroot-related mounted.
2. Open a terminal. Type the following (substitute your correct path for /media/mmc2/debian.img.ext2)
Code:
sudo su -
mount -t ext2 /media/mmc2/debian.img.ext2 /debian -o loop,noatime
ls /debian
3. Please post the results of those commands. Just so you know, the "ls /debian" command should produce lots of stuff. If it doesn't, then that might be your problem.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
Posts: 7 | Thanked: 0 times | Joined on Feb 2008 @ Canada
#245
After trying again, penguinbait's "OS to SD Deb"+KDE on my MMC2 card and then qole's Easy Debian on my MMC1 card, is working well. I don't know what caused the problems the first time, but I'm very happy that it's now working! Thanks for the responses and to those who have put in all of the work!
 
Posts: 7 | Thanked: 0 times | Joined on Sep 2008
#246
Qole, I've tried before the very mount command you are now suggesting (except I did not bother to set noatime althought that is a good idea from a performance perspective with a slow flash drive). I've tried again just now just for the heck of it and I still get the same error messages. I've included the output of mount and df-h below also. (Yes, I do have a 1GB swapfile but trying everything with that disabled makes no difference.)

Just to repeat myself again, I went over your /sbin/debian script and tried executing the mount commands individual since they are what fails. Executing them does not work, sudo or no sudo.

The cryptic error output of the mount command is not very helpful. If I had time to install a version of mount with GDB breakpoints and source I just might try and debug the problem that way. I first installed Debian back in 1997 by the way back when it meant downloading about 8-10 1.44MB floppy images over a 33.6k modem. I used Debian with Windowmaker until 2003 when I got a Powerbook. Now I would once again like to use Debian---a system I know well---on this nice little N810. I have never in all my years had such a strange problem with the mount command. I used to boot mulitple operating systems on my old PC and I created and mounted all sorts of filesystems without issue. Anyway, the output:


$ sudo umount /debian
$ sudo su -


BusyBox v1.6.1 (2008-05-22 10:32:35 EEST) Built-inshell (ash)
Enter 'help' for a list of built-in commands.
Nokia-N810-23-14:~# mount -t ext2 /media/mmc1/debian
/media/mmc1/debian-chroot-img-v2.tar.bz2
/media/mmc1/debian.img.ext2
Nokia-N810-23-14:~# mount -t ext2 /media/mmc1/debian
/media/mmc1/debian-chroot-img-v2.tar.bz2
/media/mmc1/debian.img.ext2
Nokia-N810-23-14:~# mount -t ext2 /media/mmc1/debian.img.ext2 /debian -o loop,noatime
Nokia-N810-23-14:~# ls /debian
ls: cannot access /debian/bin: Input/output error
ls: cannot access /debian/boot: Input/output errorls: cannot access /debian/dev: Input/output error
ls: cannot access /debian/etc: Input/output error
ls: cannot access /debian/home: Input/output errorls: cannot access /debian/media: Input/output errorls: cannot access /debian/mnt: Input/output error
ls: cannot access /debian/proc: Input/output errorls: cannot access /debian/root: Input/output errorls: cannot access /debian/srv: Input/output error
ls: cannot access /debian/sys: Input/output error
ls: cannot access /debian/tmp: Input/output error
ls: cannot access /debian/usr: Input/output error
bin etc lost+found opt sbin tmp
boot home media proc srv usr
dev lib mnt root sys var
Nokia-N810-23-14:~# mount
rootfs on / type rootfs (rw)
/dev/root on /mnt/initfs type jffs2 (ro)
none on /mnt/initfs/proc type proc (rw)
none on /mnt/initfs/sys type sysfs (rw)
none on /mnt/initfs/tmp type tmpfs (rw)
/dev/mtdblock4 on / type jffs2 (rw,rpsize=1024,rpuid=0,rpuid=30000)
none on /tmp type tmpfs (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
none on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)/dev/mmcblk0p1 on /media/mmc2 type vfat (rw,nosuid,nodev,noexec,uid=29999,fmask=0133,dmask =0000,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8)/dev/mmcblk1p1 on /media/mmc1 type vfat (rw,nosuid,nodev,noexec,uid=29999,fmask=0133,dmask =0000,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8)/dev/loop0 on /debian type ext2 (rw,noatime)Nokia-N810-23-14:~# df -h
Filesystem Size Used AvailableUse% Mounted on
/dev/mtdblock4 4.0M 2.6M 1.4M 64% /mnt/initfs
none 2.0M 80.0k 1.9M 4% /mnt/initfs/tmp
/dev/mtdblock4 249.5M 205.9M 43.6M 83% /
none 2.0M 80.0k 1.9M 4% /tmp
none 1.0M 60.0k 964.0k 6% /dev
tmpfs 1.0M 0 1.0M 0% /dev/shm
/dev/mmcblk0p1 1.9G 1.6G 326.3M 83% /media/mmc2
/dev/mmcblk1p1 7.4G 1.4G 6.0G 19% /media/mmc1
/dev/loop0 1007.9M 834.5M 163.2M 84% /debian
Nokia-N810-23-14:~# ls -l /media/mmc1
total 1496976
-rw-r--r-- 1 user root 284881441 2008-07-05 04:56 debian-chroot-img-v2.tar.bz2
-rw-r--r-- 1 user root 172789248 2008-09-18 16:20 debian.img.ext2
-rw-r--r-- 1 user root 1479118 2008-09-23 01:36 easy-deb-chroot-0.6-2_armel.deb
-rw-r--r-- 1 user root 9 2008-09-19 13:33 foo.sh
-rw-r--r-- 1 user root 1073741824 2008-09-18 17:38 swapfile
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#247
You have either a bad image file... or bad sectors on your SD card... would be my guess.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#248
tltmts:

I agree with fatalsaint. There's something seriously wrong with your image file, when a simple ls gives all kinds of errors.

Hey, I notice that you still have your .tar.bz2 file on your card. That's really suspicious. Did you use the installer to get it? If so, the file should have been deleted after it was untarred.

I would suggest you do the following:

Code:
sudo su -
umount /debian
rm /media/mmc1/debian.img.ext2
umount /media/mmc1
fsck -y /dev/mmcblk1p1
mount /dev/mmcblk1p1 /media/mmc1
cd /media/mmc1
tar xjvf debian-chroot-img-v2.tar.bz2 .
This unmounts your SD card, checks for errors, mounts the card again, and then untars the image file again.

Watch for errors... If there are any errors untarring the image file, that's the problem.

The good thing about using the auto-installer is that it checks the file's md5sum and makes sure that your download is finished and correct.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#249
OK! Here we go!

I need a few brave souls to beta-test this for me.
  • Uninstall any current version of Easy Debian (0.6 or earlier) you might have.
  • Reboot.
  • Install the Easy Debian 0.9-3 package new turbo-charged Easy Debian 0.9-11 package.
  • Reboot.
  • Use the Debian Image Installer to download and extract the Easy-Debian-Final image.
  • Try starting LXDE and then run the virtual keyboard. Type a capital letter using the virtual keyboard.
  • Report any problems or errors you might get.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!

Last edited by qole; 2008-10-18 at 05:12. Reason: new package
 

The Following 3 Users Say Thank You to qole For This Useful Post:
moshing's Avatar
Posts: 126 | Thanked: 6 times | Joined on Jul 2008
#250
i will do it tomorow, i.e. in the morning, it's the middle of the night in the uk.
 
Closed Thread

Tags
debian, easy debian, obsolete


 
Forum Jump


All times are GMT. The time now is 09:30.