Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (4) </ [1] 2 3 4 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: HD Install Win XP and Grub!< Next Oldest | Next Newest >
neonuke Offline





Group: Members
Posts: 17
Joined: Nov. 2005
Posted: May 28 2006,12:51 QUOTE

Hi everyone,

I've had some success installing DSL before, but now trying to do it on a machine already running WinXP is giving me headaches

I have the following setup:

Windows XP: hda1
DSL: hdc1
Linux Swap: hdc2

I can get past the HD install, but when I restart it doesn't boot up with Grub, just goes straigt to Win XP

Following the advice of several threads I've tried the following:

1.
Boot using LiveCD, then
$grub
> root (hd2,0)
Error 21: Selected disk does not exist

2.
Boot using LiveCD,
#grub-install /dev/hda
/dev/cloop does not have any corresponding BIOS drive.

3.
Boot LiveCD.
Mount hdc1
edit /boot/grub/menu.lst with the following:

title Windows XP
root (hd0,0)
chainloader+1
makeactive
boot

None of the above have worked for me, what is going on? I suspect it may be the disk geometry, I'm not really sure, I have no experience with MBR stuff. Any help is appreciated.

neonuke
Back to top
Profile PM 
piccolo Offline





Group: Members
Posts: 286
Joined: Mar. 2006
Posted: May 29 2006,10:47 QUOTE

You says that you have a hard disk labeled "hda" and another labeled "hdc" by DSL.
But then also you have other hard disk labeled "hdb"? Is say, the question is how many hard disks have you?
If you have only two hard disks then you have:

Windows XP: hda1
DSL: hdb1
Linux Swap: hdb2

Then the lines from /boot/grub/menu.lst should be:
.....
title             DSL on /hdb1
root              (hd1,0)
.....

I recommend you boot from LiveCD and then to check the /boot/grub/menu.lst file.

Note: When you execute the hd-install script autotically edit the /boot/grub/menu.lst file. You must answer correctly the question that does the hd-install script only.


--------------
Robin Hood used Linux
Back to top
Profile PM 
neonuke Offline





Group: Members
Posts: 17
Joined: Nov. 2005
Posted: May 30 2006,03:47 QUOTE

I do have only two hard drives, and they are hda and hdc, because hdb is my CD drive.
Back to top
Profile PM 
hs7sv Offline





Group: Members
Posts: 247
Joined: June 2005
Posted: May 30 2006,04:52 QUOTE

neonuke, I suggest you to put DSL image in hda2, same HDD with XP.  You need GRUB boot loader in the primary HDD.  If so, you need to re-partition (by PartitionMagic) hda1 and hda2:-

Windows XP       : hda1 (Primary Master)
DSL (~100MB)    : hda2 (Primary Master) - ext2
Linux Swap        : hdb1 (Primary Slave)   - swap
DSL Data/myDSL : hdb2 (or hda1 if you don't need another partition) - ext2
CD-ROM            : hdc1 (Secondary Master)

Good luck :D


--------------
"My advice is to just  return hardware that does not work with a plain Linux kernel, right to the place where you bought it, and ask for your money back..."

Klaus Knopper
Back to top
Profile PM ICQ AOL MSN YIM 
pr0f3550r Offline





Group: Members
Posts: 378
Joined: Dec. 2005
Posted: May 30 2006,18:30 QUOTE

neonuke,
hdb is hda's slave. How come that a cdrom is a salve of a harddisk? I don't think it's even possible.


--------------
THE QEMU FORUM: http://qemu.dad-answers.com/index.php

QEMU ON WINDOWS: http://www.h7.dion.ne.jp/~qemu-win/

How to use floppy, CD-ROM and hard disk - http://www.h7.dion.ne.jp/~qemu-win/HowToFloppyCdrom-en.html

How to use network - http://www.h7.dion.ne.jp/~qemu-win/HowToNetwork-en.html
Back to top
Profile PM 
19 replies since May 28 2006,12:51 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (4) </ [1] 2 3 4 >/
reply to topic new topic new poll
Quick Reply: HD Install Win XP and Grub!

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code