FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 08-03-2011, 05:50 AM
"Conrad J. Sabatier"
 
Default How to definitively remove grub from my hard drive?

I've been grappling for the last couple of days with a rather
perplexing problems. I want to install FreeBSD on a drive that I've
been using for Ubuntu, but I can't seem to get grub to relinquish
control of the drive when booting!

I've tried all sorts of methods, including 'dd if=/dev/zero
of=/dev/sda ...' (all the way up to the end of the first gig of space at
the beginning of the drive), I've destroyed and recreated the partition
table, I've used the FreeBSD CD-ROM's sysinstall's shell-out and used
the boot0cfg tool to install a new master boot record, as well as
FreeBSD's fdisk -B (which does the same), yet every time I reboot,
there's grub again (erroring out, I might add with either error code
15 or 17, depending on what I've tried just before rebooting)!

At this point, I'm ready to tear my hair out. Does anyone know where
exactly grub resides on the drive, and/or how it actually loads itself?
Why wouldn't zeroing out the entire first gigabyte of space at the
beginning of the drive overwrite it?

I'm completely baffled, and could really, *really* use some advice on
this issue, before I wind up a stark raving mad idiot. :-)

Thank you so very much if you can help me out with this. I'm totally
out of ideas at this point.

--
Conrad J. Sabatier
conrads@cox.net

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 08-03-2011, 07:09 AM
"Goh Lip"
 
Default How to definitively remove grub from my hard drive?

On Wed, 03 Aug 2011 13:50:24 +0800, Conrad J. Sabatier <conrads@cox.net>
wrote:



I've been grappling for the last couple of days with a rather
perplexing problems. I want to install FreeBSD on a drive that I've
been using for Ubuntu, but I can't seem to get grub to relinquish
control of the drive when booting!


Before we start, you have to tell us what you want as your bootloader to
boot up your OS's, otherwise you'll end up with all the OS's installed and
nothing can be booted. Also I assume you have not installed FreeBSD yet as
you said "I want to install FreeBSD".


The easiest way is just to install FreeBSD and let that override the
Ubuntu grub (assuming you want FreeBSD bootloader to boot). Just make sure
you installed the FreeBSd bootloader and set that "to mbr". Then when
FreeBsD is installed, assuming you're keeping Ubuntu as one of your OS
(otherwise do nothing), boot up Ubuntu and at terminal, sudo
dpkg-reconfigure grub-pc and set to sdxy, where sdxy is you ubuntu
partition.


Regards - Goh Lip



I used to have an open mind,
but my brains kept falling out.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 07:39 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org