LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 01-17-2008, 08:58 AM   #1
joshjacklin
LQ Newbie
 
Registered: Jan 2008
Posts: 0

Rep: Reputation: 0
Unhappy unable to revert from ubuntu to windows even trying all tested techniques.


Hello there i was wondering if somebody could help me i have tried ubuntu for a while and i have liked it however there have been quite a few teething problems which even with hours of studying tutorials and stuff i still can not compile and work, so i have decided to go back to XP now the problem is, that in most tutorials it says for you to just wack in the windows cd and then recovery console and format via that, i cannot do that as before it even thinks about getting to that option it says there is no hard drive, i have tried using the patitioning program in ubuntu but the flaw with it is that you cannot format a primary drive whilst it is mounted, which is fair enough however there isnt a way that i know of where you can do it in a command line based interface of which you just type a command simular to format c:. i do know of one command which is sudo rm -rf however, i do not know what it acually wipes, does it fill your hdd with zeros or what? my drive isnt completly ubunted as i know i could use the vista cd when i get home, however i am sure there is loads of more users who are presented in this position with no explanation of what to do.
 
Old 01-17-2008, 09:03 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
there should be nothing to do at all. Windows will allow you to delete the partitions and start again completely. You could just use a dos boot disk and fdisk to delete the partitions (or an ubuntu rescue disk or something with fdisk / cfdisk in there...), but again, windows will do this during the install anyway. if it says there's no disk, you presumably have other problems.
 
Old 01-17-2008, 09:06 AM   #3
Hitboxx
Senior Member
 
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Blog Entries: 3

Rep: Reputation: 68
Isn't is like you just boot off the Windows cd and start installing readily then? Why bother formating? The installation itself does it, I think.
 
Old 01-17-2008, 09:06 AM   #4
joshjacklin
LQ Newbie
 
Registered: Jan 2008
Posts: 0

Original Poster
Rep: Reputation: 0
yeah but saying that....

personally its not the disk as i said before itll take me the time of a format to complete using the vista install cd but what if a user doesnt have one of them discs, then there screwed lol seriously screwed.
 
Old 01-17-2008, 09:08 AM   #5
joshjacklin
LQ Newbie
 
Registered: Jan 2008
Posts: 0

Original Poster
Rep: Reputation: 0
hitboxx

yeah i would of thought so as well but the problem is that it will load all of the basic processes and drivers and then you will have the option to carry on the install where it should format and then it states windows did not find a valid disc installation cannot continue please press f3 to continue which reboots the machine
 
Old 01-17-2008, 09:10 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
no, not in the slightest, you just don't understand what your problem is. rm -rf and such are just utterly irrelevant, you just want access to unpartitioned disk space, and the windows installer should do this for you straight off. i guess you probably could just run "sudo cfdisk /dev/sda" under ubuntu and delete your own partitions and reboot to a blank system.
 
Old 01-17-2008, 09:12 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
the xp insatll screen where you delete your old partitions: http://content.techrepublic.com.com/...11-5181-4.html

doing windows support is great!
 
Old 01-17-2008, 09:13 AM   #8
joshjacklin
LQ Newbie
 
Registered: Jan 2008
Posts: 0

Original Poster
Rep: Reputation: 0
cool but...

would it work because in theory you need to be in the os to perform the sudo function so if you wanted to delete the primary partition which is being used at the time wouldnt it deny you the right to do so as it is still using it? if not then thats cool
 
Old 01-17-2008, 09:15 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
as above in case you didn't read my later reply...
 
Old 01-17-2008, 06:57 PM   #10
v00d00101
Member
 
Registered: Jun 2003
Location: UK
Distribution: Devuan Beowulf
Posts: 514
Blog Entries: 1

Rep: Reputation: 37
Boot a livecd (knoppix etc.), get a root terminal, unmount any mounted drives, and enter.

Code:
dd if=/dev/zero of=/dev/hda bs=1M
or if a newish kernel (2.6)
Code:
dd if=/dev/zero of=/dev/sda bs=1M
Then run your XP CD and install Windows.
 
  


Reply



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
Ubuntu changed hdd TOC, cannot revert synchronous0987 Ubuntu 4 06-04-2006 04:50 AM
Unable to access windows partition in Ubuntu justin.freund Linux - Software 3 11-17-2005 09:53 AM
Workable linux I tested jody001 General 24 05-08-2005 09:43 AM
the new ati drivers anybody tested ? deepdark SUSE / openSUSE 17 01-26-2005 05:44 PM
Has anyone tested Exeem ??? UsualTuxpect Linux - Software 3 01-22-2005 02:16 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 05:35 AM.

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
Open Source Consulting | Domain Registration