LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 02-14-2003, 10:06 AM   #31
cyberswami
Member
 
Registered: Jan 2003
Location: TVM,Kerala,INDIA
Distribution: Redhat 8.0
Posts: 47

Rep: Reputation: 15

back up ur lilo.conf file somewhere else and then save the above file, then type lilo + enter at the terminal and check the output,
 
Old 02-14-2003, 10:07 AM   #32
sypkensj
LQ Newbie
 
Registered: Feb 2003
Posts: 24

Original Poster
Rep: Reputation: 15
i did that, already

when i tried to boot this time it said "error no loader" or something like that
 
Old 02-14-2003, 10:08 AM   #33
sypkensj
LQ Newbie
 
Registered: Feb 2003
Posts: 24

Original Poster
Rep: Reputation: 15
btw the output said something like
added linux
added windowsXP*
added linux-bak

(thats from memory, it might not be absolutely correct)
 
Old 02-14-2003, 10:12 AM   #34
cyberswami
Member
 
Registered: Jan 2003
Location: TVM,Kerala,INDIA
Distribution: Redhat 8.0
Posts: 47

Rep: Reputation: 15
the hard disk on which linux is installed is the master right and the one on which xp resides is the slave,
on which partition on the xp hard disk had u installed xp
 
Old 02-14-2003, 10:16 AM   #35
sypkensj
LQ Newbie
 
Registered: Feb 2003
Posts: 24

Original Poster
Rep: Reputation: 15
actually the instructions that came with the 2nd HD said to make them both "CS" i think that means cable select..

So I'm not sure which is master / slave or if they are even master / slave config.

XP was factory installed from dell, i think its the 2nd partition though.. i think the first one is the 8mg cache or something like that.
 
Old 02-14-2003, 10:27 AM   #36
cyberswami
Member
 
Registered: Jan 2003
Location: TVM,Kerala,INDIA
Distribution: Redhat 8.0
Posts: 47

Rep: Reputation: 15
ok , forget the master/slave part, ur fdisk output indicates that xp is on hdb, sorry , change the entry for WindowsXP to hdb2, and execute the lilo command, by the way u mentioned two entries for WindowsXp but the "default=WindowsXP" entry just says that the default os to be loaded is Windows Xp, that's why u have a ' * ' after the WindowsXP*, if there's noerror in the lilo output it ought to work,
i've got to go , later
 
Old 02-14-2003, 10:41 AM   #37
sypkensj
LQ Newbie
 
Registered: Feb 2003
Posts: 24

Original Poster
Rep: Reputation: 15
tried that..got the same thing as before, it just blinks right back to the choose OS screen when i choose windowsxp

still not working!
 
Old 02-14-2003, 03:38 PM   #38
r270ba
LQ Newbie
 
Registered: Feb 2003
Location: Clemson, SC
Distribution: Red Hat 8.0
Posts: 2

Rep: Reputation: 0
To get around all the troubles I had w/ dual booting I just created a boot disk and left XP as the primary boot partition. Now I just stick in the floppy when I want to boot Linux and leave it out for XP (my goodness the bootdisk has been in my floppy for a while )

r2
 
Old 02-14-2003, 03:59 PM   #39
Anderson Silva
LQ Newbie
 
Registered: Feb 2003
Location: Brazil
Distribution: Red Hat
Posts: 2

Rep: Reputation: 0
try grub

do you have grub?
rpm -qa | grep grub

search by grub windows XP linux map
modify your /boot/grub/grub.conf
mapping your second hd to first:

map hd(0,0) hd(1,0)
map hd(1,0) hd(0,0)
rootnoverify (hd0,0)
chainloader +1
makeactive

then
# grub-install /dev/hda

but if you want to stay in lilo, try in /etc/lilo.conf:
other=/dev/hdb2
label=windows
table=/dev/hdb
map-drive = 0x80
to = 0x81
map-drive = 0x81
to = 0x80
 
Old 02-14-2003, 04:05 PM   #40
Anderson Silva
LQ Newbie
 
Registered: Feb 2003
Location: Brazil
Distribution: Red Hat
Posts: 2

Rep: Reputation: 0
Quote:
Originally posted by Anderson Silva
try grub

