Re: question on grub re-install

From: Bill Davidsen (davidsen_at_deathstar.prodigy.com)
Date: 01/07/05


Date: Fri, 07 Jan 2005 19:19:15 GMT

Nico Kadel-Garcia wrote:
> "Ki Hwan Lee" <talchum@stanford.edu> wrote in message
> news:Pine.GSO.4.44.0501020448410.10015-100000@elaine0.Stanford.EDU...
>
>>Hello,
>>
>>I had linux/windows dual booting setup on my laptop
>>
>>Recently, I had to re-install windows, which overwrote MBR. So, I
>>need to re-install Grub again.
>>
>>Is this going to be safe ?
>
>
> Depending on your Linux installation, you should be able to boot with an
> installation or rescue CD in "rescue" mode, which will run the rescue CD's
> copy of a teeny OS and mount your Linux hard drives where you can get at
> them. Then you can do a "chroot /mnt/sysimage" or wherever it puts your
> Linux OS, and run "grub-install /dev/hda" or whatever is appropriate to
> where you want to put the new MBR.

This may be a common question, but where do you find the docs on adding
the Windows partition to grub.conf. If XP is installed first, the
install programs seem to handle it, but if the machine never had XP
before editing is needed. Neither the man or info seem usful, the info
talks about Win95 and NT, has a section on OS/2 (in writing your own
config file), and generally isn't helpful.

I have always used LILO and have no issues setting that up, but since
FC2 uses grub by default I'd like the path of least resistance. A
partition was reserved on hda for future use (I was planning on freeBSD)
so I don't have to boot of another drive.

Any pointer to better docs would be helpful.

-- 
bill davidsen (davidsen@darkstar.prodigy.com)
   SBC/Prodigy Yorktown Heights NY data center
   Project Leader, USENET news
   http://newsgroups.news.prodigy.com


Relevant Pages

  • Re: my computer cannot be booted from bootable CD (please help)
    ... I think I chose some wrong installation settings, ... and even Linux Installation CD. ... When I attempted to boot from Windows XP CD or Linux ...
    (microsoft.public.windowsxp.general)
  • Re: Installation Questions
    ... I boot my computer up first in an OS called ... > desktop in the Magic OS which then runs the Linux installation ramdisk ... > soon get the screen which asks for what language I want the installation ... > If I use the newer kernels, the ramdisk loads, but I get no video. ...
    (comp.os.linux.misc)
  • Re: F8 -> F9 Preupgrade Issues
    ... Linux installation. ... I ran preupgrade yesterday and downloaded all of the required RPMs (or ... This evening I booted into the installation procedure. ... It seems to do that when boot is not a separate partition from root. ...
    (Fedora)
  • Re: issues with SATA hard drives
    ... I boot up the PC with the DVD, ... When the FC 3 installation starts, ... >> There are two hard drives currently installed, ... >> Seems that the linux installation will not ...
    (Fedora)
  • Re: Dual Boot Instructions
    ... No one has said either yes or no to the proposed installation as described ... just disconnect the already installed Vista drive, then plug in the blank HDD ... the first of the boot options if it detects WinXP already installed on the ... The System Partition must be a primary partition and marked Active ...
    (microsoft.public.windows.vista.hardware_devices)