The board will go down for necessary maintenance at 12:00 PM UTC (see current UTC time). We expect to be back 1 hour later at 1:00 PM UTC. Apologies for any inconvenience.

Is this potentially dangerous?

Archived topics about LMDE 1 and LMDE 2
Locked
User avatar
newfie
Level 2
Level 2
Posts: 91
Joined: Fri Nov 20, 2009 2:47 pm

Is this potentially dangerous?

Post by newfie »

I was doing an apt-get upgrade today. GRUB was updating, and when being configured I pressed OK on the text-based configuration bit. I was busy and just let it do the default. Anyway, when I checked the terminal, I found this:
Setting up grub-common (1.98+20100804-7) ...
Setting up grub-pc (1.98+20100804-7) ...
Installation finished. No error reported.
/usr/sbin/grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea..
/usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..

Installation finished. No error reported.
Generating grub.cfg ...
Found Debian background: linuxmint.png
Found linux image: /boot/vmlinuz-2.6.32-5-686
Found initrd image: /boot/initrd.img-2.6.32-5-686
done
The bold bit bugs me a little. Am I going to have issues upon reboot?

indaymadel
Level 2
Level 2
Posts: 84
Joined: Thu Sep 30, 2010 8:57 pm
Contact:

Re: Is this potentially dangerous?

Post by indaymadel »

I'm not sure. But if you're in dual-boot with windows, then grub should be installed in the MBR.

Probably, you choose something like /dev/sda1 instead of /dev/sda
/dev/sda = installs on MBR
/dev/sda1 = installs on the first partition.
Get started building backlinks using my free backlinks collection.

User avatar
azathoth
Level 3
Level 3
Posts: 129
Joined: Thu Aug 05, 2010 7:09 am
Location: Portland, Oregon
Contact:

Re: Is this potentially dangerous?

Post by azathoth »

newfie wrote:I was doing an apt-get upgrade today. GRUB was updating, and when being configured I pressed OK on the text-based configuration bit. I was busy and just let it do the default. Anyway, when I checked the terminal, I found this:
Setting up grub-common (1.98+20100804-7) ...
Setting up grub-pc (1.98+20100804-7) ...
Installation finished. No error reported.
/usr/sbin/grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea..
/usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..

Installation finished. No error reported.
Generating grub.cfg ...
Found Debian background: linuxmint.png
Found linux image: /boot/vmlinuz-2.6.32-5-686
Found initrd image: /boot/initrd.img-2.6.32-5-686
done
The bold bit bugs me a little. Am I going to have issues upon reboot?
What is your boot environment? Are you multibooting with other distros/OSs? Do you have another bootloader installed to the mbr from another distro? If the latter is true and it was working well for you then you are probably okay. If not we would need to know exactly what kind of environment you are dealing with/what you are booting, before anyone can give you much help.
In any case keep that Live CD handy, it is your friend! :wink:
arch | kernel26-lqx | kde 4.7.0 & xfce 4.8.1(tiling)
"Sacred cows make the best hamburger." ~ Mark Twain
MyLast.fm

User avatar
newfie
Level 2
Level 2
Posts: 91
Joined: Fri Nov 20, 2009 2:47 pm

Re: Is this potentially dangerous?

Post by newfie »

Solely LMDE. No other OS at all.

User avatar
azathoth
Level 3
Level 3
Posts: 129
Joined: Thu Aug 05, 2010 7:09 am
Location: Portland, Oregon
Contact:

Re: Is this potentially dangerous?

Post by azathoth »

newfie wrote:Solely LMDE. No other OS at all.
M'kay, you will probably need to reinstall grub. No biggy, it's pretty painless.
First make sure you have your LiveCD handy.
And before you proceed, would you please post the output to:

Code: Select all

sudo fdisk -l
arch | kernel26-lqx | kde 4.7.0 & xfce 4.8.1(tiling)
"Sacred cows make the best hamburger." ~ Mark Twain
MyLast.fm

User avatar
newfie
Level 2
Level 2
Posts: 91
Joined: Fri Nov 20, 2009 2:47 pm

Re: Is this potentially dangerous?

Post by newfie »

Thanks for the reply :)

Code: Select all


Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000e3d8d

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1       30402   244196352   83  Linux

User avatar
azathoth
Level 3
Level 3
Posts: 129
Joined: Thu Aug 05, 2010 7:09 am
Location: Portland, Oregon
Contact:

Re: Is this potentially dangerous?

Post by azathoth »

No prob.
You might want to read the official documentation here.
This is the simplest and easiest way IMO, shouldn't take more than a couple of minutes:
Boot your LiveCD.
Open a terminal and enter:

Code: Select all

sudo mount /dev/sda1 /mnt
then:

Code: Select all

sudo grub-install --root-directory=/mnt/ /dev/sda
(not sda1on this one! :wink: )
reboot
refresh grub

Code: Select all

sudo update-grub
Grub will come up again in the next round of updates. Always install to the mbr unless you are chain loading in a multiboot setup.
arch | kernel26-lqx | kde 4.7.0 & xfce 4.8.1(tiling)
"Sacred cows make the best hamburger." ~ Mark Twain
MyLast.fm

User avatar
newfie
Level 2
Level 2
Posts: 91
Joined: Fri Nov 20, 2009 2:47 pm

Re: Is this potentially dangerous?

Post by newfie »

All is well. Thanks a bunch :)

User avatar
azathoth
Level 3
Level 3
Posts: 129
Joined: Thu Aug 05, 2010 7:09 am
Location: Portland, Oregon
Contact:

Re: Is this potentially dangerous?

Post by azathoth »

You're very welcome!
arch | kernel26-lqx | kde 4.7.0 & xfce 4.8.1(tiling)
"Sacred cows make the best hamburger." ~ Mark Twain
MyLast.fm

Locked

Return to “LMDE Archive”