Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I removed Linux from my hard drive and when I start the computer, it says "GRUB." I also tried reinstalling Linux, but it does not boot off the Linux disc. The hard drive's capacity is 10 GB, but in Windows it shows up as a little over 500 MB. Is there a problem with this hard drive caused after the removal of Linux?
When an operating system is installed on a hard drive, several sectors at the begining of the drive are written with special information - the MBR (master boot record, where grub usually lives) and the partition table. If the Linux system uses LVM/LVM2 (Logical Volume Management) or software RAID, there is some additional data.
Removing the data on the drive does not change these sectors. Windows can have difficulty interpreting the data in a Linux partition table.
To remove the data, boot a linux rescue disk and type:
dd if=/dev/zero of=/dev/hdx bs=512 count=16
(where '/dev/hdx' is the drive to be completely wiped out)
Windows will now see this as an uninitialzed drive.
Last edited by macemoneta; 06-03-2006 at 01:08 AM.
When you removed linux the menu.lst file was deleted but not grub from the Master Boot Record (MBR). Boot the Windows XP or W2K install CD and select recovery mode, then run fixmbr.
Deleting a linux partition should not of changed anything with windows (except for restore (MBR). However, not know exactly what you did I can not say either way.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.