Dúvida sobre linux de HD em outra placa [RESOLVIDO]

1. Dúvida sobre linux de HD em outra placa [RESOLVIDO]

Marco Brainiac
mbrainiac

(usa Debian)

Enviado em 24/12/2012 - 18:14h

Pessoal,

Precisei trocar de placa e processador, preciso reinstalar o linux no HD, ou posso mantê-lo, como fazer para recuperar?

O Grub sumiu, e tive de reinstalar o win xp no dual boot com SolusOS.

Feliz Natal


  


2. MELHOR RESPOSTA

Perfil removido
removido

(usa Nenhuma)

Enviado em 24/12/2012 - 19:36h

-se vc não deletou o solus.os recupere o grub com o live-cd
http://www.vivaolinux.com.br/dica/Como-recuperar-o-GRUB-em-3-comandos-Esse-funciona/
-reinicie o pc
-rode o comando " sudo update-grub "
-reinicie o pc

3. Re: Dúvida sobre linux de HD em outra placa [RESOLVIDO]

Diego Cabral
diegocabral484

(usa Arch Linux)

Enviado em 24/12/2012 - 18:27h

Que placa seria essa, placa de vídeo ou placa mãe?


4. Re: Dúvida sobre linux de HD em outra placa [RESOLVIDO]

Marco Brainiac
mbrainiac

(usa Debian)

Enviado em 24/12/2012 - 18:36h

Oi,
Antiga:

Placa Azus, processador amd atlhon xp, 1.9ghz com entrada de hd sata ou ide

atual

Placa winfast, processador sempron amd 3000, 1.850 ghz placa de video off board com memória (preciso conformar a marca)


5. Re: Dúvida sobre linux de HD em outra placa [RESOLVIDO]

Marco Brainiac
mbrainiac

(usa Debian)

Enviado em 24/12/2012 - 20:22h

clodoaldops escreveu:

-se vc não deletou o solus.os recupere o grub com o live-cd
http://www.vivaolinux.com.br/dica/Como-recuperar-o-GRUB-em-3-comandos-Esse-funciona/
-reinicie o pc
-rode o comando " sudo update-grub "
-reinicie o pc


Obrigado amigo,

vou tentar e retorno




6. Re: Dúvida sobre linux de HD em outra placa [RESOLVIDO]

Marco Brainiac
mbrainiac

(usa Debian)

Enviado em 02/01/2013 - 15:44h

clodoaldops escreveu:

-se vc não deletou o solus.os recupere o grub com o live-cd
http://www.vivaolinux.com.br/dica/Como-recuperar-o-GRUB-em-3-comandos-Esse-funciona/
-reinicie o pc
-rode o comando " sudo update-grub "
-reinicie o pc



OI TEntei,

Parece que num foi?


solusos / # update-grub
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
Generating grub.cfg ...
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
Found background: /usr/share/backgrounds/splash.jpg
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
Found background image: /usr/share/backgrounds/splash.jpg
error: cannot seek `/dev/sdb'.
Found linux image: /boot/vmlinuz-3.3.6-solusos
Found initrd image: /boot/initrd.img-3.3.6-solusos
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
Cannot find list of partitions! (Try mounting /sys.)
done

tentei tb por?

solusos live # fdisk -l

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xee3fee3f

Device Boot Start End Blocks Id System
/dev/sda1 * 1 10200 81923072 7 HPFS/NTFS
/dev/sda2 10200 10455 2048000 82 Linux swap / Solaris
/dev/sda3 10455 15306 38972416 83 Linux
/dev/sda4 15307 30401 121250587+ 7 HPFS/NTFS

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x62d264e1

Device Boot Start End Blocks Id System
/dev/sdb1 1 19457 156288321 42 SFS
solusos live # mkdir linux
solusos live # mount /dev/sda3 linux
solusos live # mount -o bind /dev linux/dev
solusos live # mount -t proc none linux/proc
solusos live # chroot linux /bin/bash
solusos / # source /etc/profile
solusos / # cat /proc/mounts > /etc/mtab

solusos / # grub-install --recheck /dev/sda3
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
/usr/sbin/grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea..
/usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
/usr/sbin/grub-setup: error: if you really want blocklists, use --force.


http://tiagomadeira.com/2008/06/como-recuperar-o-boot-do-linux-depois-de-instalar-o-windows/



7. Re: Dúvida sobre linux de HD em outra placa [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 02/01/2013 - 16:16h

-qual "visão" que o gparted dá de suas partições?


8. Re: Dúvida sobre linux de HD em outra placa [RESOLVIDO]

Marco Brainiac
mbrainiac

(usa Debian)

Enviado em 02/01/2013 - 16:20h

live@solusos ~ $ sudo fdisk -l



Disk /dev/sda: 250.1 GB, 250059350016 bytes

255 heads, 63 sectors/track, 30401 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0xee3fee3f



Device Boot Start End Blocks Id System

/dev/sda1 * 1 10200 81923072 7 HPFS/NTFS

/dev/sda2 10200 10455 2048000 82 Linux swap / Solaris

/dev/sda3 10455 15306 38972416 83 Linux

/dev/sda4 15307 30401 121250587+ 7 HPFS/NTFS



Disk /dev/sdb: 160.0 GB, 160041885696 bytes

255 heads, 63 sectors/track, 19457 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x62d264e1



Device Boot Start End Blocks Id System

/dev/sdb1 1 19457 156288321 42 SFS



Disk /dev/sdc: 8004 MB, 8004304896 bytes

35 heads, 21 sectors/track, 21269 cylinders

Units = cylinders of 735 * 512 = 376320 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x00000000



Device Boot Start End Blocks Id System

/dev/sdc1 1 21270 7816688 b W95 FAT32

live@solusos ~ $ sudo mount -t ext4 /dev/sda3 /mnt

live@solusos ~ $ sudo grub-install --root-directory=/mnt /dev/sda

error: cannot seek `/dev/sdb'.

error: cannot seek `/dev/sdb'.

error: cannot seek `/dev/sdb'.

error: cannot seek `/dev/sdb'.

error: cannot seek `/dev/sdb'.

error: cannot seek `/dev/sdb'.

Installation finished. No error reported.


Depois dentro do linux recuperado vá em terminal

sudo update-grub

error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
Generating grub.cfg ...
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
Found background: /usr/share/backgrounds/splash.jpg
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
Found background image: /usr/share/backgrounds/splash.jpg
error: cannot seek `/dev/sdb'.
Found linux image: /boot/vmlinuz-3.3.6-solusos
Found initrd image: /boot/initrd.img-3.3.6-solusos
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
Found Microsoft Windows XP Professional on /dev/sda1
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
error: cannot seek `/dev/sdb'.
done



9. Re: Dúvida sobre linux de HD em outra placa [RESOLVIDO]

Marco Brainiac
mbrainiac

(usa Debian)

Enviado em 02/01/2013 - 16:21h

obrigado Clodoaldo, deu certo mesmo com placa mãe e processador diferentes.

Feliz ano novo






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts