public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Help
@ 2005-07-24 17:23 C.Beamer
  2005-07-24 17:41 ` Stroller
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: C.Beamer @ 2005-07-24 17:23 UTC (permalink / raw
  To: gentoo-user

Hi All,

After getting side-tracked by a power outage in the middle of a Gentoo
install a couple of weeks ago, I finally got back to doing a Gentoo
install trial run.

All seemed to go well.  When I rebooted I got the menu with the two
selections listed (Gentoo and DOS).  The computer will boot into DOS
okay, but I can't get it to boot into Gentoo.  Ergo, I think the grub
install is fine, but I made an error in my grub.conf file.

Since I'm only moderately savvy about editing configuration files, I
relied on the examples in the Gentoo Handbook.

Details are as follows:

I have a dual boot system:

hda1 is DOS
hda2 is /boot
hda3 is swap
hda4 is my extended partition
hda5 is /root

The grub.conf file that I entered is as follows:

default 0
timeout 30

splashimage=(hd0,1)/grub/splash.xpm.gz

title=Genoo Linux 2.6.12-r6

root (hda0, 1)
kernel /kernel-2.6.12-gentoo-r6 root=/dev/ram0 init=linuxrc ramdisk=8192
real_root=/dev/hda5 udev
initrd /initrd-2.6.12-gentoo-r6

title=DOS
root (hda0,0)
makeactive
chainloader +1

I put the initrd line in the grub.conf file even though when I ran the
command

'ls /boot/kernel* /boot/initrd*'

as instructed in the Handbook, I got told that there was no initrdfile.

Have I missed something or done something wrong?

Is there a way to fix the grub.conf file?

I tried selecting the Gentoo line from the menu and pressing 'e' to
edit, but no matter what changes I made, I still get an error message
when I try to boot into Gentoo that says:

Error 15:  File not found

This displays immediatedly after the line

kernel /kernel-2.6.12-gentoo-r6 root=/dev/ram0 init=linuxrc ramdisk=8192
real_root=/dev/hda5 udev

Any assistance would be appreciated.  And please remember, I am not
stupid, but I'm not a computer science grad.  I've been running Linux at
home for about 3 years and dabbling with it for a couple of years before
that, but I've always used Redhat or Fedora.  However, I'm finding that
with each release of Fedora, more "quirks" appear.  Things that I was
able to do with no problem in a previous release, I now can't do without
"letting some blood".  Hence, I wanted to try Gentoo because I can
install the software from source using emerge.  This will be a learning
curve for me, but I can conquer it - I have come a long way since a
friend first mentioned Linux to me and I asked what it was!

Anyway, the point of the previous paragraph is to ask that complete
details be stated for any help that is provided.  And if you tell me
that I "screwed up royally" and have to start all over, that's okay. 
That's what this exercise was for - to learn what I needed to know
before installing Gentoo on a "production" system.

BTW, I did a "Stage 3" install.  Since it was my first time and I don't
know anything about optimizations, I didn't want to get in over my
head.  :-)

Thanks in advance for any assistance.

Respectfully,

Colleen

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Help
  2005-07-24 17:23 [gentoo-user] Help C.Beamer
@ 2005-07-24 17:41 ` Stroller
  2005-07-24 18:39 ` Martins Steinbergs
  2005-07-24 23:31 ` Alex A. Smith MCP
  2 siblings, 0 replies; 9+ messages in thread
