Live Chat & Podcast at 1:00PM Eastern on Sunday!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Linux and Unix
Tag Cloud
access acer asus bios bsod computer crash desktop dns driver drivers error ethernet excel freeze gaming graphics hard drive hardware hdmi internet laptop malware memory monitor motherboard network printer problem ram registry repair router slow software sound trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
lilo help please

Reply  
Thread Tools
deuce868's Avatar
Senior Member with 638 posts.
 
Join Date: Nov 2000
Location: MI
24-Jan-2004, 12:49 PM #1
lilo help please
I had a winxp partition set up and running. I installed Debian with the drive set up like this:

/boot - 50mb start of drive
windows XP - 60gig
/swap - 1 gig
/ - rest of drive

Now the XP was working and once I installed debian it works fine, but I can't seem to get lilo to boot my XP drive. I tried using this mod to my lilo.conf
boot=/dev/hda
root=/dev/hda4
install=/boot/boot.b
map=/boot/map
prompt
timeout=20

default=Linux
image=/vmlinuz
label=Linux
initrd=/initrd.img

other=/dev/hda5
label=WinXP

I think the XP partition might be a extended off of the hda2. Does anyone know how I can tell what I should be putting in here to get my XP as an option?

Thanks a ton for the help.
__________________
www.ricksweb.info
www.2webheads.com
Quote:
Techies just think a little differently...at least that's what they keep telling me.
Shadow2531's Avatar
Senior Member with 2,640 posts.
 
Join Date: Apr 2001
24-Jan-2004, 01:21 PM #2
I barely know what I am talking about, but I would assume hda2 and that's what I would probably try.

If you load up kde control center and look at the block devices, it should show

hda1
hda4

and possilby hda2.

It will probably just tell you what you already know, but if it lists hda2 and shows a size of 60GB, then that's it probably, but it probably won't show it unless you can mount it etc.

I'm running debian 3.0r2 (woody).

searching on the net,

other=/dev/hda2
label=WinXP
table=/dev/hda

would be the correct entry , but if it's on an extended partitoin, then I'm not sure, but it would probably be hda5 like you said. 4 primaries and the first extended would be 5 I think. If I was in charge of setting up a partition scheme, the first extended partition on hda2 would be hda2a , but I don't think it works that way.

Last edited by Shadow2531; 24-Jan-2004 at 01:56 PM..
deuce868's Avatar
Senior Member with 638 posts.
 
Join Date: Nov 2000
Location: MI
24-Jan-2004, 04:24 PM #3
no dice. Actually added the table line broke lilo. I might be in for a reinstall of everything here in a bit if I can't get XP back up.
tnik's Avatar
Senior Member with 730 posts.
 
Join Date: Aug 2003
24-Jan-2004, 09:48 PM #4
When your in linux, what partition does fdisk say that your XP partition is?

if you created your partitions like your list:

/boot - 50mb start of drive
windows XP - 60gig
/swap - 1 gig
/ - rest of drive

your windows entry should be /dev/hda2

if your not sure, just try /dev/hda1 through 5, see which one works..

also make sure that you still have a boot.ini file in your windows partiton..

hope this helps
__________________
There are only 10 types of people in the world: Those who understand binary, and those who don't...
Shadow2531's Avatar
Senior Member with 2,640 posts.
 
Join Date: Apr 2001
25-Jan-2004, 12:32 PM #5
I'm still searching to see what else I can find. I would like to know the answer too. I'll take note that table is not a good idea.

http://home.neo.rr.com/meffie/linux/PowerUp/PowerUp.txt

according to that page, it would be just like you were saying.

<hda>
<partition1 type="primary" path="/boot" id="/dev/hda1" />
<partition2 type="primary_with_extended(s)" id="/dev/hda2"><partition5 type="extended" id="/dev/hda5"/></partition2>
<partition3 type="primary" id="/dev/hda3"/ name="swap"/>
<partition4 type="primary" path="/" id="/dev/hda4"/>
</hda>



I guess it's best to have everything on primaries.

So consider that, but again, I'm just offering guesses.

Last edited by Shadow2531; 25-Jan-2004 at 01:12 PM..
deuce868's Avatar
Senior Member with 638 posts.
 
Join Date: Nov 2000
Location: MI
25-Jan-2004, 12:32 PM #6
Thanks for the help. I ended up formatting last night and once I get my windows back up and running I will try to find some info on the best way to set up a Debian/XP dual boot.
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 08:10 PM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.