Posts Tagged ‘mount’

  Recently when my servers HDD dead, data center installed a new HDD keeping orginal HDD as secondary so that i can copy data back to new HDD. I tried to mount the HDD normal way, but got the error:- [root@server78 ~]# fdisk -l /dev/hda Disk /dev/hda: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, […]

Mounting Windows based shares in Linux

Posted: 5th August 2011 by Babar Shafiq in System Administration, Tips
Tags: , , , ,

  Mounting Windows based shares on Linux is a relatively simple process. If the share is on a Windows XP, Server 2000 or NT machine you can use the following command: mount -t smbfs -o username=username //server/share /mountpoint However for Server 2003 the above command will not work so you simply change smbfs for cifs […]

The root user can change the password for any other user. However what if you forget your root password? To reset your root password (or any other account’s password for that matter), there are essentially two different situations which require varying approaches When you can use Boot Loaders (GRUB / LILO) If you have GRUB […]