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.
After installing a second drive with exsisting data ( Windows) on secondary master IDE controller, linux will not recognize it.
When in list the ide devices I get
[root@mikedlinuxbox /]# ls /proc/ide
ali drivers hda hdb hdc ide0 ide1
[root@mikedlinuxbox /]#
Which it "sees" hdc - secondary hard drive
But when I try to view partition table I get:
[root@mikedlinuxbox /]# /sbin/fdisk -l /dev/hdc1
[root@mikedlinuxbox /]#
When I try to view sectors I get:
[root@mikedlinuxbox /]# /sbin/fdisk -u /dev/hdc1
Unable to open /dev/hdc1
[root@mikedlinuxbox /]#
This drive is set to master, it is in working order.
I am hoping to export data from this drive to my linux box, but linux does not see it?
Could this be a permissions issue since windows is installed on it?
try fdisk /dev/hdc
hdc1 is the first partition of that drive, not the device. You have to mount the device.
To "see" the Windows drive and be able to mount it, you'll have to add it to /etc/fstab.
Open the file with your favorite editor and add a line to refer to the partition. Sorry, but the only way I know to have it properly mounted and available is to reboot when you're done. I know there is a way to do it without rebooting, but I haven't needed to read that much. Try this:
Make a "mountpoint" in /mnt, say, /mnt/win
Open /etc/fstab with your favorite editor.
add
Code:
/dev/hdc1 /mnt/win ntfs users,ro 0 0
If fat32, replace ntfs with vfat.
Should work. After this, we'll work on getting Windows from the bootprompt, if you want.
I don't think that Linux is detecting your drive. You can list any boot messages that pertain to /dev/hdc with:
dmesg | grep hdc
and see what Linux thought of hdc at boot, if it even noticed it.
If dmesg comes up empty then look at your BIOS and see if the BIOS knows that hdc exists. If it does not then the best BIOS setting is probably AUTO which means auto-detect.
Once you detect /dev/hdc correctly then you have to solve the partition format type in /etc/fstab or the mount command as described by vectordrake.
vectordrake:
Where in N.B. do you live? I lived for 12 years in Passakeag which is half way between Sussex and Saint John.
Oromocto, actually. Between St John and Fredericton. Lived around here since 1988. Didn't list my location very closely before, but got pissed about someone coming in here once with mean things to say about another forum member and wouldn't reveal anything about themselves at all. I decided that I'd tell where I'm from. Heh heh. Kinda come-and-get-me thing. Only live once.
Try turning off plug and play in your BIOS and see if that helps. BTW, I have a similar drive. Looks like the same modelling, different size. Mine had some kind of Ontrack boot software on it and it was a real bitch to get rid of. Once I succeeded in overwriting it, I got a decent drive out of the deal.
You still have /dev/hdc set up as a cd-rw. You need to edit /etc/lilo.conf or /boot/grub/grub.conf and change hdc=ide-scsi to wherever your cd-rw went. According to fstab it went to /dev/hdd.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.