LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-08-2006, 04:15 PM   #1
Haloony
Member
 
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, 04:21 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
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:

Code:
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, 04:25 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Or use a disk wipe utility like Darik's boot and nuke.
 
Old 01-08-2006, 04:37 PM   #4
BinJajer
Member
 
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...
 
  


Reply


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 04:32 AM
Grub not loading any OS Seribicus Linux - Software 3 05-08-2006 05:08 PM
grub loading borojohn Linux - Newbie 3 04-14-2005 03:28 AM
Grub not loading pikeymick Linux - Newbie 4 04-30-2004 08:25 AM
loading grub on MBR Xing Linux - Software 7 09-10-2003 12:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:48 PM.

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