View previous topic :: View next topic |
Author |
Message |
Iamanstupid n00b
Joined: 02 Sep 2004 Posts: 11
|
Posted: Thu Sep 02, 2004 4:32 pm Post subject: Grub booting without /boot (on a ntfs part.) |
|
|
Please guys, i need help! I'm on almost commit suicide!
It's my 3rd unsuccsesful instalation of gentoo coz when i arrive at grub instalation moment i'm unable to install it.
I put here my confs:
partition scheme
Code: | [b]hda1 (boot)[/b] - WinXP ntfs part (primary)
[b]hda2[/b] - / Linux Part (primary)
hda3 - hidden laptop partition (acer's things) (primary)
hda4 - Extended Partition including (Primary):
hda5 - ntfs (logical)
hda6 - fat32 (logical)
[b]hda7[/b] - Linux Swap (logical)
(the relevant ones are in bold) |
grub.conf
Code: | default 0
timeout 10
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
title=WinXP
rootnoverify (hd0,0)
makeactive
chainloader +1
title=Gentoo Linux
root (hd0,1)
kernel /boot/kernel-2.6.7-gentoo root=/dev/hda2 vga=795 |
The Problem:
When I try to install the grub (from stage3) invoking
Code: | # grub-install /dev/hda |
i get "Could not find device for /boot: Not found or not a block device"
swiching to manual instalation:
Code: | grub> root (hd0,0)
Filesystem type unknown, partition type 0x7
grub> setup (hd0)
Error 17: Cannot mount selected partition |
I am wondering that maybe i cannot put grub in a ntfs partition, but i have the hope that i can an any bright mind can help me before i get tired and i install suse 9.1....
Please... i want gentoo workinggggg |
|
Back to top |
|
|
widu Guru
Joined: 05 Jun 2004 Posts: 333 Location: Freiburg
|
Posted: Thu Sep 02, 2004 4:44 pm Post subject: |
|
|
Okay, the only fault I can see so far ist in your grub.conf
It should be:
Code: |
kernel (hd0,1)/boot/kernel-2.6.7-gentoo root=/dev/hda2 vga=795 |
and not
Code: |
kernel /boot/kernel-2.6.7-gentoo root=/dev/hda2 vga=795 | [/code] |
|
Back to top |
|
|
Iamanstupid n00b
Joined: 02 Sep 2004 Posts: 11
|
Posted: Thu Sep 02, 2004 5:01 pm Post subject: |
|
|
thx very much for your quick reply but i get the same error.
I think the problem is that grub cannot be placed on ntfs booting partitions, but i find that strange.
As fas as the problem is on install grub on mbr, i wonder if there's another way to install it, from windows or something else... |
|
Back to top |
|
|
widu Guru
Joined: 05 Jun 2004 Posts: 333 Location: Freiburg
|
Posted: Thu Sep 02, 2004 5:12 pm Post subject: |
|
|
well then, try making a boot floppy:
Code: | grub
grub>root (hd0,1)
grub>setup (fd0) |
|
|
Back to top |
|
|
Iamanstupid n00b
Joined: 02 Sep 2004 Posts: 11
|
Posted: Thu Sep 02, 2004 5:25 pm Post subject: |
|
|
I get it!!!!
i do:
Code: | grub> root (hd0,1)
grub> setup (hd0)
|
and now grub and windows work (it's a little problem with linux kernel but its a minor fix )
PD thank you for your help widu |
|
Back to top |
|
|
|