Re: [SLE] Restoring linux GRUB bootloader after Windows partition reinstall

From: Hylton Conacher (ZR1HPC) (hylton_at_global.co.za)
Date: 12/31/03

  • Next message: Ron Joffe: "Re: [SLE] SuSE 9 Pro Symlink Missing?"
    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
    

  • Next message: Ron Joffe: "Re: [SLE] SuSE 9 Pro Symlink Missing?"

    Relevant Pages

    • Re: Dual Boot Instructions
      ... I ended up reinstalling Vista, ... The boot SECTOR is not the bootLOADER. ... finds the partition table for that HDD and sees that the first partition is ... violated, we no longer can simply install WinXP, install Vista and ...
      (microsoft.public.windows.vista.hardware_devices)
    • Re: Vista/7 permissions for script?
      ... OEM Win7 yet. ... I assume the first boot environment is Windows PE, ... image's boot partition to a larger partition in a larger hard drive -- it ... After writing the install DVD I repartitioned ...
      (microsoft.public.scripting.vbscript)
    • Re: Reinstallation erases all?
      ... W2 is active on C and only visible in PM and install. ... I'll take a look at Paragon as are in that Boot CD I linked to. ... Active partition status to the partition that it was on before this mess ...
      (microsoft.public.windowsxp.help_and_support)
    • Re: No boot and no administrator password!
      ... You'll need a new partition, ... file ownership and permissions supersede administrator rights. ... > I cannot do a clean install and lose all my data knowing> that there is an 'unconventional' way past this problem. ... Boot the system, start> tapping F8, when>>the menu appears, select "Last Known Good Configuration,"> press enter and>>see if that resolves it. ...
      (microsoft.public.windowsxp.accessibility)
    • Re: How to change Dual Boot to Single Boot?
      ... Be aware that Microsoft use the term boot partition for the partition where ... primary active partition (where the boot sector and files required to start ... If you want the partition gone and Windows ... To do a clean install, either boot the Windows 2000 install CD-Rom or setup ...
      (microsoft.public.win2000.general)