Mudanças entre as edições de "Grub"
De MochilaWiki
Ir para navegaçãoIr para pesquisar (Criou página com '* http://gnu2all.blogspot.com/2012/02/fedora-adicionando-outras-distribuicoes.html * http://www.dedoimedo.com/computers/grub-2.html') |
|||
(2 revisões intermediárias pelo mesmo usuário não estão sendo mostradas) | |||
Linha 1: | Linha 1: | ||
+ | <source lang="bash"> | ||
+ | apt-get install os-prober | ||
+ | </source> | ||
+ | |||
+ | em debian squeeze | ||
+ | <source lang="bash"> | ||
+ | grub-mkconfig /boot/grub/grub.cfg | ||
+ | </source> | ||
+ | |||
+ | == recuperar grub no Fedora == | ||
+ | <source lang="bash"> | ||
+ | mount /dev/mapper/vg_sereno-lv_root /mnt/ | ||
+ | mount /dev/sda5 /mnt/boot/ | ||
+ | mount -o bind /dev /mnt/dev | ||
+ | mount -o bind /proc /mnt/proc | ||
+ | mount -o bind /sys /mnt/sys | ||
+ | mount -t tmpfs /mnt/tmpfs /mnt/tmp | ||
+ | chroot /mnt | ||
+ | grub2-install /dev/sda | ||
+ | grub2-mkconfig -o /boot/grub2/grub.cfg | ||
+ | </source> | ||
+ | |||
+ | |||
* http://gnu2all.blogspot.com/2012/02/fedora-adicionando-outras-distribuicoes.html | * http://gnu2all.blogspot.com/2012/02/fedora-adicionando-outras-distribuicoes.html | ||
* http://www.dedoimedo.com/computers/grub-2.html | * http://www.dedoimedo.com/computers/grub-2.html | ||
+ | |||
+ | |||
+ | == UEFI == | ||
+ | * https://www.thomas-krenn.com/en/wiki/Restore_Ubuntu_UEFI_Boot_Entries_after_BIOS_Update | ||
+ | * https://github.com/konklone/debian/blob/master/installing.md | ||
+ | * https://www.vivaolinux.com.br/dica/Dual-boot-UEFI-Ubuntu-e-Windows-8 | ||
+ | * https://wiki.debian.org/UEFI | ||
+ | * https://wiki.ubuntu.com/DellBIOS | ||
+ | * http://askubuntu.com/questions/281321/grub-efi-entries-and-boot-repair |
Edição atual tal como às 21h21min de 20 de abril de 2016
apt-get install os-prober
em debian squeeze
grub-mkconfig /boot/grub/grub.cfg
recuperar grub no Fedora
mount /dev/mapper/vg_sereno-lv_root /mnt/
mount /dev/sda5 /mnt/boot/
mount -o bind /dev /mnt/dev
mount -o bind /proc /mnt/proc
mount -o bind /sys /mnt/sys
mount -t tmpfs /mnt/tmpfs /mnt/tmp
chroot /mnt
grub2-install /dev/sda
grub2-mkconfig -o /boot/grub2/grub.cfg
- http://gnu2all.blogspot.com/2012/02/fedora-adicionando-outras-distribuicoes.html
- http://www.dedoimedo.com/computers/grub-2.html
UEFI
- https://www.thomas-krenn.com/en/wiki/Restore_Ubuntu_UEFI_Boot_Entries_after_BIOS_Update
- https://github.com/konklone/debian/blob/master/installing.md
- https://www.vivaolinux.com.br/dica/Dual-boot-UEFI-Ubuntu-e-Windows-8
- https://wiki.debian.org/UEFI
- https://wiki.ubuntu.com/DellBIOS
- http://askubuntu.com/questions/281321/grub-efi-entries-and-boot-repair