public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Grub problems on old proliant
@ 2018-03-22 22:57 mad.scientist.at.large
  2018-03-23  0:51 ` [gentoo-user] " mad.scientist.at.large
  2018-03-23 12:13 ` [gentoo-user] " Mick
  0 siblings, 2 replies; 6+ messages in thread
From: mad.scientist.at.large @ 2018-03-22 22:57 UTC (permalink / raw
  To: Gentoo User

[-- Attachment #1: Type: text/plain, Size: 1014 bytes --]

When I run "grub-install/dev/boot" (following the manual) I i get the error "grub-install: error: cannot find a GRUB for /dev/boot.  Check your device map"  I looked at the /boot partition and there is no device map.  

I'm installing gentoo running debian.  I have another os so the boot partition should be properly set up.  This is on an ancient hp proliant dl385, Gen 1.  debian is running grub 2.02~beta3-5.  This machine does not use uefi, and the raid driver is in the kernel.

 Do i need to hack together the device map or?  Any help appreciated, thank you.  

Unfortunately i'm more familiar with grub legacy than grub2, studying manual now (it's very verbose and takes a bit to absorb enough to use it.

mad.scientist.at.large (a good madscientist)
--
God bless the rich, the greedy and the corrupt politicians they have put into office.   God bless them for helping me do the right thing by giving the rich my little pile of cash.  After all, the rich know what to do with money.

[-- Attachment #2: Type: text/html, Size: 1253 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-user] Re: Grub problems on old proliant
  2018-03-22 22:57 [gentoo-user] Grub problems on old proliant mad.scientist.at.large
@ 2018-03-23  0:51 ` mad.scientist.at.large
  2018-03-23 12:13 ` [gentoo-user] " Mick
  1 sibling, 0 replies; 6+ messages in thread
From: mad.scientist.at.large @ 2018-03-23  0:51 UTC (permalink / raw
  To: Gentoo User

[-- Attachment #1: Type: text/plain, Size: 1626 bytes --]

sorry, it was silly of me to try to install one grub on top of another.  managed to foul up grub, putting secondary os back in so i can do it right.  hopefully i can just update grub manually.

mad.scientist.at.large (a good madscientist)
--
God bless the rich, the greedy and the corrupt politicians they have put into office.   God bless them for helping me do the right thing by giving the rich my little pile of cash.  After all, the rich know what to do with money.


22. Mar 2018 16:57 by mad.scientist.at.large@tutanota.com <mailto:mad.scientist.at.large@tutanota.com>:


> When I run "grub-install/dev/boot" (following the manual) I i get the error "grub-install: error: cannot find a GRUB for /dev/boot.  Check your device map"  I looked at the /boot partition and there is no device map.  
>
> I'm installing gentoo running debian.  I have another os so the boot partition should be properly set up.  This is on an ancient hp proliant dl385, Gen 1.  debian is running grub 2.02~beta3-5.  This machine does not use uefi, and the raid driver is in the kernel.
>
>  Do i need to hack together the device map or?  Any help appreciated, thank you.  
>
> Unfortunately i'm more familiar with grub legacy than grub2, studying manual now (it's very verbose and takes a bit to absorb enough to use it.
>
> mad.scientist.at.large (a good madscientist)
> --
> God bless the rich, the greedy and the corrupt politicians they have put into office.   God bless them for helping me do the right thing by giving the rich my little pile of cash.  After all, the rich know what to do with money.
>

[-- Attachment #2: Type: text/html, Size: 2089 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Grub problems on old proliant
  2018-03-22 22:57 [gentoo-user] Grub problems on old proliant mad.scientist.at.large
  2018-03-23  0:51 ` [gentoo-user] " mad.scientist.at.large
@ 2018-03-23 12:13 ` Mick
  2018-03-23 22:03   ` mad.scientist.at.large
       [not found]   ` <<2610514.yBIh6t5ZGD@dell_xps>
  1 sibling, 2 replies; 6+ messages in thread
From: Mick @ 2018-03-23 12:13 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1757 bytes --]

On Thursday, 22 March 2018 22:57:31 GMT mad.scientist.at.large@tutanota.com 
wrote:
> When I run "grub-install/dev/boot" (following the manual) I i get the error
> "grub-install: error: cannot find a GRUB for /dev/boot.  

You have typed no space between the command 'grub-install' and the device.

Do you have a "/dev/boot" device listed in your filesystem?

If yes, is it pointing to the disk (e.g.) /dev/sda where you want the GRUB 
boot code to be installed?


> Check your device
> map"  I looked at the /boot partition and there is no device map. 

A device map would be needed if you had some fancy mapping of devices Vs 
device file names in your OS, or if your devices are occasionally probed by 
BIOS in a different order, thus ending up under /dev/sdX instead of /dev/sdY.


> I'm installing gentoo running debian.  I have another os so the boot
> partition should be properly set up.  This is on an ancient hp proliant
> dl385, Gen 1.  debian is running grub 2.02~beta3-5.  This machine does not
> use uefi, and the raid driver is in the kernel.
> 
>  Do i need to hack together the device map or?  Any help appreciated, thank
> you. 

I don't think you need a device map, unless you suffer from the irregular 
probing of your disks/partitions by your BIOS.


> Unfortunately i'm more familiar with grub legacy than grub2, studying manual
> now (it's very verbose and takes a bit to absorb enough to use it.

You can still install grub legacy, but grub2 is relatively straight forward as 
long as you get the command syntax correct and you do not forget to run grub-
mkconfig every time you install/remove a kernel.

You may want to have a look at this page, if you haven't done so already:

https://wiki.gentoo.org/wiki/GRUB2

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Grub problems on old proliant
  2018-03-23 12:13 ` [gentoo-user] " Mick
@ 2018-03-23 22:03   ` mad.scientist.at.large
  2018-03-23 23:45     ` Mick
       [not found]   ` <<2610514.yBIh6t5ZGD@dell_xps>
  1 sibling, 1 reply; 6+ messages in thread
From: mad.scientist.at.large @ 2018-03-23 22:03 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2050 bytes --]

I appreciate the pointers.  however it also said that it couldn't embed grub.  I believer my error was installing it to the boot partition and/or the fact that a different (64b vs 32b).  unfortunately i did mess it up enough that grub went to the rescue/command line when i tried to reboot.  Starting over, gentoo partition is fine  so i just need an os to wok under while i properly config grub2, rather than trying to install grub on a partition rather than a disk (have a /boot partition), that should work.  that's what happens when i try to do things with a bad headache because i'm bored and need a distraction.  On the other hand i've developed an understanding of what the handbook says and learned more about text shell commands.  Thank you again.


mad.scientist.at.large (a good madscientist)
--
God bless the rich, the greedy and the corrupt politicians they have put into office.   God bless them for helping me do the right thing by giving the rich my little pile of cash.  After all, the rich know what to do with money.


23. Mar 2018 06:13 by michaelkintzios@gmail.com <mailto:michaelkintzios@gmail.com>:


> On Thursday, 22 March 2018 22:57:31 GMT > mad.scientist.at.large@tutanota.com <mailto:mad.scientist.at.large@tutanota.com>>  
> wrote:
>> When I run "grub-install/dev/boot" (following the manual) I i get the error
>> "grub-install: error: cannot find a GRUB for /dev/boot.  
>
> You have typed no space between the command 'grub-install' and the device.
>
> Do you have a "/dev/boot" device listed in your filesystem?
>
> If yes, is it pointing to the disk (e.g.) /dev/sda where you want the GRUB 
> boot code to be installed?
>
>
>> Check your device
>> map"  I looked at the /boot partition and there is no device map. 
> ...............................................................................
> You may want to have a look at this page, if you haven't done so already:
>
> https://wiki.gentoo.org/wiki/GRUB2 <https://wiki.gentoo.org/wiki/GRUB2>
>
> -- 
> Regards,
> Mick

[-- Attachment #2: Type: text/html, Size: 2649 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Grub problems on old proliant
       [not found]     ` <L8JstZ6--3-0@tutanota.com-L8Jt0B6----0>
@ 2018-03-23 22:06       ` mad.scientist.at.large
  0 siblings, 0 replies; 6+ messages in thread
From: mad.scientist.at.large @ 2018-03-23 22:06 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2695 bytes --]

sorry, that should be "I believer my error was installing it to the boot partition and/or the fact that a different (64b vs 32b) grub, i.e. different versions of grub and likely different revisions."
mad.scientist.at.large (a good madscientist)
--
God bless the rich, the greedy and the corrupt politicians they have put into office.   God bless them for helping me do the right thing by giving the rich my little pile of cash.  After all, the rich know what to do with money.


23. Mar 2018 16:03 by mad.scientist.at.large@tutanota.com <mailto:mad.scientist.at.large@tutanota.com>:


>     I appreciate the pointers.  however it also said that it couldn't embed grub.  I believer my error was installing it to the boot partition and/or the fact that a different (64b vs 32b).  unfortunately i did mess it up enough that grub went to the rescue/command line when i tried to reboot.  Starting over, gentoo partition is fine  so i just need an os to wok under while i properly config grub2, rather than trying to install grub on a partition rather than a disk (have a /boot partition), that should work.  that's what happens when i try to do things with a bad headache because i'm bored and need a distraction.  On the other hand i've developed an understanding of what the handbook says and learned more about text shell commands.  Thank you again.
>
>
> mad.scientist.at.large (a good madscientist)
> --
> God bless the rich, the greedy and the corrupt politicians they have put into office.   God bless them for helping me do the right thing by giving the rich my little pile of cash.  After all, the rich know what to do with money.
>
>
> 23. Mar 2018 06:13 by > michaelkintzios@gmail.com <mailto:michaelkintzios@gmail.com>> :
>
>
>> On Thursday, 22 March 2018 22:57:31 GMT >> mad.scientist.at.large@tutanota.com <mailto:mad.scientist.at.large@tutanota.com>>>  
>> wrote:
>>> When I run "grub-install/dev/boot" (following the manual) I i get the error
>>> "grub-install: error: cannot find a GRUB for /dev/boot.  
>>
>> You have typed no space between the command 'grub-install' and the device.
>>
>> Do you have a "/dev/boot" device listed in your filesystem?
>>
>> If yes, is it pointing to the disk (e.g.) /dev/sda where you want the GRUB 
>> boot code to be installed?
>>
>>
>>> Check your device
>>> map"  I looked at the /boot partition and there is no device map. 
>> ...............................................................................
>> You may want to have a look at this page, if you haven't done so already:
>>
>> https://wiki.gentoo.org/wiki/GRUB2 <https://wiki.gentoo.org/wiki/GRUB2>
>>
>> -- 
>> Regards,
>> Mick

[-- Attachment #2: Type: text/html, Size: 3487 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Grub problems on old proliant
  2018-03-23 22:03   ` mad.scientist.at.large
@ 2018-03-23 23:45     ` Mick
  0 siblings, 0 replies; 6+ messages in thread
From: Mick @ 2018-03-23 23:45 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 616 bytes --]

On Friday, 23 March 2018 22:03:45 GMT mad.scientist.at.large@tutanota.com 
wrote:
> I appreciate the pointers.  however it also said that it couldn't embed
> grub.  I believer my error was installing it to the boot partition 

You can install grub in the MBR of a disk, or in the boot record of a 
partition, should you so wish.

If the latter, then you will have to chainload the partition's GRUB from 
another primary boot loader.  You could have grub legacy on your /boot 
partition and have this chainloaded from grub2, LILO, etc., which you 
installed in the MBR of your disk, USB stick, etc.

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-03-23 23:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-22 22:57 [gentoo-user] Grub problems on old proliant mad.scientist.at.large
2018-03-23  0:51 ` [gentoo-user] " mad.scientist.at.large
2018-03-23 12:13 ` [gentoo-user] " Mick
2018-03-23 22:03   ` mad.scientist.at.large
2018-03-23 23:45     ` Mick
     [not found]   ` <<2610514.yBIh6t5ZGD@dell_xps>
     [not found]     ` <L8JstZ6--3-0@tutanota.com-L8Jt0B6----0>
2018-03-23 22:06       ` mad.scientist.at.large

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox