Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
or you can type
"df -h" and paste the result here so that we know how the drive is named/seen in linux.
after that's done, you can make a directory in /mnt by typing
mkdir /mnt/win
and then mount the data from the win98 in linux under /mnt/win by typing
mount /dev/hd* /mnt/win
where * is the alphabet/letter which is given to the win98 hd.
If you want to auto-mount the drive at boot, ask here and someone or myself will post a solution.
good luck
I am sorry the other hard disk is of windows NT.
Following was the output as u asked me to do:----------->
[root@bally root]# fdisk -l /dev/hda
Disk /dev/hda: 255 heads, 63 sectors, 524 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 492 3951958+ 83 Linux
/dev/hda2 493 508 128520 82 Linux swap
/dev/hda3 509 524 128520 82 Linux swap
[root@bally root]# fdisk -l /dev/hdc
Disk /dev/hdc: 255 heads, 63 sectors, 2434 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 510 4096543+ 7 HPFS/NTFS
/dev/hdc2 511 2434 15454530 7 HPFS/NTFS
lol, didn't even read my response!
anyways, what distro are version are you using?
most probably you'll have to recompile the kernel to add ntfs support. However, if you are using RedHat, there's an easier alternative.
Originally posted by pagal or you can type
"df -h" and paste the result here so that we know how the drive is named/seen in linux.
after that's done, you can make a directory in /mnt by typing
mkdir /mnt/win
and then mount the data from the win98 in linux under /mnt/win by typing
mount /dev/hd* /mnt/win
where * is the alphabet/letter which is given to the win98 hd.
If you want to auto-mount the drive at boot, ask here and someone or myself will post a solution.
good luck
Wouldn't this only show the mounted disk info? If he/she hasn't either manually mounted this disk to a mount point, or created an entry in fstab and had it mount during bootup, then would df -h do any good?
Just wondering, because that's how things go for me and I want to know if I am missing something
Ok so from your fdisk -l output, I am going to assume a few things:
Winbloze98 with NTFS filesystem, isn't that odd? Oh well, no biggie I guess, just like was mentioned above though, read-only access.
So as long as you are just "Reading" the info, there shouldn't be problems here.
Now, I am thinking /dev/hdc is going to be this new hard-drive you added. So, we need to mount it somewhere, let's make a directory in /mnt called /data, so as root, open up a terminal and type:
mkdir /mnt/data
Now we will mount one of the partitions there:
mount -t ntfs /dev/hdc1 /mnt/data
If it returns with a "filesystem not supported" (which I think it is in RH 7.2) then you will need to do as suggested above and recompile your kernel to add ntfs support. We will assume you are ok, and it didn't return any errors, just put you back to a Bash prompt.
Now we need to see if anything is on that partition, so:
cd /mnt/data
ls -lha
Now you should have a list of all the files on that drive, listed in Human Readable format, and hidden files should be shown as well. If there isn't anything on this partition you need, go ahead and:
cd /mnt
umount /mnt/data
And now we will mount the second partition from /dev/hdc:
mount -t ntfs /dev/hdc2 /mnt/data
And then:
cd /mnt/data
ls -lha
And now see if the data you were looking for is shown, hopefully so.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.