From: Stroller @ 2005-07-24 17:41 UTC (permalink / raw
  To: gentoo-user


On Jul 24, 2005, at 6:23 pm, C.Beamer wrote:
>
> hda1 is DOS
> hda2 is /boot
> hda3 is swap
> hda4 is my extended partition
> hda5 is /root
>
> The grub.conf file that I entered is as follows:
>
> default 0
> timeout 30
>
> splashimage=(hd0,1)/grub/splash.xpm.gz
>
> title=Genoo Linux 2.6.12-r6
>
> root (hda0, 1)
> kernel /kernel-2.6.12-gentoo-r6 root=/dev/ram0 init=linuxrc 
> ramdisk=8192
> real_root=/dev/hda5 udev
> initrd /initrd-2.6.12-gentoo-r6

I haven't tried booting with a RAM disk, so I can't comment on the 
other lines, but in the first there should be no space after the comma. 
IE:
    root (hda0,1)

as you've done correctly below:

> title=DOS
> root (hda0,0)
> makeactive
> chainloader +1
>

> ...
> Is there a way to fix the grub.conf file?

I always do so by booting from the Gentoo LiveCD, mounting /dev/hda2 to 
/mount/gentoo, editing grub.conf with `nano` and then rebooting. You 
can experiment amply like this until you get it right.

Stroller.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Help
  2005-07-24 17:23 [gentoo-user] Help C.Beamer
  2005-07-24 17:41 ` Stroller
@ 2005-07-24 18:39 ` Martins Steinbergs
  2005-07-24 19:03   ` Richard Fish
  2005-07-24 23:31 ` Alex A. Smith MCP
  2 siblings, 1 reply; 9+ messages in thread
From: Martins Steinbergs @ 2005-07-24 18:39 UTC (permalink / raw
  To: gentoo-user

remove space in root (hda0, 1)

my kernel line also has devfs=nomount  but probably this isnt needed if using 
latest genkernel, dont know.

Martins


On Sunday 24 July 2005 20:23, C.Beamer wrote:
> Hi All,
>
> After getting side-tracked by a power outage in the middle of a Gentoo
> install a couple of weeks ago, I finally got back to doing a Gentoo
> install trial run.
>
> All seemed to go well.  When I rebooted I got the menu with the two
> selections listed (Gentoo and DOS).  The computer will boot into DOS
> okay, but I can't get it to boot into Gentoo.  Ergo, I think the grub
> install is fine, but I made an error in my grub.conf file.
>
> Since I'm only moderately savvy about editing configuration files, I
> relied on the examples in the Gentoo Handbook.
>
> Details are as follows:
>
> I have a dual boot system:
>
> hda1 is DOS
> hda2 is /boot
> hda3 is swap
> hda4 is my extended partition
> hda5 is /root
>
> The grub.conf file that I entered is as follows:
>
> default 0
> timeout 30
>
> splashimage=(hd0,1)/grub/splash.xpm.gz
>
> title=Genoo Linux 2.6.12-r6
>
> root (hda0, 1)
> kernel /kernel-2.6.12-gentoo-r6 root=/dev/ram0 init=linuxrc ramdisk=8192
> real_root=/dev/hda5 udev
> initrd /initrd-2.6.12-gentoo-r6
>
> title=DOS
> root (hda0,0)
> makeactive
> chainloader +1
>
> I put the initrd line in the grub.conf file even though when I ran the
> command
>
> 'ls /boot/kernel* /boot/initrd*'
>
> as instructed in the Handbook, I got told that there was no initrdfile.
>
> Have I missed something or done something wrong?
>
> Is there a way to fix the grub.conf file?
>
> I tried selecting the Gentoo line from the menu and pressing 'e' to
> edit, but no matter what changes I made, I still get an error message
> when I try to boot into Gentoo that says:
>
> Error 15:  File not found
>
> This displays immediatedly after the line
>
> kernel /kernel-2.6.12-gentoo-r6 root=/dev/ram0 init=linuxrc ramdisk=8192
> real_root=/dev/hda5 udev
>
> Any assistance would be appreciated.  And please remember, I am not
> stupid, but I'm not a computer science grad.  I've been running Linux at
> home for about 3 years and dabbling with it for a couple of years before
> that, but I've always used Redhat or Fedora.  However, I'm finding that
> with each release of Fedora, more "quirks" appear.  Things that I was
> able to do with no problem in a previous release, I now can't do without
> "letting some blood".  Hence, I wanted to try Gentoo because I can
> install the software from source using emerge.  This will be a learning
> curve for me, but I can conquer it - I have come a long way since a
> friend first mentioned Linux to me and I asked what it was!
>
> Anyway, the point of the previous paragraph is to ask that complete
> details be stated for any help that is provided.  And if you tell me
> that I "screwed up royally" and have to start all over, that's okay.
> That's what this exercise was for - to learn what I needed to know
> before installing Gentoo on a "production" system.
>
> BTW, I did a "Stage 3" install.  Since it was my first time and I don't
> know anything about optimizations, I didn't want to get in over my
> head.  :-)
>
> Thanks in advance for any assistance.
>
> Respectfully,
>
> Colleen
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Help
  2005-07-24 18:39 ` Martins Steinbergs
@ 2005-07-24 19:03   ` Richard Fish
  2005-07-24 19:50     ` C.Beamer
  0 siblings, 1 reply; 9+ messages in thread
From: Richard Fish @ 2005-07-24 19:03 UTC (permalink / raw
  To: gentoo-user

Martins Steinbergs wrote:

>remove space in root (hda0, 1)
>
>  
>

Actually, that should be (hd0,1), like you have for the splashimage.

-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Help
  2005-07-24 19:03   ` Richard Fish
@ 2005-07-24 19:50     ` C.Beamer
  2005-07-24 20:18       ` Richard Fish
  0 siblings, 1 reply; 9+ messages in thread
From: C.Beamer @ 2005-07-24 19:50 UTC (permalink / raw
  To: gentoo-user

Hi,

Thanks all for noticing the "typo".  However, this was a typo in the
e-mail, not in the boot.conf file.  :-)

Regards,

Colleen

Richard Fish wrote:

> Martins Steinbergs wrote:
>
>> remove space in root (hda0, 1)
>>
>>
>>
>
> Actually, that should be (hd0,1), like you have for the
> splashimage.
>
> -Richard
>

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Help
  2005-07-24 19:50     ` C.Beamer
@ 2005-07-24 20:18       ` Richard Fish
  0 siblings, 0 replies; 9+ messages in thread
From: Richard Fish @ 2005-07-24 20:18 UTC (permalink / raw
  To: gentoo-user

C.Beamer wrote:

>Hi,
>
>Thanks all for noticing the "typo".  However, this was a typo in the
>e-mail, not in the boot.conf file.  :-)
>
>  
>

So, what does you actual boot.conf file contain? "(hd0,1)" or "(hda0,1)"?

-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: [gentoo-user] Help
  2005-07-24 17:23 [gentoo-user] Help C.Beamer
  2005-07-24 17:41 ` Stroller
  2005-07-24 18:39 ` Martins Steinbergs
@ 2005-07-24 23:31 ` Alex A. Smith MCP
  2005-07-24 23:52   ` Martins Steinbergs
  2 siblings, 1 reply; 9+ messages in thread
From: Alex A. Smith MCP @ 2005-07-24 23:31 UTC (permalink / raw
  To: gentoo-user

Hi,

Have you made sure of the filenames of the init ram disk and the kernel?

Only reason I say this is because the other day when I did a Stage 3
Genkernel the files were named something completely different from what is
in the handbook. (I think initrd was something along the lines of
initramdisk-<more text> and the both included genkernel in the file name)

I had myself wondering over that for a while :)

hth

Alex A. Smith

p.s. im installing a gentoo 2.6.12-r6 Stage 3 genkernel atm so I'll let you
know when its done if the above didn't help ya.

-----Original Message-----
From: C.Beamer [mailto:cbeamer@interlynx.net] 
Sent: 24 July 2005 18:24
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Help

Hi All,

After getting side-tracked by a power outage in the middle of a Gentoo
install a couple of weeks ago, I finally got back to doing a Gentoo
install trial run.

All seemed to go well.  When I rebooted I got the menu with the two
selections listed (Gentoo and DOS).  The computer will boot into DOS
okay, but I can't get it to boot into Gentoo.  Ergo, I think the grub
install is fine, but I made an error in my grub.conf file.

Since I'm only moderately savvy about editing configuration files, I
relied on the examples in the Gentoo Handbook.

Details are as follows:

I have a dual boot system:

hda1 is DOS
hda2 is /boot
hda3 is swap
hda4 is my extended partition
hda5 is /root

The grub.conf file that I entered is as follows:

default 0
timeout 30

splashimage=(hd0,1)/grub/splash.xpm.gz

title=Genoo Linux 2.6.12-r6

root (hda0, 1)
kernel /kernel-2.6.12-gentoo-r6 root=/dev/ram0 init=linuxrc ramdisk=8192
real_root=/dev/hda5 udev
initrd /initrd-2.6.12-gentoo-r6

title=DOS
root (hda0,0)
makeactive
chainloader +1

I put the initrd line in the grub.conf file even though when I ran the
command

'ls /boot/kernel* /boot/initrd*'

as instructed in the Handbook, I got told that there was no initrdfile.

Have I missed something or done something wrong?

Is there a way to fix the grub.conf file?

I tried selecting the Gentoo line from the menu and pressing 'e' to
edit, but no matter what changes I made, I still get an error message
when I try to boot into Gentoo that says:

Error 15:  File not found

This displays immediatedly after the line

kernel /kernel-2.6.12-gentoo-r6 root=/dev/ram0 init=linuxrc ramdisk=8192
real_root=/dev/hda5 udev

Any assistance would be appreciated.  And please remember, I am not
stupid, but I'm not a computer science grad.  I've been running Linux at
home for about 3 years and dabbling with it for a couple of years before
that, but I've always used Redhat or Fedora.  However, I'm finding that
with each release of Fedora, more "quirks" appear.  Things that I was
able to do with no problem in a previous release, I now can't do without
"letting some blood".  Hence, I wanted to try Gentoo because I can
install the software from source using emerge.  This will be a learning
curve for me, but I can conquer it - I have come a long way since a
friend first mentioned Linux to me and I asked what it was!

Anyway, the point of the previous paragraph is to ask that complete
details be stated for any help that is provided.  And if you tell me
that I "screwed up royally" and have to start all over, that's okay. 
That's what this exercise was for - to learn what I needed to know
before installing Gentoo on a "production" system.

BTW, I did a "Stage 3" install.  Since it was my first time and I don't
know anything about optimizations, I didn't want to get in over my
head.  :-)

