Modify grub.conf
Hi, currently i have windows 2000 installed as my primary OS in primary partition of harddisk 1. I have installed linux into a logical partition also in harddisk 1 but when i select linux in the boot menu, it gives me error. So i look at my grub.conf, is this causing error ? pls advise
Default=0 Timeout=0 Splashimage=(hd0,5)/boot/grub/splash.xpm.gz title Redhat Linux (2.4.7-10) root (hd0,5) Kernel /boot/vmlinuz--2.4.710 ro root=/dev/hda6 hdd=ide-scsi initrd /boot/initrd-2.4.7-10 img title Windows rootnoverify (hd1,0) chainloader +1 Rgds Daniel |
You designate the root location twice: you can probably delete root (hd0,5) because you have it named in the kernel line (root=/dev/hda6).
Next, edit the kernel line to read: kernel (hd0,5)/boot/vmlinuz-2.4.7-10 instead of kernel /boot/vmlinuz-2.4.710. or, kernel (hd0,5)/vmlinuz-2.4.7-10. Complete the line with the remaining boot options. One of these should work. |
Re: Modify grub.conf
Quote:
|
Re: Re: Modify grub.conf
Hi Vijairaj, i was not able to boot into windows also. Windows and linux is in the same harddisk, why need root(hd1,5) ?
Rgds Daniel Quote:
|
Hi, thank for reply. Btw i also couldn't start windows 2000, any problem with windows section ?
Rgds Daniel Quote:
|
When you say harddisk1,is windows and redhat on the same drive? Looks like you installed grub to hda6,Is that right?If you could do a
Code:
fdisk -l Code:
title Windows From the grub manual Code:
Note: If you want to install GRUB in a certain partition instead of the MBR, you have to alter the setup command so it points to the right partition. For instance, if you want GRUB installed in /dev/hda3, then the command becomes setup (hd0,2). Few users however want to do this. |
Hi, i mean that fist drive but not same partition. i installed grub to MBR. So u mean the windows section code is wrong in my grub.conf ? The splash screen didn't comes out either. Btw whats the fdisk -1 does ?
Rgds Daniel Quote:
|
Need to see your partition layout,fdisk -l will show us that.
|
Where should i type it in ? During the linux setup it also shows the partition layout , is it same ?
Rgds Daniel Quote:
|
Hi, thanks for your help. It works after doing some modifying to the grub. Now i can dual boot linux and windows 2000. Btw how do i make adsl connection to the internet ? I have setup adsl account in linux internet settings. Pls advise
Rgds Daniel Quote:
|
All times are GMT -5. The time now is 08:05 AM. |