The Following User Says Thank You to malfunctioning For This Useful Post: | ||
|
2014-10-19
, 20:37
|
Posts: 330 |
Thanked: 556 times |
Joined on Oct 2012
|
#3132
|
|
2014-10-19
, 21:11
|
Posts: 330 |
Thanked: 556 times |
Joined on Oct 2012
|
#3133
|
Error mounting /dev/sdb4 at /media/user/Nokia N900: Command-line `mount -t "vfat" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush" "/dev/sdb4" "/media/user/Nokia N900"' exited with non-zero exit status 32: mount: wrong fs type, bad option, bad superblock on /dev/sdb4, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so
[ 3623.012193] usb 1-1: new high-speed USB device number 5 using ehci-pci [ 3623.146093] usb 1-1: New USB device found, idVendor=0421, idProduct=01c8 [ 3623.146103] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 3623.146110] usb 1-1: Product: N900 (PC-Suite Mode) [ 3623.146116] usb 1-1: Manufacturer: Nokia [ 3623.242912] NET: Registered protocol family 35 [ 3623.260476] cdc_acm 1-1:1.6: This device cannot do calls on its own. It is not a modem. [ 3623.260594] cdc_acm 1-1:1.6: ttyACM0: USB ACM device [ 3623.262362] usbcore: registered new interface driver cdc_acm [ 3623.262365] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 3623.278644] usbcore: registered new interface driver cdc_phonet [ 3623.282536] cdc_ether 1-1:1.8 usb0: register 'cdc_ether' at usb-0000:00:1a.7-1, CDC Ethernet Device, ee:59:6b:56:e3:b8 [ 3623.282867] usbcore: registered new interface driver cdc_ether [ 3623.315357] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready [ 3623.315487] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready [ 3628.202846] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready [ 3644.037304] usb 1-1: USB disconnect, device number 5 [ 3644.064237] cdc_ether 1-1:1.8 usb0: unregister 'cdc_ether' usb-0000:00:1a.7-1, CDC Ethernet Device [ 3645.616180] usb 1-1: new high-speed USB device number 6 using ehci-pci [ 3645.750987] usb 1-1: New USB device found, idVendor=0421, idProduct=01c7 [ 3645.750997] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 3645.751005] usb 1-1: Product: N900 (Storage Mode) [ 3645.751011] usb 1-1: Manufacturer: Nokia [ 3645.751017] usb 1-1: SerialNumber: 372041756775 [ 3645.752696] usb-storage 1-1:1.0: USB Mass Storage device detected [ 3645.752962] scsi5 : usb-storage 1-1:1.0 [ 3646.753688] scsi 5:0:0:0: Direct-Access Nokia N900 031 PQ: 0 ANSI: 2 [ 3646.754399] scsi 5:0:0:1: Direct-Access Nokia N900 031 PQ: 0 ANSI: 2 [ 3646.755233] sd 5:0:0:0: Attached scsi generic sg1 type 0 [ 3646.755761] sd 5:0:0:1: Attached scsi generic sg2 type 0 [ 3646.758110] sd 5:0:0:0: [sdb] 62529536 512-byte logical blocks: (32.0 GB/29.8 GiB) [ 3646.758665] sd 5:0:0:1: [sdc] 31116288 512-byte logical blocks: (15.9 GB/14.8 GiB) [ 3646.759210] sd 5:0:0:0: [sdb] Write Protect is off [ 3646.759220] sd 5:0:0:0: [sdb] Mode Sense: 0f 00 00 00 [ 3646.759990] sd 5:0:0:1: [sdc] Write Protect is off [ 3646.759999] sd 5:0:0:1: [sdc] Mode Sense: 0f 00 00 00 [ 3646.760452] sd 5:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 3646.761206] sd 5:0:0:1: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 3647.302953] sdc: sdc1 [ 3647.304729] sdb: sdb1 sdb2 sdb3 sdb4 < sdb5 sdb6 > [ 3647.308214] sd 5:0:0:1: [sdc] Attached SCSI removable disk [ 3647.310335] sd 5:0:0:0: [sdb] Attached SCSI removable disk [ 3647.473970] sd 5:0:0:0: [sdb] Unhandled sense code [ 3647.473976] sd 5:0:0:0: [sdb] [ 3647.473979] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [ 3647.473982] sd 5:0:0:0: [sdb] [ 3647.473984] Sense Key : Medium Error [current] [ 3647.473996] Info fld=0x18 [ 3647.473998] sd 5:0:0:0: [sdb] [ 3647.474000] Add. Sense: Unrecovered read error [ 3647.474002] sd 5:0:0:0: [sdb] CDB: [ 3647.474004] Read(10): 28 00 00 00 00 18 00 00 08 00 [ 3647.474011] end_request: critical medium error, dev sdb, sector 24 [ 3647.474014] Buffer I/O error on device sdb, logical block 3 [ 3647.578083] sd 5:0:0:0: [sdb] Unhandled sense code [ 3647.578088] sd 5:0:0:0: [sdb] [ 3647.578090] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [ 3647.578093] sd 5:0:0:0: [sdb] [ 3647.578095] Sense Key : Medium Error [current] [ 3647.578099] Info fld=0x18 [ 3647.578102] sd 5:0:0:0: [sdb] [ 3647.578105] Add. Sense: Unrecovered read error [ 3647.578108] sd 5:0:0:0: [sdb] CDB: [ 3647.578110] Read(10): 28 00 00 00 00 18 00 00 08 00 [ 3647.578121] end_request: critical medium error, dev sdb, sector 24 [ 3647.578125] Buffer I/O error on device sdb, logical block 3 [ 3647.681836] sd 5:0:0:0: [sdb] Unhandled sense code [ 3647.681841] sd 5:0:0:0: [sdb] [ 3647.681843] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [ 3647.681846] sd 5:0:0:0: [sdb] [ 3647.681848] Sense Key : Medium Error [current] [ 3647.681852] Info fld=0x18 [ 3647.681855] sd 5:0:0:0: [sdb] [ 3647.681858] Add. Sense: Unrecovered read error [ 3647.681862] sd 5:0:0:0: [sdb] CDB: [ 3647.681863] Read(10): 28 00 00 00 00 18 00 00 08 00 [ 3647.681874] end_request: critical medium error, dev sdb, sector 24 [ 3647.681882] Buffer I/O error on device sdb, logical block 3 [ 3647.785597] sd 5:0:0:0: [sdb] Unhandled sense code [ 3647.785604] sd 5:0:0:0: [sdb] [ 3647.785612] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [ 3647.785621] sd 5:0:0:0: [sdb] [ 3647.785623] Sense Key : Medium Error [current] [ 3647.785626] Info fld=0x18 [ 3647.785628] sd 5:0:0:0: [sdb] [ 3647.785631] Add. Sense: Unrecovered read error [ 3647.785633] sd 5:0:0:0: [sdb] CDB: [ 3647.785634] Read(10): 28 00 00 00 00 18 00 00 08 00 [ 3647.785642] end_request: critical medium error, dev sdb, sector 24 [ 3647.785646] Buffer I/O error on device sdb, logical block 3 [ 3647.889599] sd 5:0:0:0: [sdb] Unhandled sense code [ 3647.889610] sd 5:0:0:0: [sdb] [ 3647.889612] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [ 3647.889614] sd 5:0:0:0: [sdb] [ 3647.889621] Sense Key : Medium Error [current] [ 3647.889625] Info fld=0x18 [ 3647.889626] sd 5:0:0:0: [sdb] [ 3647.889629] Add. Sense: Unrecovered read error [ 3647.889631] sd 5:0:0:0: [sdb] CDB: [ 3647.889632] Read(10): 28 00 00 00 00 18 00 00 08 00 [ 3647.889640] end_request: critical medium error, dev sdb, sector 24 [ 3647.889643] Buffer I/O error on device sdb, logical block 3 [ 3647.998714] sd 5:0:0:0: [sdb] Unhandled sense code [ 3647.998719] sd 5:0:0:0: [sdb] [ 3647.998721] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [ 3647.998724] sd 5:0:0:0: [sdb] [ 3647.998726] Sense Key : Medium Error [current] [ 3647.998736] Info fld=0x18 [ 3647.998738] sd 5:0:0:0: [sdb] [ 3647.998740] Add. Sense: Unrecovered read error [ 3647.998748] sd 5:0:0:0: [sdb] CDB: [ 3647.998749] Read(10): 28 00 00 00 00 18 00 00 08 00 [ 3647.998756] end_request: critical medium error, dev sdb, sector 24 [ 3647.998759] Buffer I/O error on device sdb, logical block 3 [ 3648.102210] sd 5:0:0:0: [sdb] Unhandled sense code [ 3648.102215] sd 5:0:0:0: [sdb] [ 3648.102217] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [ 3648.102220] sd 5:0:0:0: [sdb] [ 3648.102222] Sense Key : Medium Error [current] [ 3648.102226] Info fld=0x18 [ 3648.102229] sd 5:0:0:0: [sdb] [ 3648.102232] Add. Sense: Unrecovered read error [ 3648.102235] sd 5:0:0:0: [sdb] CDB: [ 3648.102237] Read(10): 28 00 00 00 00 18 00 00 08 00 [ 3648.102248] end_request: critical medium error, dev sdb, sector 24 [ 3648.102252] Buffer I/O error on device sdb, logical block 3 [ 3648.205092] sd 5:0:0:0: [sdb] Unhandled sense code [ 3648.205099] sd 5:0:0:0: [sdb] [ 3648.205102] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [ 3648.205105] sd 5:0:0:0: [sdb] [ 3648.205107] Sense Key : Medium Error [current] [ 3648.205112] Info fld=0x10 [ 3648.205115] sd 5:0:0:0: [sdb] [ 3648.205119] Add. Sense: Unrecovered read error [ 3648.205122] sd 5:0:0:0: [sdb] CDB: [ 3648.205124] Read(10): 28 00 00 00 00 10 00 00 08 00 [ 3648.205139] end_request: critical medium error, dev sdb, sector 16 [ 3648.205143] Buffer I/O error on device sdb, logical block 2 [ 3648.311213] sd 5:0:0:0: [sdb] Unhandled sense code [ 3648.311217] sd 5:0:0:0: [sdb] [ 3648.311220] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [ 3648.311222] sd 5:0:0:0: [sdb] [ 3648.311223] Sense Key : Medium Error [current] [ 3648.311227] Info fld=0x10 [ 3648.311229] sd 5:0:0:0: [sdb] [ 3648.311232] Add. Sense: Unrecovered read error [ 3648.311234] sd 5:0:0:0: [sdb] CDB: [ 3648.311236] Read(10): 28 00 00 00 00 10 00 00 08 00 [ 3648.311244] end_request: critical medium error, dev sdb, sector 16 [ 3648.311247] Buffer I/O error on device sdb, logical block 2 [ 3648.577353] sd 5:0:0:0: [sdb] Unhandled sense code [ 3648.577359] sd 5:0:0:0: [sdb] [ 3648.577362] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [ 3648.577365] sd 5:0:0:0: [sdb] [ 3648.577368] Sense Key : Medium Error [current] [ 3648.577373] Info fld=0x10 [ 3648.577376] sd 5:0:0:0: [sdb] [ 3648.577380] Add. Sense: Unrecovered read error [ 3648.577383] sd 5:0:0:0: [sdb] CDB: [ 3648.577385] Read(10): 28 00 00 00 00 10 00 00 08 00 [ 3648.577397] end_request: critical medium error, dev sdb, sector 16 [ 3648.679459] sd 5:0:0:0: [sdb] Unhandled sense code [ 3648.679465] sd 5:0:0:0: [sdb] [ 3648.679467] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [ 3648.679469] sd 5:0:0:0: [sdb] [ 3648.679470] Sense Key : Medium Error [current] [ 3648.679474] Info fld=0x10 [ 3648.679476] sd 5:0:0:0: [sdb] [ 3648.679478] Add. Sense: Unrecovered read error [ 3648.679480] sd 5:0:0:0: [sdb] CDB: [ 3648.679482] Read(10): 28 00 00 00 00 10 00 00 08 00 [ 3648.781476] sd 5:0:0:0: [sdb] Unhandled sense code [ 3648.781482] sd 5:0:0:0: [sdb] [ 3648.781485] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [ 3648.781488] sd 5:0:0:0: [sdb] [ 3648.781491] Sense Key : Medium Error [current] [ 3648.781495] Info fld=0x10 [ 3648.781498] sd 5:0:0:0: [sdb] [ 3648.781501] Add. Sense: Unrecovered read error [ 3648.781504] sd 5:0:0:0: [sdb] CDB: [ 3648.781507] Read(10): 28 00 00 00 00 10 00 00 08 00 [ 3648.883475] sd 5:0:0:0: [sdb] Unhandled sense code [ 3648.883479] sd 5:0:0:0: [sdb] [ 3648.883481] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [ 3648.883483] sd 5:0:0:0: [sdb] [ 3648.883485] Sense Key : Medium Error [current] [ 3648.883488] Info fld=0x10 [ 3648.883490] sd 5:0:0:0: [sdb] [ 3648.883493] Add. Sense: Unrecovered read error [ 3648.883495] sd 5:0:0:0: [sdb] CDB: [ 3648.883496] Read(10): 28 00 00 00 00 10 00 00 08 00 [ 3648.985339] sd 5:0:0:0: [sdb] Unhandled sense code [ 3648.985346] sd 5:0:0:0: [sdb] [ 3648.985349] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [ 3648.985352] sd 5:0:0:0: [sdb] [ 3648.985355] Sense Key : Medium Error [current] [ 3648.985359] Info fld=0x10 [ 3648.985362] sd 5:0:0:0: [sdb] [ 3648.985366] Add. Sense: Unrecovered read error [ 3648.985369] sd 5:0:0:0: [sdb] CDB: [ 3648.985373] Read(10): 28 00 00 00 00 10 00 00 08 00 [ 3650.061034] EXT4-fs (sdb2): mounting ext3 file system using the ext4 subsystem [ 3650.087716] EXT4-fs (sdb5): mounting ext3 file system using the ext4 subsystem [ 3650.091550] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts: (null) [ 3650.126529] EXT4-fs (sdb5): mounted filesystem with ordered data mode. Opts: (null) [ 3650.251328] systemd-hostnamed[3042]: Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname! [ 3650.431860] EXT4-fs (sdb6): mounting ext3 file system using the ext4 subsystem [ 3650.482055] EXT4-fs (sdb6): mounted filesystem with ordered data mode. Opts: (null) [ 3712.184333] sdb: detected capacity change from 32015122432 to 0 [ 3715.539820] usb 1-1: USB disconnect, device number 6 [ 3715.548212] sd 5:0:0:1: [sdc] Synchronizing SCSI cache [ 3715.548256] sd 5:0:0:1: [sdc] [ 3715.548258] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK [ 3715.592110] FAT-fs (sdc1): unable to read boot sector to mark fs as dirty [ 3803.484224] usb 1-1: new high-speed USB device number 7 using ehci-pci [ 3803.617300] usb 1-1: New USB device found, idVendor=0421, idProduct=01c7 [ 3803.617314] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 3803.617321] usb 1-1: Product: N900 (Storage Mode) [ 3803.617328] usb 1-1: Manufacturer: Nokia [ 3803.617334] usb 1-1: SerialNumber: 372041756775 [ 3803.618225] usb-storage 1-1:1.0: USB Mass Storage device detected [ 3803.624084] scsi6 : usb-storage 1-1:1.0 [ 3804.625126] scsi 6:0:0:0: Direct-Access Nokia N900 031 PQ: 0 ANSI: 2 [ 3804.625721] scsi 6:0:0:1: Direct-Access Nokia N900 031 PQ: 0 ANSI: 2 [ 3804.626495] sd 6:0:0:0: Attached scsi generic sg1 type 0 [ 3804.627021] sd 6:0:0:1: Attached scsi generic sg2 type 0 [ 3804.637797] sd 6:0:0:1: [sdc] Attached SCSI removable disk [ 3804.639085] sd 6:0:0:0: [sdb] Attached SCSI removable disk [ 3809.249048] sd 6:0:0:0: [sdb] 16385984 512-byte logical blocks: (8.38 GB/7.81 GiB) [ 3809.249805] sd 6:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 3809.253668] sdb: sdb4 [ 3809.253695] sdb: p4 size 34078720 extends beyond EOD, enabling native capacity [ 3809.256398] sdb: sdb4 [ 3809.256420] sdb: p4 size 34078720 extends beyond EOD, truncated [ 3809.874549] FAT-fs (sdb4): invalid media value (0x01) [ 3809.874554] FAT-fs (sdb4): Can't find a valid FAT filesystem [ 3811.295315] sd 6:0:0:1: [sdc] 31116288 512-byte logical blocks: (15.9 GB/14.8 GiB) [ 3811.296222] sd 6:0:0:1: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 3811.299990] sdc: sdc1 [ 3811.839438] FAT-fs (sdc1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. [ 3818.075938] FAT-fs (sdb4): invalid media value (0x01) [ 3818.075944] FAT-fs (sdb4): Can't find a valid FAT filesystem
|
2014-10-20
, 08:05
|
Posts: 915 |
Thanked: 3,209 times |
Joined on Jan 2011
@ Germany
|
#3134
|
The Following 3 Users Say Thank You to sulu For This Useful Post: | ||
|
2014-10-20
, 13:06
|
Posts: 330 |
Thanked: 556 times |
Joined on Oct 2012
|
#3135
|
|
2014-10-20
, 13:35
|
Posts: 915 |
Thanked: 3,209 times |
Joined on Jan 2011
@ Germany
|
#3136
|
Regarding using ED in a dedicated partition vs a file image, is there no performance incentive whatsoever to using it in its own partition?
One of the reasons I decided to go with 2 additional ext3 partitions for Easy Debian is that after the problems I had, I don't like the idea of an ext3 image hosted in a FAT32 partition, as I think it can result in problems with the image itself when corruption in the host partition takes place (just a theory).
The Following 5 Users Say Thank You to sulu For This Useful Post: | ||
|
2014-10-20
, 14:08
|
Posts: 330 |
Thanked: 556 times |
Joined on Oct 2012
|
#3137
|
|
2014-11-09
, 21:29
|
Posts: 915 |
Thanked: 3,209 times |
Joined on Jan 2011
@ Germany
|
#3138
|
$ md5sum debian_jessie0sulu_armhf.img* 75151e78b6837fe983f32fc8bec3d336 debian_jessie0sulu_armhf.img 195bddd1bd7623ba08c8412815d03ae6 debian_jessie0sulu_armhf.img.lzma
apt-get source glibc
Description: decrease min kernel version to 2.6.28 for Fremantle compatibility --- glibc-2.19.orig/ports/sysdeps/unix/sysv/linux/tile/configure +++ glibc-2.19/ports/sysdeps/unix/sysv/linux/tile/configure @@ -1,4 +1,4 @@ # This file is generated from configure.ac by Autoconf. DO NOT EDIT! # Local configure fragment for sysdeps/unix/sysv/linux/tile. -arch_minimum_kernel=2.6.32 +arch_minimum_kernel=2.6.28 --- glibc-2.19.orig/ports/sysdeps/unix/sysv/linux/tile/configure.ac +++ glibc-2.19/ports/sysdeps/unix/sysv/linux/tile/configure.ac @@ -1,4 +1,4 @@ GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. # Local configure fragment for sysdeps/unix/sysv/linux/tile. -arch_minimum_kernel=2.6.32 +arch_minimum_kernel=2.6.28 --- debian/debhelper.in/libc.preinst.orig 2017-10-08 11:32:18.123876676 +0200 +++ debian/debhelper.in/libc.preinst 2017-10-08 11:33:07.583800072 +0200 @@ -357,11 +357,11 @@ # sanity checking for the appropriate kernel on each architecture. kernel_ver=`uname -r` - # The GNU libc requires a >= 2.6.32 kernel, found in squeeze/lucid/RHEL6 - if linux_compare_versions "$kernel_ver" lt 2.6.32 + # The GNU libc requires a >= 2.6.28 kernel, found in squeeze/lucid/RHEL6 + if linux_compare_versions "$kernel_ver" lt 2.6.28 then echo WARNING: this version of the GNU libc requires kernel version - echo 2.6.32 or later. Please upgrade your kernel before installing + echo 2.6.28 or later. Please upgrade your kernel before installing echo glibc. kernel26_help --- debian/sysdeps/linux.mk.orig 2017-10-08 11:32:00.903903345 +0200 +++ debian/sysdeps/linux.mk 2017-10-08 11:32:39.073844230 +0200 @@ -1,5 +1,5 @@ # When changing this, make sure to update debian/debhelper.in/libc.preinst! -MIN_KERNEL_SUPPORTED := 2.6.32 +MIN_KERNEL_SUPPORTED := 2.6.28
# diff -u libc6/glibc-2.19/debian/testsuite-checking/compare.sh.orig libc6/glibc-2.19/debian/testsuite-checking/compare.sh --- libc6/glibc-2.19/debian/testsuite-checking/compare.sh.orig 2014-11-09 14:43:46.809977508 +0000 +++ libc6/glibc-2.19/debian/testsuite-checking/compare.sh @@ -41,5 +41,5 @@ rm -f $expected $results # This would be a lovely place to exit 0 if you wanted to disable hard failures -#exit 0 +exit 0 exit $rv
dpkg-source --commit
debuild -us -uc
apt-get source pulseaudio
Description: decrease protocol version to 15 for Fremantle compatibility --- pulseaudio-5.0.orig/configure.ac +++ pulseaudio-5.0/configure.ac @@ -41,7 +41,7 @@ AC_SUBST(PA_MINOR, pa_minor) AC_SUBST(PA_MAJORMINOR, pa_major.pa_minor) AC_SUBST(PA_API_VERSION, 12) -AC_SUBST(PA_PROTOCOL_VERSION, 29) +AC_SUBST(PA_PROTOCOL_VERSION, 15) # The stable ABI for client applications, for the version info x:y:z # always will hold y=z
dpkg-source --commit
debuild -us -uc
dd if=/dev/zero of=/path/to/image_file bs=1M count=2048
mkfs.ext2 /path/to/image_file
mount -o loop /path/to/image_file /mountpoint
debootstrap --arch=armhf jessie /mountpoint http://ftp.de.debian.org/debian
deb http://ftp.de.debian.org/debian jessie main
APT::Install-Recommends "0"; APT::Install-Suggests "0";
rm -rf /mountpoint/var/run mkdir /mountpoint/var/run rm -rf /mountpoint/run ln -s /var/run /mountpoint/run
mkdir /mountpoint/var/pulse mkdir /mountpoint/var/dbus
rm /mountpoint/var/lock mkdir /mountpoint/var/lock
rm -rf /mountpoint/usr/share/X11/xkb/* cp -r /mnt/n900/usr/share/X11/xkb/* /mountpoint/usr/share/X11/xkb/
/sbin/qobi-wmhint-fix /usr/bin/set-focus
ln -s /lib/ld-linux-armhf.so.3 /mountpoint/lib/ld-linux.so.3
[ "x$GTK_MODULES" != x ] || export GTK_MODULES=libgtkstylus.so DISPLAY=:1 startlxde
mount -o bind /proc /mountpoint/proc mount -o bind /sys /mountpoint/sys mount -o bind /dev/pts /mountpoint/dev/pts chroot /mountpoint
apt-get update apt-get install locales lxde-core dbus-x11 roxterm-gtk2 lxde-icon-theme xserver-xephyr bash-completion pulseaudio menu alsa-base alsa-utils jack
export LANGUAGE=en_US.UTF-8 export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8 locale-gen en_US.UTF-8 dpkg-reconfigure locales
/mountpoint/etc/xdg/autostart/lxpolkit.desktop /mountpoint/usr/bin/lxpolkit
dpkg -i libc6_2.19-12_armhf.deb libc-bin_2.19-12_armhf.deb pulseaudio_5.0-13_armhf.deb libpulse0_5.0-13_armhf.deb libgtkstylus_0.3-2_armhf.deb
echo libc6 hold |dpkg --set-selections echo libc-bin hold |dpkg --set-selections echo pulseaudio hold |dpkg --set-selections echo libpulse0:armhf hold |dpkg --set-selections
echo xkb-data hold |dpkg --set-selections
echo lxsession hold |dpkg --set-selections
delgroup users addgroup -gid 29999 users adduser -uid 29999 -gid 29999 user
nameserver 192.168.1.254
nameserver 127.0.0.1
/sbin/ezchroot /sbin/qchroot
mount -o bind /dev "$CHROOT/dev" mount -o bind /proc "$CHROOT/proc" mount -o bind /tmp "$CHROOT/tmp" mount -o bind /var/tmp "$CHROOT/var/tmp" mount -o bind /dev/shm "$CHROOT/dev/shm" mount -o bind /sys "$CHROOT/sys"
mount -o bind /dev/snd "$CHROOT/dev/snd"
The Following 19 Users Say Thank You to sulu For This Useful Post: | ||
|
2014-11-16
, 18:32
|
Posts: 330 |
Thanked: 556 times |
Joined on Oct 2012
|
#3139
|
|
2014-11-17
, 08:06
|
Posts: 915 |
Thanked: 3,209 times |
Joined on Jan 2011
@ Germany
|
#3140
|
Tags |
beta, debian, easy debian, extras-devel, fremantle, i <3 qole, squeeze |
|
Thank you, Estel. In this case I would only be interested about using a keyboard inside LXDE, so from what you say things look promising.
My main goal is working with a bluetooth keyboard with integrated trackpad. I think I'll just have to get one and try. When that happens I'll report back.