Enviado em 27/02/2014 - 16:17h
Eu instalei o Mageia no computador da sala que tem várias partições:
[root@localhost live]# fdisk -l
Disk /dev/sda: 250.1 GB, 250058268160 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cilindros of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0006eb7c
Dispositivo Boot Start End Blocks Id System
/dev/sda1 * 1 30401 244196001 7 HPFS ou NTFS
Disk /dev/sdb: 250.1 GB, 250058268160 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cilindros of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb53daf17
Dispositivo Boot Start End Blocks Id System
/dev/sdb1 * 1 4045 32482422 83 Linux
/dev/sdb2 4045 30401 211712572 5 Estendida
/dev/sdb5 4045 4722 5446003+ 82 Linux swap / Solaris
/dev/sdb6 4723 30401 206266536 83 Linux
Disk /dev/sdc: 500.1 GB, 500106780160 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cilindros of 16065 * 512 = 8225280 bytes
Disk identifier: 0x5ccbddf8
Dispositivo Boot Start End Blocks Id System
/dev/sdc1 * 1 12748 102398278+ 7 HPFS ou NTFS
/dev/sdc2 12749 60801 385985722+ 5 Estendida
/dev/sdc5 12749 60801 385985691 83 Linux
Disk /dev/sdd: 160.0 GB, 160040803840 bytes
240 heads, 63 sectors/track, 20673 cylinders
Units = cilindros of 15120 * 512 = 7741440 bytes
Disk identifier: 0x00400040
Dispositivo Boot Start End Blocks Id System
/dev/sdd1 1 20672 156280288+ 7 HPFS ou NTFS
mount /dev/sdb1 /mnt
mount --bind /dev /mnt/dev
grub-install --root-directory=/mnt /dev/sdb
mount /dev/sde1 /mnt
mount --bind /dev /dev/mnt/dev
grub-install --root-directory=/mnt /dev/sde
mkdir sdf
mount -t fat32 /dev/sdf /sdf
[live@localhost ~]$ lsb_release
LSB Version: lsb-4.0-amd64:lsb-4.0-noarch:*
[live@localhost ~]$ uname -a
Linux localhost 2.6.31.5-desktop-1mnb #1 SMP Fri Oct 23 00:05:22 EDT 2009 x86_64 Intel(R) Pentium(R) D CPU 2.80GHz GNU/Linux
[live@localhost ~]$ find /media/disk -name *grub* 2>/dev/null
/media/disk/usr/sbin/grub-md5-crypt
/media/disk/usr/sbin/grub-install
/media/disk/usr/sbin/grub-gfxmenu
/media/disk/usr/sbin/grub-terminfo
/media/disk/usr/sbin/grub
/media/disk/usr/lib/grub
/media/disk/usr/share/doc/grub-doc
/media/disk/usr/share/doc/grub-doc/grub.ps
/media/disk/usr/share/info/grub.info.xz
/media/disk/usr/share/vim/ftplugin/grub.vim
/media/disk/usr/share/vim/syntax/grub.vim
/media/disk/usr/share/man/man8/grub-terminfo.8.xz
/media/disk/usr/share/man/man8/grub-md5-crypt.8.xz
/media/disk/usr/share/man/man8/grub.8.xz
/media/disk/usr/share/man/man8/grub-install.8.xz
/media/disk/boot/grub
/media/disk/boot/grub/grubenv
Aprenda a Gerenciar Permissões de Arquivos no Linux
Como transformar um áudio em vídeo com efeito de forma de onda (wave form)
Como aprovar Pull Requests em seu repositório Github via linha de comando
Como instalar o Google Cloud CLI no Ubuntu/Debian
Mantenha seu Sistema Leve e Rápido com a Limpeza do APT!
Procurando vídeos de YouTube pelo terminal e assistindo via mpv (2025)
como instalar o docker desktop e o docker no debian 12 arm64 (11)