1 |
Le 2015-08-27 14:23, Fernando Rodriguez a écrit : |
2 |
> |
3 |
> I just got it to work with these steps: |
4 |
> |
5 |
> 1. Mount the partition to /mnt/usb |
6 |
> 2. Run: |
7 |
> |
8 |
> #grub2-install --directory /usr/lib/grub/i386-pc --boot- |
9 |
> directory=/mnt/usb/boot --force /dev/sdb2 |
10 |
> Installing for i386-pc platform. |
11 |
> grub2-install: warning: File system `ext2' doesn't support embedding. |
12 |
> grub2-install: warning: Embedding is not possible. GRUB can only be installed |
13 |
> in this setup by using blocklists. However, blocklists are UNRELIABLE and |
14 |
> their use is discouraged.. |
15 |
> Installation finished. No error reported. |
16 |
> |
17 |
> 3. Set the partition as active with fdisk. |
18 |
> |
19 |
> And it booted. To verify that it didn't overwrite the mbr I overwrote it with |
20 |
> syslinux's mbr as follows: |
21 |
> |
22 |
> sudo dd conv=notrunc bs=440 count=1 if=/usr/share/syslinux/mbr.bin of=/dev/sdb |
23 |
> |
24 |
> Still boots! |
25 |
> |
26 |
> |
27 |
> |
28 |
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? |
29 |
|
30 |
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. |
31 |
With grub1 you just tell it what type of display you want. |
32 |
|
33 |
-- |
34 |
For Linux Software visit |
35 |
http://home.comcast.net/~mcatudal |
36 |
http://sourceforge.net/projects/suzielinux/ |