Thanks in advance for any assistance.

Respectfully,

Colleen

-- 
gentoo-user@gentoo.org mailing list



-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Help
  2005-07-24 23:31 ` Alex A. Smith MCP
@ 2005-07-24 23:52   ` Martins Steinbergs
  2005-07-25 22:30     ` [gentoo-user] Help - We got boot! :-) C.Beamer
  0 siblings, 1 reply; 9+ messages in thread
From: Martins Steinbergs @ 2005-07-24 23:52 UTC (permalink / raw
  To: gentoo-user

i was wondering too ;)

corect is initramfs, not initramdisk, see my grub.conf entry

title Gentoo 11.12 - vanilla
	root (hd1,2)
	kernel /kernel-genkernel-x86_64-2.6.11.12 root=/dev/ram0 init=/linuxrc 
ramdisk=8192 real_root=/dev/hdb9 video=radeonfb:mtrr:ywrap vga=7 
splash=silent udev devfs=nomount
	initrd /initramfs-genkernel-x86_64-2.6.11.12

On Monday 25 July 2005 02:31, Alex A. Smith MCP wrote:
> Hi,
>
> Have you made sure of the filenames of the init ram disk and the kernel?
>
> Only reason I say this is because the other day when I did a Stage 3
> Genkernel the files were named something completely different from what is
> in the handbook. (I think initrd was something along the lines of
> initramdisk-<more text> and the both included genkernel in the file name)
>
> I had myself wondering over that for a while :)
>
> hth
>
> Alex A. Smith
>
> p.s. im installing a gentoo 2.6.12-r6 Stage 3 genkernel atm so I'll let you
> know when its done if the above didn't help ya.
>
> -----Original Message-----
> From: C.Beamer [mailto:cbeamer@interlynx.net]
> Sent: 24 July 2005 18:24
> To: gentoo-user@lists.gentoo.org
> Subject: [gentoo-user] Help
>
> Hi All,
>
> After getting side-tracked by a power outage in the middle of a Gentoo
> install a couple of weeks ago, I finally got back to doing a Gentoo
> install trial run.
>
> All seemed to go well.  When I rebooted I got the menu with the two
> selections listed (Gentoo and DOS).  The computer will boot into DOS
> okay, but I can't get it to boot into Gentoo.  Ergo, I think the grub
> install is fine, but I made an error in my grub.conf file.
>
> Since I'm only moderately savvy about editing configuration files, I
> relied on the examples in the Gentoo Handbook.
>
> Details are as follows:
>
> I have a dual boot system:
>
> hda1 is DOS
> hda2 is /boot
> hda3 is swap
> hda4 is my extended partition
> hda5 is /root
>
> The grub.conf file that I entered is as follows:
>
> default 0
> timeout 30
>
> splashimage=(hd0,1)/grub/splash.xpm.gz
>
> title=Genoo Linux 2.6.12-r6
>
> root (hda0, 1)
> kernel /kernel-2.6.12-gentoo-r6 root=/dev/ram0 init=linuxrc ramdisk=8192
> real_root=/dev/hda5 udev
> initrd /initrd-2.6.12-gentoo-r6
>
> title=DOS
> root (hda0,0)
> makeactive
> chainloader +1
>
> I put the initrd line in the grub.conf file even though when I ran the
> command
>
> 'ls /boot/kernel* /boot/initrd*'
>
> as instructed in the Handbook, I got told that there was no initrdfile.
>
> Have I missed something or done something wrong?
>
> Is there a way to fix the grub.conf file?
>
> I tried selecting the Gentoo line from the menu and pressing 'e' to
> edit, but no matter what changes I made, I still get an error message
> when I try to boot into Gentoo that says:
>
> Error 15:  File not found
>
> This displays immediatedly after the line
>
> kernel /kernel-2.6.12-gentoo-r6 root=/dev/ram0 init=linuxrc ramdisk=8192
> real_root=/dev/hda5 udev
>
> Any assistance would be appreciated.  And please remember, I am not
> stupid, but I'm not a computer science grad.  I've been running Linux at
> home for about 3 years and dabbling with it for a couple of years before
> that, but I've always used Redhat or Fedora.  However, I'm finding that
> with each release of Fedora, more "quirks" appear.  Things that I was
> able to do with no problem in a previous release, I now can't do without
> "letting some blood".  Hence, I wanted to try Gentoo because I can
> install the software from source using emerge.  This will be a learning
> curve for me, but I can conquer it - I have come a long way since a
> friend first mentioned Linux to me and I asked what it was!
>
> Anyway, the point of the previous paragraph is to ask that complete
> details be stated for any help that is provided.  And if you tell me
> that I "screwed up royally" and have to start all over, that's okay.
> That's what this exercise was for - to learn what I needed to know
> before installing Gentoo on a "production" system.
>
> BTW, I did a "Stage 3" install.  Since it was my first time and I don't
> know anything about optimizations, I didn't want to get in over my
> head.  :-)
>
> Thanks in advance for any assistance.
>
> Respectfully,
>
> Colleen
>
> --
> gentoo-user@gentoo.org mailing list
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Help - We got boot!  :-)
  2005-07-24 23:52   ` Martins Steinbergs
