GRUB breakdown
Daniel Mons
daniel.mons at iinet.net.au
Sun Feb 10 22:03:14 GMT 2008
Ubuntu (actually Debian, but it's in Ubuntu too) has built in automated
management scripts to generate your GRUB menu.lst without needing to get
your hands dirty.
If you can boot cleanly into Ubuntu, fire up a terminal and type
sudo update-grub
The scripts will scan your partitions and boot sectors, and add any
found Linux kernels as well as Windows (and other) operating system
chain loaders automatically to your menu.lst. From there, merely reboot
and you should see the new entries appear.
There are dozens of other update-* scripts used for system management of
default programs, rc/init.d script management, python management, font
cache management, etc, etc. Using these over manual hacks is highly
recommended, as they do it "the Debian/Ubuntu way", and the changes
often stick around even after you dist-upgrade in the future (which
causes far less breakages when upgrading to new releases down the track).
-Dan
Paul Schulz wrote:
> Hi Victor,
>
> You don't (shouldn't) need to reinstall grub.
>
> Boot into Ubuntu.
> - do you know which partition your Wondows OS is on?
>
> Have a look at /boot/grub/menu.lst
> You need to edit this file, and add something like the following.
> -----
> title Windows 95/98/NT/2000
> root (hd0,0)
> makeactive
> chainloader +1
> -----
> There are plenty of comments in this file, so have a good read. :-)
> You may need to change the '(hd0,0)' to something like (hd0,1) if the
> windows partition is the second one on the disk, for example.
>
> Cheers,
> Paul
>
>
>
>
> On Feb 10, 2008 8:40 PM, Victor Vahe Kevorkian <vivakevian at gmail.com> wrote:
>> Once a week I re-start my Ubuntu 7.10 to boot into Windows XP
>> to update my anti-virus, and update "FoxMarks" for my Bookmarks.
>> To day, GRUB didn't come on to select Microsoft and I was stuck
>> with a request of an operating system.
>> I need help. I dont know what to do.
>> I am using the Ubuutu Disc.
>> How can I re-install GRUB throught the Disc.
>> I appreciate all the help I can get.
>> Much obliged in advance.
>> Victor Kevorkian
>>
>>
>>
>> --
>> ubuntu-au mailing list
>> ubuntu-au at lists.ubuntu.com
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-au
>>
>>
>
More information about the ubuntu-au
mailing list