Status
Not open for further replies.

vignesh

Wise Old Owl
How to reinstall grub bootloader for Ubuntu 5.04.I tried chroot /mnt/sysimage it gives an error.
 

praka123

left this forum longback
is that something todo with ur hdd(bad sectors)?
otherwise chroot /mnt/sysimage might had worked.
another option is setup grub manually.read 'man grub' for details
#grub
grub>root (hd0,0)--->(if hda1 is your root)
If you are not sure which partition actually holds this directory,
use the command `find' (*note find::), like this:
grub> find /boot/grub/stage1
Once you've set the root device correctly, run the command `setup'
grub> setup (hd0).this may solve ur problem.u can either install GRUB in
MBR or First sector of /boot partition.B'O'L
 

ujjwal

Padawan
The ubuntu rescue disk perhaps does not mount the linux partitions on /mnt/sysimage ... you could type "mount" to see if your linux partition has been mounted somewhere, else you will have to mount it manually.

Code:
mkdir /mnt/lin
mount /dev/hdxy /mnt/lin
chroot /mnt/lin

Replace hdxy with your linux / partition. You can type "fdisk -l" to see which partition corresponds to your linux installation. As you have many distro's installed, you will have to determine the one for ubuntu.
 

praka123

left this forum longback
if u got any redhat/Fedora 1st cd/dvd u can use it to mount any linux partition to /mnt/sysimage.i think most gnu/linux newbies may have FC/RH cds. :)
 
Status
Not open for further replies.
Top Bottom