Recuperé Grub2 desde la cónsola de rescate, sin CD-Live
No such partition
grub rescue>
Con el cursor en esta última línea de comandos para recuperar el Grub2. Me salió este mensaje porque al cambiar de partición a /boot y sin actualizar el grub2, este sigue buscando el kernel y el inird donde antes estaba /boot.
Estaba en la peor de las situaciones (casi), porque no tenía una computadora de respaldo para buscar documentación sobre los comandos de la cóndola de Grub2; tenía imágenes ISO de Debian, Ubuntu y de como 8 distribuciones más, pero todas en el disco y sin poder acceder para quemarlas :(. Sabemos que no es fácil encontrar una distro en la farmacia de la esquina y no quería buscar un Windows ni nada de eso :). Así que fui a un Cyber y busqué información de los comandos y encontré esto:
https://help.ubuntu.com/community/Grub2
En la sección Command Line and Recue Mode, encontré lo que necesitaba, con lo que hice una medio guía:
Primero vemos qué particiones tenemos con:
>ls
Debería aparecer algo en este formato: (hdX) (hdX,A) (hdX,B)... tantas como particiones tengamos. Siendo hdX el disco (hd0,hd1,etc...) y el segundo parámetro es la partición (0,1,etc... ó msdos1,msdos2,etc..., según el tipo de partición).
Si ejecutamos ls (hdX,Y)/ aparecerá lo que hay dentro de esa partición en su carpeta raíz.
Luego asignamos el prefijo donde está el /boot/grub:
>set prefix=(hdX,Y)/boot/grub
Si la partición (hdX,Y) sólo es para /boot, tendríamos que colocar algo así:
>set prefix=(hdX,Y)/grub
Después asignamos la partición raíz:
>set root=(hdX,Y)
Con ls / o con ls /boot, ya podemos ver lo que hay dentro de estos directorios en la partición que escogimos.
Cargamos los módulos adicionales para asignar el kernel y el initrd desde el cual vamos a iniciar el sistema:
>insmod /boot/grub/linux.mod
Asignamos el kernel:
>linux /vmlinuz root=/dev/sdXY ro
Siendo /dev/sdXY (ej.: /dev/sda1) la partición donde está el grub.
Asignamos el initrd:
>initrd /initrd.img
Si queremos un kernel e initrd específicos, ejecutamos:
>linux /boot/vmlinuz-<versión> root=/dev/sdXY ro
>initrd /boot/initrd-<versión> root=/dev/sdXY ro
Y finalmente cargamos hacemos boot:
>boot
Al iniciar el sistema instalamos el Grub2 antes de reiniciar, porque sino vamos a tener que hacer todos los pasos otra vez. Desde una cónsola de root ejecutamos:
#grub-install --recheck /dev/sdXY
Siendo /dev/sdXY la partición donde está el directorio /boot.
Y actualizamos el grub2, ejecutando desde una cónsola root:
#update-grub
#update-grub2
Por ahora no me ha funcionado update-grub2 sólo, por eso ejecuto los dos.
Perdí la información pero recuperé el Grub2 xDD...
LATINCHAIN PLATFORM
Understanding the LatinChain Ecosystem
Your gateway to decentralized applications on the Pi Network.
Welcome to the LatinChain Ecosystem portal. As a decentralized application (dApp) built on the Pi Network, our goal is to provide real utility and seamless interaction for the Pi community. Whether you are a developer, a pioneer, or a casual user, understanding the difference between our Mainnet and Testnet environments is crucial for maximizing your experience.
Staking Pi to Boost Rank
Did you know you can directly support the growth of LatinChain Mainnet?
By Staking Pi on our app within the Pi Browser, you help boost our ranking in the ecosystem directory. A higher rank means more visibility, bringing more Pioneers into our community and increasing the value of the network for everyone.
Support us today and help LatinChain reach the top!
Why Choose the Mainnet?
The LatinChain Mainnet (latinchain.pinet.com) is the live production environment where real value is exchanged. By accessing the Mainnet, you are interacting with the fully operational version of our blockchain application.
- Real Utility: Every action contributes to the genuine activity of the network.
- Verified Status: Users who choose to support the ecosystem via donations can unlock "Verified" status. This signals your commitment to the community.
- Double Utility Bonus: Active usage on the Mainnet contributes to your Pi utility usage bonus.
The Role of the Testnet
The Testnet serves as our sandbox environment. It is designed for users who want to explore new features, test transaction flows, or understand the mechanics of the LatinChain token without using real Pi. It is the perfect training ground for new pioneers to get comfortable with Web3 interactions before moving to the Mainnet.
How the LatinChain Token Works
LatinChain is designed to foster a digital economy within the Pi Browser. By participating in either network, you are helping to stress-test and improve a growing financial ecosystem.
Select an option above to begin your journey.
The Evolution of Cryptocurrency: From Bitcoin's Genesis to Pi Network's Ecosystem (2008-nowadays)
The world of finance was forever changed in the aftermath of the 2008 global financial crisis. What started as an obscure proposal on a cryptography mailing list has transformed into a global technological revolution. Here is the journey of cryptocurrency from its inception to the present day.
The Genesis: Bitcoin and the Decentralized Dream (2008-2010)
In October 2008, an anonymous entity named Satoshi Nakamoto published a whitepaper titled "Bitcoin: A Peer-to-Peer Electronic Cash System." It introduced a revolutionary concept: a decentralized digital currency that required no central bank or administrator.
- The Genesis Block: On January 3, 2009, the first block of the Bitcoin network was mined, setting the foundation for a new financial paradigm.
- Proof of Work: This brilliant consensus mechanism solved the double-spending problem, ensuring complete trust in a trustless digital environment.
Programmable Money: Ethereum and the DeFi Explosion (2015-2021)
While Bitcoin proved the concept of digital scarcity, developers soon realized blockchain technology could do much more. In 2015, Ethereum launched, introducing "smart contracts"—self-executing code that lives directly on the blockchain.
- Decentralized Finance (DeFi): Ethereum enabled the creation of lending platforms, decentralized exchanges, and automated market makers.
- Mainstream Awareness: By 2021, the crypto market reached unprecedented heights, driven by global retail interest, digital art (NFTs), and the exciting promise of Web3.
Maturation and Institutional Adoption (2022-2024)
Following the euphoric highs of previous years, the industry entered a vital period of maturation. The global focus shifted from pure speculation to building robust, scalable infrastructure.
- Layer 2 Solutions: New networks built on top of base blockchains made transactions significantly faster and cheaper.
- Wall Street Entry: Major traditional financial institutions embraced Bitcoin ETFs, permanently cementing cryptocurrency as a legitimate and highly sought-after asset class.
The Accessibility Revolution: Pi Network (2025-nowadays)
Despite massive industry growth, a major barrier remained: traditional crypto mining was expensive and technically complex. Enter Pi Network, a visionary project designed to put cryptocurrency directly into the hands of everyday people. By nowadays, Pi Network has beautifully solidified its vision of creating a truly inclusive digital economy.
- Mobile-First Innovation: Pi revolutionized accessibility by allowing users to mine directly from their smartphones without draining battery life or data.
- Global Community: It successfully built one of the largest, most engaged, and widely distributed communities in the entire Web3 space.
- Everyday Utility: With a robust ecosystem of decentralized applications (dApps) and an innovative native KYC solution, Pi Network empowers millions of everyday users to transact, build, and interact seamlessly.
Takeaway: The journey from 2008 to nowadays highlights a monumental shift from niche cryptography to universal accessibility, paving the way for a financial future that truly includes everyone.
tengo este problema: instale Ubuntu en una particion que hice desde la misma instalacion y como me daba errores borré la participación desde win 7. Y ahora me sale eso de grub rescue. Como no estoy metido en este mundo tanto como tu me pierdo en la explicación pero tiene muy buena pinta. Ayuda por favor! ! ( no tengo ningún cd )
ReplyDeleteCreo que esta respuesta llega un poco tarde. Primero que todo te explico que tanto Linux como Windows tienen un gestor de arranque, que es la fase anterior a iniciar el Sistema Operativo. Linux usa Grub (entre otros, pero para este ejemplo te explico con Grub) y Windows usa MBR. Cuando instalas Windows se instala por defecto MBR, pero si después instalas Linux, sobreescribe el MBR e instala Grub, y viceversa.
DeleteEn tu caso instalaste Ubuntu de último. Luego de eso, si borras la partición donde estaba Ubuntu, cuando el sistema vaya a iniciar va a buscar por el Grub, el cual no va a estar porque se borró. Lo que debes hacer ahora es iniciar con un CD de Windows (busca un CD barato, por no decir pirata), busca la opción de reparar sistema. Cuando aparezca la opción Símbolo de Sistema entras y ejecutas este comando:
fixmbr
Esto restaurará el MBR de Windows y podrás iniciar normalmente de nuevo.