Advertisement

There's no such thing as a stupid question, but they're the easiest to answer.
Login
Search

Advertisement

Linux and Unix Linux and Unix
Search Search
Search for:
Tech Support Guy > > >

lilo help please


(!)

deuce868's Avatar
deuce868 deuce868 is offline
Senior Member with 637 posts.
THREAD STARTER
 
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.
Shadow2531's Avatar
Senior Member with 2,636 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
deuce868 deuce868 is offline
Senior Member with 637 posts.
THREAD STARTER
 
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
tnik tnik is offline
Member with 735 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
Shadow2531's Avatar
Senior Member with 2,636 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
deuce868 deuce868 is offline
Senior Member with 637 posts.
THREAD STARTER
 
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.
As Seen On

BBC, Reader's Digest, PC Magazine, Today Show, Money Magazine
WELCOME TO TECH SUPPORT GUY!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.


(clock)
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)
 
Thread Tools


WELCOME
You Are Using: Server ID
Trusted Website Back to the Top ↑