LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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


Reply
  Search this Thread
Old 08-24-2008, 01:45 AM   #1
J-xToF
LQ Newbie
 
Registered: Aug 2008
Posts: 14

Rep: Reputation: 0
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

Last edited by J-xToF; 08-24-2008 at 03:26 AM.
 
Old 08-24-2008, 03:06 AM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 208Reputation: 208Reputation: 208
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?
 
Old 08-24-2008, 03:15 AM   #3
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 54
Quote:
Originally Posted by J-xToF View Post
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 View Post
Now i would like to go back to Windows
Now THAT sounds like a mistake!

Quote:
Originally Posted by J-xToF View Post
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
 
Old 08-24-2008, 03:30 AM   #4
J-xToF
LQ Newbie
 
Registered: Aug 2008
Posts: 14

Original Poster
Rep: Reputation: 0
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
 
Old 08-24-2008, 03:35 AM   #5
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 208Reputation: 208Reputation: 208
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.
 
Old 08-24-2008, 03:40 AM   #6
J-xToF
LQ Newbie
 
Registered: Aug 2008
Posts: 14

Original Poster
Rep: Reputation: 0
thx for the link. i tried googling but was only getting the ones with Xp installed 1st.
 
Old 08-24-2008, 05:03 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,833

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
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
 
Old 08-24-2008, 11:14 AM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,869

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
How about vista?? You neglected to mention which 'windows' version you have.

http://apcmag.com/how_to_dualboot_vi..._installed.htm
 
Old 08-24-2008, 10:12 PM   #9
J-xToF
LQ Newbie
 
Registered: Aug 2008
Posts: 14

Original Poster
Rep: Reputation: 0
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.
 
Old 08-25-2008, 01:45 AM   #10
J-xToF
LQ Newbie
 
Registered: Aug 2008
Posts: 14

Original Poster
Rep: Reputation: 0
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.
 
Old 08-25-2008, 05:08 PM   #11
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 208Reputation: 208Reputation: 208
Quote:
Originally Posted by J-xToF View Post
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
 
Old 08-26-2008, 03:39 AM   #12
J-xToF
LQ Newbie
 
Registered: Aug 2008
Posts: 14

Original Poster
Rep: Reputation: 0
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?
 
Old 08-26-2008, 10:31 AM   #13
ntwrkguru
LQ Newbie
 
Registered: Apr 2005
Location: Philadelphia, PA
Distribution: Ubuntu 8.04 (Mint), Puppy 4.0
Posts: 6

Rep: Reputation: 0
Quote:
Originally Posted by J-xToF View Post
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
 
Old 08-26-2008, 06:36 PM   #14
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,833

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
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.
 
Old 08-26-2008, 08:39 PM   #15
J-xToF
LQ Newbie
 
Registered: Aug 2008
Posts: 14

Original Poster
Rep: Reputation: 0
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:~$
 
  


Reply


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
how to do a dual boot (Windows on portable HDD) linux on computer HDD izquierdista Linux - General 5 01-28-2006 10:50 AM
Problems installing Mepis live cd 3.3.1.1 to partioned hd jammeramd64 MEPIS 6 10-14-2005 05:32 AM
Linux not detecting Full HDD Size rootking Linux - Hardware 2 04-08-2004 09:31 PM
Move files on a linux partion to a NTFS partioned harddisk Ostemanden Linux - Newbie 2 02-25-2004 06:58 PM
installing SuSe Linux on 2nd (windows 98) HDD camtheoz Linux - General 1 05-16-2002 04:58 PM


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