![]() ![]() Home/:mkinitramfs-ll/:supervision/:e-gtk-theme/:overlay/ Again, a workaround I was forced to do because of ext2 module wasn't included in attempt to install grub2. And the `-modules' switch is handy to be sure that the FS module of your /boot device is included in the image. If you need to generate a grub.cfg, just go ahead. If you have a devicemap file, because you said you had grub2 running before (?), you could add `-grub-mkdevice=/boot/grub2/device.map' to the grub2-install. Notice that you have a Z shell by default with SystemRescueCD (hence the `%' instead of `$' in the example). % grub2-install -modules=ext2 -no-floppy /dev/sd So do you chroot to your target device before trying to run grub2-install? ![]() SystemRescueCD is handy because it has a complet set of tools to do that king of stuff. So, chrooting to the root of your target device is required. This is not an official guidline, it's just I tried a few weeks ago to run grub2-install with SystemRescueCD and noticed a failure to properly install to a disk (the root of the livecd was in tmpfs). If you're trying to install from a livecd, you may/have to chroot before running grub2-install. Grub2-install /dev/sda doesn't work (well it says no errors, but there's no effect at all). Those that have never had a hard drive fail. If you update grub for any reason, you *must* reinstall grub to the MBR. The difference is, that there is no space to install grub stage1.5, so stage1 loads grub stage2 directly by knowing where it is on the disk. You will have a protective MBR partition table in block0 and grub stage1 installs here as normal. Somehow Grub is "starting" if I start the hdd itself, but it crashes after it prints: "GRUB", so that doesn't help.ītw I got a efi-fat32 partition where I installed grub earlier, but again, I can't access the EFI. So tell me: how could I install grub2 into systemboot? There's no MBR and I can't write to EFI. efivars was able as well on the livecd as on my system. I modprobed efivars but that error didn't vanished. I'm using stable as much as possible, so I'm on gcc-4.5.3-r1 not 4.6įatal: Couldn't open either sysfs or procfs directories for accessing EFI variables. I'm downloading a minimal image currently to do what you told me. Last edited by tclover on Fri 9:21 pm edited 1 time in total Maybe it's no use as I'm having an clueless `invalid signature' error.ĮDIT: By the way, did compile grub2 with =gcc-4.6 is problematic at the moment.ĮDIT2: sorry for the engrish. You could try to chroot into you box, with SystemrescuCD if necessary, and then recompile grub2 and install it to disk again. If this is the wrong subforum, make some1 move my thread plz. Last edited by Manu311 on Sun 1:19 am edited 1 time in total My gentoo is mostly amd64, I got used to grub2 long ago, so I'm using that instead of legacy. Oh btw my grub2 boot disk is "super grub2 disk". I recompiled the kernel with every efi option I found (even the framebuffer. So I haven't found a working solution for nr 1 and I can't find what could cause issue number 2. This process is repeatable every single time, dmesg doesn't show any information at all (well it shows "up" and "down" when I execute the ifconfigs. Fix: ifconfig down, up and a route add (for internet pings). I can't ping any machine from that moment forward. The complete network stops working at that moment. I open up a couple of connections (after starting only x) e.g. I boot up my pc, network & internet is working. ![]() Btw I compiled grub with "grub_platforms_efi-64" Starting grub2 from hard disk (like I did before) it's going into rescue mode and telling me: "error: invalid arch independent ELF magic." Starting Grub2: Currently I'm starting with a grub2 live cd and just executing configfile (hd0,1)/boot/grub2/grub.cfg. I changed recently from MBR to GPT because windows 7 requires gpt on an efi bios pc.ġ. Posted: Fri 12:49 am Post subject: Converting MBR to GPT caused some problems Gentoo Forums Forum Index Other Things Gentoo ![]() Converting MBR to GPT caused some problems Gentoo Forums :: View topic - Converting MBR to GPT caused some problems ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |