bug-grub
[Top][All Lists]
Advanced

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

Re: [Bug-grub] grub "hide" damaged my partition table


From: Joe Krahn
Subject: Re: [Bug-grub] grub "hide" damaged my partition table
Date: Tue, 15 Jan 2002 11:59:59 -0500

The problem is that grub didn't change the partition type.
It destroyed the whole partition table, not just one partition.
No partitons at all, not even a partition table signature!
It had only 512 bytes of something like D0 FF.
Fortunately I was able to recover everything.

Maybe hiding the grub directory caused grub to malfunction?
BUT, this does not explain is why "hide (hd1,3)"
had no effect on any partiton, even though it didn't give
me an error message.

Joe Krahn
-------------------------

Jason Thomas wrote:
> 
> On Mon, Jan 14, 2002 at 11:08:27AM -0500, Joe Krahn wrote:
> > I have a RedHat 7.2 system with a 40G IDE disk.
> > Using the grub "hide" command destroyed my partition table.
> > Here's the approximate disk layout:
> >
> > Four primary partitions, no extended.
> > hda1=ext2, 4G
> > hda2=ext2, 4G
> > hda3=Linux swap, 1G
> > hda4=fat32, 31G
> >
> > I tried "hide (hd0,3)". The command was accepted, but hda4
> > was not hidden. I tried hiding one of the ext2 partitions.
> > I think it was hda1, which contains the /boot/grub data directory,
> > with "hide (hd0,1)"
> > Now entering "geometry (hd0)" shows nothing.
> > No unhide commands will work.
> >
> > Possible non-standard" things are the use of all four primary
> > partitons, no extended ones, and having a large LBA partition.
> > Also, can "hiding" the ext2 directory with /boot/grub mess things
> > up?
> 
> yes, thats where grub reads the grub.conf file from.
> 
> you need to boot from a bootdisk and use fdisk to change the partition
> type back to ext2.
> 
> > Grub still loads at boot time, but the menus, etc., are all gone.
> >
> > Do you have any ideas of whatcould have happened?
> > I can try to repeat it and get a copy of the before and after
> > if this looks like a bug that isn't already fixed.



reply via email to

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