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.
hi im new to linux, trying to change my windows os to linux one. Im trying to mount a fat32 logical drive in my linux. Im using redhat 8.0. i tried with this command:
mount -t vfat /dev/hdb2 /mnt/win
i always having this error:
mount: wrong fs type, bad option, bad superblock on /dev/hdb2,
or too many mounted file systems
(aren't you trying to mount an extended partition,
instead of some logical partition inside?)
does i have something to do before mounting it? (already create my win folder)
quote:
--------------------------------------------------------------------------------
Originally posted by ajk
type (as root)
fdisk -l /dev/hdb
what does this return?
Adrian
--------------------------------------------------------------------------------
quote:
---------------------------------------------------------------------------------
bash: fdisk: command not found
maybe ill reinstall linux with full install
---------------------------------------------------------------------------------
Maybe fdisk just wasn't in his $PATH (I've seen this happen on RH installs a lot where it doesn't include any of the /sbin dirs)
I don't see any reason why /sbin wouldn't be in his PATH, there's a lot of programs in there that you can't use RH without.
I would reinstall RH and choose the everything option.
If you don't keep your computer on at night type find / -name fdisk instead of locate fdisk.
Originally posted by granny quote:
--------------------------------------------------------------------------------
Originally posted by ajk
type (as root)
fdisk -l /dev/hdb
what does this return?
Adrian
--------------------------------------------------------------------------------
quote:
---------------------------------------------------------------------------------
bash: fdisk: command not found
maybe ill reinstall linux with full install
---------------------------------------------------------------------------------
Maybe fdisk just wasn't in his $PATH (I've seen this happen on RH installs a lot where it doesn't include any of the /sbin dirs)
Try this (as root of course)
/sbin/fdisk -l /dev/hdb
again post the output. If this doesn't work try
locate fdisk
yes it wasnt in the path
i found thatt my fat32 partition wasnt formatted correctly and its why linux wasnt able to mount it
thx a lot to all, ill try now to add in to be able that linux mount it automatically when the os boot
thx
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.