Re: Re-install grub.
Thanks all.
It's working. What I did :
I boot with Ubuntu Live CD 64bit.
Just after I choosed the keyboard I go to tty2.
1: #mkdir newroot
2: #mount /dev/hda3 newroot/ (hda3 is my root)
3: #chroot newroot
If i do
#grub-install /dev/hda
I have an error : "Invalid device requested"
So I did to continue
4: #grub
5: >root (hd0,2)
6: >setup (hd0)
7: >quit
By
Le mardi 24 janvier 2006 à 23:50 +0100, KawaK a écrit :
> First, thanks to you for your answers.
>
> I tried with the debian CD installer "expert mode". I choose language
> +keyboard. But grub is not installed at this level.
>
> So I continue with "module loading" in the installation. After there is
> partman. But I was scared to continue and scratch my debian
> installation. So I stop here.
>
> Tomorow I will try with a Ubuntu live CD 64bits.
>
> Regards
>
>
> Le mardi 24 janvier 2006 à 23:09 +0100, Gian Domeni Calgeer a écrit :
> > Am Dienstag 24 Januar 2006 22:54 schrieb Corey Hickey:
> > > Thierry LARMIER wrote:
> > > > Hello all,
> > > >
> > > > I want to format my FAT32 disk and re-install windows ( Windows need to
> > > > be re-installed often. :-))). Yes I need windows only for game :-((((
> > > >
> > > > But I know that windows will erase my MBR :-((((.
> > > >
> > > > I saw 2 solutions with knoppix live cd :
> > > > First solution
> > > > #grub
> > > >
> > > >>root (hd0,3) -------> I have an error here.
> > > >>setup
> > > >>quit
> > > >
> > > > 2d solution
> > > > # mount /dev/hda3 /mnt/root
> > > > # chroot /mnt/root ------------> I have an error here
> > > > # grub-install /dev/hda
> > > > # exit
> > > >
> > > >
> > > > I think it's not working because knoppix run in 32bit.
> > >
> > > Probably; I've never tried that on my amd64 system.
> >
> > I did, but I'm not exactly sure wether I first chrooted into the Debian
> > installation before installing Grub or not.
> >
> > Gian
> >
> > >
> > > Anyway, you mention (hd0,3) and /dev/hda3 above. Since grub starts
> > > numbering at 0, /dev/hda3 would be (hd0,2).
> > >
> > > -Corey
> >
> >
>
>
Reply to: