help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New Grub2 verses Debian 9.5


From: jmh6
Subject: Re: New Grub2 verses Debian 9.5
Date: Thu, 18 Oct 2018 04:30:46 -0400 (EDT)
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)


p.s.- Pascal complains that I am 'top posting' Not sure what that means or how to not do it....

Hi Randy,

   Thanks.

   Just tried  grub-install --force /dev/sdb
     Got warnings
     and a complete without errors message :)


   Now begins to boot from SD :). Progress!!

   --------------

   Tries to boot
      falls into grub boot menu

   tried first entry
      *Debian GNU/Linux
            no such device

   tried Debian...9 on /dev/sdd1
      starts to boot Debian
     Alert! /dev/sdd1 does not exist

   falls into Busybox v1.22.1 built in shell

  -----------------------------------

Seems VERY close but correct name for the newly mounted SD seems wrong. I should probably be /dev/sdb1.

Not sure how to fix that piece.

Thanks in advance for your time and help.

John


On Wed, 17 Oct 2018, Randy Goldenberg wrote:

Try:

grub-install --force /dev/sdb

On Wednesday October 17, 2018, address@hidden wrote:

Hi Dale,

Here is what I see. I realize I 'should' have asked the version of grub-install being used on Debian 9.5 for its version number. Please let me know if you would like that.

------------------------------------------------------

debian-9.5.0-amd64-netinst.iso  - Debian installed on SD card
super_grub2_disk_hybrid_2.02s9.iso - grub memory stick being used

To start Debian 9.5 on SD that will not boot:

Start grub memory stick version above.

Grub finds HD2-MSDOS1 - vmlinuz 4.9.0-7-AMD64

Highlight and boot. Takes a while and boots.

Debian 9.5 login

/proc/partitions

   sda1 - Main hard drive - not being used - various partitions
   sdc1 - grub memory stick - various partitions
   sdb - SD with Debian 9.5
    sdb1 - 9.9GB - Debian 9.5 image
    sdb2 - small
    sdb3 5.45GB swap

------------------------

grub-install of Debian 9.5 tries to install grub on /dev/sdb - fails

address@hidden:~/Desktop# grub-install /dev/sdb
Installing for i386-pc platform.
grub-install: warning: Attempting to install GRUB to a disk with multiple partit grub-install: warning: Embedding is not possible. GRUB can only be installed in
grub-install: error: will not proceed with blocklists.
address@hidden:~/Desktop# grub-install /dev/sdb
Installing for i386-pc platform.
grub-install: warning: Attempting to install GRUB to a disk with multiple partit grub-install: warning: Embedding is not possible. GRUB can only be installed in
grub-install: error: will not proceed with blocklists.
address@hidden:~/Desktop#

---------------------------------------------------------------

Just noticed some the text above was clipped :(.

If I knew what was needed, I would just hexedit the MBR boot :) :). I bet it would 'just work' then.

Thanks for your time and help.

John Concord,NH


On Tue, 16 Oct 2018, Dale R. Worley wrote:

address@hidden writes:
   So far I have not been able to figure out how to tell grub-install to
put in the correct start address, etc. Grub-install fails with some
obscure message saying basically I will not do what you want. This is
apparently a new 'feature'.

Of course, you need to tell us the command that you executed, and what
grub-install said.  And also the contents of any files that grub-install
is using as input.

I do know these sorts of installations are tricky ... grub-install has
to figure out how the BIOS will present the SD card to Grub when it
first starts running, so it can tell Grub how to finish starting up the
installation on the SD card.

Dale

_______________________________________________
Help-grub mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-grub


_______________________________________________
Help-grub mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-grub

_______________________________________________
Help-grub mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-grub




reply via email to

[Prev in Thread] Current Thread [Next in Thread]