Forum Home
Press F1
 
Thread ID: 43862 2004-03-29 11:19:00 LINUX, XP PRO, LILO AND GRUB beama (111) Press F1
Post ID Timestamp Content User
225848 2004-03-29 11:19:00 laptop Compaq Presario 700, 128 meg, Mobile Amd Duron 1.1

partion info
/dev/hda1 ntfs 9994 gig
/dev/hda2 linux swap 256 meg
/dev/hda4 ext3 6032 gig
linux install here (hda4) I set this up in disk druid as /boot
/dev/hda3 extended
/dev/hda5 vfat recovery partion

problem
I can boot from a linux boot disk, but no matter how I configure Lilo or grub I cant get either boot loaders to work
The install went well once I found a non destructive partioning tool for ntfs ( BootItNg (http://terabyteunlimited.com))

The penguin has great games and utilities ;)
beama (111)
225849 2004-03-29 11:28:00 I presume that /dev/hda3 must be the root partition?

What error messages do you get when you try to boot with LILO or GRUB?
JohnD (509)
225850 2004-03-29 11:35:00 Sorry - misread (/dev/hda3 is an extended partition).

You cannot have installed without a root (/) partition - so I presume the root partition is /dev/hda3 and /boot is not a separate partition - just a folder in /.
JohnD (509)
225851 2004-03-29 11:37:00 I really should shut up tonight!! I mean:

You cannot have installed without a root (/) partition - so I presume the root partition is /dev/hda4 and /boot is not a separate partition - just a folder in /.
JohnD (509)
225852 2004-03-29 11:43:00 no error message just boots to xp beama (111)
225853 2004-03-29 11:46:00 John
I think Its A bit late for both of us :) hda4 is root
beama (111)
225854 2004-03-29 11:46:00 I know what those days are like John ;-)

Beama>
We'll roll with Grub this time okay, try this:
As root, type:
grub
It'll work its magic, and you'll get:

GNU GRUB version 0.93 (640K lower / 3072K upper memory)

[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename. ]

grub>

Or something to that effect. Next, you want to:
root (hd0,2)
setup (hd0)
quit

Next, depending on where your grub.conf file is (/boot/grub or /etc) then you'll need to edit it. It should look something like mine, a little tailored (hopefully) to your scenario):
# Which listing to boot as default. 0 is the first, 1 the second etc.
default 0
# How many seconds to wait before the default listing is booted.
timeout 10
# Nice, fat splash-image to spice things up :)
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Linux
# Partition where the kernel image (or operating system) is located
root (hd0,3)
kernel /boot/kernel-2.4.24 root=/dev/hda4

# The next three lines are only if you dualboot with a Windows system.
# In this case, Windows is hosted on /dev/hda6.
title=Windows XP
rootnoverify (hd0,0)
chainloader +1

Give that a try and see how you get on.

Cheers


Chill.
Chilling_Silence (9)
225855 2004-03-29 11:49:00 > # In this case, Windows is hosted on /dev/hda6.
> title=Windows XP
> rootnoverify (hd0,0)
> chainloader +1[/b]

Should note that I've modified it for /dev/hda1, not hda6...

You'll need to change the kernel version to whatever it is... Check the grub.conf first before hacking away at it, it may be fine...!


Chill.
Chilling_Silence (9)
225856 2004-03-29 11:53:00 Chill and John Thanks very much
Chill, Ill give that a go tommorrow, Thanks, I ve already had to much excitement and coffee tonite ;\
beama (111)
225857 2004-03-30 09:18:00 error messages chill and john

as root user

root (hda0,2) - file system type unknown, partion type 0xf
setup (hd0) - error 17: cannot mount selected partion
quit (heres one command that did what it was told :) )

so I did

mount hda1 - cant find hda1 in /etc/fstab or /etc/mtab
cd /
cd /etc
locate fstab
vi fstab and yes the mount point is not defined help

btw
lilo command entered in bash (i think)returned "you may need to enable lba32" message
beama (111)
1 2 3