@ 2005-07-25 22:30     ` C.Beamer
  0 siblings, 0 replies; 9+ messages in thread
From: C.Beamer @ 2005-07-25 22:30 UTC (permalink / raw
  To: gentoo-user

Hi all,

Well, I did make a typo in by grub.conf file - I had .....gentoo-rc6
instead of r6.  This, of course, resulted in my still not being able
to boot when I fixed the kernel name.


Martins Steinbergs wrote:

> i was wondering too ;)
>
> corect is initramfs, not initramdisk, see my grub.conf entry
>
> title Gentoo 11.12 - vanilla root (hd1,2) kernel
> /kernel-genkernel-x86_64-2.6.11.12 root=/dev/ram0 init=/linuxrc
> ramdisk=8192 real_root=/dev/hdb9 video=radeonfb:mtrr:ywrap vga=7
> splash=silent udev devfs=nomount initrd
> /initramfs-genkernel-x86_64-2.6.11.12

I fixed the initrd line in my grub.conf file to read as above however,
mine is slightly different after 'genkernel'.  I got the correct line
from the grub directory.

It's amazing how a few problems will cause you to learn.  :-)

Thanks for the assistance.

Regards,

Colleen

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-07-25 22:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-24 17:23 [gentoo-user] Help C.Beamer
2005-07-24 17:41 ` Stroller
2005-07-24 18:39 ` Martins Steinbergs
2005-07-24 19:03   ` Richard Fish
2005-07-24 19:50     ` C.Beamer
2005-07-24 20:18       ` Richard Fish
2005-07-24 23:31 ` Alex A. Smith MCP
2005-07-24 23:52   ` Martins Steinbergs
2005-07-25 22:30     ` [gentoo-user] Help - We got boot! :-) C.Beamer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox