A few odd errors in new LFS build
I have just changed my machine to a core i3 duel booting with windows ( for the wife I hasten to add as I wouldn't touch it with a 10' battle lance ) and I have run into a few ( maybe unrelated problems ).
1) Installed grub 1 as usual, but the 'savedefault' option in the /boot/grub/menu.lst file is causing a problem, I have always used this without mishap but now I get a 'file not found' error if I include it in the menu, if I manually set /boot/grub/default the highlight works. Code:
# GRUB configuration file '/boot/grub/menu.lst'. 2) Setup ntp as always but for some reason it keeps getting the wrong time, it adds an hour unless I add 'ntpdate 0.uk.pool.ntp.org' to the start of the init script. 3) Mouse keeps not getting detected at boot, both gpm and X have the same problem, but if I unplug and re-plugin the mouse it's fine, this is the same mouse as I used in my old system with the same config, don't have a clue about this one. 4) Yet again udev is not creating symlinks to my DVD properly, had to manually edit the rules like so Code:
# HL-DT-ST_DVDRAM_GH60N (pci-0000:00:1f.2-scsi-1:0:0:0) Other than these minor niggles the install went fine had to fiddle about with the propriety radeon driver but I expected that I have always had an nvidia card and always have to fiddle with that. Don't you just love rolling your own! Ubuntu users don't know what they're missing! |
Well as no one wants to help I'll help myself!
Solved the ntp problem used Code:
/usr/sbin/ntpd -gqx Anyone got any ideas about the rest of my probs? |
Fixed the mouse problem ( sort of ), tried plugging the mouse into a 4 way extension port and it now works at boot up, Linux is weird!
|
Quote:
|
It is 0.97 but its the same version I have used for a couple of years, but thanks for the tip I will look for the patch and report back.
|
The discussion I read regarding the patch for this issue took place seven years ago and involved v0.96. As you know, v0.97 also is from around the same time period. I just thought maybe your version might be an earlier one and maybe benefit from using the final version. I doubt that digging up that old patch will be worth the trouble. There just must be something about new contemporary hardware that makes the old code not obtain the location of the default file.
Maybe you can hack the source code and tell it where the default file is in this particular layout so it doesn't have to discover it. You might find all that stuff in /stage2/builtins.c in the source tree. Anyway, if you never get anywhere with this, you can always replace it with GRUB 2 and handle its config file manually and simply a lot like legacy GRUB ignoring all the scripts, other files, and most of the usual crap in a typical grub.cfg file. That's what I eventually decided to do with it. |
I actually install grub from a 'pmagic' live disk via a prebuilt package so I don't have the source code, I think you may be right that it is just that the hardware is too new I dislike grub 2 though I haven't used it since my ubuntu days but I may have to bite the bullet and try it again, tried 'lilo' but it would only boot the first linux distro or windows I have windows (urgh!) + LFS + pmagic + slackware14, lilo's too crude.
|
Quote:
Yes with LILO I need to reinstall it each time I change something. but these days even when comping a kernel it pretty much does it for you anyways, and if you want to make it seem automagic then create a patch and patch the makefile so it updates lilo on its own... not really that big a deal. I currently have 5 OS's installed under LILO this very moment. Slackware, OpenSuse, WinXP, FreeDOS and LFS.. works fine here. |
Don't care what you say lilo installed from slack would only boot the two osses I mentioned, also as you point out every time you change anything you have to reinstalll lilo with grub I just change a menu entry, I don't run raid or lvm so I can't comment, and frankly I ain't interested in a flame war about lilo versus grub, this post was about some problems in my latest install of LFS and not about what boot loader to use.
End of lilo/grub discussion. |
Quote:
If you want help with LILO post your current lilo.conf and some info on how your OS partitions are setup (how are they spanned across the hard drives/partitions). |
I don't have a problem with lilo or my lilo.conf 'cause I aint using it I'm using grub!
|
Well 'Bit the bullet' and compiled and installed Grub2, had a little trouble getting it to compile on a pure x86_64 install had to set --build=x86_64 --target=x86_64 --host=x86_64 and had a little trouble with the grub.cfg ( wouldn't boot first time - Don't you just love PMagic! ) but all seems to now be working including the 'savedefault' option which is configured a bit different from grub1, also my grub files have gone into /grub instead of /boot/grub which is probably my fault as I had my boot partition mounted on /boot when i did grub-install, but I shall leave it where it is and change it next time I do a complete rebuild of LFS.
Just the udev problem now. |
All times are GMT -5. The time now is 02:52 PM. |