Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
> how to mount HD on dedicated server?
gottadoit
post Mar 21 2009, 11:11 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 21-March 09
Member No.: 14,224



Hey all,

I have a dedicated test server (based on Linux Sarge) with which I train myself as I'm a newbie ... but it's been cracked as it's not accessible by SSH anymore (password not recognized anymore), I asked my provider to set the rescue CD, so that I can mount my HD and clean and reinstall SSH with a new password. But I'm struggling with it:

after logging I'm on the CD driver

First I search the existing Hard Disk on my machine with:
rescuecd:~# fdisk -l | grep Disk
output:
Disk /dev/hda: 20.4 GB, 20404371456 bytes

I created a new directory "mnt/hd" on the root, and I asked to mount the HD with :
rescuecd:~# mount /dev/hda /mnt/hd
output:
mount: you must specify the filesystem type

I tried to get the filesystem by:
rescuecd:~# df -T /dev/hda
output:
Filesystem Type 1K-blocks Used Available Use% Mounted on
tmpfs tmpfs 10240 2568 7672 26% /dev

Apparently the file system is "tmpfs", so I called the mount command with this parameter:
rescuecd:~# mount -t tmpfs /dev/hda /mnt/hd

this time no output, so I guess everything is ok, I check the HD is well mounted with:
rescuecd:~# df
output:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda 257712 0 257712 0% /var/mnt/hd

Apparently it's mounted on /var/mnt/hd and not on /mnt/hd as I requested
but those folders are empty!

I'm not sure to use the right method, I tried to get a good tutorial for Linux sarge platform via Google but found nothing.
Does anyone know a good link or can give the right procedure?

Thanks in advance
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st October 2017 - 06:23 PM