Bug 115330

Summary: Error installing grub: "Error 5: Partition table invalid or corrupt"
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Forgotten User ZhJd0F0L3x <forgotten_ZhJd0F0L3x>
Component: InstallationAssignee: Thomas Fehr <fehr>
Status: RESOLVED FIXED QA Contact: Klaus Kämpf <kkaempf>
Severity: Blocker    
Priority: P5 - None CC: aj, behlert, duwe, jsrain, kernel01
Version: Beta 4   
Target Milestone: RC 2   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Component Test Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 97395    
Attachments: /var/log/YaST2 /mnt/var/log/YaST2
the first 512 bytes of the disk
sfdisk -l; sfdisk -d
/var/log/YaST2 /mnt/var/log/YaST2, beta4++, nothing changed in proposal
sfdisk -l; sfdisk -d; mount

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.