"Hylton Conacher (ZR1HPC)" <hylton@global.co.za> writes:
Hi all,
I have a Suse 9.0 boot disk and know I could boot from that but I do not know the command to isue to redetect and reinstall the bootloader. I can remember under LiLo it was issuing the cmd /sbin/lilo but I do not know for GRUB.
[snip]
Fstab posted below: /dev/hdb1 / ext3 defaults 1 1 /dev/hdb9 /boot ext3 defaults 1 2 /dev/hdc2 /data1 auto noauto,user 0 0 /dev/hdc7 /data2 auto noauto,user 0 0 /dev/hdc9 /data3 auto noauto,user 0 0 /dev/hdd1 /data4 auto noauto,user 0 0 /dev/hdb8 /home ext3 defaults 1 2 /dev/hdb10 /opt ext3 defaults 1 2 /dev/hdb6 /usr ext3 defaults 1 2 /dev/hdb7 /var ext3 defaults 1 2 /dev/hdc1 /windows/C vfat defaults 0 0 /dev/hdc5 /windows/D vfat defaults 0 0 /dev/hdc6 /windows/E vfat defaults 0 0 /dev/hdb5 swap swap pri=42 0 0 /dev/hdc8 swap swap pri=42 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 proc /proc proc defaults 0 0 usbdevfs /proc/bus/usb usbdevfs noauto 0 0 /dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0 /dev/fd0 /media/floppy auto noauto,user,sync 0 0
[snip]
My bootloader is installed in the MBR and I have a /boot partition. Do I still install it in the /boot partition issuing the command after booting from stiffy:
grub-install --root-directory=/boot /dev/hdb
No: grub-install --root-directory=/boot /dev/hda is what you need. (The /dev/hda IS the mbr). If you have added any disks or partitions since you last installed grub, you need to use: grub-install --root-directory=/boot --recheck /dev/hda (I have never had to use --recheck, so my fingers are crossed here :-) See the grub-install node in info grub
grub has a VERY complete info document. (So complete I cannot really blame you for not wading through it to find the answer:-)
I have to disagree here. I have read both the man and info pages and still do not know what to do in my situation where a boot partition is available and the boot loader is installed in the MBR on installing the OS.
But that is what I meant -- there is so much information in the info pages that one is overwhelmed when searching for the details related to ones own problem :-) (At least I know I was when I went searching for how to boot the diagnostics partition on my laptop -- but the information is there, unlike the majority of KDE programs where the only documentation is the source code.)