unable to reinstall grub
cj pangilinan
cjpangilinan at gmail.com
Fri Mar 18 02:07:28 UTC 2005
grub starts counting by 0. That means:
grub linux
(hd0) /dev/hda
(hd0,0) /dev/hda1
(hd0,1) /dev/hda2
..... .....
(hd1,0) /dev/hdb1
On Thu, 17 Mar 2005 23:54:11 +0100, Thomas Kaiser
<thomas at kaiser.linux-site.net> wrote:
> grub starts counting by 0. That means:
> grub linux
> hd(0,0) /dev/hda1
> hd(0,1) /dev/hda2
> ..... .....
> hd(1,0) /dev/hdb1
>
> As far as i know ;-)
>
> Regards, Thomas
>
>
> Bertrand Haut wrote:
> >>with a grub-install /dev/hda, I obtain :
> >>root at neptune:/boot/grub # grub-install /dev/hda
> >>The file /boot/grub/stage1 not read correctly.
> >
> > I reply to myself :
> > with a
> >
> > #grub
> > grub> root (hd0,2)
> > grub> setup (hd0)
> >
> > It works. Why not with the grub-install script ?
> >
> > Now I'm noticing something strange.
> >
> > In my menu.lst file, I need to put :
> > root (hd0,2)
> > kernel /boot/vmlinuz root=/dev/hda3 ro console=tty0 quiet splash
> >
> > But in my /etc/fstab :
> > /dev/hda4 / ext3 defaults,errors=remount-ro 0 1
> >
> > why (hd0,2) in grub correspond to /dev/hda4 for Linux ????????????????
> >
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
--
*********************************
Carlos Jhunie L. Pangilinan, Jr.
Web Developer/Programmer
Tel: +63448809981
Email: cjpangilinan at gmail.com
Mobile: +639276389988
Linux Registered User # 383841
*********************************
More information about the ubuntu-users
mailing list