sudo mkdir /mnt/linux
sudo mount -t ext3 /dev/hda1 /mnt/linux
sudo chroot /mnt/linux /bin/bash
grub-install /dev/hda1
sudo passwd <username>
(now you will be prompted to type your password, twice)
It's a bbcodeManshahia said:For wat is this CODE??
BothManshahia said:It will reset the password or install GRUB??
mediator said:*www.digitalpeer.com/id/change
TYF said:Code:sudo mkdir /mnt/linux sudo mount -t ext3 /dev/hda1 /mnt/linux sudo chroot /mnt/linux /bin/bash grub-install /dev/hda1 sudo passwd <username> (now you will be prompted to type your password, twice)
Usage : Mount -v : Print Version
Mount -h : print this help
Mount : List Mounted Filesystem
Mount -l : Idem, Including volume labels
So far the informational Part. Next the Mounting.
The command is 'mount[-t fstype] something somewhere
Details found in /etc/fstab may be Ommited
Mount -a[-t|-o].... Mount all file systems from /etc/fstab
mount device....
mount dir....
mount -t type dev dir : Ordinary Mount command.
Note that one does not really mount a device one mounts a filesystem(of a given type) found on the device.
.............................
i found that the drive name is hdb9. Is it correct??TYF said:In the above replace /dev/hda1 with whatever your / partition is