LinuxQuestions.org
Review your favorite Linux distribution.
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


Closed Thread
  Search this Thread
Old 04-20-2010, 08:21 AM   #16
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738

Quote:
doesn't anyone read my question
Sure--don't you read the replies?
Quote:
Originally Posted by pixellany View Post
While running in Ubuntu, open a terminal and enter "sudo fdisk -l". Post the results here.
 
Old 04-20-2010, 09:35 PM   #17
mattseanbachman
Member
 
Registered: Feb 2010
Posts: 40

Rep: Reputation: 15
Quote:
Originally Posted by rich54 View Post
doesn't anyone read my question
I have. Help is a two-way street here and back on the first page someone requested you post the output of "fdisk -l". Were you listening then?
Quote:
Originally Posted by rich54 View Post
i don't have dual boot option or windows vista any longer on my hdd i accidentally erased it when installing ubuntu
Alright, then you will need to install Windows again. Format the whole drive. If you have a Windows installation cd, pop it in. You'll need a Windows installation cd, and not the recovery cd, if you cleared both partitions.

Quote:
Originally Posted by rich54 View Post
how do i erase this hdd with ubuntu on it
When you install Windows over top of it (stick the installation cd in the cd-rom drive and reboot), it will "erase" the disk.
Quote:
Originally Posted by rich54 View Post
i tried the recovery disc but get error oxd0000017
As was said previously, recovery disks work by restoring a recovery partition. I'm guessing that you formatted that partition when you installed Ubuntu. You can't recover something you don't have. Thus, the error.
Quote:
Originally Posted by rich54 View Post
if i remove the hdd with ubuntu and put in a new sata hdd i did reinstall windows vista using the same recovery disc and it works fine
so is there another way of first erasing the hdd with ubuntu before installing the recovery disc?
I'm not 100% sure what's going on here but if you simply format the disk during the Windows installation you'll remove Ubuntu.

Many computers bought now are partitioned and come with a recovery disk. There is a partition that the user uses and one that you're not supposed to mess with. The recovery disk facillitates the process of copying files from the recovery partition back to the other partition. If you installed Ubuntu and used the whole drive, it cleared BOTH partitions. Since the recovery disk can't work without a recovery partition, this is the reason for the error.

If you have multiple disks to play around with then experiment with these suggestions before claiming we aren't listening. There are some very good suggestions above that should fix the problem you're presenting. If you're having a separate issue than what's being addressed you need to clarify your statements.

Good luck.

Last edited by mattseanbachman; 04-20-2010 at 09:42 PM.
 
Old 04-21-2010, 05:55 AM   #18
rich54
LQ Newbie
 
Registered: Apr 2010
Posts: 8

Original Poster
Rep: Reputation: 0
rich@rich-desktop:~$ sudo fdisk -l
[sudo] password for rich:

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0004bdb3

Device Boot Start End Blocks Id System
/dev/sda1 * 1 38256 307291288+ 83 Linux
/dev/sda2 38257 38913 5277352+ 5 Extended
/dev/sda5 38257 38913 5277321 82 Linux swap / Solaris
rich@rich-desktop:~$
 
Old 04-21-2010, 06:02 AM   #19
rich54
LQ Newbie
 
Registered: Apr 2010
Posts: 8

