LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-29-2004, 12:39 AM   #1
tenseikenz
LQ Newbie
 
Registered: Jun 2004
Posts: 5

Rep: Reputation: 0
SATA HD - Linux - Windows Help


I've switched back and forth, declaring im through with windows, only to return back to it. Anyways, this time I completely wiped off my Win XP installation and installed Slackware 9.1 I made my linux partition and swap partition. I have a 160 gb sata hd, and I tried using fdisk /dev/hdi1 with the boot cd for slack and erased both partition and make a partition of 0 or free space. so I switch boot devices in bios and try to installed win xp but in setup it tells me no hard disk detected. strange, as I had installed win xp previous time as a fresh install. I tried booting with a win 98 disk and used fdisk /mbr after that i rebooted and used fdisk again , made my primary dos partition, so it finishes and I look at current partitions and it shows my dos partition as 23GB when it should be 160 and under system type it says unknown. So how do I get linux off my hd?? any help would be great!!
 
Old 06-29-2004, 08:38 AM   #2
Guru3
Member
 
Registered: Sep 2003
Location: //home/sweden
Distribution: RedHat 9, Fedora Core 1
Posts: 360

Rep: Reputation: 31
Anyway you can do a low level format? I don't know how... Can you maybe get a linux boot floppy like zool and use linux's fdisk?
 
Old 06-29-2004, 07:12 PM   #3
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
fat 32

I don't remember exactly, but i think there is a limitation on the size partition windows 98 will make. You may want to try to reinstall XP.

As for getting rid of unwanted partitions, linux has a powerful tool called dd that will solve that. bear in mind this is if you want to destroy all data and near the beginning of the drive (mbr, partition table, everything).

dd of=/dev/hda if=/dev/zero bs=1M count=20

I don't remember how much space the beginning of the drive requires, the above example kills the first 20 MB (way overkill, I know). With the partition table wiped clean, there will be no residual linux to give you troubles.

of = drive you want to overwrite (not partition, the drive itself)
if = what to overwrite it with.
bs = block size
count = number of blocks


You can use a linux boot diskette as was recommended, or a bootable CD (such as knoppix, from www.knoppix.org) to get at it. You need to be root, I believe.

Good luck, I hope you haven't given up on linux. It is nice to have a windows installation around to start with though.
 
  


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
Announce : Installing a Windows/Linux Dual Boot on Intel ICH5R SATA Raid TheBlackUnicorn Linux - Hardware 3 12-01-2006 02:46 PM
Windows on (Sata) Raid 0, linux on PATA ganja_guru Linux - Hardware 6 06-21-2005 03:19 AM
SATA with Windows, IDE with linux lilo problems jshowe Linux - Newbie 0 02-14-2005 10:44 PM
installing redhat linux 9.0 and windows xp on SATA harddisk radha_it Linux - General 1 01-02-2005 08:36 AM
Dual booting Linux and Windows XP on a SATA RAID 0 Array. Zygar Linux - Newbie 1 12-17-2004 09:45 AM


All times are GMT -5. The time now is 05:30 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