You are not logged in.

#1 2006-10-06 01:35:34

saciel
Member
From: Germany
Registered: 2006-07-30
Posts: 153

Reactivating Arch's GRUB?

After installing Arch Linux I had Ubuntu installed on another partition of my harddrive. Unfortunatelly, it was not possible to install it without a boot manager, so Arch's Version of Grub was replaeced with Ubuntu's.

I know would like to uninstall Ubuntu again which would make grub pointing to a non-existant menu.lst and god-knows what else grub needs. Is there an easy way to rereplace it with Arch's Grub, so I can safely format my Ubuntu partition?


They say if you reverse play a Windows CD you can hear satanic verses... But wanna know what's even worse? If you forward play it, it's gonna install Windows on your system!

Offline

#2 2006-10-06 02:04:07

paperinik
Member
Registered: 2005-05-25
Posts: 46

Re: Reactivating Arch's GRUB?

While in Arch, execute from command line:

grub
root (hd0,x)
setup (hd0)
quit

x=the / partition (if /dev/hda1 x=0, if /dev/hda2 x=1, etc)

Offline

#3 2006-10-06 10:57:44

saciel
Member
From: Germany
Registered: 2006-07-30
Posts: 153

Re: Reactivating Arch's GRUB?

Thanks a lot. It worked out fine! I was searching in the grub manpage for hours for that -.-


They say if you reverse play a Windows CD you can hear satanic verses... But wanna know what's even worse? If you forward play it, it's gonna install Windows on your system!

Offline

#4 2006-10-06 11:49:54

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Reactivating Arch's GRUB?

saciel wrote:

Thanks a lot. It worked out fine! I was searching in the grub manpage for hours for that -.-

You could as well have done from within Arch:

grub-install /dev/hda

which is a bit shorter  big_smile

Offline

Board footer

Powered by FluxBB