DIGIT-ARC read-only archive · snapshot: July 23, 2026

Ubuntu grub

5 posts · originally from https://geek.digit.in/community/threads/ubuntu-grub.15965/

vignesh
vignesh Original post #1
Sep 24, 2005 at 6:37 PM
How to reinstall grub bootloader for Ubuntu 5.04.I tried chroot /mnt/sysimage it gives an error.
praka123
Sep 25, 2005 at 1:22 AM
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
U
ujjwal #3
Sep 25, 2005 at 8:01 AM
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
Sep 28, 2005 at 6:21 PM
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. :)
vignesh
vignesh #5
Sep 29, 2005 at 7:10 AM
ok thanks.