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'm retreating from Windows XP. I have two drives. One 160 GB hard drive partitioned into 100 for Windows and 60 for kubuntu (IDE Master). The other (IDE slave) drive is the one I'm interested in mounting. It is a completely separate volume. I can't seem to determine WHAT I'm trying to mount though. IE, am I trying to mount hda2, hda3, hda5? hda1 mounted the Windows partition of the master drive.
Do mesg | grep hd which will tell which(drive) is master/slave secondary ..whatever. And then fdisk -l the_drives_discovered. That should tell you the partition names. Hope that helps.
Ok, I've done that. I have discovered that the drive is "hdb", so...
Quote:
justin@kubuntu:~$ sudo mount /dev/hdb /media/DStore/ -t ntfs -o nls=utf8,umask=0222
Password:
mount: wrong fs type, bad option, bad superblock on /dev/hdb,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
In general, the IDE slave drive is hdb. So if you made it all one partition, you would mount hdb1. Now if it were an external USB drive or a SATA drive, I think it's usually sdb or something like that...
Baggen's post should give you an output of something like:
NTFS FS on /dev/hda1
EXT3 FS on /dev/hda2
EXT3 FS on /dev/hdb1
etc,
Then type fdisk -l /dev/hdb1 or such for the drive without NTFS on it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.