LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 07-05-2003, 02:32 AM   #1
HuggyBear
LQ Newbie
 
Registered: Jul 2003
Location: China
Distribution: Red Hat 9
Posts: 12

Rep: Reputation: 0
Both Hdds booting to Linux


I have Windoze on HD-0 and yesterday loaded RedHat 9 x86 on HD-1. Today I want to boot to Windoze but both Hd1 and Hd0 boot to Linux. (There are 2 Hard Drives). Grub version 0.93 comes up and only gives me one choice - Linux, but I do have the option of 'e' for editing, 'c' for command line and 'a' to modify kernel arguments.

I'm a newbie, and after looking at appendix G in the manual I can't find anything that will help.

Huggy
 
Old 07-05-2003, 02:40 AM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
I haven't used grub, so I don't know but if it was LILO, I'd say you need to add your Windows system to lilo.conf and run lilo again. I believe there is an /etc/grub.conf as well. Maybe look into that file. If it shows a Linux entry and nothing but, you probably need to add a Windows entry. Not sure of the syntax of it, but google 'grub.conf' (or search this site) and maybe that'll work for you.

Does 'e' edit grub.conf directly? If so, that'd be the thing to do.
 
Old 07-05-2003, 02:56 AM   #3
HuggyBear
LQ Newbie
 
Registered: Jul 2003
Location: China
Distribution: Red Hat 9
Posts: 12

Original Poster
Rep: Reputation: 0
Dear Digiot,
Thanks for your reply. Unfortunately I'm a beginner and can't figure out what you are saying. What is .conf?

Huggy
 
Old 07-05-2003, 03:41 AM   #4
HuggyBear
LQ Newbie
 
Registered: Jul 2003
Location: China
Distribution: Red Hat 9
Posts: 12

Original Poster
Rep: Reputation: 0
Just to add more info re my problem:

My hardward browser looks like this:

DEVICE START END Mb Type

/dev/hda

hda1 1 13 102Mb ext3

hda2 14 5005 39158Mb ext3

/dev/hdb

hdb1 1 32 251 Linux-swap

33 4865 37911 Free space

When I installed RH9, it went on a new hdd on the same ribbon cable as my Windoze hdd. Windoze hdd is master, and Linux hdd is slave. The idea is to boot to cmos and change the boot device from hdd0 to hdd1 to switch operating systems. When Linux came to the partition manager, we let it do it instead of choosing Disk Druid. Hence, the problem I have now. (My hacker friend helped me post this one, but we still don't have a solution).

Huggy

Last edited by HuggyBear; 07-05-2003 at 04:46 AM.
 
Old 07-05-2003, 03:23 PM   #5
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Hi HuggyBear

I would personally re-install Red Hat 9 on your second hard drive but choose Lilo as the bootloader, not GRUB. Then you want to log on as ROOT user in Red Hat - go into your /etc directory and find a file called Lilo.conf - open it using a text editor and scan down the entrires until you see one that starts with "other=..........." you want to make sure that this entry correctly points to your Windows drive on /dev/hda - I'm not sure of the syntax - somebody else will probably post the correct sysntax - just make sure after you've pointed to your Windows drive correctly in Red Hat.s Lilo.conf file you go to a console and type /sbin/Lilo - this will create an entry in the Lilo bootloader menu for when you next boot up - youll then have entries for both Red Hat 9 and Windows providing you've used the correct sysntax to point to your Windows hard drive - hopefully somebody will post it soon - good luck
 
Old 07-05-2003, 08:32 PM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Skyline,

I will be doing HuggyBear's install. I don't remember seeing the option for LILO vs. GRUB. Can you be more specific?

He has two 40GB hdd's. He wants XP English, XP Chinese, and RedHat 9. Any more suggestions would be appreciated. I also don't want to install Everything at the package list, but don't know what he needs and doesn't need. This comp will be networked. He has an ADSL modem and an Edimax BR-6104 router. He has a Palm which he uses and will want to sync with RedHat, plus he will use Evolution for his email.

TIA
 
Old 07-05-2003, 11:28 PM   #7
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Hi Chinaman

Red Hat 9 installs the GRUB bootloader by default - when installing Red Hat 9, just after you've dealt with the partitioning screen you come to the bootloader screen - there will be an option on the screen that says "change boot loader" - click on it and then click "use the Lilo boot loader" option - Red Hat will now use the Lilo boot manager instead of the GRUB boot manager.

Again - Iwould install XP first on the 1st hard drive - then Red hat second on the 2nd hard drive - make sure you choose Lilo as the boot manager and install it to the Master Boot Record (MBR) on your 1st hard drive - this will overwrite XP's boot manager but the key then is to go into Red Hat's lilo.conf file and make sure you point to XP correctly - ie try and tell Lilo which partition etc your XP installation is on - I'm not sure about the syntax to insert in Lilo for XP - somebody will post something soon - its a very common situation - there's quite a few posts in this forum on dual booting XP and Red Hat 9.

Regarding the package selection, I would choose a custom Red Hat install from the start - you'll get complete control over the partitioning, bootloader, adn package selection etc - with the package selection screen you should be able to go through the checkboxes and checkbox what you want and don't want.

As for the networking element, I persoanlly would just try and get a basic dual boot set up first adn to feel comforatble doing it - once you know what your doing - then think about re doing it with networking in mind.
 
Old 07-06-2003, 09:26 AM   #8
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Skyline,

Thanks for the info. He wants to upgrade his machine, so I'll install the new mobo, cpu and mem before reinstalling the os's. That'll give me a couple of days to read up on LILO and search for information on the boot situation - actually triple boot, since we'll have Linux, Eng. XP, and Chs. XP.

I have my machine networked with samba. It seemed very simple and straight up. Only problem was changing ownership of folders so I could transfer files to them from my XP laptop. Just the internet connection may be enough for him to start out, though.
 
  


Reply


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
Dual booting with seperate HDDs moistTowelette Linux - Software 1 04-27-2005 12:07 AM
dual booting multiple distros with 2 hdds xiato Linux - Newbie 9 05-05-2004 09:11 PM
dont know how to find my hdds with linux (mandrake10, ntfs partitions) booomups Linux - Newbie 8 03-14-2004 04:57 PM
2 hdds win+linux 1 question. tiger7007 Linux - Newbie 6 08-10-2003 10:26 AM
Dual booting with WinXP and Linux (OS's on separate HDDs) DaveS Linux - General 11 03-09-2003 08:14 PM


All times are GMT -5. The time now is 01:13 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration