there are several ways to boot Linux But the most common method involve booting from hard drive.
To boot Linux you'll need a boot loader (Grub - Lilo) we'll talk about Grub
grub boot loader read its configuration from file located in
/boot/grub/grub.conf <----- main file
/boot/grub/menu.lst <----- symbolic link to the first file
/etc/grub.conf <----- symbolic link to the first file
NOTE : in other distributions like SUSE it use the menu.lst as main file and grub.conf is a simpolic link to it.
the file content as fellow :
default=0
timeout=10
splashimage=(hd0,0)/grub/bootsplash.xpm.gz
hiddenmenu
title Fedora (2.6.22.9-91.fc7)
root (hd0,0)
kernel /vmlinuz-2.6.22.9-91.fc7 ro root=/dev/sda3
initrd /initrd- 2.6.22.9-91.fc7.img
title Windows
chainloader (hd0,1)+1
======================
default=0
Choose the Default system to auto boot 0 = first in menu, 1 = second
timeout=10
time in seconds to automate boot the default system
splashimage=(hd0,0)/grub/bootsplash.xpm.gz
back ground image of the grub
hiddenmenu
hide the systems menu
title Fedora (2.6.22.9-91.fc7)
title of your first system
root (hd0,0)
used to define where is your /boot
kernel /vmlinuz-2.6.22.9-91.fc7 ro root=/dev/sda3 quit
kernel define kernel file to boot it
root define the partition that your Linux system located
quite hide many messages from the users
title Windows
title of your Second system
chainloader (hd0,1)+1
partition which your Windows system
=============================================
Restore the Grub Menu after a Re-Install Windows :
=============================================
1. Boot from a Live CD, like Ubuntu Live, Knoppix, Mepis, or your rescue CD.
2. Open a Terminal. Go SuperUser (that is, type "su"). Enter root passwords as necessary.
3. Type "grub" which makes a GRUB prompt appear.
4. Type "root (hd0,0)". hd0 =my hdd , 0 is the partition which my /boot/ is exist
5. Normaly Type "setup (hd0)".if you want to write GRUB to the MBR.
If you want to write it to your linux root partition, then you want the number after the comma, such as "(hd0,3)".
7. Type "quit".
8. Restart the system. Remove the bootable CD.
============ Alternate method ===================
Boot your system using your Fedora Core Rescue disc .
When you get to the command prompt type:
- chroot /mnt/sysimage
- grub-install /dev/hda
Now just hit Ctrl+D twice and your system should reboot. Once your system reboots you should see the GRUB menu.
That's it!!! You're done.
======================================================
Remove the Grub to use only your windows system " Enjoy the viruses"
======================================================
in windows XP
1. Boot your windows CD
2. Choose repair
3. Choose your system
4. login as admin
5. Type "fixmbr"
5. reboot your system & enjoy the unstabiity
in windows 9x/Me
1. type "fdisk / mbr "
============ resources ==============
http://www.sorgonet.com/linux/grubrestore/
http://fedoranews.org/contributors/bob_kashani/grub/
http://ubuntuforums.org/archive/index.php/t-24113.html
http://www.whoopis.com/howtos/howto_restore_mbr_grub.php
3 comments:
Welcome Man!
I hear about the command (dd)
Can I use it??
and how could I backup the Grub??
A friend has a vid that was sent to him which was filmed with an iPhone. He can't get it to open on his pc. What media player does he need? And can the vid be hosted on YouTube?
[url=http://forexrobot-review.info]best forex software[/url] [url=http://ivf-life.ru/index.php?option=com_mamboboard&Itemid=47&func=post&do=reply&replyto=15130&catid=5]unlock iphone[/url]
Hi I'd like to thank you for such a terrific quality forum!
I was sure this is a perfect way to make my first post!
Sincerely,
Robin Toby
if you're ever bored check out my site!
[url=http://www.partyopedia.com/articles/animal-party-supplies.html]animal Party Supplies[/url].
Post a Comment