LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-27-2004, 01:48 PM   #1
jonah
LQ Newbie
 
Registered: Feb 2004
Distribution: Mandrake
Posts: 2

Rep: Reputation: 0
Hiding Linux Drive from Windows


I have recently installed Linux onto a second hard-drive in my PC.
The Linux installation appears to be fine but Windows shows the new hard-drive as an unformatted 'D:' drive. Any ideas on how to hide the drive from Windows so that I don't accidently reformat it and loose my Linux installation.

The Linux distro is Mandrake 9.2, Windows is ME.

Thanks,
Jonah
 
Old 02-27-2004, 02:03 PM   #2
Melkor
Member
 
Registered: Aug 2003
Location: MN
Distribution: Linux Mint
Posts: 179

Rep: Reputation: 34
Get "TweakUI" for Windows ME/98. It's downloadable for free from Microsoft.

When you have it installed, open your control panel and double click on the "TweakUI" icon in there and go to the "My Computer" tab.

You will be able to un-check your "D" drive letter from in there. That way it won't even appear in Explorer as a part of your computer as far as Windows is concerned.

I did exactly the same thing on my Windows 2000 installation on the machine I dual-boot Slackware on.


EDIT

Here's a link to TweakUI on Microsoft's site for ya.

Last edited by Melkor; 02-27-2004 at 02:05 PM.
 
Old 02-28-2004, 08:41 AM   #3
jonah
LQ Newbie
 
Registered: Feb 2004
Distribution: Mandrake
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for that suggestion and it certainly solves the accidental formatting issue. Still got an associated problem though.
My primary disk is split into two partitions: one for the Windows O/S installation and the other for applications and data. This used to be C: and D: in Windows. When I added the second drive it appeared as a new D: drive pushing my applications partition onto E:. Using TweakUI to hide the D: drive has now left me with C: and E:.
As the second partition was seen as D: when I installed applications on it the Windows registry still thinks they are installed on D: and so nothing now works.
When I installed a similar configuration on a previous PC Windows completely ignored the second (Linux) drive and reported the two partitions of the primary drive as C: and D:. Its this state of things that I'm trying to get back to.

Thanks,
Jonah
 
Old 02-28-2004, 10:48 AM   #4
Melkor
Member
 
Registered: Aug 2003
Location: MN
Distribution: Linux Mint
Posts: 179

Rep: Reputation: 34
Ah, I get what you're saying.

I'm not really sure what you can do about that. In fact, I might be finding myself in a similar situation when I finally get around to repartitioning my laptop.

I'll let you know what I figure out when I run across that... or if you figure something out first, do post it. We might both be screwed on that level.
 
Old 02-28-2004, 10:53 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
what is likely to have happened is that during the paritioning of the system the file system was cerated successfully but the entry in the partition table was not changed, or set correctly. in linux use a program like fdisk or cfdisk, and more than likely you'll find that your partition is still set at a fat32 partition or whatever it was. change this flag to the appropriate type (type 0x83) and windows will no longer show it.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hiding NTFS drive the_imax Linux - General 7 10-30-2004 02:05 PM
hiding Linux drive from Windows 2000 andrewstr General 7 05-10-2004 11:32 AM
Hiding linux partion from windows? Uppis Linux - Newbie 2 10-18-2003 08:39 AM
Hiding Linux drive from Windows driven2sin Linux - Newbie 4 07-03-2003 06:53 PM
Hiding SCSI drive clmilton Linux - Security 2 11-28-2001 10:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:34 PM.

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
Open Source Consulting | Domain Registration