MyCloudGen2版本刷纯净debian+SAMBA+迅雷+百度盘同+BT下载
准备工作
一个大于1G的U盘
本帖隐藏的内容
下载启动文件http://oppqoop7f.bkt.clouddn.com/boot.zip
下载恢复文件包http://oppqoop7f.bkt.clouddn.com/root.tar.gz
把U盘格式化成FAT32格式
做完U盘,差MCGEN2的USB口,插拔电源重启,通过路由器的DHCP获取MC新的IP地址使用puTTy链接MC
注意使用Telnet 协议
登录后复制下面的代码恢复就可以了!
=============================
1.分区[如果是更换新的硬盘从这里操作,不是换硬盘的从第二步开始]
parted /dev/sda
mklabel gpt
mkpart primary 1049kB 2149MB
mkpart primary 8591MB -1MB
mkpart primary 7517MB 8591MB
mkpart primary 2149MB 3222MB
mkpart primary 3222MB 4296MB
mkpart primary 4296MB 6443MB
mkpart primary 6443MB 7517MB
q
mkswap /dev/sda1
mkfs.ext4 /dev/sda3
2.恢复somewood+debian纯净版[执行下面的命令]
echo ‘y’|mkfs.ext4 /dev/sda3
mkdir -p /mnt/usb /mnt/root
mount /dev/sda3 /mnt/root
mount /dev/sdb1 /mnt/usb
tar zxvf /mnt/usb/root.tar.gz -C /mnt
cd /
umount /mnt/root /mnt/usb
sync
恢复完成后插拔电源重启MC,第一次启动需要插拔电源2次才可以启动系统!
3.恢复原厂固件
mkdir -p /mnt/usb /mnt/root
mount /dev/sda3 /mnt/root
mount /dev/sdb1 /mnt/usb
cp -r /mnt/usb/boot /mnt/root/
cd /mnt/root/boot
rm uImage uRamdisk
mv uImage-wdrecovery uImage
mv uRamdisk-wdrecovery uRamdisk
cd /
umount /mnt/root /mnt/usb
sync
reboot -f
这时候WEB页面刷入固件即可,注意IP会变,通过路由器DHCP分配查询新IP地址
3.默认用户密码
ssh 默认用户名root 密码mycloud
WEB页面登陆用户名 somewood 密码pass
4.图文展示
5.其他说明
在纯净版debian的基础上安装了以下程序
php5 php5-cgi php5-gd lighttpd curl screen sudo samba
vsftpd ntfs-3g smartmontools hdparm ntpdate
libcurl3-gnutls python-pycurl libc-ares2 cifs-utils smbclient
libminiupnpc-dev libnatpmp-dev libevent-2.0-5
迅雷客户端请下载迅雷SOME版
其他版本不支持mcgen2
Google Translation:
Ready to work
A U disk greater than 1G
Hide the contents of this post
Download the startup file http://oppqoop7f.bkt.clouddn.com/boot.zip
Download recovery package http://oppqoop7f.bkt.clouddn.com/root.tar.gz
Format the U disk into FAT32 format
Done U disk, poor MCGEN2 the USB port, plug the power to restart, through the router’s DHCP access to the new IP address using the puTTy link MC
Note the use of the Telnet protocol
After login, copy the following code to restore it!
- partition [if it is to replace the new hard drive from here to operate, not for the hard disk from the second step]
Parted / dev / sda
Mklabel gpt
Mkpart primary 1049kB 2149MB
Mkpart primary 8591MB -1MB
Mkpart primary 7517MB 8591MB
Mkpart primary 2149MB 3222MB
Mkpart primary 3222MB 4296MB
Mkpart primary 4296MB 6443MB
Mkpart primary 6443MB 7517MB
Q
Mkswap / dev / sda1
Mkfs.ext4 / dev / sda3
-
restore somewood + debian pure version [execute the following command]
Echo ‘y’ | mkfs.ext4 / dev / sda3
Mkdir -p / mnt / usb / mnt / root
Mount / dev / sda3 / mnt / root
Mount / dev / sdb1 / mnt / usb
Tar zxvf /mnt/usb/root.tar.gz -C / mnt
Cd /
Umount / mnt / root / mnt / usb
Sync
================================================== ==
After the completion of recovery power to restart MC, the first boot need to plug the power supply 2 times to start the system! -
Restore the original firmware
Mkdir -p / mnt / usb / mnt / root
Mount / dev / sda3 / mnt / root
Mount / dev / sdb1 / mnt / usb
Cp -r / mnt / usb / boot / mnt / root /
Cd / mnt / root / boot
Rm uImage uRamdisk
Mv uImage-wdrecovery uImage
Mv uRamdisk-wdrecovery uRamdisk
Cd /
Umount / mnt / root / mnt / usb
Sync
Reboot -f
This time WEB page brush into the firmware can be, pay attention to IP will change, through the router DHCP allocation query new IP address -
Default user password
Ssh default user name root password mycloud
WEB page login user name somewood password pass -
Graphic display
-
Other instructions
In the pure version of debian based on the installation of the following procedures
Php5-cgi php5-gd lighttpd curl screen sudo samba
Vsftpd ntfs-3g smartmontools hdparm ntpdate
Libcurl3-gnutls python-pycurl libc-iss2 cifs-utils smbclient
Libminiupnpc-dev libnatpmp-dev libevent-2.0-5
Thunder client please download Thunder SOME version
Other versions do not support mcgen2






