NotebookForums.com › Forums › General Notebook Discussions › Linux & Other OS's › BT's BIG Gentoo Project.
New Posts  All Forums:Forum Nav:

BT's BIG Gentoo Project. - Page 2

post #21 of 168
Quote:
Originally Posted by bigtrouble77
Thanks Chenar, that makes sense.

I have another question...
Grub is giving me some problems on the initial boot. This is my grub.conf:
Quote:
Originally Posted by
Because my drives are SATA those partitions are coming up as sda1, sda2, etc. I had configured sda1 as boot with the boot flag, sda2 as swap and sda3 as root.

The error I get is:
root (sd0,0)
Error 23: Error while parsing number

Everything appears to be correct so I'm sorta stuck here.

EDIT: haha, I never named the kernel as "kernel-2.6..." So that's fixed at least.

I cannot believe I missed this the other day. In your grub.conf the line that has your kernel in it should read:

kernel /kernel-2.6.14-gentoo-r5 root=/dev/sda3

also, make sure your kernel is named exactly the same, ie:
mv bzImage kernel-2.6.14-gentoo-r5

Your current grub line shows as
kernel /boot/kernel-2.6.14-gentoo-r5 root=/dev/sda3

so when you boot, hit the e key in grub, and edit the grub line temporarily to remove the /boot part and then hit b to boot it. see if that works for you.

I was thinking about this earlier and was fairly sure that the caps in your fstab was it. Saw the later post and so re-read the thread and saw the grub line.
post #22 of 168
Thread Starter 
Quote:
Originally Posted by dadams1969
so when you boot, hit the e key in grub, and edit the grub line temporarily to remove the /boot part and then hit b to boot it.
Thanks for the suggestion. Removing /boot results in the same error message. I have no issues finding the kernel, it actually loads properly. So it finds my /boot partition just fine. The problem is when it tries to load my root partition. (I only have 3 partitions- boot(ext2), swap(sw), root(reiserfs))

I think somewhere I either have the hda/sda thing messed up, or more likely, the system doesn't like the fact that i'm using reiserfs on that partition. I bet if I go back and format that partition to ext3 and redo the install it works.... but i'm not quite at the point of despiration yet.

BTW, this whole portage way of getting programs is amazing. I finally know what you guys are talking about.
post #23 of 168

something else to try

Did some searching on it for the specific error and found this:

http://article.gmane.org/gmane.linux.gentoo.amd64/4008

grub.conf must use hdX - not sdX, even if you have /dev/sdX partitions

I don't think its a filesystem problem after reading that post on errors for grub.
post #24 of 168
Thread Starter 
Quote:
Originally Posted by dadams1969
Did some searching on it for the specific error and found this:

http://article.gmane.org/gmane.linux.gentoo.amd64/4008

grub.conf must use hdX - not sdX, even if you have /dev/sdX partitions

I don't think its a filesystem problem after reading that post on errors for grub.
That's correct. I found that out pretty quickly. Everything is labeled as hdX in my grub config now (I should have noted that I already made that change). The system just doesn't want to mount root.
post #25 of 168
Bigtrouble-

The gnekernel script has an option(I will post it up in a bit the commands I use as I am putting a new kernel in now anyways) that will automatically set up your appropriate grub files for you, takes a lot of stupid mistakes out of the equation.

Lemme go back to my computer where I am currently setting it up with Ingo's realtime patches on the 2.6.15 kernel to test out and ill post up my exact commands, I always gotta look it up for some reason

Seablade
post #26 of 168
Hold up I just looked at my fstab here it is.
Quote:
Originally Posted by
Two things of note in it.
1) # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
you don't have the notail in opts
2) both proc and shm are incorrect in yours compared to mine.
It's looking for a block device of proc and shm. Try none instead
Give it shot and maybe that's it.
post #27 of 168
Hmm for example Ill post up my Grub menu.lst file for you as mine is a bit more complex than the one I think you did...

Quote:
Originally Posted by
That is for the2.6.14 kernel on my system, 2.6.15 is being set up right now. As you can see you also need a real_root, and that needs to be with the /dev/sdXX instead of the hdxx setup. Along with this it is not a bad idea to set up a initrd ramdisk.

The option to add to genkernel I was referring to is '--bootloader=grub' without the quotes of course. For example I am running genkernel --menuconfig --bootloader=grub to allow me to tweak things as needed with menuconfig but I dont have to worry about setting up the ramdisk or grub.

Seablade
post #28 of 168
Seablade, what advantages does the initrd ramdisk bring to the table? I've never bothered with it myself as it seemed like an unnecessary extra.

