Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
n00b Grub Question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
jvfarr
n00b
n00b


Joined: 01 Mar 2005
Posts: 12

PostPosted: Tue Mar 01, 2005 6:34 am    Post subject: n00b Grub Question Reply with quote

Okay, so I've tried to get grub to work on my install but I'm having problems after I thought I installed grub correctly. I get a screen asking me where I want to boot linux from /dev/hda1-hda3, my root partition is hda3 but when I hit enter on it I get an Error stating
Code:
Filesyste type is reiserfs, partition type 0x83 kernel /boot/vmlinuz root=/dev/hda3 ro vga=normal

Error 15: File not found


What can I do to solve this problem and make it to where Gentoo will auto boot after power failure?
Back to top
View user's profile Send private message
TheRAt
Veteran
Veteran


Joined: 03 Jun 2002
Posts: 1580
Location: Salt Spring Island, BC, Canada

PostPosted: Tue Mar 01, 2005 6:45 am    Post subject: Reply with quote

What does your partiton table look like?

Which is the /boot partition.. You have only identified the / partition...
_________________
All reality is the construct of the observer.

Get Firefox and rediscover the web!

BOFH Excuse #295:
The Token fell out of the ring. Call us when you find it.
Back to top
View user's profile Send private message
jvfarr
n00b
n00b


Joined: 01 Mar 2005
Posts: 12

PostPosted: Tue Mar 01, 2005 6:48 am    Post subject: Reply with quote

Okay,
/dev/hda1 is swap
/dev/hda2 is boot
/dev/hda3 is root

Or at least that's how I though I had it set up?
Back to top
View user's profile Send private message
TheRAt
Veteran
Veteran


Joined: 03 Jun 2002
Posts: 1580
Location: Salt Spring Island, BC, Canada

PostPosted: Tue Mar 01, 2005 8:24 am    Post subject: Reply with quote

Your grub.conf should look something like this:

Code:
title Gentoo Linux
root (hd0,1)
kernel (hd0,1)/vmlinuz ro root=/dev/hda3


hd0,0 = first drive, first partition
hd0,1 = first drive, second partition
hd0,2 = first drive, third partition
hd1,0 = second drive, first partition
and so on...
_________________
All reality is the construct of the observer.

Get Firefox and rediscover the web!

BOFH Excuse #295:
The Token fell out of the ring. Call us when you find it.
Back to top
View user's profile Send private message
jvfarr
n00b
n00b


Joined: 01 Mar 2005
Posts: 12

PostPosted: Tue Mar 01, 2005 8:27 am    Post subject: Reply with quote

Okay, so I was trying to fix it, when I totally borked it, now I don't have anything on my /dev/hda2 partition, nothing at all! :-( I still have a live cd laying around, what can I do to fix this mess?
Back to top
View user's profile Send private message
TheRAt
Veteran
Veteran


Joined: 03 Jun 2002
Posts: 1580
Location: Salt Spring Island, BC, Canada

PostPosted: Tue Mar 01, 2005 8:32 am    Post subject: Reply with quote

You will need to boot from he LiveCD.. chroot as described in the installation handbook, and copy the kernel image.. emerge grub again probably, and install grub.. That might be the easiest way to fix..

I think that should cover it all..
_________________
All reality is the construct of the observer.

Get Firefox and rediscover the web!

BOFH Excuse #295:
The Token fell out of the ring. Call us when you find it.
Back to top
View user's profile Send private message
jvfarr
n00b
n00b


Joined: 01 Mar 2005
Posts: 12

PostPosted: Tue Mar 01, 2005 7:09 pm    Post subject: Reply with quote

Okay, so when I try to install grub from a chrooted environment I get this error about the bios? But, I am able to "manually install" grub.

After I did the manual install I still have to go to grub command prompt and type in my own stuff which sucks really bad.

Here's what I type to get my system to boot.

Code:
 root (hd0,1)
kernel /kernel-2.6.10-gentoo-r6
boot
Back to top
View user's profile Send private message
jvfarr
n00b
n00b


Joined: 01 Mar 2005
Posts: 12

PostPosted: Tue Mar 01, 2005 11:12 pm    Post subject: Reply with quote

I wonder if this is a "Me" Problem or a grub problem, anyone think they can help?
Back to top
View user's profile Send private message
Gtoolinux
n00b
n00b


Joined: 18 Feb 2005
Posts: 3
Location: USA

PostPosted: Tue Mar 01, 2005 11:22 pm    Post subject: resier Reply with quote

did you remember to install the reiser file system?
Back to top
View user's profile Send private message
jvfarr
n00b
n00b


Joined: 01 Mar 2005
Posts: 12

PostPosted: Tue Mar 01, 2005 11:38 pm    Post subject: Reply with quote

Huh, I think I'm lost, install the reiser system?
Back to top
View user's profile Send private message
jerrykenny
Tux's lil' helper
Tux's lil' helper


Joined: 07 Feb 2005
Posts: 105

PostPosted: Wed Mar 02, 2005 11:53 am    Post subject: Reply with quote

Hi JV,

your very first post looks as if you maybe had used Reiser filesystem for your /boot partition ? is that possible ?

If so then reformat that partition to Ext2, then copy your bzImage, and System.map to the partition.

Have another go at a grub, though I strongly recommend Lilo for us noobs !


Get back and let us know what stage your at . . .
_________________
Hopeless tinkerer with things that are best left alone
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Wed Mar 02, 2005 1:30 pm    Post subject: Reply with quote

Please, check out and follow The Grub Error Collection thread.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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