Bug 115330 - Error installing grub: "Error 5: Partition table invalid or corrupt"
Summary: Error installing grub: "Error 5: Partition table invalid or corrupt"
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Installation (show other bugs)
Version: Beta 4
Hardware: Other All
: P5 - None : Blocker
Target Milestone: RC 2
Assignee: Thomas Fehr
QA Contact: Klaus Kämpf
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 97395
  Show dependency treegraph
 
Reported: 2005-09-05 17:15 UTC by Forgotten User ZhJd0F0L3x
Modified: 2005-09-08 08:32 UTC (History)
5 users (show)

See Also:
Found By: Component Test
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
/var/log/YaST2 /mnt/var/log/YaST2 (129.54 KB, application/x-gzip)
2005-09-05 17:15 UTC, Forgotten User ZhJd0F0L3x
Details
the first 512 bytes of the disk (512 bytes, application/octet-stream)
2005-09-06 12:24 UTC, Forgotten User ZhJd0F0L3x
Details
sfdisk -l; sfdisk -d (1.07 KB, text/plain)
2005-09-06 12:24 UTC, Forgotten User ZhJd0F0L3x
Details
/var/log/YaST2 /mnt/var/log/YaST2, beta4++, nothing changed in proposal (99.75 KB, application/x-gzip)
2005-09-06 17:03 UTC, Forgotten User ZhJd0F0L3x
Details
sfdisk -l; sfdisk -d; mount (1.53 KB, application/text-plain)
2005-09-06 17:06 UTC, Forgotten User ZhJd0F0L3x
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Forgotten User ZhJd0F0L3x 2005-09-05 17:15:11 UTC
During installation, i get the following error when installing grub:    GNU GRUB
 version 0.96  (640K lower / 3072K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filename. ]
grub> root (hd0,5)

Error 5: Partition table invalid or corrupt
grub> install --stage2=/boot/grub/stage2 /boot/grub/stage1 (hd0,5)
/boot/grub/stage2 0x8000 (hd0,5)/boot/grub/menu.lst

Error 12: Invalid device requested
grub> install --stage2=/boot/grub/stage2 /boot/grub/stage1 (hd0,2)
/boot/grub/stage2 0x8000 (hd0,5)/boot/grub/menu.lst

Error 12: Invalid device requested
grub> quit


I re-initialized this machine (Thinkpad T43) from a harddisk image before
starting the installation, the only non-standard thing i was doing was setting
the Windows partition to the minimum possible size.

The machine is sitting in the shelf behind my desk, i did not continue after
this error.
Comment 1 Forgotten User ZhJd0F0L3x 2005-09-05 17:15:54 UTC
Created attachment 48833 [details]
/var/log/YaST2 /mnt/var/log/YaST2
Comment 2 Jiří Suchomel 2005-09-06 06:32:50 UTC
Partitioning -> fehr, bootloader config -> jsrain
Comment 3 Forgotten User ZhJd0F0L3x 2005-09-06 11:39:00 UTC
do you need anything from this machine? otherwise i would restore it with the XP
image and then retry with beta4plusplus
Comment 4 Thomas Fehr 2005-09-06 12:19:29 UTC
No, the logs should be enogh, the problem was caused by changing the resize
parameters a second time. Will have a look at this later. If you simply use
the suggestions made by YaST2 it should work.
Comment 5 Forgotten User ZhJd0F0L3x 2005-09-06 12:24:14 UTC
Created attachment 48914 [details]
the first 512 bytes of the disk
Comment 6 Forgotten User ZhJd0F0L3x 2005-09-06 12:24:42 UTC
Created attachment 48915 [details]
sfdisk -l; sfdisk -d
Comment 7 Forgotten User ZhJd0F0L3x 2005-09-06 14:15:48 UTC
beta4++ showed the same problem, but i again resized to the smallest possible
size. I will try again with a simple "click-through-install"
Comment 8 Forgotten User ZhJd0F0L3x 2005-09-06 17:03:34 UTC
Created attachment 48973 [details]
/var/log/YaST2 /mnt/var/log/YaST2, beta4++, nothing changed in proposal

still the same, i did change nothing in the proposal, just clicked "ok" all the
time
Comment 9 Forgotten User ZhJd0F0L3x 2005-09-06 17:06:48 UTC
Created attachment 48975 [details]
sfdisk -l; sfdisk -d; mount
Comment 10 Thomas Fehr 2005-09-07 16:43:51 UTC
Should be fixed with yast2-strorage-2.12.26
Comment 11 Thomas Fehr 2005-09-07 17:14:28 UTC
Sorry fix is in yast2-storage-2.12.27
Comment 12 Thomas Fehr 2005-09-08 08:32:29 UTC
Will be fixed in RC2.