Mostrando entradas con la etiqueta reset password. Mostrar todas las entradas
Mostrando entradas con la etiqueta reset password. Mostrar todas las entradas

viernes, 24 de enero de 2014

Replace internal SATA Drive or Reinstall firmware to perfect Factory Default of Iomega Home Media Network Hard Drive ((MHNDHD) only

Spanish keywords: Reemplazar disco duro SATA Interno o Reinstalar el firmware para un Reseteo de Fábrica perfecto del equipo NAS Iomega Home Media Network Hard Drive

Don't try this on model "Cloud Edition" it will not work or HMND2
Perfect for: Iomega Home Media Network Hard Drive
Source: http://iomega.nas-central.org/wiki/Installing_firmware_on_a_new_disk_(Home_Media)

You could use this procedure if you forgot the local password of the managment console, you have backed up all your files or if you want to install a bigger drive on the NAS

1. You will need a DVD or USB with Ubuntu Desktop or a Laptop or Desktop with Ubuntu Installed
2. In this case i'll use Ubuntu DVDR
http://www.ubuntu.com/download/desktop#
3. Install the new SATA Drive on the desktop
4. boot and start Ubuntu Live
5. open a terminal (ctrl+alt+t)
6. reset Live cd root password with

#sudo passwd root
(follow screen instructions to reset root password)
5. now you can use root
#su
(use the root password when it prompts)
6) follow the next steps exactly as it shown.  In the scenario you have 1 principal disk (your Windows, Linux, Ubuntu disk) and the new sata disk (be careful to not erase your own laptop or desktop disk)

7)

Find device name

Find the device name of the disk:
cat /proc/partitions
You can recognize the disk by it's size. (The size is given in 'blocks', which is 1 KiB)

I'll assume the disk is sdb for the rest of the story.

Collect files

Download mbr+uboot+kernel.gz and sda1-2064.tgz here.

Become root

You'll need to have root rights to do the next steps. In Ubuntu or Knoppix you can get these by executing
sudo su
In most other flavors you just execute
su

ESTO ES DESTRUCTIVO OJO EN NO EQUIVOCARTE DE /dev

MBR, uBoot and kernel

Write mbr+uboot+kernel.gz to disk:
gzip -dc /full/path/to/mbr+uboot+kernel.gz | dd of=/dev/sdb
(when using sudo for root things, this should be
gzip -dc /full/path/to/mbr+uboot+kernel.gz | sudo dd of=/dev/sdb
)

Change data partition size

Use fdisk to remove partition 2, and add it again. Primary partition. (your disk will have a different size than the mbr donor).
fdisk is started by:
fdisk /dev/sdb
and use 'm' to get further help.
Change the partitiontype of partition 2 to fd.
Write partitiontable and exit fdisk.
SENCILLO SOLO METE LOS CARACTERES Y LOS ENTER COMO SE DESCRIBE

For the lazy people, the exact keystrokes in fdisk are:
d{enter}2{enter}(delete partition 2)
n{enter}p{enter}2{enter}(create new, primary, partition at slot 2)
{enter}{enter} (default start- end endsector)
t{enter}2{enter}fd{enter}(change type of partition 2 to 'fd')
w{enter}(write changes and exit)

System partition

Format partition 1:
mke2fs -j /dev/sdb1
Create a mountpoint, and mount partition 1:
mkdir /tmp/sdb1
mount /dev/sdb1 /tmp/sdb1
Install the rootfs:
cd /tmp/sdb1
tar -xzf /full/path/to/sda1-2064.tgz
The last command might give a lot of errors about unresolved symlinks in /etc/ssl/. This is normal. The symlinks point to files which really don't exist

Data partition

Format partition 2:
mkfs -t xfs /dev/sdb2
It is possible that you have to install xfsprogs first. On Ubuntu or Debian:
apt-get install xfsprogs

Ready

When you put this disk in your Home Media, it should work.
On a Home Media the MAC address is stored on the disk. For this disk image it's 00:d0:b8:09:68:1e. If you want to change it, you'll have to edit /etc/modules.
DHCP must be enabled on the network
use http://assigneddhcpaddress to reconfigura the Iomega drive
EXITOS

jueves, 2 de septiembre de 2010

Resetear el password del administrador de Windows

Source: http://www.makeuseof.com/tag/recover-your-windows-xp-administrator-password-with-the-installation-disk/
Recover Your Windows XP Administrator Password With The Installation Disk

After you hit that R key the Setup wizard will start to copy the system files from the media to your hard drive/Windows Installation. This took about 4 minutes on my machine.

Windows will now reboot automatically or you can hit ENTER to speed things up a little. When the machine restarts DO NOT BOOT FROM THE CD! DO NOT HIT A KEY TO BOOT FROM YOUR CD! Take the CD out of the drive if you think this is going to be an issue for you.

Once the computer starts back up it will jump into the installer. Here, when you get to about 37 minutes left on the installer it will say Installing Devices on the bottom left hand side of the screen – Hit Shift-F10 at the same time and a command prompt will pop-up! Just like that.

Using some basic command line kung fu we type control userpasswords2 and we can do whatever we want to. You can get at anything from this command prompt you have full root/administrator access!

Once you have the user accounts control panel up, you can add, modify or remove users. Promote a user to administrator status or what have you. Remember only use this for good and not evil.