重新启动后,此错误命令会损害我的Ubuntu OS吗?


1

我正在尝试在Pogoplug上安装archlinux。...但是我收到一条错误消息,因为我不是root用户,所以权限被拒绝了。所以我知道将“ sudo”与root用户相关联,但是直到后来我才想到那个sudo只能用作ubuntu操作系统的根命令...我检查了Ubuntu驱动器上的目录文件夹,并确定已经为它编写了脚本...

这是我输入的命令

/tmp$ sudo ./install_uboot_mtd0.sh

这就是它吐出来的...

    !!!!!!  DANGER DANGER DANGER DANGER DANGER DANGER  !!!!!!

If you lose power to your device while running this script,
it could be left in an unusable state.

This script will replace the bootloader on /dev/mtd0.

This installer will only work on the following devices:
 Seagate Dockstar
 Seagate GoFlex Net
 Seagate GoFlex Home
 Pogoplug v1
 Pogoplug Pink (v2)
Do not run this installer on any other device.

By typing ok, you agree to assume all liabilities and risks 
associated with running this installer.

If you agree, type 'ok' and press ENTER to continue: ok
# checking for /usr/sbin/nandwrite...

# Installing /usr/sbin/nandwrite...
--2013-12-30 09:12:24--  http:/download.doozan.com/uboot/nandwrite.md5
Resolving download.doozan.com (download.doozan.com)... 50.116.34.13
Connecting to download.doozan.com (download.doozan.com)|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `/usr/sbin/nandwrite.md5'

    [ <=>                                   ] 32          --.-K/s   in 0s      

2013-12-30 09:12:24 (3.18 MB/s) - `/usr/sbin/nandwrite.md5' saved [32]

--2013-12-30 09:12:24--  http:/download.doozan.com/uboot/nandwrite
Resolving download.doozan.com (download.doozan.com)... 50.116.34.13
Connecting to download.doozan.com (download.doozan.com)|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11500 (11K) []
Saving to: `/usr/sbin/nandwrite'

100%[======================================>] 11,500      --.-K/s   in 0.03s   

2013-12-30 09:12:25 (359 KB/s) - `/usr/sbin/nandwrite' saved [11500/11500]

# Successfully installed /usr/sbin/nandwrite.
# checking for /usr/sbin/nanddump...

# Installing /usr/sbin/nanddump...
--2013-12-30 09:12:25--  http:/download.doozan.com/uboot/nanddump.md5
Resolving download.doozan.com (download.doozan.com)... 50.116.34.13
Connecting to download.doozan.com (download.doozan.com)|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `/usr/sbin/nanddump.md5'

    [ <=>                                   ] 32          --.-K/s   in 0s      

2013-12-30 09:12:26 (2.60 MB/s) - `/usr/sbin/nanddump.md5' saved [32]

--2013-12-30 09:12:26--  http:/download.doozan.com/uboot/nanddump
Resolving download.doozan.com (download.doozan.com)... 50.116.34.13
Connecting to download.doozan.com (download.doozan.com)|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 21286 (21K) []
Saving to: `/usr/sbin/nanddump'

100%[======================================>] 21,286      --.-K/s   in 0.07s   

2013-12-30 09:12:26 (303 KB/s) - `/usr/sbin/nanddump' saved [21286/21286]

# Successfully installed /usr/sbin/nanddump.
# checking for /usr/sbin/flash_erase...

# Installing /usr/sbin/flash_erase...
--2013-12-30 09:12:26--  http:/download.doozan.com/uboot/flash_erase.md5
Resolving download.doozan.com (download.doozan.com)... 50.116.34.13
Connecting to download.doozan.com (download.doozan.com)|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `/usr/sbin/flash_erase.md5'

    [ <=>                                   ] 32          --.-K/s   in 0s      

2013-12-30 09:12:27 (3.33 MB/s) - `/usr/sbin/flash_erase.md5' saved [32]

--2013-12-30 09:12:27--  http:/download.doozan.com/uboot/flash_erase
Resolving download.doozan.com (download.doozan.com)... 50.116.34.13
Connecting to download.doozan.com (download.doozan.com)|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12819 (13K) []
Saving to: `/usr/sbin/flash_erase'

100%[======================================>] 12,819      --.-K/s   in 0.06s   

2013-12-30 09:12:27 (210 KB/s) - `/usr/sbin/flash_erase' saved [12819/12819]

