LinuxQuestions.org
Review your favorite Linux distribution.
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 11-11-2003, 05:59 PM   #1
iLLuSionZ
Member
 
Registered: Oct 2003
Location: MI
Distribution: Knoppix 3.3 = XP = Mandrake 9.2
Posts: 343

Rep: Reputation: 30
help me dual boot properly please


hey guys... i had redhat on a small drive and ran outta room so now im partitioning my 40 gig to dual boot and ive tried 3 times and still have problems...

can someone explain to me the order my os's should go?
i have xp corp
redhat 9.0

im not sure which one goes first for the boot loader to work right.
 
Old 11-11-2003, 06:25 PM   #2
toastermaker
Member
 
Registered: Oct 2003
Location: coastal alabama, united states
Distribution: Mandrake 10.0 official, slackware 9.1
Posts: 219

Rep: Reputation: 30
I'm still an extreme newbie so check this with someone who knows thier stuff.

Search this site for "dual boot".

Last edited by toastermaker; 11-11-2003 at 06:32 PM.
 
Old 11-11-2003, 06:35 PM   #3
leukozyt
LQ Newbie
 
Registered: Nov 2003
Distribution: Debian 3.0
Posts: 15

Rep: Reputation: 0
Hi,

i use dual boot too.
This are my settings:

Code:
$ cat /etc/lilo.conf
lba32
boot=/dev/hda
root=/dev/hda2
install=/boot/boot-menu.b
map=/boot/map
prompt
timeout=100
vga=normal
default=Linux
 
image=/vmlinuz
        label=Linux
        read-only
 
image=/vmlinuz.old
        label=LinuxOLD
        read-only
        optional
 
# If you have another OS on this machine to boot, you can uncomment the
# following lines, changing the device name on the `other' line to
# where your other OS' partition is.
#
# other=/dev/hda4
#       label=HURD
#       restricted
#       alias=3

other=/dev/hda1
  label="WinNT(hda1)"
 
other=/dev/hda8
  label="Windows(hda8)"
You have to edit this file.
look at
Code:
$ man lilo
and
Code:
$ man lilo.conf
MfG
leukozyt
 
Old 11-11-2003, 06:35 PM   #4
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 57
Install Windows first, then Linux.

LILO mini HOWTO
Multiboot with LILO HOWTO
LILO, Linux Crash Rescue HOW-TO
Installing a bootloader
Multiboot with GRUB Mini-HOWTO
Linux+Win9x+Grub HOWTO
 
Old 11-11-2003, 06:37 PM   #5
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 57
My grub.conf for your perusal
Code:
# Celeron 850 tinwhistle /boot/grub/grub.conf file
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,1)
#          kernel /vmlinuz-version ro root=/dev/hda6
#          initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
title Red Hat 7.3 Linux
        root (hd0,1)
        kernel /vmlinuz-2.4.20-18.7 ro root=/dev/hda6 hdd=ide-scsi
        initrd /initrd-2.4.20-18.7.img
title Mandrake 9.0 Linux
        kernel (hd0,6)/boot/vmlinuz-enterprise root=/dev/hda7 devfs=mount hdd=ide-scsi
        initrd (hd0,6)/boot/initrd-enterprise.img
title Gentoo Linux
        root (hd0,1)
        kernel (hd0,1)/boot/bzImage root=/dev/hda3 hdd=ide-scsi
title Windows 98 Sucky Edition
        rootnoverify (hd0,0)
        chainloader +1
 
Old 11-11-2003, 07:57 PM   #6
iLLuSionZ
Member
 
Registered: Oct 2003
Location: MI
Distribution: Knoppix 3.3 = XP = Mandrake 9.2
Posts: 343

Original Poster
Rep: Reputation: 30
well i have xp corp on hdb1 and i have another partition for redhat thats hdb2 and a stuff drive for stuff..

i installed xp and then redhat before and it messed everything up.. it said grub is corrupted..
if i do that now how do i fix it?

can someone that has redhat and xp post me there grub.cfg file?
or should i use lilo ?
 
Old 11-11-2003, 08:02 PM   #7
nro
Member
 
Registered: Oct 2003
Distribution: Mandrake 9
Posts: 46

Rep: Reputation: 15
Grub is just fine. I recommend using programs on windows(Partition Magic is the best IMO) to rearrange your HD partitioning. Don't let it format the newly created linux partition though(have red hat do this). Since your grub file is on your linux partition and you can't even get to the grub boot screen, use a boot disk(red hat can create this from the CD) and then mount your linux(from what I read, you have it on hdb1) partition and alter your grub. Please be more specific on the error that you are getting.
 
Old 11-12-2003, 05:32 PM   #8
stonux
Member
 
Registered: Oct 2003
Distribution: SuSE, RH
Posts: 54

Rep: Reputation: 15
Make sure your /boot partition and Windows C: are located within the first 1023 cylinders.

A sample config looks like this:

Code:
   Device           Start    End    contents   
/dev/sda1            1         99    Linux /boot
/dev/sda2           100      1023   windows c:
/dev/sda5          1024      2201    Linux /
/dev/sda6          2202      2400    Linux swap
/dev/sda7          2401      4000   windows d:
according to the howtos, you have to dd the linux boot sector to an image file
and tell windows' boot.ini where to find it. lilo and grub might also write such
an image file.

One simple alternative to dual boot I did for friends is to make a linux boot floppy.
If they wanted to start Windows, remove the floppy while booting,
if they wanted to start linux, insert it.
 
Old 11-12-2003, 06:25 PM   #9
iLLuSionZ
Member
 
Registered: Oct 2003
Location: MI
Distribution: Knoppix 3.3 = XP = Mandrake 9.2
Posts: 343

Original Poster
Rep: Reputation: 30
i dont knwo how i did it lol but i got it working properly.. its runnin smooth.. thanks guys

btw.. i just make a 7 gig / and a 2 gig /home with a 512 /swap.
 
  


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
Fedora C2/Radeon 9600SE Dual Head/Second Monitor not working properly Daerion Linux - Hardware 4 04-09-2005 06:16 AM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 01:44 PM
System won't boot properly knoppix doesn't initialize properly rodewan Linux - Software 0 01-23-2005 03:35 PM
Suse 9, RH9 wont install properly. Mandrake 9 wont boot properly? Help. l2ich84 Linux - Newbie 1 01-31-2004 11:02 AM
gentoo -- how do i properly config grub for a dual boot system Laptop2250 Linux - Distributions 3 01-02-2004 08:19 PM


All times are GMT -5. The time now is 02:21 AM.

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