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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
09-03-2003, 01:28 PM
|
#1
|
Member
Registered: Sep 2003
Posts: 36
Rep:
|
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
|
|
|
09-03-2003, 01:49 PM
|
#2
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
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
|
|
|
09-03-2003, 01:50 PM
|
#3
|
LQ Addict
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661
Rep:
|
also post the results of
fdisk -l
type in the above in a console.
|
|
|
09-03-2003, 01:59 PM
|
#4
|
Member
Registered: Sep 2003
Posts: 36
Original Poster
Rep:
|
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
|
|
|
09-03-2003, 02:01 PM
|
#5
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
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.
|
|
|
09-03-2003, 02:06 PM
|
#6
|
Member
Registered: Sep 2003
Posts: 36
Original Poster
Rep:
|
same again mate
autochk not found then brief blue screen then restart 
|
|
|
09-03-2003, 02:08 PM
|
#7
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
Can you post your fstab file?
su to root user again in console
then
fdisk -l /dev/hda
(-l= hyphen small L)
|
|
|
09-03-2003, 02:12 PM
|
#8
|
Member
Registered: Sep 2003
Posts: 36
Original Poster
Rep:
|
/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 
|
|
|
09-03-2003, 02:14 PM
|
#9
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
Is
/dev/hda5
were your main XP install is?
|
|
|
09-03-2003, 02:16 PM
|
#10
|
Member
Registered: Sep 2003
Posts: 36
Original Poster
Rep:
|
i dont know!
i would have thought it was the hda1 though cuz i installed it first.
|
|
|
09-03-2003, 02:17 PM
|
#11
|
Member
Registered: Sep 2003
Posts: 36
Original Poster
Rep:
|
shall i try 5 then?
|
|
|
09-03-2003, 02:19 PM
|
#12
|
Member
Registered: Sep 2003
Posts: 36
Original Poster
Rep:
|
in fact no wait scratch the last 2 comments it is DEFINATELY 1
|
|
|
09-03-2003, 02:21 PM
|
#13
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
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.
|
|
|
09-03-2003, 02:23 PM
|
#14
|
Member
Registered: Sep 2003
Posts: 36
Original Poster
Rep:
|
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?
|
|
|
09-03-2003, 02:25 PM
|
#15
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 11:01 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|