•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Linux Users Lounge section within the Tech Talk category of DaniWeb, a massive community of 456,428 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,572 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Linux Users Lounge advertiser: Lunarpages Linux Web Hosting
Views: 2804 | Replies: 18
![]() |
So Windows still boots? What are you trying to do, erase your hard drive and everything on it, and just single-boot Linux? Or are you trying to dual-boot between Windows and Linux?
If you have a Linux prompt, post the output of this command:
If you've got a SCSI or SATA drive, replace 'hda' with 'sda'.
If you have a Linux prompt, post the output of this command:
fdisk -l /dev/hda
tuxation.com - Linux articles, tutorials, and discussions
Get a Linux terminal open. Try writing zeroes all over your disk first:
Now that your hard disk is erased, try starting up the Ubuntu installer and see if it will let you create an ext3 partition.
dd if=/dev/zero of=/dev/hda
Now that your hard disk is erased, try starting up the Ubuntu installer and see if it will let you create an ext3 partition.
tuxation.com - Linux articles, tutorials, and discussions
Boot into recovery mode off of a Linux CD.
To erase your hard drive:
To recreate your partition table:
Then create your partitions, write to disk, and exit.
Then reinstall Linux on the newly-created partitions, and make sure you tell the installer to reformat the partitions one more time. And for good measure, make sure to install your bootloader (usually GRUB or LILO) to the MBR (which is usually the default behavior).
To erase your hard drive:
dd if=/dev/zero of=/dev/hda
To recreate your partition table:
cfdisk /dev/hda
Then reinstall Linux on the newly-created partitions, and make sure you tell the installer to reformat the partitions one more time. And for good measure, make sure to install your bootloader (usually GRUB or LILO) to the MBR (which is usually the default behavior).
tuxation.com - Linux articles, tutorials, and discussions
![]() |
•
•
•
•
•
•
•
•
DaniWeb Linux Users Lounge Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
apple bbc cellphone computer core crossover data debian dell desktop development drivers enterprise fedora games garnet gentoo gpl hardware ibm install kernel laptop linux livecd mac microsoft mobile news novell office open open source openbsd openoffice operating os palm palmos red hat security server source sun system ubuntu unix vista web windows
- Very strange hard drive failure problem, stumped totally. (Troubleshooting Dead Machines)
- problem with SATA hard drive (Storage)
- Hard Drive Detection Problem (Windows NT / 2000 / XP / 2003)
- Hard Drive Detection Problem (Storage)
- 2nd Hard drive install problem - is Ultra DMA the same as Ultra ATA? (Storage)
- Hard Drive Detection Problem (Storage)
Other Threads in the Linux Users Lounge Forum
- Previous Thread: Networking with linux
- Next Thread: Why do we get Couldn't get handle: Permission denied error while SFTPing



Linear Mode