Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Grub booting without /boot (on a ntfs part.)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Iamanstupid
n00b
n00b


Joined: 02 Sep 2004
Posts: 11

PostPosted: Thu Sep 02, 2004 4:32 pm    Post subject: Grub booting without /boot (on a ntfs part.) Reply with quote

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 :cry:
Back to top
View user's profile Send private message
widu
Guru
Guru


Joined: 05 Jun 2004
Posts: 333
Location: Freiburg

PostPosted: Thu Sep 02, 2004 4:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
Iamanstupid
n00b
n00b


Joined: 02 Sep 2004
Posts: 11

PostPosted: Thu Sep 02, 2004 5:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
widu
Guru
Guru


Joined: 05 Jun 2004
Posts: 333
Location: Freiburg

PostPosted: Thu Sep 02, 2004 5:12 pm    Post subject: Reply with quote

well then, try making a boot floppy:
Code:
grub
grub>root (hd0,1)
grub>setup (fd0)
Back to top
View user's profile Send private message
Iamanstupid
n00b
n00b


Joined: 02 Sep 2004
Posts: 11

PostPosted: Thu Sep 02, 2004 5:25 pm    Post subject: Reply with quote

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 :lol: )

PD thank you for your help widu :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum