Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: alext on July 01, 2012, 01:19:09 PM

Title: Cant mount USB drive in rescue mode
Post by: alext on July 01, 2012, 01:19:09 PM
Hi,

I have a crashed SME 7.5.1 which will not boot correctly.
I have backups of the mysql databases and Ibays but unfortunatley the Ibays were modified in between the backup and crash. Therefore I need to try to get the Ibay data off.

I have booted from the CD and entered the "sme RESCUE" command.
The system comes up in command mode as expected.

Attempting to execute "chroot /mnt/sysimage" fails with:
    "error while loading shared libraries: liibtermcap.so.2: cannot open shared object file: No such file or directory"
So I stayed with the default root allocated by the sme RESCUE command.

I have a small NTFS formatted external HDD connected via a USB port on which I want to copy my Ibay files.

Using the instructions given my Mary in a previous forum entry I did the following:

   "Verify what drives connected with
    fdisk -l |more
    Verify details of the old drive
    fdisk -l /dev/sda
    make a mount point eg
    mkdir -p /mnt/olddrive
    mount the drive
    mount /dev/sdc1 /mnt/olddrive"

The verification showed that my 10Gb external disk was to be found on disk /dev/sda1 and was formatted HPFS/NTFS
I successfully created a mount point, (/mnt/olddrive).
I attempted to mount the disk with: mount /dev/sda1 /mnt/olddrive and got the following:

  "Mounting /dev/sda1 on /mnt/olddrive failed: Invalid argument"

Can anyone help please?

Thanks
 
Title: Re: Cant mount USB drive in rescue mode
Post by: janet on July 02, 2012, 01:38:04 AM
alext

NTFS is not supported, format your disk ext3

 Please provide a link to that old thread to save me searching. It's about time someone published a recovery Howto
Title: Re: Cant mount USB drive in rescue mode
Post by: alext on July 02, 2012, 09:39:21 AM
Thank you Mary, I will grab a spare HDD, format it as ext3 and try again.
I was under the mistaken impression that NTFS was supported via the mount -t ntfs option.

The reference to your reply was:
 
     http://forums.contribs.org/index.php/topic,46728.msg229636.html#msg229636 (http://forums.contribs.org/index.php/topic,46728.msg229636.html#msg229636)

Your answer was "Reply #17 on: October 23, 2010, 09:09:31 AM" in the SME Server 7.x forum.

Thanks for your help and I support your view that there should be a "How to" entry for people that need quick, concise and accurate help when they find thereselves in a tricky situation.

Cheers,
Alex