Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
Hi, thank for reply. Btw i also couldn't start windows 2000, any problem with windows section ?
Rgds
Daniel
Quote:
Originally posted by bigrigdriver 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.
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
and post it it would help,I install grub to the MBR.Windows may work with this;
Code:
title Windows
rootnoverify (hd0,0)
chainloader +1
The splashimage come's up O.K?
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.
Last edited by comprookie2000; 12-31-2004 at 01:07 PM.
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:
Originally posted by comprookie2000 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
and post it it would help,I install grub to the MBR.Windows may work with this;
Code:
title Windows
rootnoverify (hd0,0)
chainloader +1
The splashimage come's up O.K?
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, 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:
Originally posted by DanielTan Hi, thank for reply. Btw i also couldn't start windows 2000, any problem with windows section ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.