Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
I whant to uninstall ubuntu 9.10 from my machine to run it from virtual box, althought when the cd of windows starts running gives the error 10 (operating system <>CDrom!!!) ...
  1. #1
    Just Joined!
    Join Date
    Jan 2010
    Posts
    60

    Uninstall ubuntu 9.10



    I whant to uninstall ubuntu 9.10 from my machine to run it from virtual box, althought when the cd of windows starts running gives the error 10 (operating system <>CDrom!!!) and when I click OK enters in the promp and can't do anything.
    The cd his windows xp home edition.
    My machine: Packard Bell intel celeron 1,5GHz, 1 GB RAM and 60 GB in HD.
    How can I uninstall ubuntu?

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    17,771
    To clear both, the MBR and partition tables, you can run the following command from a terminal:

    Code:
    sudo dd if=/dev/zero of=/dev/sda bs=512 count=1

    If needed, you can use the fdisk -l command to determine your device name:

    Code:
    fdisk -l
    Your Windows install disk should work again after doing the above if the disk is good. Be sure to backup anything you want to keep that is on the drive before you run the command.
    oz

    new users: read this first
    no private messages requesting computer support - post them on the forums!

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,465
    You are better served to keep Ubuntu 9.10 on the system and run Windows in a VirtualBox VM there. As to why Windows is giving you an error, I haven't a clue, though from your explanation of what error 10 is I would surmise that the CD is not an install disc. Another problem that is possible is if the computer has sata drives, then XP home might not support them and you will have to go into the BIOS to change the sata settings to legacy/pata mode so that Windows thinks you have IDE and not SATA drives.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  4. #4
    Just Joined!
    Join Date
    Jan 2010
    Posts
    60
    just one thing ozar, I need to run fdisk or just if whant to change the name?


    Rubberman, I don't undestand nothing of BIOS, and the cd is a install disc, because I already uninstall an install windows with it. Althought ubuntu wasn't in the HD with dual boot.

  5. #5
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    17,771
    Quote Originally Posted by luismcrd View Post
    just one thing ozar, I need to run fdisk or just if whant to change the name?
    You'll only need to run the fdisk command given above if you don't know the name of the device that you are wanting to clear. If you have just one drive, it will be either sda, or hda.

    When you've run the dd command given above, you should receive a short "records in" and "records out" message indicating that the command was successful.
    oz

    new users: read this first
    no private messages requesting computer support - post them on the forums!

  6. #6
    Just Joined!
    Join Date
    Jan 2010
    Posts
    60
    ok,
    I think, as you said, is a sda only got one drive with three partitions (windows, ubuntu and swap).
    When the command is done just reboot with the cd?
    Can you ensure me that the command will result?

  7. #7
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    17,771
    Quote Originally Posted by luismcrd View Post
    Can you ensure me that the command will result?
    The dd command given above will clear all partitions giving you a fresh start, so if you don't want that but you want to keep your current Windows partition intact, don't use that command, but use the following command instead to clear only the master boot record:

    Code:
    sudo dd if=/dev/zero of=/dev/sda bs=446 count=1
    You can delete the Linux partitions later using gparted or a partitioning disk such as the Parted Magic LiveCD.
    oz

    new users: read this first
    no private messages requesting computer support - post them on the forums!

  8. #8
    Just Joined!
    Join Date
    Jan 2010
    Posts
    60
    But after do the command, what to do?
    The computer will boot alone? I'll need to boot him? I need to run CD windows? Or after that I can enter windows and just nead to run a partition program?
    I've got the EASEUS - Partition Master Home Edition, althought you talk about the Parted Magic LiveCD. Which is better? Or both can resolve the situation?

  9. #9
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    17,771
    Quote Originally Posted by luismcrd View Post
    But after do the command, what to do?
    The computer will boot alone? I'll need to boot him? I need to run CD windows? Or after that I can enter windows and just nead to run a partition program?
    I've got the EASEUS - Partition Master Home Edition, althought you talk about the Parted Magic LiveCD. Which is better? Or both can resolve the situation?
    Like I stated earlier the first dd command provided above clears the hard disk partition table and the MBR, meaning you'll have no partitions or bootloader, which should give you a fresh start. When you start fresh you have no partitions and no OS, which means your system won't boot, so you'll need to install whatever OS you want at that point. The 2nd dd command provided above clears only the MBR, meaning you have no bootloader for booting any OS that still resides on the disk. You can boot with your Windows installation disk to restore the Windows bootloader.

    I like Parted Magic, but know nothing at all about EASEUS, as I've never even heard of it.
    oz

    new users: read this first
    no private messages requesting computer support - post them on the forums!

  10. #10
    Just Joined!
    Join Date
    Jan 2010
    Posts
    60
    ok,
    sorry to be so insistent, but this is the only computer I've got and don't understand a lot of it...
    Suppose the cd blocks and don't starts, like the present situation. There's a way to reverse the 2nd dd command you said?

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •