-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 jdd wrote: ...
* there is a new flavor of grub, now what one is used on 10.1 (0.9... or 1.9...)?
yast2 --install lftp lftp \ ftp://ftp.gwdg.de/pub/opensuse/distribution/SL-OSS-factory/inst-source/suse/src lftp> ls grub* grub-0.97-8.src.rpm
* there is a problem with grub (old flavor, don't know for the new), when the MBR is erased for some reason (windows install, for example), grub don't works anymore.
It's not a "problem with grub". It's a problem with Windows. grub is stored in the MBR, so when the MBR is just overwritten by Windows, obviously, grub is not in the MBR any more. Use the installation CD and select "boot installed system", then log in as root and grub < /etc/grub.conf should do. (not sure about this, as I haven't used Windows for years, my MBR hasn't been overwritten since quite some time ;)) If someone can confirm or correct, please do so.
Yast have an option to correct this, but it's very hard to find (under repair) - of course installation yast, given your linux don't boot no more :-(.
Blame Windows, not grub or Linux. Although I agree, the repair option is really hard to find, far from being obvious. Maybe the repair mode should be moved to the GRUB menu of CD 1 (could be done, as you can set variables in the grub menu entry that will be passed as environment variables, AFAICR). The rescue system is very helpful for experienced users, but is pretty useless for beginners (having YaST2 with ncurses frontend on the rescue system would be great though).
however it's often possible to boot the linux install, for example with a grub boot disk. but then it's not clear how to fix grub. needs launching yast and founding the option to write back the MBR.
could it be possible to write with yast, when writing the initial grub configuration a small script ("grub-mbr"?) to rewrite the mbr without lauching yast? If this could be run from a rescue cd, it would be even better (you know, like "lilo", or chroot /mnt lilo)
Well it also depends on where you choose to put grub.
It can also be installed into the activated partition, or on a floppy,
etc...
It's not that simple.
cheers
- --
-o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
/\\