do you have grub?
rpm -qa | grep grub

search by grub windows XP linux map
modify your /boot/grub/grub.conf
mapping your second hd to first:

map hd(0,0) hd(1,0)
map hd(1,0) hd(0,0)
rootnoverify (hd1,0)
chainloader +1
makeactive

then
# grub-install /dev/hda

but if you want to stay in lilo, try in /etc/lilo.conf:
other=/dev/hdb2
label=windows
table=/dev/hdb
map-drive = 0x80
to = 0x81
map-drive = 0x81
to = 0x80
 
Old 02-16-2003, 10:21 PM   #41
sypkensj
LQ Newbie
 
Registered: Feb 2003
Posts: 24

Original Poster
Rep: Reputation: 15
could you be a little more specific on what commands i have to type?
search by grub windows xp linux map ??? what ??
and where do i add the map hd stuff and chainloader and makeactive ???
i'm new..remember


and with lilo......

i put that in there and

[root@resnet73-227 etc]# lilo
Added linux.bak
Added windows
Added linux
Fatal: No images have been defined.
[root@resnet73-227 etc]# Mutex destroy failure: Device or resource busy
kdeinit: Fatal IO error: client killed
kdeinit: sending SIGHUP to children.
kdeinit: sending SIGTERM to children.
kdeinit: Exit.
 
Old 02-17-2003, 08:16 AM   #42
cyberswami
Member
 
Registered: Jan 2003
Location: TVM,Kerala,INDIA
Distribution: Redhat 8.0
Posts: 47

Rep: Reputation: 15
Those lines of code were not meant to be added to your lilo.conf file, but instead your grub.conf file, the rpm command was meant to be used in the Konsole or Terminal, u'll probably have it installed in your system unless you opted for not installing it,
it's a file called grub.conf , u can find it by typing the following command in the terminal --
locate grub.conf

to change from lilo to grub check your control center link in the menus, there'll be an option for boot,

try it
 
Old 02-17-2003, 08:56 AM   #43
Stingray
LQ Newbie
 
Registered: Feb 2003
Location: Scotland
Distribution: Ubuntu
Posts: 17

Rep: Reputation: 0
lo sypkensj
do u have a windows recovery disk
if u do put it in the drive boot from the disc and choose install only system files this will install xp back into the boot sector of youre Hard disk do not choose format and recover just recover
once u have done that u should have access to it from lilo
 
Old 02-17-2003, 10:07 AM   #44
sypkensj
LQ Newbie
 
Registered: Feb 2003
Posts: 24

Original Poster
Rep: Reputation: 15
okay.. #1..
i know that stuff was for lilo.. i put it in there and it gave me the error i reported.
#2
i already knew where grub was, and i installed it like anderson silva said:
rpm -qa | grep grub
and it worked..
#3
there is no option for boot in my menus..

#4
I still dont know where to type in that stuff to edit grub.conf

understand me, i know where grub.conf is, but i dont know where in the file to put those lines

and #5
I <<had>> a windows recover disk but, being the roommate of a slob, it is no longer in my possesion.
Nothing is ever where i leave it... so no disk
 
Old 02-17-2003, 10:07 AM   #45
sypkensj
LQ Newbie
 
Registered: Feb 2003
Posts: 24

Original Poster
Rep: Reputation: 15
btw, grub.conf is in two dirs...

/boot/grub/grub.conf
/etc/grub.conf

which should i edit?
 
  


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
Configuring Red Hat 7.2/ Windows XP dual boot mobok7v Linux - General 10 11-27-2006 03:47 PM
Cannot dual boot Windows XP with Red Hat 9 fries321 Linux - Newbie 6 08-03-2006 10:24 AM
dual boot Windows XP Pro and Red Hat Fedora Core 2 j2linux2 Fedora 5 10-01-2004 10:32 AM
how can i dual boot between windows and red hat? phancom Linux - Newbie 2 09-17-2003 10:53 AM
Dual Boot, Lilo Windows / Red Hat kbhadsten Linux - Newbie 15 06-21-2002 07:30 AM


All times are GMT -5. The time now is 03:41 AM.

Main Menu
Advertisement
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