Thread
:
[Debian] ANNOUNCE: Easy Debian For Everyone! OpenOffice, Firefox 3, Java, AbiWord, IceWM, etc
View Single Post
tltmts
2008-09-24 , 02:14
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
tltmts
View Public Profile
Send a private message to tltmts
Find all posts by tltmts