LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installing Windows on a full partioned linux hdd (https://www.linuxquestions.org/questions/linux-newbie-8/installing-windows-on-a-full-partioned-linux-hdd-664958/)

J-xToF 08-24-2008 01:45 AM

installing Windows on a full partioned linux hdd
 
Hi, im quite new to linux and accidently used all my HDD space to install it. (using ubuntu)
Now i would like to go back to Windows and the windows installer wont detect the HDD. Probably because its all ubuntu partion on the HDD.
I read somewhere that you need a linux boot disk to remove the partion with fdisk.
But im currently on a laptop and got no floppy disk drive..... i also dont have any floppy disk (havent use those things in ages)

What are my solutions here to get back to Windows? =x

thx for the help

{BBI}Nexus{BBI} 08-24-2008 03:06 AM

You have no disk-drive and no floppy, how are you hoping to reinstate winblows? Are you trying to do it from a recovery partition?

Randux 08-24-2008 03:15 AM

Quote:

Originally Posted by J-xToF (Post 3257637)
Hi, im quite new to linux and accidently used all my HDD space to install it. (using ubuntu)

That doesn't sound like a mistake!

Quote:

Originally Posted by J-xToF (Post 3257637)
Now i would like to go back to Windows

Now THAT sounds like a mistake!

Quote:

Originally Posted by J-xToF (Post 3257637)
and the windows installer wont detect the HDD. Probably because its all ubuntu partion on the HDD.
I read somewhere that you need a linux boot disk to remove the partion with fdisk.
But im currently on a laptop and got no disk drive..... i also dont have any floppy disk (havent use those things in ages)

What are my solutions here to get back to Windows? =x

thx for the help

You mean you have no CD drive?

You must have a disk drive or you couldn't run Windows.

If you don't have a CD or floppy drive you will have to do a network install. Not a big deal with Linux or BSD but maybe a big deal with Windows.

How did you install Ubuntu?

I don't know what you've been smoking but your post doesn't make very much sense ;)

J-xToF 08-24-2008 03:30 AM

Sry, i meant i got no " floopy"
I got a cd drive.

well, i might also make a partition to install windows and actually not remove ubuntu. =x

well to make it shot i got no idea how to get back to windows.



reason i wanted to go back : i got some wireless modem a huawei e220 and ive been reading on how to make it work, a bit complicated for me =x

{BBI}Nexus{BBI} 08-24-2008 03:35 AM

Here you go: http://apcmag.com/how_to_dual_boot_l...lled_first.htm. If you make a fresh post regarding your wireless maybe someone can help you to get it going in Ubuntu.

J-xToF 08-24-2008 03:40 AM

thx for the link. i tried googling but was only getting the ones with Xp installed 1st.

syg00 08-24-2008 05:03 AM

Go to gparted and download the liveCD. Burn it as an image and boot from that - it's a GUI similar to PartitionMagic.
Extra good for manipulating partitions - Windoze included. Quite a small download.

Leave some unallocated/free space that can be used as a primary partition, and the 'doze installer should be happy. Get that working, and we can show you how to make a dual boot with your current Ubuntu; saves having to trash it completely

yancek 08-24-2008 11:14 AM

How about vista?? You neglected to mention which 'windows' version you have.

http://apcmag.com/how_to_dualboot_vi..._installed.htm

J-xToF 08-24-2008 10:12 PM

Vista was the 1st reason i removed windows.
Im going to install windows xp on ubuntu now.
Just need to get that live cd and hopefully all should be ok.

J-xToF 08-25-2008 01:45 AM

Hmmm i tried loading the ubuntu live cd with no success.

i got this message.
" Failed to start the x server (your graphical interface). It is likely that it is not set up correctly. Would you like to view the x (then i cant really read))
Ill post a pic later.

=/

Is there a tool for linux so that i can make a partition for windows?
without using the live cd?
for example i was using Partition magic in windows.

{BBI}Nexus{BBI} 08-25-2008 05:08 PM

Quote:

Originally Posted by J-xToF (Post 3258617)
Is there a tool for linux so that i can make a partition for windows?
without using the live cd?
for example i was using Partition magic in windows.

See post #7

J-xToF 08-26-2008 03:39 AM

I just tried the gparted.
I managed to shrink my partition and make a new space that will be used to windows.
But when i try to install windows it will just not detect my HDD. =/
I tried installing windows with
1/unpartitioned space
2/ntfs partition
and everytime windows will just not detect my hdd. =/

Could there be something wrong with my windows cd?
Or im doing something wrong?

ntwrkguru 08-26-2008 10:31 AM

Quote:

Originally Posted by J-xToF (Post 3259919)
I just tried the gparted.
I managed to shrink my partition and make a new space that will be used to windows.
But when i try to install windows it will just not detect my HDD. =/
I tried installing windows with
1/unpartitioned space
2/ntfs partition
and everytime windows will just not detect my hdd. =/

Could there be something wrong with my windows cd?
Or im doing something wrong?

Windows likes it's partition to be the first on the drive. If you just installed Ubuntu and haven't really tweaked it much, I would run GParted (as mentioned in a previous post) and create a FAT32 partition (hda1 for example) and leave the rest of the disk as "unallocated". Boot with your Windows CD (NOT a recovery CD...see below for that). Install windows to the FAT32 partition and make sure it's all good. Once it's good, run Ubuntu again and choose to use "Guided Partitioning" to use the available free space. Follow the defaults and you will have a nice dual-boot system.

If you only have a vendor recovery disc, run it and let it do it's thing. Once it's installed, run the Ubuntu disc and let it create space for you for Ubuntu. Again, you should have a nice dual-boot setup.

The reason I say FAT32 over NTFS is the ease of reading/writing to/from the Windows partition from Ubuntu. Another option (but a little more advanced) is to create a seperate partition that both Ubuntu and Windows can use for files. If you're just starting out, it may be easier just to have the Windows partition and the 2 automagically created Linux partitions.

HTH

syg00 08-26-2008 06:36 PM

Windows doesn't need to be the first partition, but it does have to be a primary. You might need a driver for your hard disk controller, or you may have a "problem" with the partition arrangement. From Linux terminal, run this and post (all of) the output
Code:

sudo fdisk -l
If you are asked for a password, use your normal (login) password.

J-xToF 08-26-2008 08:39 PM

This is what i get after a sudo fdisk -l

Quote:

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x15833160

Device Boot Start End Blocks Id System
/dev/sda1 * 9098 13995 39343185 83 Linux
/dev/sda2 13996 14593 4803435 5 Extended
/dev/sda3 1 9097 73071621 7 HPFS/NTFS
/dev/sda5 13996 14593 4803403+ 82 Linux swap / Solaris

Partition table entries are not in disk order
nerv@NERV:~$


All times are GMT -5. The time now is 09:16 AM.