LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-10-2006, 02:59 PM   #1
PLFaBiaN5
LQ Newbie
 
Registered: Mar 2006
Posts: 24

Rep: Reputation: 15
loading kernel in grub


can someone tell me how to load kernel in grub.
my partition:
hda5 /boot
installed the grub here on the first boot sector
hda6 swap
hda7 /
hda8 /home

i want to still use the windows loader but in order to add
linux to my windows load i need to get into linux to get linux.bin file
and i don't know how to do this in rescue mode because i have to edit
the edit the /etc/fstab file to mount my windows partition.

thx.
 
Old 10-10-2006, 05:46 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Which distro and version?
Which kernel?
Post contents of /boot/grub/grub.conf or maybe /boot/grub/1stmenu.conf or similiar.
Depending on distro you may be able to boot with install CD and if grub is correct use the command grub-install to set grub to the MBR of the drive.

For windows depends on distro. Many don't support ntfs if this the format type of the windows partition out of the box.

Brian
 
Old 10-10-2006, 06:34 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by PLFaBiaN5
can someone tell me how to load kernel in grub.
my partition:
hda5 /boot
installed the grub here on the first boot sector
hda6 swap
hda7 /
hda8 /home

i want to still use the windows loader but in order to add
linux to my windows load i need to get into linux to get linux.bin file
and i don't know how to do this in rescue mode because i have to edit
the edit the /etc/fstab file to mount my windows partition.

thx.
This needs to be a bit more specific....
For example, where exactly did you put grub? (mbr or one of the partitions?) If it is not in the mbr, then you need code in the mbr that point to grub.

Normally, for dual-boot, I would have grub in the mbr, and the grub.conf (aka menu.lst) file in the /boot directory of the Linux install.

In addition to the files already requested, give us the list of ALL partitions (fdisk -l---run as root)
 
Old 10-11-2006, 12:57 AM   #4
PLFaBiaN5
LQ Newbie
 
Registered: Mar 2006
Posts: 24

Original Poster
Rep: Reputation: 15
my grub is installed on the /dev/hda5
 
  


Reply



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
Grub not loading any OS Seribicus Linux - Software 3 05-08-2006 05:08 PM
why is grub still loading? Haloony Linux - Newbie 3 01-08-2006 04:37 PM
out of the blue freezing when loading FC4 kernel with grub jh559 Linux - Software 1 10-31-2005 05:41 PM
Loading modules error after loading compiled kernel td0l2 Linux - Newbie 12 07-28-2004 11:10 AM
Custom 2.6.1 kernel with GRUB not loading. Brakki Debian 1 01-29-2004 02:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:25 AM.

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