WTH is wrong with this ?????

Deadjasper

[H]ard|Gawd
Joined
Oct 28, 2001
Messages
1,911
Trying to restore the OS on a Lenovo ix2-NG NAS box. The OS is on the HD, not in firmware. I'm following this youtube video -


Screenshot from 2019-03-17 13-29-53.png
Screenshot from 2019-03-17 13-37-15.png


When I get to this part, this is what I get -

Screenshot from 2019-03-17 13-29-53.png

zImage is on the desktop so why can't it be found? I suspect it might be a syntax error or else "Parrot" that the guy in the video is using is different than the Linux CLI.

Any help much appreciated.
 

auntjemima

Supreme [H]ardness
Joined
Mar 1, 2014
Messages
7,766
any idea what I'm doing wrong ?

I don't see anything wrong with what you are typing and I haven't really found anything quickly online either. Most people are missing a syntax somewhere, but you aren't.

I was going to suggest adding an extension to the zImage file (unless it doesn't have one, like *.img), which it seems it probably doesn't considering the video didn't have to add it

Edit: have you tried running DD as sudo? Reading around they say it isn't recommended, but all posts I've seen regarding DD are using sudo.

Edit2: have you considered running the command from the desktop directory instead of root?
 

Deadjasper

[H]ard|Gawd
Joined
Oct 28, 2001
Messages
1,911
I've tried it with sudo and without, same same. I've tried it from the desktop, a folder on the desktop, from the downloads folder, same results. This is driving me nuts. The video clearly shows it working.
 

auntjemima

Supreme [H]ardness
Joined
Mar 1, 2014
Messages
7,766
I recently had a ton of issues with dd but I don't recall what I did.

Way more educated Linux people around here than me, so I'm interested how this ends as well.
 

FNtastic

[H]ard|Gawd
Joined
Jul 6, 2013
Messages
1,419
Do an 'ls -lah' of your Desktop. I want to see the file there. Also, owner and permissions of that file.
 

Deadjasper

[H]ard|Gawd
Joined
Oct 28, 2001
Messages
1,911
Hope this is right -

Code:
sparkey@DenMain ~ $ ls -lah /home/sparkey
total 6.3M
drwxr-xr-x 38 sparkey sparkey 4.0K Mar 17 13:14 .
drwxr-xr-x  3 root    root    4.0K Sep  3  2018 ..
drwx------  3 sparkey sparkey 4.0K Sep  3  2018 .adobe
-rw-------  1 sparkey sparkey 2.4K Mar 17 13:49 .bash_history
-rw-r--r--  1 sparkey sparkey  220 Sep  3  2018 .bash_logout
-rw-r--r--  1 sparkey sparkey 4.0K Sep  3  2018 .bashrc
drwx------ 20 sparkey sparkey 4.0K Dec  6 18:03 .cache
drwxrwxr-x  5 sparkey sparkey 4.0K Mar 17 13:04 .cinnamon
drwxr-xr-x 28 sparkey sparkey 4.0K Feb  2 18:54 .config
drwx------  3 sparkey sparkey 4.0K Sep  3  2018 .dbus
drwxr-xr-x  7 sparkey sparkey 4.0K Mar 17 13:42 Desktop
-rw-r--r--  1 sparkey sparkey   27 Sep  3  2018 .dmrc
drwxr-xr-x  8 sparkey sparkey 4.0K Mar 17 12:27 Documents
drwxr-xr-x  7 sparkey sparkey 4.0K Mar 17 12:06 Downloads
drwx------  3 sparkey sparkey 4.0K Mar 17 14:57 .gconf
drwxr-xr-x 24 sparkey sparkey 4.0K Mar  5 17:43 .gimp-2.8
-rw-r-----  1 sparkey sparkey    0 Mar  5 14:41 .gksu.lock
drwx------  2 sparkey sparkey 4.0K Oct 27 10:17 .gnome2
drwx------  2 sparkey sparkey 4.0K Mar  5 13:37 .gnupg
-rw-rw-r--  1 sparkey sparkey   69 Sep  6  2018 hyytkityi
-rw-------  1 sparkey sparkey  90K Mar 17 13:04 .ICEauthority
drwxrwxr-x  2 sparkey sparkey 4.0K Sep  4  2018 .icons
-rw-r--r--  1 sparkey sparkey 2.8M Apr  8  2013 initrd
drwxrwxr-x  3 sparkey sparkey 4.0K Sep  6  2018 .java
drwx------  3 sparkey sparkey 4.0K Mar 14 19:03 .kde
drwxrwxr-x  4 sparkey sparkey 4.0K Sep  3  2018 .linuxmint
drwxr-xr-x  3 sparkey sparkey 4.0K Sep  3  2018 .local
drwx------  3 sparkey sparkey 4.0K Sep  3  2018 .macromedia
drwxr-xr-x  5 sparkey sparkey 4.0K Sep  3  2018 .mozilla
drwxr-xr-x 12 sparkey sparkey 4.0K Jan  7 18:08 Music
drwx------  3 sparkey sparkey 4.0K Sep  3  2018 .nv
-rw-rw-r--  1 sparkey sparkey 1.2K Nov 24 16:12 .nvidia-settings-rc
drwxr-x---  3 sparkey sparkey 4.0K Oct 24 12:22 .openarena
drwxrwxrwx  5 sparkey sparkey 4.0K Apr  9  2018 ownCloud
-rw-rw-r--  1 sparkey sparkey  79K Mar  5 09:16 password-export-2019-03-05.xml
-rw-r-----  1 sparkey sparkey 4.0K Mar  5 10:18 .pEp_management.db
-rw-r-----  1 sparkey sparkey  32K Mar  5 13:37 .pEp_management.db-shm
-rw-r-----  1 sparkey sparkey 206K Mar  5 13:37 .pEp_management.db-wal
drwxr-xr-x  3 sparkey sparkey  56K Mar 17 13:37 Pictures
drwx------  3 sparkey sparkey 4.0K Sep  3  2018 .pki
drwx------  2 sparkey sparkey 4.0K Sep  4  2018 .prboom-plus
-rw-r--r--  1 sparkey sparkey  655 Sep  3  2018 .profile
drwxr-xr-x  2 sparkey sparkey 4.0K Sep  3  2018 Public
-rw-------  1 sparkey sparkey 1.8K Mar 17 09:26 .recently-used
drwx------  2 sparkey sparkey 4.0K Mar 17 09:19 .remmina
drwxr-xr-x  3 sparkey sparkey 4.0K Feb 15 19:08 snap
-rw-r--r--  1 sparkey sparkey    0 Sep  3  2018 .sudo_as_admin_successful
drwxrwxr-x  3 sparkey sparkey 4.0K Sep  6  2018 .swt
drwxr-xr-x  2 sparkey sparkey 4.0K Sep  3  2018 Templates
drwxrwxr-x  3 sparkey sparkey 4.0K Sep  4  2018 .themes
drwx------  3 sparkey sparkey 4.0K Sep  7  2018 .thumbnails
drwx------  5 sparkey sparkey 4.0K Nov 20 12:57 .thunderbird
drwxrwxr-x  3 sparkey sparkey 4.0K Sep  3  2018 .var
drwxr-xr-x  2 sparkey sparkey 4.0K Dec 27 19:36 Videos
-rw-------  1 sparkey sparkey  121 Mar 17 13:04 .Xauthority
-rw-rw-r--  1 sparkey sparkey  131 Feb 19 15:37 .xinputrc
-rw-------  1 sparkey sparkey  28K Mar 17 15:21 .xsession-errors
-rw-------  1 sparkey sparkey 8.9K Mar 17 13:04 .xsession-errors.old
-rw-r--r--  1 sparkey sparkey 2.9M Apr  8  2013 zImage
sparkey@DenMain ~ $
 

Deadjasper

[H]ard|Gawd
Joined
Oct 28, 2001
Messages
1,911
Got one more hurdle to get over. As far as I tell I'm supposed to extract the recovery archive to a flash drive. The archive consisted of one folder called "emctools". The NAS is supposed to read from the flash drive and load the OS to the disk. However, it never tries to access the flash drive. On another website they talk about using a program called "h4c-4.1.102.29716.exe" to prepare the flash drive them copying the contents of the recovery archive to a folder called emctools on the newly created flash drive. This makes no sense being that the contents of the recovery drive is a folder called "emctool". But it does bring up a question, does the flash drive need to be bootable in order to work? if so, can Rufus do this. I can't find h4c-4.1.102.29716.exe anywhere on the web nor can I find a description of what it does. :(

Sorry, above mentioned info here -

https://www.myhacklog.com/restore-an-iomega-lenovo-storcenter-ix2-ng/
 

auntjemima

Supreme [H]ardness
Joined
Mar 1, 2014
Messages
7,766
Rufus can definitely create a bootable usb stick. Whether it can create one for Linux, I'm not sure. I'm not sure how Linux deals with bootable media.
 

Deadjasper

[H]ard|Gawd
Joined
Oct 28, 2001
Messages
1,911
Rufus can definitely create a bootable usb stick. Whether it can create one for Linux, I'm not sure. I'm not sure how Linux deals with bootable media.

Rufus can create a bootable Linux drive. I just don't know the box automatically reads the image from the flash drive when the reset button is held in or if it needs a bootable partition to do so.
 
Top