Mikhail
post #29 of 168
the initrd is used when you dont have the filesystem support compiled directly into the kernel, or there are other drivers compiled as modules. The initrd will load the kernel as a ramdisk first so that you can access the various drivers that are compiled as modules(As opposed to directly compiled in)

Typically I find especially with newer stuff I am finding enough stuff is getting compiled as a module by default that screws with kernel bootup that it is worth it to add the extra few seconds I think this adds to bootup to not have to deal with it, I ahvent noticed any overhead problems at all with this approach and seems to simplify things if used in conjuctions with the --bootloader=grub option of the genkernel, well worth the headaches of things that happen like what BT is going through at the moment.

Seablade
post #30 of 168
Note that unless the driver is needed to boot up your system, compiling it as a module wont make a bit of difference.

Seablade
post #31 of 168
Makes sense.
post #32 of 168
Just for random thoughts... the reason I was upgrading kernels again so soon at this time was because I just got a new RME card in, All I can say is, it is oddly refreshing to be running 24/96 at <3mS latency with 32 tracks and sitting at a grand total of....

1.7 percent on the CPU.

Ahh I love this card already. Oh ytea lets not forget browsing web, sending emails, and all that stuff at the exact same time, with absolutely no audio dropouts(There were some when I first started ardour, but none since then)

Seablade
post #33 of 168
Thread Starter 
Thanks for all of the suggestions guys. I have a bit to go through before I update my progress. I'll let you all know how it works out.

Seablede, what's the RME card?
post #34 of 168
RME 9632 Their one that can do 192, though I got it primarily for the mix of analog and digital connections. I doubt Ill use over 96KHz

Seablade
post #35 of 168
Thread Starter 
Quote:
Originally Posted by seablade
RME 9632 Their one that can do 192, though I got it primarily for the mix of analog and digital connections. I doubt Ill use over 96KHz

Seablade
Ah, that one's a bit out of my price range now...
post #36 of 168
Yea its a nice chunk of change, and will have to last me a good LONG while Course I am investing a little bit of money lately in my audio stuff.

Seablade
post #37 of 168
Thread Starter 
Well, I tried virtually all of the suggestions and I'm still having the same issue mounting root. I'll post some of my current config files a little later. I just wanted to try everything I could think of before I posted back here again.

I thought for sure the real root grub setting would fix things but, alas, it didn't seem to do anything.

I really appreciate all of the help so far. I might just start over and go with ext3.
post #38 of 168
Thread Starter 
My god, I got the system to boot!!!!!!!!

I had to redo everything and reformatted with ext3, unfortunately. But... I finally have a comand prompt! Amazing.

I'm doing all the configs with the gen kernel, atm. Once I get things better configured I'll compile a new kernel.

I thank everyone for the help so far.

-BT
post #39 of 168
BT as I said before there is nothing wrong with using the genkernel script. If you use it with the menuconfig option it is the same as using the make menuconfig, it will use whatever config file you spit out from that, and will use an old config file to base it off of unless you tell it not to. It will then just take out several steps and possible screwup points, especially if you tell it to set up your bootloader for you. Overall it is MUCH easier with no noticeable difference in performance that i have found.

Seablade
post #40 of 168
Thread Starter 
Quote:
Originally Posted by seablade
BT as I said before there is nothing wrong with using the genkernel script. If you use it with the menuconfig option it is the same as using the make menuconfig, it will use whatever config file you spit out from that, and will use an old config file to base it off of unless you tell it not to. It will then just take out several steps and possible screwup points, especially if you tell it to set up your bootloader for you. Overall it is MUCH easier with no noticeable difference in performance that i have found.

Seablade
The problem turned out to be support for reiserfs. I followed the instructions for setting up that type of partition very carefully but it simply wouldn't work.

Two things I have to deal with now... First is that my boot partition isn't automounting to /boot. I quite perplexed by that. I have to mount it to /mnt/boot manually if I want to edit my grub.conf.

Second is my network isn't working now. I've tried setting up as static (prefered) and dhcp with no success. My eth0 controller appears to be working so i'm not sure what the issue is yet. I'm also not sure why a broadcast address is needed in the static setup. I don't even have a clue how to find out what it would be. I assumed it's for broadcasting ipaddress' if this machine is a dhcp server. Not sure if that's what's breaking my net connection.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux & Other OS's
NotebookForums.com › Forums › General Notebook Discussions › Linux & Other OS's › BT's BIG Gentoo Project.