# Successfully installed /usr/sbin/flash_erase.
# checking for /usr/sbin/fw_printenv...

# Installing /usr/sbin/fw_printenv...
--2013-12-30 09:12:27--  http://download.doozan.com/uboot/fw_printenv.md5
Resolving download.doozan.com (download.doozan.com)... 50.116.34.13
Connecting to download.doozan.com (download.doozan.com)|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `/usr/sbin/fw_printenv.md5'

    [ <=>                                   ] 32          --.-K/s   in 0s      

2013-12-30 09:12:28 (3.33 MB/s) - `/usr/sbin/fw_printenv.md5' saved [32]

--2013-12-30 09:12:28--  http:/download.doozan.com/uboot/fw_printenv
Resolving download.doozan.com (download.doozan.com)... 50.116.34.13
Connecting to download.doozan.com (download.doozan.com)|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 668497 (653K) []
Saving to: `/usr/sbin/fw_printenv'

100%[======================================>] 668,497     1.46M/s   in 0.4s    

2013-12-30 09:12:28 (1.46 MB/s) - `/usr/sbin/fw_printenv' saved [668497/668497]

# Successfully installed /usr/sbin/fw_printenv.
# checking for /etc/fw_env.config...

# Installing /etc/fw_env.config...
--2013-12-30 09:12:28--  http:/download.doozan.com/uboot/fw_env.config.md5
Resolving download.doozan.com (download.doozan.com)... 50.116.34.13
Connecting to download.doozan.com (download.doozan.com)|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 32 [text/html]
Saving to: `/etc/fw_env.config.md5'

100%[======================================>] 32          --.-K/s   in 0s      

2013-12-30 09:12:29 (5.19 MB/s) - `/etc/fw_env.config.md5' saved [32/32]

--2013-12-30 09:12:29--  http:/download.doozan.com/uboot/fw_env.config
Resolving download.doozan.com (download.doozan.com)... 50.116.34.13
Connecting to download.doozan.com (download.doozan.com)|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 329 []
Saving to: `/etc/fw_env.config'

100%[======================================>] 329         --.-K/s   in 0s      

2013-12-30 09:12:30 (45.2 MB/s) - `/etc/fw_env.config' saved [329/329]

# Successfully installed /etc/fw_env.config.

# Validating existing uBoot...
/usr/sbin/nanddump: 1: /usr/sbin/nanddump: Syntax error: word unexpected (expecting ")")
--2013-12-30 09:12:30--  http:/jeff.doozan.com/uboot/valid-uboot.md5
Resolving jeff.doozan.com (jeff.doozan.com)... 50.116.34.13
Connecting to jeff.doozan.com (jeff.doozan.com)|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://projects.doozan.com/uboot/valid-uboot.md5 [following]
--2013-12-30 09:12:30--  http:/projects.doozan.com/uboot/valid-uboot.md5
Resolving projects.doozan.com (projects.doozan.com)... 50.116.34.13
Connecting to projects.doozan.com (projects.doozan.com)|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1133 (1.1K) [text/plain]
Saving to: `/tmp/valid-uboot.md5'

100%[======================================>] 1,133       --.-K/s   in 0s      

2013-12-30 09:12:31 (143 MB/s) - `/tmp/valid-uboot.md5' saved [1133/1133]

md5sum: /tmp/uboot-mtd0-dump: No such file or directory

我是否对操作系统造成了不可修复的损害?目前看来还不错,但是我应该担心重启吗?


您已经运行了脚本..现在重新启动以查看会发生什么..如果失败(希望没有失败,那么也许您应该寻找恢复选项
精确到

我检查了Ubuntu驱动器上的目录文件夹,并确定已经向其中写入了脚本...您能否澄清一下?目录文件夹,这是哪个目录?
falconer 2013年

Answers:


0

我不明白你的担心。您在Ubuntu计算机上运行了该脚本,该计算机下载了一些文件并将其安装到/dev/mtd0。如果您不是从闪存卡运行Ubuntu,那/dev/mtd0是外部设备,那么此脚本为什么会对Ubuntu系统造成任何损害?您的pogoplug设备可能已损坏,而您的Ubuntu系统则不太可能。

同样从您提供的输出来看,脚本似乎甚至没有触摸pogoplug设备,只是下载了一堆文件。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.