Mounting and creating shortcuts for partitions
Hello, just managed to get knoppix to recognise my modem. Now I can't seem to figure out how to mount my NTFS and VFAT partitions. I tried editing fstab and heres the code from it:
# partitions found by Knoppix
#/dev/hda1 /mnt/hda1 ntfs noauto, users,exec,ro,uid=knoppix,gid=knoppix 0 0
#/dev/hda3 /mnt/hda3 ext3 noauto,users,exec 0 0
#/dev/hda5 /mnt/hda5 vfat noatime 0 0
I've tried to remove the noauto at one point and also for hda5 have tried another command suggested by someone else. Am trying to get a shortcut onto the desktop which links to the other two drives. When i right click and select add new hard disc, hda1 and hda5 does not appear. I tried to just type /dev/hda5 and /mnt/hda5 but got and error msg:
/home/knoppix/Desktop/Hard Disc
is of type FSDevice but has no Dev=... entry.
This occurs even after i logon as root and type: mount /dev/hda5 /mnt/hda5.
Some help wud be appreciated.
Another thing is I can't seem to change password for the knoppix user, when i do the system hangs. Was wondering what is the non-GUI way of changing passwords.
Thanks
Re: Mounting and creating shortcuts for partitions
Quote:
Originally Posted by xolstis
Hello, just managed to get knoppix to recognise my modem. Now I can't seem to figure out how to mount my NTFS and VFAT partitions. I tried editing fstab and heres the code from it:
# partitions found by Knoppix
#/dev/hda1 /mnt/hda1 ntfs noauto, users,exec,ro,uid=knoppix,gid=knoppix 0 0
#/dev/hda3 /mnt/hda3 ext3 noauto,users,exec 0 0
#/dev/hda5 /mnt/hda5 vfat noatime 0 0
I presume you are working from a hard drive installation. The lines above are commented out. You need to uncomment them. That is to say, remove the leading '#' from each line you want read. It is akin to a Rem in DOS. When the file is read any lines with a '#' in front of them are ignored. Very handy for making adjustments- rather than remove and retype lines to try something out just comment it out instead and it won't be read.
Quote:
I've tried to remove the noauto at one point and also for hda5 have tried another command suggested by someone else. Am trying to get a shortcut onto the desktop which links to the other two drives. When i right click and select add new hard disc, hda1 and hda5 does not appear. I tried to just type /dev/hda5 and /mnt/hda5 but got and error msg:
/home/knoppix/Desktop/Hard Disc
is of type FSDevice but has no Dev=... entry.
If you uncomment the lines above and have the 'auto' flag in each line that you want auto mounted it should mount them on boot for you. (DO NOT USE 'auto' ON A CDROM)
You can make desktop icons by right clicking on the desktop itself.
Quote:
This occurs even after i logon as root and type: mount /dev/hda5 /mnt/hda5.
You don't need to log in as root (but you can)- just become root:
OR "do as root"
Code:
sudo mount -t blah blah blah
This is under the assumption that your username is part of the sudoers group.
To mount a drive you need to specify the filesystem type, for example:
Code:
#: mount -t vfat /dev/hda5 /mnt/hda5
Quote:
Some help wud be appreciated.
Another thing is I can't seem to change password for the knoppix user, when i do the system hangs. Was wondering what is the non-GUI way of changing passwords.
Thanks
passwd