[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] restoring OS/harddrive on raq550
- Subject: RE: [cobalt-users] restoring OS/harddrive on raq550
- From: aljuhani <aljuhani@xxxxxxxxx>
- Date: Mon Oct 28 08:38:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
><snip>
>Or if that is a little too destructive, why not pop the damaged drive out,
put it into another machine running a linux release, mount the partition and
take a look whats happened and fix it.
>
>I know thats a big generalisation, just dropping a few suggestions in!
>
>Regards,
>
>Andy
>andy@xxxxxxxxxx
Andy,
Right here is what sun cobalt knowledgebase (http://cobalt-knowledge.sun.com)
says about this:
(I Pasted the article because the URL is very long)
Emergency data recovery:
Q. How would I go about pulling the data from my harddrive if the server will
no longer boot?
This procedure assumes an intermediate to advanced level knowledge of the
linux operating system.
If the server is inaccessible, and does not boot correctly, here is an
emergency method of retrieving the disk information.
Required: a linux/unix machine and root priveleges.
Remove the hard drive from the Cobalt machine, and hook it up in the linux
machine. We will use /dev/hdb for examples, signifying the primary ide channel
slave drive, and /mnt/cobalt as the mount point. Replace these with correct
information from the system.
Power up the linux machine, and verify that the drive was recognized. You can
normally find which drives have been found by the kernel by typing:
dmesg | grep hd
Once this is done, 'mount' the existing disk partitions to a place on the
local machine. We will only need one directory for this. Which should be
created in the '/mnt' directory. For example:
mkdir /mnt/cobalt
After creating the directory, mount the '/' partition of the cobalt drive to
that directory, which can be done as follows:
mount -t ext2 /dev/hdb1 /mnt/cobalt
Then mount the remaining two partitions.
mount -t ext2 /dev/hdb3 /mnt/cobalt/var
mount -t ext2 /dev/hdb4 /mnt/cobalt/home