Original Poster
Rep: Reputation: 0
rich@rich-desktop:~$ dd if=/dev/zero of=/dev/sda bs=512 count=1
dd: opening `/dev/sda': Permission denied
rich@rich-desktop:~$
 
Old 04-21-2010, 06:12 AM   #20
rich54
LQ Newbie
 
Registered: Apr 2010
Posts: 8

Original Poster
Rep: Reputation: 0
will windows remote assistance work with ubuntu's remote desktop?
i sent him the ip address but no luck
maybe it's not compatable
maybe i have to do something else
 
Old 04-21-2010, 07:57 AM   #21
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Hi, rich*;

First, the output of "fdisk -l" confirms that the whole disk was taken by the Ubuntu installation. There is no Windows partition (recovery or otherwise).

Second, the dd command would have to be run as root (in Ubuntu, use sudo).

I do not know what you are referring to in your latest post above----regardless, please confirm what you want to do at this point. If you want to install Windows, I think the answers are all here.

Good luck
 
Old 04-21-2010, 07:59 AM   #22
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by PTrenholme View Post
So, if you've lost all your Vista stuff, why not "bite the bullet" and learn to use Ubuntu? Few things for which most people use a "personal computer" really need Windows except some games. For example, reading e-mail, web browsing, reading and writing office documents and spreadsheets, etc., are all easily done using Ubuntu with free, easily downloaded and installed programs.
Good idea---rich; Did you consider this?
 
Old 04-21-2010, 08:15 AM   #23
SuperJediWombat!
Member
 
Registered: Apr 2009
Location: Perth, Australia
Distribution: Ubuntu/CentOS
Posts: 208

Rep: Reputation: 51
Sorry Rich; as pixellany mentioned, I should have included sudo in front of the dd command.
Code:
sudo dd if=/dev/zero of=/dev/sda  bs=512  count=1
Please be aware that running that command will wipe your partition table and you will be unable to load Ubuntu from the hard drive.

Last edited by SuperJediWombat!; 04-21-2010 at 08:16 AM.
 
Old 04-21-2010, 12:37 PM   #24
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
Rich, I just Googled oxd0000017 and think that your recovery disk was telling you that there was no room left on the hard drive. So, if you really want to wipe the drive and use the recovery disk to restore Vista, deleting the partition table is one way to do that, but that might cause the same "disk error" problem you see now. Rather than deleting the partition table, I'd recommend that you just delete the partitions.

You can do that using the fdisk command. Just start fdisk in administrative mode (sudo fdisk /dev/sda) which should show you something like this:
Code:
$ sudo fdisk /dev/sda

The number of cylinders for this disk is set to 19457.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): m
Command action
   a   toggle a bootable flag
   b   edit bsd disklabel
   c   toggle the dos compatibility flag
   d   delete a partition
   l   list known partition types
   m   print this menu
   n   add a new partition
   o   create a new empty DOS partition table
   p   print the partition table
   q   quit without saving changes
   s   create a new empty Sun disklabel
   t   change a partition's system id
   u   change display/entry units
   v   verify the partition table
   w   write table to disk and exit
   x   extra functionality (experts only)

Command (m for help):
Then just enter:
o
p

The p should show you you now have an empty DOS partition table. If it does, enter the x command to write out the empty partition table and exit. (Until you write out the partition table, you can do a q to quit without saving any changes, and your HD will not be changed.)
 
Old 04-22-2010, 05:57 AM   #25
rich54
LQ Newbie
 
Registered: Apr 2010
Posts: 8

Original Poster
Rep: Reputation: 0
thanks 4 all your help.
i ran a older windows xp recovery disc from dell which worked and then i used my vista recovery disc and now all is fine
thanks again for all your help
 
Old 04-22-2010, 07:26 AM   #26
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
now all is fine
If you deleted Linux, installed Windows, and now have no Linux system---I'd say probably not....
 
Old 04-22-2010, 08:45 AM   #27
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,615
Blog Entries: 26

Rep: Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986
Hi,

If you're like most PC users, you probably got Windows Vista with a new PC or laptop. And if you're like 99% of the population, you get your new machines from one of the major manufacturers. Dell, Acer, HP, Toshiba, Lenovo, they all have one thing in common: they don't give you a real Windows Vista installation disc with your purchase. Instead, they bundle what they call a "recovery disc" (that's if you're lucky - otherwise you'll have a recovery partition instead) with your machine and leave it at that.

For those that don't have a recovery disk for Vista then 'Windows Vista Recovery Disc Download' would be a necessary link.

The above link and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!
 
Old 05-14-2010, 11:25 AM   #28
iPunchEm
LQ Newbie
 
Registered: May 2010
Posts: 10

Rep: Reputation: 0
Hey guys i know this post is a little late but i dont have the windows xp disc i have exactly the same problem as him. Same fdisk -l Same everything execpt he has a windows xp while im still stuck with my windows vista. i would'nt mind using ubuntu but im playing some online games with my friend and i thought that ubuntu would support it. I tried using VWplayer but it still did not work. So i seriously need to find a way to get back my windows vista. Please help me asap. (:
 
Old 05-14-2010, 11:36 AM   #29
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by iPunchEm View Post
Hey guys i know this post is a little late but i dont have the windows xp disc i have exactly the same problem as him. Same fdisk -l Same everything execpt he has a windows xp while im still stuck with my windows vista. i would'nt mind using ubuntu but im playing some online games with my friend and i thought that ubuntu would support it. I tried using VWplayer but it still did not work. So i seriously need to find a way to get back my windows vista. Please help me asap. (:


It is not normally a good idea to dig up old threads---and we especially don't need this one dug up. (read it all to see why...)

Please start a new thread on this. When you do, give a complete description---without referring to any other thread.

thanks
 
  


Closed Thread


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
installing ubuntu in pre vista installed laptop jemeesh Linux - Newbie 3 03-15-2010 03:38 AM
Installing Ubuntu for the first time with Vista SP2 installed first Sethvir Linux - Newbie 1 09-02-2009 01:58 PM
Dual Booting Ubuntu 8.10 with Vista Installed First George Jeng Linux - Newbie 2 11-04-2008 01:13 AM
Installed Ubuntu 8.04 now my Windows Vista is gone...Wtf? Herr Wolf Linux - Software 3 05-01-2008 07:04 PM
linux deleted, windows installed, but i want back zetsui Linux - General 11 07-29-2006 10:36 PM


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