Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
|
11-13-2009, 04:39 PM
|
#151
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
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.
|
|
|
11-13-2009, 04:41 PM
|
#152
|
Member
Registered: Nov 2009
Posts: 522
Original Poster
Rep:
|
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
|
|
|
11-13-2009, 04:42 PM
|
#153
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
Try this:
Code:
sudo upgrade-from-grub-legacy
|
|
|
11-13-2009, 04:51 PM
|
#154
|
Member
Registered: Nov 2009
Posts: 522
Original Poster
Rep:
|
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)
|
|
|
11-13-2009, 04:56 PM
|
#155
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
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.
Kind regards,
Eric
|
|
|
11-13-2009, 04:57 PM
|
#156
|
Member
Registered: Nov 2009
Posts: 522
Original Poster
Rep:
|
there's not even a green pixel that i didn't mention, let alone a list of devices.
|
|
|
11-13-2009, 04:58 PM
|
#157
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
OK, hit enter
|
|
|
11-13-2009, 04:58 PM
|
#158
|
Member
Registered: Nov 2009
Posts: 522
Original Poster
Rep:
|
and now the screen saver mode started. what key should i press so that it has no consequence on the current window?
|
|
|
11-13-2009, 04:59 PM
|
#159
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
any arrow key should do it
|
|
|
11-13-2009, 05:03 PM
|
#160
|
Member
Registered: Nov 2009
Posts: 522
Original Poster
Rep:
|
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>
what shall i do?
|
|
|
11-13-2009, 05:12 PM
|
#161
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
Tricky, it's one of those two . Select
Code:
[ ] /dev/sda (in red)
by using the arrow keys or tab to navigate and press spacebar to select.
Then hit enter and pray.
|
|
|
11-13-2009, 05:15 PM
|
#162
|
Member
Registered: Nov 2009
Posts: 522
Original Poster
Rep:
|
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
|
|
|
11-13-2009, 05:18 PM
|
#163
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
No, no need to copy that. Next command to run:
and enter.
Then when that's finished
and post that output here. It should show version 2.
Kind regards,
Eric
|
|
|
11-13-2009, 05:20 PM
|
#164
|
Member
Registered: Nov 2009
Posts: 522
Original Poster
Rep:
|
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
|
|
|
11-13-2009, 05:21 PM
|
#165
|
Member
Registered: Nov 2009
Posts: 522
Original Poster
Rep:
|
i'll wait until you've told me to do what you asked in your previous post, so that you have time to read what i wrote on my previous post
|
|
|
All times are GMT -5. The time now is 01:02 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|