LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 05-29-2008, 12:42 AM   #1
brotell
Member
 
Registered: Aug 2006
Location: Moonta Bay South Australia
Distribution: ubuntu 8.10
Posts: 73

Rep: Reputation: 15
Smile removing ubuntu and installing vista


I have a problem, my daughter want the ubuntu removed from her laptop. It seems that it is hard to remove the person doing it for her has had no end of trouble. I would have thought putting a copy of fdisk or a partitioning program at startup would have done the trick.
She wants to put vista back on for some strange reason.
Any idea's.
Regards

Terry
 
Old 05-29-2008, 12:54 AM   #2
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
Uh - just put in the VisDuh installer CD and set the BIOS to boot from CD before HD. VisDuh won't even recognize the ubuntu partition so it will ask if you want to format the HD.
 
Old 05-29-2008, 12:55 AM   #3
brotell
Member
 
Registered: Aug 2006
Location: Moonta Bay South Australia
Distribution: ubuntu 8.10
Posts: 73

Original Poster
Rep: Reputation: 15
tried that no joy

Terry
 
Old 05-29-2008, 02:09 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,141

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
What's on the disk - can you afford to lose everything???
 
Old 05-29-2008, 02:21 AM   #5
brotell
Member
 
Registered: Aug 2006
Location: Moonta Bay South Australia
Distribution: ubuntu 8.10
Posts: 73

Original Poster
Rep: Reputation: 15
Smile

nothing on the disk that cannot be replicated.

Terry
 
Old 05-29-2008, 02:32 AM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,141

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
The M$oft installers need to find free (unallocated) space on the disk, or partitions they know about - FAT or NTFS. Primary partitions.
In a situation like yours, I just erase the bootloader and partition table - Vista will see it as an uninitialized disk.
From a terminal session, run this: everything will be lost (your call)
Code:
sudo dd if=/dev/zero of=/dev/sda bs=1 count=510
Presumes sda is your boot disk - "df" will generally tell you.
 
Old 05-29-2008, 04:39 AM   #7
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
If you have the Ubuntu disk, boot from that.
Then you can find out what it calls your hard disk:
mount

(I'm assuming it mounts the disks that it discovers; that makes life easier to find out what these disks are.)

The wipe the disk with fdisk - for example:

sudo fdisk /dev/hda

Go through deleting all partitions. Try the MS installer again. If it still doesn't work, create a partition as 'If you create new partitions, you need to change the 'partition type' to HPFS/NTFS (7). It shouldn't matter that the partition is not formatted; the MS installer should run. Then again - who knows - MS have done an unbelievably bad job seeing how you've plugged the disk in and booted but the installer refuses to work.
 
Old 06-04-2008, 01:23 PM   #8
bspus
Member
 
Registered: Aug 2005
Location: Greece
Distribution: Fedora
Posts: 45

Rep: Reputation: 15
Quote:
Originally Posted by brotell View Post
tried that no joy

Terry
It might be kind of a longshot, but does vista support installation to SATA drives out of the box? I'm not sure that it does, in which case, just like XP, you need a floppy with drivers for your motherboards SATA controllers. They are used when it says to press F6 for third party driver install etc. At lease thats the case in XP. I've never installed vista.

Laptops often come with "rescue partitions" that would probably be wiped out by the ubuntu installation

There is a chance you can find a BIOS option to allow for the disk to be seen as IDE during the installation. Look for such options, or anything mentioning AHCI

If nothing of the above works, you might need to build your own custom vista dvd using a program such as vlite and integrating all those drivers yourself in that cd

Then again it might have nothing to do with SATA and all that I wrote is useless, but the fact that it doesn't even see the drive makes it at least a suspect. Ubuntu may be just a red herring.
 
Old 06-08-2008, 03:42 AM   #9
Speed_Demon_X
LQ Newbie
 
Registered: Jun 2008
Location: on my PC
Distribution: Fedora 8
Posts: 23

Rep: Reputation: 15
I've had this problem before where fdisk (winblows) will not remove the ubuntu root partition. restart machine and change runlevel to 3 (single user mode). as the root user run fdisk and delete all partitions (make sure there is absolutley nothing there) save the partition table and reboot. You will then be able to use fdisk for windows or vista will probably setup everything for you....

hope this helps
 
  


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
Installing Dual Boot Ubuntu/Vista hellfreeze Linux - General 11 05-05-2008 09:05 PM
Installing Ubuntu on a PC currently running Windows Vista freerid3 Ubuntu 3 04-20-2008 02:14 PM
Bad partition after installing Ubuntu over Vista cadiolis Linux - General 3 02-26-2008 02:46 AM
Installing ubuntu 6.06 LTS on vista machine gets stuck :"Installing Hardware drivers" anksphenomenon Linux - Newbie 1 12-16-2007 01:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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