RE: grub 0.96 bug

2005-03-23 Thread Treutwein Bernhard
Hrm. I can see that would work, now.. Thanks for the tip, which renders my patch useless :-p. (Nah, the patch makes the stage2 simulator work with device-mapped devices, so I guess it can still be used for those... without a floppy disk? Or on a remote terminal.. or something :-).)

Re: [dm-devel] Re: grub 0.96 bug

2005-03-22 Thread Molle Bestefich
Wilfried Weissmann wrote: It must be severely broken; since if it just sticked to writing to the device I pointed it at (hpt37x_ehgjaggaf) which is a RAID0 virtual disk / whatever, it should never be able to overwrite metadata out on the physical disk. HPT desided to make the metadata

Re: grub 0.96 bug

2005-03-22 Thread Molle Bestefich
Carl-Daniel Hailfinger wrote: Um, GRUB works fine for me, even on totally crazy RAID systems not yet supported by dmraid. There is a well-kept secret you need to know: You can install GRUB just fine IFF you boot from a GRUB boot floppy. NEVER (except for trivial configurations) use the GRUB

Re: [dm-devel] Re: grub 0.96 bug

2005-03-22 Thread Molle Bestefich
Thanks for the explanation! There should be an option in the GRUB configuration to do this, so that the RAID won't get overwritten the next time I do a grub-install, I think. That would make my life a lot easier! On the other hand, the most straight forward thing to do would be to move the

Re: [dm-devel] Re: grub 0.96 bug

2005-03-22 Thread Wilfried Weissmann
Molle Bestefich wrote: That would make my life a lot easier! On the other hand, the most straight forward thing to do would be to move the stage 1.5 to another default sector. So you can not forget to set any option that ruins your array if missing. Also there is no need to add some autodetection

grub 0.96 bug

2005-03-21 Thread Molle Bestefich
I'm delving into GRUB bughunting now. GRUB 0.96 is apparently sensitive to the order in which device xxx commands are entered. Sounds horrid, aye... Ie. typing: grub device (hd0) /dev/xxx grub device (hd0,5) /dev/yyy Is a completely different thing to typing: grub device (hd0,5) /dev/yyy grub

Re: grub 0.96 bug

2005-03-21 Thread Molle Bestefich
grub device (hd0) /dev/mapper/hpt37x_ehgjaggaf grub device (hd0,5) /dev/mapper/hpt37x_ehgjaggaf6 grub root (hd0,5)/boot Attempt to open drive 0x80 (/dev/mapper/hpt37x_ehgjaggaf6) Error 5: Partition table invalid or corrupt grub root (hd0,5)/boot Attempt to open drive 0x80

Re: grub 0.96 bug

2005-03-21 Thread Molle Bestefich
Chris Nicola wrote: Yes I am having the exact same problem. I am actually just going to try and lower version of grub for now but I will try this patch if that still happens. Just did this: == grub device (hd0) /dev/mapper/hpt37x_ehgjaggaf grub root (hd0,5)/boot Filesystem type is

Re: grub 0.96 bug

2005-03-21 Thread Carl-Daniel Hailfinger
Molle Bestefich schrieb: Chris Nicola wrote: Yes I am having the exact same problem. I am actually just going to try and lower version of grub for now but I will try this patch if that still happens. Just did this: == grub device (hd0) /dev/mapper/hpt37x_ehgjaggaf grub root

Re: [dm-devel] Re: grub 0.96 bug

2005-03-21 Thread Wilfried Weissmann
Chris Nicola wrote: Yes I am having the exact same problem. I am actually just going to try and lower version of grub for now but I will try this patch if that still happens. Just did this: == grub device (hd0) /dev/mapper/hpt37x_ehgjaggaf grub root (hd0,5)/boot Filesystem type is