Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi
[I m using ubuntu,P4-512Mb Ram]
I was trying to enable the Frame buffer ,for this I did the following steps
1-Install the Linux source-2.6.12 in /usr/src
2-make menucofig
3-make
4-make module_install
5-make install
this created one image and I copied this image into /boot folder
6-I wrote the following line into my grub(menu.lst)
title frame buffer enable
kernel /boot/bzImage root=/hda/sda1 ro quiet splash
7-upgrdae the grub
Now If I upgrade the grub watever changes I made in the grub does not come on the boot option and If I dont upgrade the grub the New added title comes into boot option If I select new option
then Kernel Panic occur
there is one more thing If I write vga=791 in the menu.lst file nothing come on the monitor
Hope I explained the problem,Can anybody help
8-Once i wrote initrd /initrd....
in the menu.lst then it fatal errors started coming says that device is not present,Do i need to create a file related to frame buffer
Thanx in advance
Framebuffer support needs to be compiled into the kernel. Its not an option you put in your menu.lst. You don't need to upgrade grub everytime you compile a new kernel. You only need to update your menu.lst with the option to use your new kernel. If you write vga=791 either you monitor and/or hardware won't support that resolution or you've not written everything in everything you need or, finally, you've not written it in correctly.
Hi penguin of wonder
thanx for ur reply
yeah to enable the FB I made the changes while make menuconfig
My monitor is latest Dell and H/w is P4
How can I check wether my h/w or monitor supports the framebuffer
On compliation I m getting the bzImage,Is it ok to use bzImage for booting
Thanx n Regards
How can I check wether my h/w or monitor supports the framebuffer
I think you have that backwards, hardware cannot support software, it's up to the software to support the hardware. Your monitor is new, so there is no problem using the framebuffer. Be sure that you enabled all the relevant options. As well as framebuffer support you also need to enable framebuffer console support.
A non-functioning framebuffer should not cause a kernel panic. You should post the precise error message you get so we can see exactly what the problem is.
Quote:
8-Once i wrote initrd /initrd....
in the menu.lst then it fatal errors started coming says that device is not present
What device? If you are getting hardware errors trying to load a file, that sounds like a hard drive problem, or maybe you specified the wrong root device?
I am struggling with two types of error
(1)When I do not write
initrd /initrd-2.6......
line in menu.lst
this error is Kernel Panic error and the error message is
Kernel Panic:Not Syncing:unable to mount root fs on unknown-block(0,0)
(2)If i write the initrd option in menu.lst then I get fatal error
the messae was
FATAL:Could not load /lib/modules/2.6.12/modules.dep:No such file or directory
FATAL:Could not load /lib/modules/2.6.12/modules.dep:No such file or directory
Done
Begin:Mounting root file system...
Begin:Running /scripts/local-top....
Done.
Alert! /dev/sda1 does not exist .Dropping to shell
please note that when I hide initrd line then Kernel panic occurs when I unhide then Fatal error occurs as I mentioned in my previous mai,I tried vga-791 also insted of hex values
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.