Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-08-2006, 05:15 PM   #1
Registered: Aug 2005
Posts: 61

Rep: Reputation: 15
why is grub still loading?

I recently bought a new 60gig hd for my laptop, and i decided to install ubuntu breezy badger. Then i deleted all my linux partitions. I expected my drive to be totally clean and unpartitioned so when i turn on the laptop it would give me the no operating system found error. However, when i booted up i still found grub looking for an operating system. Is there a way to totally clear the drive the way it was when i bought it.
Old 01-08-2006, 05:21 PM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
You deleted all the partitions, but you didn't touch the Master Boot Record (MBR). If you want to clear it, boot off of a Linux rescue disk and do:

dd if=/dev/zero of=/dev/hda bs=512 count=1
This overwrites the first sector of the hard drive (which holds the MBR) with zeros.

Alternatively, you can just go ahead and install the OS you want and let it overwrite the MBR>
Old 01-08-2006, 05:25 PM   #3
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741
Or use a disk wipe utility like Darik's boot and nuke.
Old 01-08-2006, 05:37 PM   #4
Registered: Sep 2005
Location: Warsaw, Poland
Distribution: Slackware 10.2, Caldera OpenLinux 3.1, Corel Linux (Thanks xhi!), Debian GNU/HURD etc...
Posts: 296
Blog Entries: 1

Rep: Reputation: 30
The fastest way would be the dd way, but dban also wipes everything physically...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub not loading jaya_surya1 Linux - Newbie 6 06-19-2008 05:32 AM
Grub not loading any OS Seribicus Linux - Software 3 05-08-2006 06:08 PM
grub loading borojohn Linux - Newbie 3 04-14-2005 04:28 AM
Grub not loading pikeymick Linux - Newbie 4 04-30-2004 09:25 AM
loading grub on MBR Xing Linux - Software 7 09-10-2003 01:38 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:27 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration