12443 Members
237 Forums
7850 Topics
24099 Posts
Max Online: 9115 @ 08/24/24 07:30 PM
|
|
|
|
|
|
|
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
11
|
12
|
13
|
14
|
15
|
16
|
17
|
18
|
19
|
20
|
21
|
22
|
23
|
24
|
25
|
26
|
27
|
28
|
29
|
30
|
31
|
|
|
|
|
|
|
|
|
|
#19890 - 11/09/19 08:13 AM
Re: DM900 rescue mode problem
[Re: Pamiko]
|
Japhar Member
Carpal Tunnel
Registered: 10/19/10
Posts: 10023
|
Perhaps you should recreate by hand the missing partitions ? Go to rescue mode, if you are not already in rescue mode most probably. echo "rescue" >> /proc/stb/fp/boot_mode && reboot Then check the partitions, below you have correct partitions from a working DM900UHD, opendreambox 2.5.0 dm900
>>> Your Dreambox has booted into RESCUE MODE. >>> Please log in as user 'root' (no password required), >>> then run 'help' to get further information.
dm900 login: root root@dm900:~# fdisk -lu
Disk /dev/mtdblock0: 2 MB, 2097152 bytes 255 heads, 63 sectors/track, 0 cylinders, total 4096 sectors Units = sectors of 1 * 512 = 512 bytes
Disk /dev/mtdblock0 doesn't contain a valid partition table
Disk /dev/mtdblock1: 0 MB, 131072 bytes 255 heads, 63 sectors/track, 0 cylinders, total 256 sectors Units = sectors of 1 * 512 = 512 bytes
Disk /dev/mtdblock1 doesn't contain a valid partition table
Disk /dev/mtdblock2: 0 MB, 131072 bytes 255 heads, 63 sectors/track, 0 cylinders, total 256 sectors Units = sectors of 1 * 512 = 512 bytes
Disk /dev/mtdblock2 doesn't contain a valid partition table
Disk /dev/mtdblock3: 14 MB, 14417920 bytes 255 heads, 63 sectors/track, 1 cylinders, total 28160 sectors Units = sectors of 1 * 512 = 512 bytes
Disk /dev/mtdblock3 doesn't contain a valid partition table
Disk /dev/mtdblock4: 33 MB, 33554432 bytes 255 heads, 63 sectors/track, 4 cylinders, total 65536 sectors Units = sectors of 1 * 512 = 512 bytes
Disk /dev/mtdblock4 doesn't contain a valid partition table Found valid GPT with protective MBR; using GPT
Disk /dev/mmcblk0: 7634944 sectors, 3728M Logical sector size: 512 Disk identifier (GUID): 30f082cc-2877-4689-9b2b-e1812454a613 Partition table holds up to 128 entries First usable sector is 34, last usable sector is 7634910
Number Start (sector) End (sector) Size Code Name 1 2048 65535 31.0M 0700 kernel 2 65536 2097151 992M 0700 rootfs 3 2097152 7634910 2703M 0700 data
Disk /dev/mmcblk0boot1: 4 MB, 4194304 bytes 4 heads, 16 sectors/track, 128 cylinders, total 8192 sectors Units = sectors of 1 * 512 = 512 bytes
Disk /dev/mmcblk0boot1 doesn't contain a valid partition table
Disk /dev/mmcblk0boot0: 4 MB, 4194304 bytes 4 heads, 16 sectors/track, 128 cylinders, total 8192 sectors Units = sectors of 1 * 512 = 512 bytes
Disk /dev/mmcblk0boot0 doesn't contain a valid partition table And try to recreate the same partitions, that seems to be lost. Let us know if you get something working, Admin DM920UHD : root@dm920:~# fdisk -lu /dev/mmcblk0 Found valid GPT with protective MBR; using GPT
Disk /dev/mmcblk0: 15269888 sectors, 3360M Logical sector size: 512 Disk identifier (GUID): a157dc9b-d004-44e6-a25a-9c0d96d709f6 Partition table holds up to 128 entries First usable sector is 34, last usable sector is 15269854
Number Start (sector) End (sector) Size Code Name 1 2048 65535 31.0M 0700 kernel 2 65536 4194303 2016M 0700 rootfs 3 4194304 15269854 5407M 0700 data Perhaps you could restore your GPT partitions this way... from rescue partition. sgdisk /dev/mmcblk0 -z -n 1:2048:65535 -c 1:kernel -t 1:8301 -n 2:65536:4194303 -c 2:rootfs -t 2:8307 -n 3:4194304: -c 3:data -t 3:8300 DM900UHD : opendreambox 2.5.0 dm900
>>> Your Dreambox has booted into RESCUE MODE. >>> Please log in as user 'root' (no password required), >>> then run 'help' to get further information.
dm900 login: root root@dm900:~# fdisk -lu /dev/mmcblk0 Found valid GPT with protective MBR; using GPT
Disk /dev/mmcblk0: 7634944 sectors, 3728M Logical sector size: 512 Disk identifier (GUID): 30f082cc-2877-4689-9b2b-e1812454a613 Partition table holds up to 128 entries First usable sector is 34, last usable sector is 7634910
Number Start (sector) End (sector) Size Code Name 1 2048 65535 31.0M 0700 kernel 2 65536 2097151 992M 0700 rootfs 3 2097152 7634910 2703M 0700 data
Should be... sgdisk /dev/mmcblk0 -z -n 1:2048:65535 -c 1:kernel -t 1:8301 -n 2:65536:2097151 -c 2:rootfs -t 2:8307 -n 3:2097152: -c 3:data -t 3:8300
_________________________
|
Top
|
|
|
|
|
|
|