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.
Correct, type in that command and then hit enter. Next post what you see on the screen. Normally there should not be very much, but you will have to select correctly using the arrow keys and the spacebar to select/deselect.
And don't be scared, if this doesn't work, we'll continue tomorrow.
ok i did, here is the result :
debconf: dbdriver "passwords" warning: could not open /var/cache/debconf/passwprds.dat : permission refused
debconf: dbddriver "config" could not write /var/cache/debconf/config.dat-new : permission refused
the screen went all blue again.
in the upper screen, it's written packages configuration tool
then there's a green window untitled grub-pc configuration. it says (in english) :
the grub-pc package is being upgraded. this menu allows you to select which devices you'd lkike grub-install to be automicatlly run for, if any.
it is recommanded that you do this in most situtations, to prevent the installed grub from getting out of sync with other components such as grub.cfg or with newer linux images it will have to load.
if you're unsure which drive is designated as boot drive by your bios, it is often a good idea to install grub to all of them.
note : it is possible to install grub to partition boot records as well.
however, this forces grub to use the blocklist mechanism, which makes it less reliable, and therefore is not recommended.
<ok>
what shall i do?
(i don't know what this is all about, but i think this is a good time for me to remind you that i have windows installed on this computer as well)
Does it show a list of devices, meaning harddisks like (hd0) /dev/sda or so? Post all devices listed. The fact that you have Windoze installed as well is not much of a problem, although it might be that after upgrading grub, you'll have to do some manual editing to be able to boot into Windoze again. But that's the next problem, for now post whatever devices are listed.
ok, i pressed enter.
the screen is still all blue.
in the upper screen, it's written packages configuration tool
then there's a grey* window untitled grub-pc configuration (title in red). it says (in english) :
GRUB install devices: (in black)
[ ] /dev/sda (in red)
[ ] /dev/sdb (in blue)
ok i did, and i pressed enter.
now i'm back to the prompt window (although there's still *one* line that is blue, in the upper screen.
it has written a lot of stuff, do you want me to copy it?
what to do next
the last lines were :
installation finished. no error reported
this is the contents of the device map /boot/grub/device.map
check if this is correct or not
if any of the lines is incorecct, fix it and rerun the script grub install
(hd0) dev/sda
(hd1) dev/sdb
generating grub.cfg
found linux image : boot/vmlinuz-2.6.31-14-generic
found initrd image : boot/initrd.img-2.6.31-14-generic
found linux image : boot/vmlinuz-2.6.28-13-generic
found initrd image : boot/initrd.img-2.6.28-13-generic
found memtest86+ image : boot/memtest86+.bin
found windows (loader) on dev/sda1
done
grub legacy has been removed, but its config files have been preserved, since this script cannot determine if they contain valuable information. if you would like to remove the confiuration files as well, use the following command :
rm -f /boot/grub/menu.lst*
and then follows a line where i can put a new command
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.