LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 09-16-2003, 10:40 PM   #1
projectmayhem32
LQ Newbie
 
Registered: Sep 2003
Location: Madison, WI
Posts: 4

Rep: Reputation: 0
Thumbs down Damn you Windows XP


So I installed Mandrake 9.1 yesterday, no porblems once I downloaded all the right disks. SUre I was ahving a few problems with my printer, mp3 player, etc. but it was ok, I knew it was within my power to get those problems under my control. SO today my roommate asks me to logon to windows so I can print for him, and my second hard drive is not recognized by Windows XP. This is where I pointed Mandrake to install itself, and I figured it wouldn't install itself over anything important, but it would appear that it installed itself over the end of my second logical drive. Now because I'm using NTFS, Mandrake can access the files (mp3's episodes of South Park, PAPERS THAT ARE DUE SOON), but I still want to be able to access my second hard drive from XP, since I'm not totally abandoning it as of yet. If anyone out there has any ideas on what would be my best course of action towards making my hard drive recognizable to Windows once more, I'd hugely appreciate your suggestions. Thanks!
 
Old 09-16-2003, 10:46 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
if your second drive is linux formated (linux native partition) there is no cheap way to get to it unless you setup sort of a heterogenioius networking environment (hint), and access your linux/windows shares with SAMBA.
P.S. There is actually a pretty cheap way to get around the problem with http://uranus.it.swin.edu.au/~jn/linux/explore2fs.htm, but it is limited to ext2 parttions I believe

Last edited by neo77777; 09-16-2003 at 10:50 PM.
 
Old 09-16-2003, 11:12 PM   #3
projectmayhem32
LQ Newbie
 
Registered: Sep 2003
Location: Madison, WI
Posts: 4

Original Poster
Rep: Reputation: 0
The problem I've got is that my drive was NTFS, and it still is, the program that you linked me ot works for letting me see the linux partitions, but as far as the Windows stuff, no soup. Is it possible to move all of my windows files into the linux partition or something like that? I really have no idea what's goin' on.
 
Old 09-16-2003, 11:51 PM   #4
Whitehat
Senior Member
 
Registered: Feb 2003
Location: The Cold North
Distribution: SuSE 9.1
Posts: 1,289

Rep: Reputation: 46
So can you boot into XP still? but you just can't see your second drive?

What happens if you look at your drives either in FDISK from a Win98 Boot disk or cfdisk or fdisk in linux? Can you see anything?

Need more info
 
Old 09-17-2003, 12:05 AM   #5
projectmayhem32
LQ Newbie
 
Registered: Sep 2003
Location: Madison, WI
Posts: 4

Original Poster
Rep: Reputation: 0
Running Partition Magic 8.0, it tells me that the hard drive is "BAD." Though when I look at the hard drive through Administrator Tools / Computer Management / Disk Management I see the hard drive as follows:
"(F: ) 88.37 GB Healthy" (but it won't let me do more than that)
"5.85 GB Free Space" (Duplicate of the next one)
"5.85 GB Healthy (Unknown Partition)" (Install Files for Linux)
"494 MB Healthy (Unknown Partition)" (Swap Drive)
"20.81 GB Unallocated"
"20.32 GB Healthy (Unknown Partition)"

Now the Disk is about 117, but for those of us that know math, which is clearly not this computer, it adds my hard drive up as being 141.96 GB. My thought is to delete the linux partitions, but I have a feeling that would be bad. I'm not really in a hurry her, but I don't like the concept of my computer being messed up for a long time. Once again, thanks for taking the time to read my woes.
 
Old 09-17-2003, 12:11 AM   #6
Whitehat
Senior Member
 
Registered: Feb 2003
Location: The Cold North
Distribution: SuSE 9.1
Posts: 1,289

Rep: Reputation: 46
First of all....Welcome to LQ

-----------------------------------------

I would boot into whatever OS can read the "bad" drive, and move data off of that drive onto another partition.

Next I would blow away the 88GIG partition....and move my stuff back.

Is that drive the one that Windows is loaded on?

Can you see the files you want to get in Linux or in Windows or anything?



Within Windows you'll see "unknown partition" because Windows is stupid. Partition magic will say the right thing.

If that's the only thing that's wrong, you're ok dude
 
Old 09-17-2003, 12:25 AM   #7
projectmayhem32
LQ Newbie
 
Registered: Sep 2003
Location: Madison, WI
Posts: 4

Original Poster
Rep: Reputation: 0
Alright, so i used Partition Magic to convert the free 25 gig's on my C: drive into a new FAT32 partition, and then I restarted and booted into Mandrake read to transfer over the most necessary of my files, and burn the rest, but now that I'm in Mandrake, I can't find the new Partition, Drive H:. It's not listed in the mnt directory, and I tried copying into the win_c from win_c2 (the corrupted one). I feel like a real idiot here, and I truly appreciate you guys helping me out more than you can ever know.
 
Old 09-17-2003, 12:59 PM   #8
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
The commands "fdisk -l" and "fdisk -l /dev/hdx" (replace x with the right letter of your 2nd harddisk, first command doesn't need a device because it does /dev/hda [your 1st harddisk] by default) will list all you partitions.
Make sure you have directories for each one in /mnt (Mandrake does that automatically), and create a directory for your new partition. Then use this command to mount the partition to the folder you made:

mount -t vfat /dev/hdxy /mnt/<the-new-dir-u-made>

X is hard disk letter (a,b,c,d), y is partition number (prob. greater then 5 because it's referred to as H: in Win)
Now /mnt/<the-new-dir-u-made> will have the partition in it.
 
Old 09-17-2003, 06:07 PM   #9
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
In Windows, drive H can be one of the partitions from a physical hard drive. UNIX/LINUX assigns hda....z for each IDE hard drive. The number after hda for example hda1 is the partition where data is stored. If you specify /dev/hda to the mounting utility, it will complain. Though if you specify /dev/hda to a command like dd, it will not complain because it sees it as a block device.

If fdisk -l list partition table in an awkward way like
Code:
/dev/ide/host0/bus0/target0/lun0/part1   *         1         2     16033+  83  Linux
/dev/ide/host0/bus0/target0/lun0/part2             3      2534  20338290    5  Extended
/dev/ide/host0/bus0/target0/lun0/part5             3        34    257008+  82  Linux swap
/dev/ide/host0/bus0/target0/lun0/part6            35        66    257008+  82  Linux swap
/dev/ide/host0/bus0/target0/lun0/part7            67        98    257008+  82  Linux swap
/dev/ide/host0/bus0/target0/lun0/part8            99       130    257008+  82  Linux swap
/dev/ide/host0/bus0/target0/lun0/part9           131      1228   8819653+  83  Linux
/dev/ide/host0/bus0/target0/lun0/part10         1229      2534  10490413+  83  Linux

Disk /dev/ide/host0/bus0/target1/lun0/disc: 255 heads, 63 sectors, 2501 cylinders
Units = cylinders of 16065 * 512 bytes

                                Device Boot    Start       End    Blocks   Id  System
/dev/ide/host0/bus0/target1/lun0/part1   *         1      2501  20089251   83  Linux
Instead of listing /dev/hda.../dev/hdz. You can use cfdisk but you need to specify the drive that you want. To find out all the drives in LINUX type dmesg. This will list everything that the LINUX kernel detects. You may have to type dmesg | more if your terminal can not display a lot of lines. Use shift+pgup or shift+pgdown to scroll the through the terminal. When using the more command hit either z or spacebar to get the next screenful of text.

You need to be as root or su to be able to use fdisk, cfdisk, and mount. Be careful!!!

Whiteha, Windows is not stupid. It doesn't have support to read or write UNIX/LINUX filesystems. Its like getting write support for NTFS in LINUX.

For the printer, try installing CUPS usually it has support for old or new printers. CUPS is like the features that Windows has so it should be easy to setup. Also you can setup LINUX to be used for a print server. Use Samba for this.

If your room mate is using Word or Wordperfect, you can have your room mate put it on a floppy disc and print it in LINUX. A program titled Open Office can read Windows formats.

BTW, you should make two seperate partitions for Windows and your files. Usually Windows will get corrupted and you have to re-install it.

Just Linux - http://www.justlinux.com
The Linux Document Project - http://www.tldp.org/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Damn ALSA!!! heri0n Slackware 4 01-16-2005 08:11 PM
Damn it windows Mannyakatheman General 7 01-04-2004 03:15 PM
Damn you Lilo Pretorian86 Linux - Newbie 4 10-18-2003 02:05 PM
bah! damn windows!! Aman9090 Linux - Newbie 43 03-22-2003 01:18 PM
Damn it kwigibo Programming 1 04-02-2002 05:35 AM


All times are GMT -5. The time now is 09:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration