LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-20-2011, 07:05 PM   #1
Kristoffer G
Member
 
Registered: Jan 2007
Location: In central Umeå.
Distribution: Mageia
Posts: 79

Rep: Reputation: 25
Is it possible to get into shell when you're in Recovery-mode to copy a device-block?


Hi!

I am trying to create a backup from current run-state via ssh & I've managed to copy almost all blocks under /dev/block/, but stl-blocks won't copy.
I have remounted every partition in my tablet to rw & stl1 was mounted under /cache

I tried to unmount the other mounting points to copy the remaining stl-blocks, but still no luck.

I found an old thread on XDA-developers.com that looks like a possible solution, but I'm not the expert to tell if that would work: http://forum.xda-developers.com/showthread.php?t=750663

Here's all info from my tablet:

CPU-info shown by cat /proc/cpuinfo

Processor : ARMv7 Processor rev 2 (v7l)
BogoMIPS : 199.80
Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part : 0xc08
CPU revision : 2

Hardware : GT-P1000
Revision : 0012
Serial : 363043f84e2700ec
--------------------------------------------------------

Content of /proc shown by ls /proc

param
rfs
LinuStoreIII
mtd
uid_stat
pvr
apm
sysrq-trigger
partitions
diskstats
crypto
kpageflags
kpagecount
kmsg
softirqs
version
uptime
stat
meminfo
loadavg
interrupts
devices
cpuinfo
cmdline
locks
filesystems
vmallocinfo
zoneinfo
vmstat
pagetypeinfo
buddyinfo
kallsyms
modules
timer_list
iomem
ioports
execdomains
sched_debug
cpu
asound
scsi
misc
fb
wakelocks
irq
cgroups
sys
bus
tty
driver
fs
sysvipc
net
mounts
self
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
31
32
33
34
35
36
43
44
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
63
66
67
68
69
70
71
72
73
74
75
76
77
78
79
81
82
86
94
108
121
182
190
191
196
197
203
207
244
284
1066
1528
2645
2660
2684
2721
2964
3113
3140
3179
3187
3196
3205
3212
3219
3220
3221
3222
3223
3224
3229
3239
3267
3277
3285
3292
3302
3311
3329
3337
3345
3352
3372
3389
3412
3413
3417
3418
--------------------------------------------------------
DEVICES shown by cat /proc/devices

Character devices:
1 mem
4 /dev/vc/0
4 tty
5 /dev/tty
5 /dev/console
5 /dev/ptmx
7 vcs
10 misc
13 input
21 sg
29 fb
81 video4linux
89 i2c
100 accelerometer
108 ppp
116 alsa
128 ptm
136 pts
204 s3c2410_serial
216 rfcomm
249 ttyGS
250 onedram
251 s3c_bc
252 pvrsrvkm
253 rtc
254 ttyFIQ

Block devices:
1 ramdisk
259 blkext
7 loop
8 sd
65 sd
66 sd
67 sd
68 sd
69 sd
70 sd
71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd
137 bml
138 stl
139 tfsr
179 mmc
254 device-mapper
--------------------------------------------------------
Mounted partitions shown by cat /proc/mounts:

# cat mounts
cat mounts
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
/dev/block/stl6 /mnt/.lfs j4fs rw,relatime 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /app-cache tmpfs rw,relatime,size=12288k 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/stl9 /system rfs rw,relatime,vfat,log_off,check=no,gid/uid/rwx,iochar
set=utf8 0 0
/dev/block/mmcblk0p3 /preload vfat ro,nodev,noatime,nodiratime,fmask=0133,dmask=
0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0
0
/dev/block/mmcblk0p2 /data rfs rw,nosuid,nodev,relatime,vfat,llw,check=no,gid/ui
d/rwx,iocharset=utf8 0 0
/dev/block/stl10 /dbdata rfs rw,nosuid,nodev,relatime,vfat,llw,check=no,gid/uid/
rwx,iocharset=utf8 0 0
/dev/block/stl11 /cache rfs rw,nosuid,nodev,relatime,vfat,llw,check=no,gid/uid/r
wx,iocharset=utf8 0 0
/dev/block/stl3 /efs rfs rw,nosuid,nodev,relatime,vfat,llw,check=no,gid/uid/rwx,
iocharset=utf8 0 0
/dev/block/vold/179:1 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,noatime,no
diratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437
,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:9 /mnt/sdcard/external_sd vfat rw,dirsync,nosuid,nodev,noexe
c,noatime,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,co
depage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:9 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,noati
me,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=
cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/external_sd/.android_secure tmpfs ro,relatime,size=0k,mode=000
0 0
--------------------------------------------------------
PARTITIONS shown by cat /proc/partitions

major minor #blocks name

139 0 513024 tfsr0/c
139 1 256 tfsr1
139 2 256 tfsr2
139 3 10240 tfsr3
139 4 1280 tfsr4
139 5 1280 tfsr5
139 6 5120 tfsr6
139 7 7680 tfsr7
139 8 7680 tfsr8
139 9 337920 tfsr9
139 10 89088 tfsr10
139 11 35840 tfsr11
139 12 16384 tfsr12
179 0 15552512 mmcblk0
179 1 13455328 mmcblk0p1
179 2 1994752 mmcblk0p2
179 3 102400 mmcblk0p3
137 0 513024 bml0/c
137 1 256 bml1
137 2 256 bml2
137 3 10240 bml3
137 4 1280 bml4
137 5 1280 bml5
137 6 5120 bml6
137 7 7680 bml7
137 8 7680 bml8
137 9 337920 bml9
137 10 89088 bml10
137 11 35840 bml11
137 12 16384 bml12
138 3 6400 stl3
138 6 1280 stl6
138 9 328192 stl9
138 10 84480 stl10
138 11 32000 stl11
179 8 15558144 mmcblk1
179 9 15557120 mmcblk1p1
-----------------------------------------------------
Output shown by df

Filesystem Size Used Free Blksize
/dev 222M 32K 222M 4096
/mnt/.lfs: Function not implemented
/mnt/asec 222M 0K 222M 4096
/mnt/obb 222M 0K 222M 4096
/app-cache 12M 352K 11M 4096
/system 318M 313M 5M 4096
/preload 99M 34M 65M 16384
/data 1G 194M 1G 16384
/dbdata 81M 2M 78M 4096
/cache 30M 16K 30M 4096
/efs 5M 5M 675K 1024
/mnt/sdcard 12G 42M 12G 32768
/mnt/sdcard/external_sd 14G 96K 14G 32768
/mnt/secure/asec 14G 96K 14G 32768
--------------------------------------------------------

Do I have to apply blocksize when copying or........?

The tablet IS rooted, but not flashed.

Please let me know if I've missed to give you some info.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mtd driver as block device and char device Linux_Kid_ Linux - Kernel 1 12-27-2009 12:17 PM
Creating A New Device Node/Not A Valid Block Device indienick Debian 4 07-13-2007 02:07 PM
Block device /dev/sda3 is not a valid root device.. rincewind Linux - Hardware 7 06-09-2006 04:47 AM
UL 1.0 GRUB: could not find device for /boot: not found or not a block device cma Linux - General 4 12-12-2005 03:35 AM
Hard disk now displaying "not a valid block device" when booting in rescue mode alphasure Linux - Hardware 4 06-05-2003 07:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration