Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-09-2001, 03:35 PM   #1
LQ Newbie
Registered: Jan 2001
Location: New York City
Distribution: Red Hot 8.0
Posts: 8

Rep: Reputation: 0

Hi my name is David.
I have recently partition my harddrive to install linux,which went well I might add. Any way one day I boot my pc and found that I could no longer choose which OS to boot into. I have a "GRUB"promt: I have done some hard work and finally use chainloader to boot into my windows OS. I try to do the say to boot into Linux but had no luck. If any one has any knowldge of GRUB I would be very greatfull.
Old 04-08-2004, 10:00 AM   #2
Registered: Feb 2004
Distribution: Arch
Posts: 498

Rep: Reputation: 31
well I don't know much...but since u posed quite a while ago i'll give it a shot. linux doesn't use chainloader. Try to find a grub.conf file on the net ( a sample or s/t) and use those root images and kernel things

maybe try root = /dev/hd??
Old 04-08-2004, 10:37 AM   #3
Registered: Dec 2003
Location: Petaling Jaya
Distribution: Ubuntu
Posts: 475

Rep: Reputation: 31
My kernel is /boot/vmlinuz.2.6.3
My root partition is in /dev/hda3

So in grub prompt you would say:
root (hd0,2) ENTER
kernel /boot/vmlinuz.2.6.3 root=/dev/hda3 ENTER
boot ENTER
Old 12-11-2005, 09:26 PM   #4
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Look you can boot a Linux exactly as you boot a Windows.

The trick is to have a boot loader inside the Linux.

If you Linux uses Grub you can replicate Grub by the command in bash shell (need to be root)

grub-install /dev/hdax where x is the root partition number of the Linux. Use

lilo -b /dev/hdax for Lilo as the boot loader. When that is done. These two lines in /boot/grub/menu.lst (for Grub)

title My Linux in hdax
chainloader (hd0,x-1)+1

If your Linux is in hda4 for example then x=4 and use (hd0,3) in the above.

Lilo can boot it too, also 2 lines as


All Dos, Windows, BSD, Solaris must be installed in a primary bootable partition and will have the boot loader in the root partition by default. In Linux it is an option during installation but you can always replicate it later as shown by the above.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I use GRUB to boot linux at grub prompt? Mustbox Linux - General 2 02-15-2005 02:01 PM
Why grub prompt after installing Grub inder Debian woody 3.0r2? velan Debian 1 04-20-2004 05:55 AM
How to boot linux or XP from GRUB prompt? azacid Linux - Software 5 03-15-2004 02:10 PM
grub prompt at boot zepplin611 Fedora 2 02-22-2004 04:59 PM
How do I use GRUB to boot linux at grub prompt? Trillseker Linux - General 5 06-19-2003 07:23 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:55 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration