Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i changed to root and typed fdisk -l, but
bash:fdisk:command not found.
interesting one, i can see fdisk manual.
any explain about this? and i have another HD with win98, it is used as slave. how can i mount this HD ?
thx in advance
Originally posted by tiang_ono i changed to root and typed fdisk -l, but
bash:fdisk:command not found.
interesting one, i can see fdisk manual.
any explain about this? and i have another HD with win98, it is used as slave. how can i mount this HD ?
thx in advance
Try (as root) /sbin/fdisk -l as it may not be in your path. If that doesn't work, it's not installed.
Edit your /etc/fstab file as follows and it will mount when you boot ->
Code:
/dev/hda5 /WinE vfat user,umask=1000,rw,auto 0 0
where hda5 is whichever device your W98 drive is, and /WinE is the mount point you'd like to use. This scheme will mount your drive as read/write, but if you don't want to write to it, use ro instead or rw and it will be read only.
Spot on, mate! Always tell what fixed your problem, so that when someone else searches and comes to your thread, they'll know what to do on their system.
/sbin/fdsik -l
i got /dev/hdb for my slave HD
in the fstab i added
/dev/hdb1 /mnt/win98 vfat user,umask=1000,rw,noauto 0 0 (i have another patition at that HD)
and i mount as root with
mount /dev/hdb1 /mnt/win98 -t vfat -r -o umask=0222
thank you all
Originally posted by tiang_ono /dev/hdb1 /mnt/win98 vfat user,umask=1000,rw,noauto 0 0 (i have another patition at that HD)
and i mount as root with
mount /dev/hdb1 /mnt/win98 -t vfat -r -o umask=0222
thank you all :)
Good on yah! With that setup, you can mount as user by issuing ->
$ mount /mnt/win98
and not have to login as root. ;-) That's the purpose of user instead of root
in that line in /etc/fstab
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.