LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 07-05-2004, 12:51 PM   #1
ClericPreston
LQ Newbie
 
Registered: Jun 2004
Location: Libria
Distribution: Slackware 9.1/10
Posts: 29

Rep: Reputation: 15
Angry Lilo & Windows Xp- Slack Help Please


I am going to try to explain this the best way possible. I decided to install slack on my windows machine ( since I liked it soooo much, I have another machine just w/linux),
I made a partion in Windows using partition magic. I assigned 20 gigs for the new linux partition. Fine....
Installation went well until....LILO configuration.
Computer boot up only in SLACK, a friend told me to insert the XP cd and use the recovery consol to fix the MBR...which I did.. command fixmbr in windows recovery console...
BUT when I reboot, no slack, no windows...BOOT FAILED message.
SO I reinstalled Slack, reconfigured LILO, everything appeared fine again.
LILO boots. I see BOTH my OS. LInux & XP. so I choose XP and guess what...
NO BOOT>
then I reboot, and choose SLACK..it does BOOT!
atleast one of the two OS works.
SO finally my question is can I reinstall windows on the other partition without messing up my slack installation?
and how can I fix this? I do need windows on this machine for other people in my house who think that anything besides windows is alien.....
So PLEASE, PLEASE...can anyone help me out.

Thanks...
CP
 
Old 07-05-2004, 01:04 PM   #2
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
You're going to need to help us out by posting what you have in your /etc/lilo.conf

I suggest running lilo from when you boot off of the CD. For some reason LILO doesn't install properly when I try to install it when I boot off of my hard drive.
 
Old 07-05-2004, 01:44 PM   #3
ClericPreston
LQ Newbie
 
Registered: Jun 2004
Location: Libria
Distribution: Slackware 9.1/10
Posts: 29

Original Poster
Rep: Reputation: 15
this is my LILO config

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
#compact # faster, but won't work on all systems.
prompt
timeout = 50
# VESA framebuffer console @ 1024x768x64k
vga = 791
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# ramdisk = 0 # paranoia setting
# End LILO global section
# Linux bootable partition config begins

image = /boot/vmlinuz
root = /dev/hda2
label = slack
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# Windows bootable partition config begins

other = /dev/hda1
label = xp
table = /dev/hda
# Windows bootable partition config ends

if worst comes to worst, can I reinstall windows xp, and use a floppy to boot slack (which I heard is slower), without having to reinstall linux?

thanks...
 
Old 07-05-2004, 05:47 PM   #4
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Rep: Reputation: 46
I believe Windows should be on hda1 and Slack should be on hdb. Can you also post your /etc/fstab ?
 
Old 07-05-2004, 08:52 PM   #5
ClericPreston
LQ Newbie
 
Registered: Jun 2004
Location: Libria
Distribution: Slackware 9.1/10
Posts: 29

Original Poster
Rep: Reputation: 15
it is on Hda1

Disk Drive: /dev/hda
Size: 40037760000 bytes, 40.0 GB
Heads: 255 Sectors per Track: 63 Cylinders: 4867

Name Flags Part Type FS Type [Label] Size (MB)
-----------------------------------------------------------------------------
hda1 Boot Primary W95 FAT32 (LBA) 21188.33
hda2 Primary Linux ext2 9903.24
hda5 Logical Linux swap 1044.62
hda6 Logical Linux ext2 7896.27

this is my partition table. WIndows is on hda1.
 
Old 07-06-2004, 09:32 AM   #6
ClericPreston
LQ Newbie
 
Registered: Jun 2004
Location: Libria
Distribution: Slackware 9.1/10
Posts: 29

Original Poster
Rep: Reputation: 15
Anyone Please!!!???

Hello does anyone know how to remedy this??

I am on the verge of desperation.

Thanks

CP
 
Old 07-07-2004, 08:41 PM   #7
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
Your lilo.conf looks okay. Here's what I suggest doing, since I have the same problem as you, or so it sounds:

Boot from your Slack9.1 CD, if you still have it. When it gives you any options as to what kernel or whatever, use bare.i (or is it barei.i?) and make sure that you set the proper partition as your / partition. I leave off the RO tags, so I end up getting errors, but that's the only way I've figured out how to get this to work properly. Once you're booted up with bare.i and have the proper partition mounted automatically (Key thing, when I try to run LILO with the -C flag, it doesn't like my partitions, saying something about an invalid partition or something, but as long as you get the root partition properly mounted right away, you shouldn't have any trouble). Anyway, once everything gets booted up, log in as root and issue lilo. Reboot, and viola, it should work.
 
Old 07-09-2004, 11:20 AM   #8
ClericPreston
LQ Newbie
 
Registered: Jun 2004
Location: Libria
Distribution: Slackware 9.1/10
Posts: 29

Original Poster
Rep: Reputation: 15
I did it!

Thanks for your help guys with the dual boot issue.

I read online on another linux forum to use the xp cd and run the command fixmbr in the recovery console, but it jacked up things more.
so I just reinstalled XP, then I used the slack cd and did the entire installation without formating my linux partitions (which left my KDE intact with all my own personal docs) and reinstalled LILO, Ta-da ! it worked now I have my dual boot system, and everyone else in my house is happy because now they have their XP back.

Thanks again for your help guys, sometimes the answer is obvious,. but noobs expect the answers to problems in Linux to be far more complicated, but they are not...

Thanks
CP
 
  


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
Lilo with 2 Windows+Slack? nivek7 Linux - Software 3 08-27-2004 04:37 PM
Slack 10: Lilo not booting Windows (though 9.1 did!) arnostienen Slackware 7 07-18-2004 02:37 AM
What this command do? lilo -v -v -v && lilo blackzone Linux - General 1 07-06-2004 03:15 AM
Lilo, windows 98 and slack Danodare Slackware 5 02-22-2004 06:47 AM
how to uninstall lilo & install grub without using gui & linuxconf? prav_284 Red Hat 1 11-28-2003 05:45 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

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