bug-grub
[Top][All Lists]
Advanced

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

Re: [Bug-grub] misleading, not a bug per se


From: Jason Thomas
Subject: Re: [Bug-grub] misleading, not a bug per se
Date: Mon, 21 Jan 2002 07:58:26 +1100
User-agent: Mutt/1.3.25i

Attached is a patch from the Debian grub package. this has also been
applied to grub in cvs. you could just use parttype, all hiding does is
to shift the grub partition type:

partitions not hidden:

grub> hide (hd0,
 Possible partitions are:
   Partition num: 0,  Filesystem type is fat, partition type 0xb
   Partition num: 1,  Filesystem type is reiserfs, partition type 0x83
   Partition num: 2,  Filesystem type unknown, partition type 0x82

partitions hidden:
grub> hide (hd0,  
 Possible partitions are:
   Partition num: 0,  Filesystem type is fat, partition type 0x1b
   Partition num: 1,  Filesystem type is reiserfs, partition type 0x83
   Partition num: 2,  Filesystem type unknown, partition type 0x82

heres a list of the types from fdisk:
 0  Empty           1c  Hidden Win95 FA 65  Novell Netware  bb  Boot Wizard hid
 1  FAT12           1e  Hidden Win95 FA 70  DiskSecure Mult c1  DRDOS/sec (FAT-
 2  XENIX root      24  NEC DOS         75  PC/IX           c4  DRDOS/sec (FAT-
 3  XENIX usr       39  Plan 9          80  Old Minix       c6  DRDOS/sec (FAT-
 4  FAT16 <32M      3c  PartitionMagic  81  Minix / old Lin c7  Syrinx         
 5  Extended        40  Venix 80286     82  Linux swap      da  Non-FS data    
 6  FAT16           41  PPC PReP Boot   83  Linux           db  CP/M / CTOS / .
 7  HPFS/NTFS       42  SFS             84  OS/2 hidden C:  de  Dell Utility   
 8  AIX             4d  QNX4.x          85  Linux extended  df  BootIt         
 9  AIX bootable    4e  QNX4.x 2nd part 86  NTFS volume set e1  DOS access     
 a  OS/2 Boot Manag 4f  QNX4.x 3rd part 87  NTFS volume set e3  DOS R/O        
 b  Win95 FAT32     50  OnTrack DM      8e  Linux LVM       e4  SpeedStor      
 c  Win95 FAT32 (LB 51  OnTrack DM6 Aux 93  Amoeba          eb  BeOS fs        
 e  Win95 FAT16 (LB 52  CP/M            94  Amoeba BBT      ee  EFI GPT        
 f  Win95 Ext'd (LB 53  OnTrack DM6 Aux 9f  BSD/OS          ef  EFI (FAT-12/16/
10  OPUS            54  OnTrackDM6      a0  IBM Thinkpad hi f0  Linux/PA-RISC b
11  Hidden FAT12    55  EZ-Drive        a5  FreeBSD         f1  SpeedStor      
12  Compaq diagnost 56  Golden Bow      a6  OpenBSD         f4  SpeedStor      
14  Hidden FAT16 <3 5c  Priam Edisk     a7  NeXTSTEP        f2  DOS secondary  
16  Hidden FAT16    61  SpeedStor       a9  NetBSD          fd  Linux raid auto
17  Hidden HPFS/NTF 63  GNU HURD or Sys b7  BSDI fs         fe  LANstep        
18  AST SmartSleep  64  Novell Netware  b8  BSDI swap       ff  BBT            
1b  Hidden Win95 FA


On Sat, Jan 19, 2002 at 11:28:32PM -0800, Filip Gieszczykiewicz wrote:
> OS: RedHat 7.2 (grub that ships with it)

Attachment: 06grub-hide-unhide.patch
Description: Text document


reply via email to

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