bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-grub] partition hiding


From: Jason Thomas
Subject: Re: [Bug-grub] partition hiding
Date: Thu, 1 Nov 2001 15:02:25 +1100
User-agent: Mutt/1.3.23i 

first point, the current hide code in grub does not work with extended 
partitions.

the above is probably not your problem. what you should do is get
yourself to the grub command prompt and list the partitions/filesystems,
by using the tab completion in grub (not sure if there is any other
way).

so do something like:

grub> root (hd0,
and then hit the 'tab' key, you should get something like:

grub> root (hd0,
 Possible partitions are:
   Partition num: 0,  Filesystem type is fat, partition type 0xb

grub> root (hd0,

the type something like:
hide (hd0,0)
and then hit enter of course.

then do the tab thing above again, and you should see something like this:
grub> root (hd0,
 Possible partitions are:
   Partition num: 0,  Filesystem type is fat, partition type 0x1b

grub> root (hd0,

the difference being the '1' in this case which make the type of partition a 
hidden type.

b  Win95 FAT32
1b  Hidden Win95 FA

so the filesystem is not really gone it just has a type that is recognised as 
hidden. in DOS fdisk you can still see it. but in windows explorer it does not 
exist.


On Wed, Oct 31, 2001 at 07:38:56PM -0800, John McKee wrote:
> Hello I am having a problem configuring grub.  I have mandrake 8.2 linux 
> installed to the ide1 slave 4 gig hard drive and am booting from this drive.  
> I have windows me installed on my onboard highpoint controller ata100 ibm 
> drive.  Linux loads up fine.  What I am having trouble with is hiding the 
> linux drive when I boot windows.  I do not want windows detecting this drive. 
>  I have tried inserting hide (hd0,0) in various places in the script and it 
> just isnt working!
> 

-- 
Jason Thomas                           Phone:  +61 2 6257 7111
System Administrator  -  UID 0         Fax:    +61 2 6257 7311
tSA Consulting Group Pty. Ltd.         Mobile: 0418 29 66 81
1 Hall Street Lyneham ACT 2602         http://www.topic.com.au/

Attachment: pgpYTiflKH4Uy.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]