LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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-13-2003, 11:34 AM   #16
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57

These are the lines in your lilo.conf that deal with your XP partition.

other=/dev/hdb2
optional
label=WindowsXP

Are you sure XP is on /dev/hdb2 ? Try this command to see your partitions:

fdisk -l

Thats an L above by the way. This will tell you where you XP partition is. Wherever it says NTFS thats your XP partition. It should be on /dev/hdb2. If its not then thats your problem.
 
Old 02-13-2003, 03:06 PM   #17
sypkensj
LQ Newbie
 
Registered: Feb 2003
Posts: 24

Original Poster
Rep: Reputation: 15
well i let it go for like an hour...it didnt work
 
Old 02-13-2003, 03:08 PM   #18
sypkensj
LQ Newbie
 
Registered: Feb 2003
Posts: 24

Original Poster
Rep: Reputation: 15
[Jason@resnet79-216 /]$ fdisk -l
bash: fdisk: command not found
 
Old 02-13-2003, 03:08 PM   #19
rzee
LQ Newbie
 
Registered: Feb 2003
Location: NY
Distribution: Mandrake
Posts: 17

Rep: Reputation: 0
Oh... It must be a different problem then. Forget about what I said.
 
Old 02-13-2003, 03:14 PM   #20
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
DOH!! No fdisk huh? I know there is a command to view partitions in Linux but I'm not sure what it is. Somebody will know. Post it if you know please.
 
Old 02-13-2003, 08:36 PM   #21
sypkensj
LQ Newbie
 
Registered: Feb 2003
Posts: 24

Original Poster
Rep: Reputation: 15
Sorry.. I had to log in as "root".. what a novel idea.

fdisk does work!
-----------------------

[root@resnet79-216 root]# fdisk -l

Disk /dev/hda: 255 heads, 63 sectors, 9729 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 267 2040255 82 Linux swap
/dev/hda3 268 9729 76003515 83 Linux

Disk /dev/hdb: 255 heads, 63 sectors, 14589 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 1 4 32098+ de Dell Utility
/dev/hdb2 * 5 14589 117154012+ 7 HPFS/NTFS



its on hdb2 and i changed lilo.conf to boot hdb2 and ran lilo..

now when i select windows XP it flickers and goes back to the choose OS screen..

its pretty gay.
suggestions?
 
Old 02-13-2003, 08:37 PM   #22
sypkensj
LQ Newbie
 
Registered: Feb 2003
Posts: 24

Original Poster
Rep: Reputation: 15
my (still not working) lilo.conf file looks like::

prompt
timeout=50
default=WindowsXP
boot=/dev/hdb2
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear

image=/boot/vmlinuz-2.4.18-14
label=linux.bak
initrd=/boot/initrd-2.4.18-14.img
read-only
append="hdd=ide-scsi root=LABEL=/"

other=/dev/hdb2
optional
label=WindowsXP

image=/boot/vmlinuz-2.4.18-24.8.0
label=linux
append="hdd=ide-scsi root=LABEL=/"
read-only
initrd=/boot/initrd-2.4.18-24.8.0.img
 
Old 02-13-2003, 09:12 PM   #23
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Change the boot back to /dev/hda and make a startup disk just in case you really mess things up.
 
Old 02-13-2003, 11:04 PM   #24
cyberswami
Member
 
Registered: Jan 2003
Location: TVM,Kerala,INDIA
Distribution: Redhat 8.0
Posts: 47

Rep: Reputation: 15
To get things straight -- you installed WIndows XP on your first hard disk and later Redhat on your second hard disk?

please try the following command and post the output

cfdisk /dev/hdb

(it's supposed to list out all the partitions on your second drive )

do the same for /dev/hda
 
Old 02-13-2003, 11:18 PM   #25
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
cfdisk? What is that? No such command on my RedHat machine.
 
Old 02-14-2003, 12:33 AM   #26
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
try setting the XP setting in lilo.conf from /dev/hdb2 to just /dev/hdb which is the MBR for the slave drive.

Code:
other=/dev/hdb
optional
label=WindowsXP
 
Old 02-14-2003, 08:20 AM   #27
sypkensj
LQ Newbie
 
Registered: Feb 2003
Posts: 24

Original Poster
Rep: Reputation: 15
cfdisk doesn't work on my terminal either
 
Old 02-14-2003, 08:32 AM   #28
sypkensj
LQ Newbie
 
Registered: Feb 2003
Posts: 24

Original Poster
Rep: Reputation: 15
I changed lilo to what you said, Darin, and it ended up doing something different yet again

Loading WindowsXP
Error loading Operating System

isn't this frusterating?
 
Old 02-14-2003, 08:43 AM   #29
cyberswami
Member
 
Registered: Jan 2003
Location: TVM,Kerala,INDIA
Distribution: Redhat 8.0
Posts: 47

Rep: Reputation: 15
forget my earlier post ,
try hdb1 instead of hdb2
 
Old 02-14-2003, 08:51 AM   #30
sypkensj
LQ Newbie
 
Registered: Feb 2003
Posts: 24

Original Poster
Rep: Reputation: 15
theres 2 spots for windows, isnt there?

prompt
timeout=50
default=WindowsXP
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear

image=/boot/vmlinuz-2.4.18-14
label=linux.bak
initrd=/boot/initrd-2.4.18-14.img
read-only
append="hdd=ide-scsi root=LABEL=/"

other=/dev/hdb1
optional
label=WindowsXP

image=/boot/vmlinuz-2.4.18-24.8.0
label=linux
append="hdd=ide-scsi root=LABEL=/"
read-only
initrd=/boot/initrd-2.4.18-24.8.0.img



do you want me to do anything with the top one?
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:28 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
Open Source Consulting | Domain Registration