Le 2015-08-27 14:23, Fernando Rodriguez a écrit :

I just got it to work with these steps:

1. Mount the partition to /mnt/usb
2. Run:

#grub2-install --directory /usr/lib/grub/i386-pc --boot-
directory=/mnt/usb/boot --force /dev/sdb2
Installing for i386-pc platform.
grub2-install: warning: File system `ext2' doesn't support embedding.
grub2-install: warning: 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.

3. Set the partition as active with fdisk.

And it booted. To verify that it didn't overwrite the mbr I overwrote it with
syslinux's mbr as follows:

sudo dd conv=notrunc bs=440 count=1 if=/usr/share/syslinux/mbr.bin of=/dev/sdb

Still boots!



Thanks for the info. I will use this next time. How do you tell it to use some 
other display beside display for the blind?

I don't care for the automatic ways of grub2, I prefer to edit the boot file by 
hand and have a nice command line screen.
With grub1 you just tell it what type of display you want.

--
For Linux Software visit
http://home.comcast.net/~mcatudal
http://sourceforge.net/projects/suzielinux/


Reply via email to