[solved] Reset root password of factory os

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

[solved] Reset root password of factory os

Postby pm4888 » Thu Mar 20, 2014 4:12 pm

Please give some suggestion/hint here. I have alarm working on my pogoplug e02 on a USB ext hdd. If I reboot without the usb hdd it boots into original factory os. However I forget the root password and would like to leverage existing alarm to reset it. I search the forum and internet a bit and they all seem to mention mounting /dev/mdtblock? device, which doesn't seem to exist. What's the trick here?

Thank you.

$this->bbcode_second_pass_quote('', '[')root@pogoplug ~]# ls /dev/mtd*
/dev/mtd0 /dev/mtd1 /dev/mtd2 /dev/mtd3
/dev/mtd0ro /dev/mtd1ro /dev/mtd2ro /dev/mtd3ro
[root@pogoplug ~]# mtdinfo
Count of MTD devices: 4
Present MTD devices: mtd0, mtd1, mtd2, mtd3
Sysfs interface supported: yes
[root@pogoplug ~]# mount -r -t jffs2 /dev/mtd2 /mnt
mount: /dev/mtd2 is not a block device
[root@pogoplug ~]# cat /proc/mtd
dev: size erasesize name
mtd0: 00100000 00020000 "u-boot"
mtd1: 00400000 00020000 "uImage"
mtd2: 02000000 00020000 "rootfs"
mtd3: 05b00000 00020000 "data"
[root@pogoplug ~]#
Last edited by pm4888 on Thu Mar 20, 2014 7:04 pm, edited 1 time in total.
pm4888
 
Posts: 17
Joined: Thu Aug 22, 2013 2:20 pm
Location: Albany, NY

Re: Reset root password of factory os

Postby pm4888 » Thu Mar 20, 2014 7:02 pm

it seems to be working by manually creating the devices:

$this->bbcode_second_pass_quote('', 'c')d /dev/
mknod mtdblock0 b 31 0
mknod mtdblock1 b 31 1
mknod mtdblock2 b 31 2
mknod mtdblock3 b 31 3
mknod mtdblock4 b 31 4
mknod mtdblock5 b 31 5
mount -t jffs2 /dev/mtdblock2 /mnt
pm4888
 
Posts: 17
Joined: Thu Aug 22, 2013 2:20 pm
Location: Albany, NY


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 10 guests