Será que este comando errado prejudicará meu sistema operacional Ubuntu após a reinicialização?

1

Estou tentando instalar o archlinux em um Pogoplug ... Mas recebi um erro dizendo que a permissão foi negada porque eu não era root ... Então, eu sei associar "sudo" com root, mas não o fiz pense até depois que sudo só poderia ser usado como o comando root para o sistema operacional do Ubuntu ... Eu chequei a pasta de diretórios no drive do Ubuntu, e com certeza eu tinha escrito o script para ele ...

Este é o comando que eu digitei

/tmp$ sudo ./install_uboot_mtd0.sh

Isto é o que cuspiu ..........

    !!!!!!  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

Eu causei danos irreparáveis no meu sistema operacional? Ainda parece bem por enquanto, mas devo temer uma reinicialização?

    
por cowboyuptx 31.12.2013 / 07:44

1 resposta

0

Eu não entendo suas preocupações. Você executou este script em uma máquina Ubuntu que baixa alguns arquivos e os instala em /dev/mtd0 . Se você não está executando o seu Ubuntu a partir de um cartão flash, então esse /dev/mtd0 é um dispositivo externo, por que esse script causaria algum dano ao seu sistema Ubuntu? Seu dispositivo pogoplug pode estar danificado, o seu sistema Ubuntu não é provável.

Também da saída que você forneceu, parece que o script nem tocou no dispositivo pogoplug, apenas baixou um monte de arquivos.

    
por falconer 31.12.2013 / 13:08