Re: Re-install grub.

2006-01-27 Thread Marcin Dębicki
Thierry LARMIER kiedys napisal:

> 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.
Yes, it works because of that. Use 64bit live system. I don't know if you've
done it but after making chroot go to / and type mount -t proc proc proc or
mount -a. You need proc to run grub-install

Done a couple times with SuSE rescue system (the 64bit live I have)
-- 
Registered Linux User 369908
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Re-install grub.

2006-01-25 Thread Thierry LARMIER
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
> > 
> > 
> 
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Re-install grub.

2006-01-25 Thread Scott Edwards

I recently ran the amd64 net install on my Win2000
system (I'd already set aside disk space for the linux
installation). I was also a bit nervous about having
Debian overwrite the MBR (although it's never given me
any problems in the past), so when I was asked to
install grub I declined, I left the MBR untouched.
Then I created a grub floppy
(http://www.gnu.org/software/grub/manual/html_node/Creating-a-GRUB-boot-floppy.html#Creating-a-GRUB-boot-floppy)
and tested my booting situation with that.

Once I felt comfortable that everything looked okay, I
went ahead and installed grub to the MBR "natively"
(http://www.gnu.org/software/grub/manual/html_node/Installing-GRUB-natively.html#Installing-GRUB-natively).
After that everything worked just fine.

Grub's pretty darn flexible, it's a good idea to
familiarize yourself with how to use it to boot your
system. Here's a link to a guy who's using it to boot
over 100 operating systems on his machine:

 
http://www.justlinux.com/forum/showthread.php?threadid=143973

What he's done there can provide you with some good
examples. (The grub documentation is also helpful.)

Btw, I also saved the boot records on my drive using
"dd" and put them in a safe place, both before and
after the linux install so I can easily restore them,
just for peace of mind!

-- Scott Edwards




--- Michael Dominok <[EMAIL PROTECTED]>
wrote:

> 
> Hi Thierry,
> 
> no hint to your problem but ...
> 
> On Tue, 2006-01-24 at 21:19 +0100, 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 :-
> 
> .. the next time you got a fresh
> windows-installation you could
> make an image of the whole partition and if^Wwhen
> it's messed up again
> reinstall the image. That would spare you from the
> hassles to go through
> windows installation-dialogue again. And should be
> faster too.
> 
> > But I know that windows will erase my MBR :-.
> 
> And you wouldn't have to touche the MBR.
> 
> Cheers
> 
> Michael
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to
> [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Re-install grub.

2006-01-25 Thread Michael Dominok

Hi Thierry,

no hint to your problem but ...

On Tue, 2006-01-24 at 21:19 +0100, 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 :-

.. the next time you got a fresh windows-installation you could
make an image of the whole partition and if^Wwhen it's messed up again
reinstall the image. That would spare you from the hassles to go through
windows installation-dialogue again. And should be faster too.

> But I know that windows will erase my MBR :-.

And you wouldn't have to touche the MBR.

Cheers

Michael



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Re-install grub.

2006-01-25 Thread Gian Domeni Calgeer
> --- Ursprüngliche Nachricht ---
> Von: KawaK <[EMAIL PROTECTED]>
> An: "debian-amd64@lists.debian.org" 
> Betreff: Re: Re-install grub.
> Datum: Tue, 24 Jan 2006 23:50:09 +0100
> 
> 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 you'll have to mount the debian partition somewhere and then chroot
there, I think. I unfortunately don't remember exactly how I did it. 

Gian

> 
> 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
> > 
> > 
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> 

-- 
Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Re-install grub.

2006-01-24 Thread Albert Oliver Serra
Hi

Why don't you do a boot-disk [1], or try with a flash memory [2] (I
haven't tried it) and once you have grub, you can restore your MBR from
it [3].

I hope it can help you

Albert

[1]http://www.gnu.org/software/grub/manual/grub.html#Creating-a-GRUB-boot-floppy
[2]http://www.freesoftwaremagazine.com/free_issues/issue_10/grub_intro/
[3]http://www.gnu.org/software/grub/manual/grub.html#Installing-GRUB-natively

* KawaK <[EMAIL PROTECTED]> [24-01-2006 23:50:09 +0100] wrote:

> 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
> 
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Re-install grub.

2006-01-24 Thread KawaK
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
> 
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Re-install grub.

2006-01-24 Thread Gian Domeni Calgeer
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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Re-install grub.

2006-01-24 Thread Gian Domeni Calgeer
Am Dienstag 24 Januar 2006 22:22 schrieb Gian Domeni Calgeer:
> Am Dienstag 24 Januar 2006 21:19 schrieb Thierry LARMIER:
> > 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.
> >
> >
> > Any idea?
>
> Yes. I suggest you to use the Debian installation disk. There you can
> switch to a console with Ctrl+F2 and then choose grub-install /dev/hda. At
> least that's what I've done. As far as I remember it worked.
>
> Gian

Sorry. Of course it's Alt+F2 to switch to a console

Gian


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Re-install grub.

2006-01-24 Thread 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.

Anyway, you mention (hd0,3) and /dev/hda3 above. Since grub starts
numbering at 0, /dev/hda3 would be (hd0,2).

-Corey


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Re-install grub.

2006-01-24 Thread Gian Domeni Calgeer
Am Dienstag 24 Januar 2006 21:19 schrieb Thierry LARMIER:
> 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.
>
>
> Any idea?

Yes. I suggest you to use the Debian installation disk. There you can switch 
to a console with Ctrl+F2 and then choose grub-install /dev/hda. At least 
that's what I've done. As far as I remember it worked. 

Gian


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]