Gentoo Install - make.conf

Associate
OP
Joined
30 Oct 2002
Posts
1,061
Location
It's all a bit Reddish...
Originally posted by Mpemba Effect
Keep at it mate, don't let it defeat you yet. Your like there, all it is, is getting it to boot. Is bzImage in /boot?

Yep it's there. I'm not annoyed at all which is rather strange. I don't think I should be anyway cos I feel like I've learned a lot just by going through the install. Rather pleased actually :).

Close but no cigar!

I'll keep trying till I get it right!

[RB]
 
Man of Honour
Joined
18 Oct 2002
Posts
7,097
Ah your lucky your starting this stuff early :) ... I've never done any computer courses or even learnt any computing at school (in fact I don't even think there was any computer classes at my place when I was doing GCSE's). So I did all the sciences and then then to do a degree in Physiology and Biochemistry. Only after uni did I get a job to buy a cool computer .... and now it's like .. throw away the science and try to get into computing ... I know next to nothing on programming :eek:
 
Man of Honour
Joined
18 Oct 2002
Posts
7,097
Originally posted by [RB]
Yep it's there. I'm not annoyed at all which is rather strange. I don't think I should be anyway cos I feel like I've learned a lot just by going through the install. Rather pleased actually :).

Close but no cigar!

I'll keep trying till I get it right!

[RB]

At the most I think you'll only need to recompile the Kernel and maybe redo the grub ... although it does look ok to me.
 
Associate
OP
Joined
30 Oct 2002
Posts
1,061
Location
It's all a bit Reddish...
Originally posted by Mpemba Effect
At the most I think you'll only need to recompile the Kernel and maybe redo the grub ... although it does look ok to me.

How do I go about doing that? How do I boot off the cd and make hda3 root instead of the files from the cd?

Thanks

[RB]
 
Permabanned
Joined
18 Oct 2002
Posts
2,010
Location
Huddersfield / Antartica
So there's Mpemba's life story :p Here's mine, Im 15, a geek. I got into Linux through finding it on the net. Spent weeks downloading it on my 56k, got a copy of RH 6.2 installed it dual boot on my Dad's Dell machine. Loved it! I started programming when I was 8 on a BBC Micro, great machine that used BASIC :) I then started messing around in C when I hit Linux, I admin Im not a hot C programmer yet. I need more experience :)

I'm doing my GCSEs, self-taught IT, I didnt bother taking it as an option as my teacher said I could do it without having to have the lessons :p

Shak
 

ALD

ALD

Associate
Joined
18 Oct 2002
Posts
465
Location
Devon
umask grub 0.92. emerge it and leave the boot bit out as said. Its the only thing that will work for most people.The whole install forum page was full of grub problems when i did an install the other day. (0.92 is fine if your not using xfs)
 
Permabanned
Joined
18 Oct 2002
Posts
2,010
Location
Huddersfield / Antartica
He isn't using XFS, he's using ext2/3, you can see that from the fstab so that shouldnt be a problem using 0.92

Nice to know about the bug, but not relevant I wouldnt think, and you cant install previous versions via emerge unless you have the ebuilds and on a new install you're only going to have the latest ebuild

Good suggestion mate, I haven't been on the Gentoo forums for a while, my HOWTO still up there :p?

Shak
 
Associate
OP
Joined
30 Oct 2002
Posts
1,061
Location
It's all a bit Reddish...
Well I'm back ast configuring the fstab and I'm asking you guys before I do anything this time!

Code:
/dev/hda1           /boot       ext2	 noauto,noatime	 1 2
/dev/hda6           /              ext2	 noatime                   0 1
/dev/hda5           none       swap	 sw                           0 0
/dev/cdroms/cdrom0  /mnt/cdrom  iso9660 noauto,ro             0 0
proc                /proc       proc	 defaults                                   0 0

The boots hda1
Root's hda6
Swap's hda5

and hda5 & hda6 are logical drives on the hda2 extended partition.

What are the numbers on the end supposed to be? They like the ones in Grub?

Thanks

[RB]
 
Last edited:
Man of Honour
Joined
18 Oct 2002
Posts
7,097
If you follow the instructions exactly your fstab will be like so:
Code:
/dev/hda1 /boot ext2 noauto,noatime 1 2
/dev/hda3 / ext3 noatime 0 1
/dev/hda2 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
proc /proc proc defaults 0 0
But if you fdisked differently you'll havr to do it a little differently :) ... but I'm assuming you did follow the partitioning exactly.
 
Man of Honour
Joined
18 Oct 2002
Posts
7,097
OK forget what I just said :D

man fstab
<snip>
The fifth field, (fs_freq), is used for these filesystems by the dump(8)
command to determine which filesystems need to be dumped. If the fifth
field is not present, a value of zero is returned and dump will assume
that the filesystem does not need to be dumped.

The sixth field, (fs_passno), is used by the fsck(8) program to determine
the order in which filesystem checks are done at reboot time. The root
filesystem should be specified with a fs_passno of 1, and other filesys-
tems should have a fs_passno of 2. Filesystems within a drive will be
checked sequentially, but filesystems on different drives will be checked
at the same time to utilize parallelism available in the hardware. If the
sixth field is not present or zero, a value of zero is returned and fsck
will assume that the filesystem does not need to be checked.
<snip>
:)
 
Last edited:
Associate
OP
Joined
30 Oct 2002
Posts
1,061
Location
It's all a bit Reddish...
Well sorted that out, I'd missed out creating the menu.lst. Same problem again I'm afraid.

Code:
Booting 'Gentoo Linux'

root (hd0,0)
 File system type is ext2fs, partition type 0x83
kernel /boot/bzImage root=/dev/hda6
    [Linux-bzImage, setup=0xa00, size=0xe91cc]

Then immediately re-boots.

[RB]
 
Man of Honour
Joined
18 Oct 2002
Posts
7,097
rofl :D you know I think I know whats wrong ;) (you did exactly the same this time as you did last time right?) OK.
Is this your fstab?
Code:
/dev/hda1           /boot       ext2	 noauto,noatime	 1 2
/dev/hda6           /              ext2	 noatime                   0 1
/dev/hda5           none       swap	 sw                           0 0
/dev/cdroms/cdrom0  /mnt/cdrom  iso9660 noauto,ro             0 0
proc                /proc       proc	 defaults                                   0 0

Is this your menu.lst/menu.conf?
Code:
default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Gentoo Linux
root (hd0,0) 
kernel /boot/bzImage root=/dev/hda3

Thats whats wrong. Come comes you created an extended partition (hda2?). If you follows the instructions you should have created 3 primary partitions (hda1 (/boot), hda2 (swap), hda3 (/)). Since you fdisked differently, you'll need to setup grub differently :)

Ok if you've fdisked it according to what you said above then you menu.lst/menu.conf should look like this:
Code:
default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Gentoo Linux
root (hd0,0) 
kernel /boot/bzImage root=/dev/hda6
 
Back
Top Bottom