You are not logged in.

#1 2010-08-09 20:28:28

Mount56
Member
Registered: 2010-07-11
Posts: 5

Upgrading Grub fail [solved]

sda1 - /boot
sda2 - swap
sda3 - /
sda4 - /home

The problem
I started an upgrade to grub2 like usual but this time I forgot to install-grub /dev/sda1 after removing the previous grub as a conflict.
When I restarted I got the grub command line on boot of grub0.98.

What I've done
I to live arch an mounted, sda3, proc, dev and sys to my existing system.
Then I mounted sda1 to a folder inside sda3.
Chrooted into the new system, updated the mtab (wrongly perhaps) and typed install-grub /dev/sda1 --force.
Rebooted and I got the grub 1.97, or whatever the latest is, command line.
It set the root as my sda3 so I changed the root to sda1 and set the kernel and initrd, then typed boot.

It loaded everything fine until it says that no init can be found in /sbin/init...
then I'm in ramfs command line and I'm pretty stuck now :S

I've edited it to make it a bit clearer since I thought it was a bit of a mess

Any help is appreciated a lot!

Last edited by Mount56 (2010-08-10 11:40:25)

Offline

#2 2010-08-10 11:39:57

Mount56
Member
Registered: 2010-07-11
Posts: 5

Re: Upgrading Grub fail [solved]

I've fixed it, during the linux /vmlinuz26 root=ddev/sda3 ro -- I set it to sda1 by mistake

Offline

Board footer

Powered by FluxBB