LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 09-03-2003, 01:28 PM   #1
sammyd56
Member
 
Registered: Sep 2003
Posts: 36

Rep: Reputation: 15
HELP! Can't boot Windows XP


Hi guys,

I've just installed Mandrake 9.1 with basically the default settings.

I assumed that using LILO I would be able to get back to my Windows XP (which is still installed on a different partition) but I cannot for the life of me work out how to do it. The only boots I have on the menu are different linux ones. I tried clicking add but i dont know what to put in any of the options?

Any help greatly appreciated,

Sam
 
Old 09-03-2003, 01:49 PM   #2
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Hi Sam

Open a console

type

su

press enter

then type your root password

press enter

then type

cat /etc/lilo.conf

copy the results and post them here
 
Old 09-03-2003, 01:50 PM   #3
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
also post the results of
fdisk -l
type in the above in a console.
 
Old 09-03-2003, 01:59 PM   #4
sammyd56
Member
 
Registered: Sep 2003
Posts: 36

Original Poster
Rep: Reputation: 15
thanks for the quick reply guys, tis much appreciated.

boot=/dev/hda
map=/boot/map
vga=normal
default="linux-smp"
keytable=/boot/uk.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
OPTIONS FOR 4 DIFFERENT LINUX BOOTS (cant be bothered to type out i dont think theyre important - correct me if i'm wrong!)
other=/dev/hda1
label="WindowsXP

I just tried booting using the windows xp option and it showed the xp loading screen as if it was gunna load then crashed and resetted

sam
 
Old 09-03-2003, 02:01 PM   #5
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
For starters you could try putting

table=/dev/hda

in the XP stanza - ie change it to

other=/dev/hda1
table=/dev/hda
label="WindowsXP

To make changes to lilo - su to root user then type

kedit /etc/lilo.conf

once youve made the change then type

/sbin/lilo

as root user - to make the changes take effect

Last edited by Skyline; 09-03-2003 at 02:06 PM.
 
Old 09-03-2003, 02:06 PM   #6
sammyd56
Member
 
Registered: Sep 2003
Posts: 36

Original Poster
Rep: Reputation: 15
same again mate

autochk not found then brief blue screen then restart
 
Old 09-03-2003, 02:08 PM   #7
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Can you post your fstab file?

su to root user again in console

then

fdisk -l /dev/hda

(-l= hyphen small L)
 
Old 09-03-2003, 02:12 PM   #8
sammyd56
Member
 
Registered: Sep 2003
Posts: 36

Original Poster
Rep: Reputation: 15
/dev/hda1 = hidden hpfs/ntfs
/dev/hda2 = Win95 Ext'd (LBA)
/dev/hda3 = Linux
/dev/hda4 = Linux swap
/dev/hda5 = HPFS/NTFS

thanks very much for your help so far mate it really is much appreciated
 
Old 09-03-2003, 02:14 PM   #9
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Is

/dev/hda5

were your main XP install is?
 
Old 09-03-2003, 02:16 PM   #10
sammyd56
Member
 
Registered: Sep 2003
Posts: 36

Original Poster
Rep: Reputation: 15
i dont know!

i would have thought it was the hda1 though cuz i installed it first.
 
Old 09-03-2003, 02:17 PM   #11
sammyd56
Member
 
Registered: Sep 2003
Posts: 36

Original Poster
Rep: Reputation: 15
shall i try 5 then?
 
Old 09-03-2003, 02:19 PM   #12
sammyd56
Member
 
Registered: Sep 2003
Posts: 36

Original Poster
Rep: Reputation: 15
in fact no wait scratch the last 2 comments it is DEFINATELY 1
 
Old 09-03-2003, 02:21 PM   #13
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Edit : I'll change mine

can you post your Full lilo.conf exactly as it is on your screen - we need to see all of it.

su to root user

cat /etc/lilo.conf

Last edited by Skyline; 09-03-2003 at 02:22 PM.
 
Old 09-03-2003, 02:23 PM   #14
sammyd56
Member
 
Registered: Sep 2003
Posts: 36

Original Poster
Rep: Reputation: 15
ive worked out its definately 1 mate.

because 1 is 30x bigger than 5.

and 5 is the data partition i created the other day.

so its definately 1, i just dont understand y it wont boot?!

does it make a difference if the label is wrong or is that just what the gui will display it as?
 
Old 09-03-2003, 02:25 PM   #15
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
I'm not sure whether youve got the edit but we need to see the full lilo.conf file

can you post your Full lilo.conf exactly as it is on your screen - we need to see all of it.

su to root user

cat /etc/lilo.conf
 
  


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
grub question changing boot order making windows boot first nfsutim Linux - Newbie 29 10-27-2012 12:53 PM
How do I dual boot Linux and Windows XP from Windows boot file andyri Linux - Newbie 4 08-04-2004 10:09 PM
Linux/Windows dual boot with Windows re-install dhowell1129 Linux - Newbie 6 04-25-2004 04:21 AM
On Windows and LInux dual boot - why install Windows first? yanar99 Linux - Newbie 13 12-18-2003 09:20 AM
How to add a boot record which used to startup windows under my Grub boot loader? yunxiang Linux - Newbie 6 02-01-2003 02:22 AM

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

All times are GMT -5. The time now is 07:50 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration