Link to home
Start Free TrialLog in
Avatar of dave_argon_bappy_smith
dave_argon_bappy_smith

asked on

Linux Lilo - Hide Linux Partitions from a Windows boot

Hello

How do I configure Lilo to:
hide Linux partitions from a Windows boot?

I have seen enough websites to see how to hide Windows partitions from Linux, but I have yet to see see how to hide the Linux partitions from Windows.

The reason is this:
Windows tries to read/understand/whatever the Linux partitions and take an age to do so. The read/understand/whatever occurs when loading programs also.

System:
hd1 - primary partition - Win98
hd2 - primary partition - Win98
hd2 - extended partition (with 3 logical drives) - Linux Mandrake 9.0

Extra:
When the Linux partitions are removed, i.e. with Fdisk, Windows (both) are back to normal.
Linux works fine whatever. (there are some things I need in Windows environment, so I won't go purely Linux...just yet!)

Please help

Dave

I can imagine that the configuration would be something like:
>change
>set linux_native_hidden
Avatar of Debian_user
Debian_user

What type of partitions are you using for Linux, and what program are you using to format them? Native Win9x has never recognized ext2 or ext3, in my experience. I believe ext2 is type 82 or 83, in Linux fdisk.

If you installed extra software in Windows to help it read ext2, you'll probably find it easier to remove the extra software.

When I need to share data files between Win and Linux on the same computer, I use a common fat32 filesystem, as native Linux can read them w/o a problem.

If that doesn't work, try to give us a little more detail about how you've got your computer setup, and what the symptoms and problems are.

Regards,
Debian_user
>>Native Win9x has never recognized ext2 or ext3, in my experience
 neither win2k or xp.. u will have to install additional software to achieve that ..like explore2fs .. some plugins come for explorer shell also ..but write not supported in either of them
Avatar of dave_argon_bappy_smith

ASKER

Hello

The program I used to format the partitions was part of the Mandrake Installation program. The partitions are indeed of type 82 and 83.

I have not installed any software with the intention of reading ext2 or ext3. I have had no need this kind of software with a purely Windows system.

More Info:
When Windows eventually loads up, My Documents (which also takes a lifetime) shows an extra Harddrive. (I think this is most likely to be the extended partition containing Linux.) No details can be read about the drive.

I used TweakUI to remove the partition only to find my Windows finds other ways to try and read the unreadable partition.

Disabling the drive with the extended partition would stop me accessing Windows on the primary partition.

Windows is fine when the extended partition containing Linux is removed.

Question:
Can I hide this extended partition from Windows with Lilo?
can u do this ..when u r on linux .. show me ur output for
fdisk -l  ( guess this works only as root).
ur file
/etc/fstab
dave_argon_bappy_smith:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

PAQ - no points refunded

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

paullamhkg
EE Cleanup Volunteer
ASKER CERTIFIED SOLUTION
Avatar of modulo
modulo

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial