LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   loading kernel in grub (https://www.linuxquestions.org/questions/linux-newbie-8/loading-kernel-in-grub-491206/)

PLFaBiaN5 10-10-2006 02:59 PM

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.

Brian1 10-10-2006 05:46 PM

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

pixellany 10-10-2006 06:34 PM

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)

PLFaBiaN5 10-11-2006 12:57 AM

my grub is installed on the /dev/hda5


All times are GMT -5. The time now is 10:32 AM.