Re: [SLE] Restoring linux GRUB bootloader after Windows partition reinstall
From: Hylton Conacher (ZR1HPC) (hylton_at_global.co.za)
Date: 12/31/03
- Previous message: Colburn: "[SLE] SuSE 9 Pro Symlink Missing?"
- In reply to: Mark Gray: "Re: [SLE] Restoring linux GRUB bootloader after Windows partition reinstall"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 31 Dec 2003 11:15:29 +0200 To: SLE <suse-linux-e@suse.com>
Mark Gray wrote:
> "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.
>>
>>any pointers?
>
>
> You should have given your exact partition table descriptions, but
> guessing at them I would suggest:
>
> grub-install /dev/hdb
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
> This assumes you do not have a /boot partition on /dev/hda, if you do
> the command would be:
>
> grub-install --root-directory=/boot /dev/hda
>
> (It also assumes you have a valid /boot/grub/device.map, if not you
> need to look into the option --recheck)
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
> 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.
Thankfully there is this list :)
-- ======================================================================== Hylton Conacher - Registered Linux user # 229959 at http://counter.li.org Using SuSE 9.0 with KDE 3.1 ======================================================================== -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
- Previous message: Colburn: "[SLE] SuSE 9 Pro Symlink Missing?"
- In reply to: Mark Gray: "Re: [SLE] Restoring linux GRUB bootloader after Windows partition reinstall"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|