LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 06-18-2007, 04:11 AM   #1
librano
Member
 
Registered: Jul 2004
Location: Here, there and everywhere.
Distribution: Arch+KDE, Linux Mint Fluxbox CE
Posts: 163

Rep: Reputation: 31
Installing Windows XP after Ubuntu and problems with fstab


Hi all!

When I installed Ubuntu I manually partitioned my hard disk creating the swap partition first at the end of my hard disk and then filling the rest with my Ubuntu root partition. Because of this, hda1 (swap) was at the end of the hard disk and hda2 (root) at the beginning.

Later on I created a third partition in between hda2 and hda1 which was hda3. I installed Winodws XP to this partition but somehow this changed the partition names and put them in order... ie before installing Windows the order of the partitions were hda2 (Ubuntu root), hda3 (New partition for Windows) and hda1 (swap). After the installation of Windows XP this is how it is now; hda1 (Ubuntu root), hda2 (Windows XP) and hda3 (swap).

This does not cause any problems in normal use (once i modify /etc/fstab). However, after any kernel upgrades I have to redo the changes in fstab so that grub points to the right partitions and I have to add Windows XP again. I suppose the old partition names are stored in a backup file from which the they are retrieved during a kernel update.

How can I correct this so that grub updates fstab correctly and does not remove Windows XP from the boot options?

Thanks you in advance.

p.s. I am using Edgy which was upgraded from Dapper. I installed Windows while I was using Dapper.
 
Old 06-19-2007, 04:56 AM   #2
Sjonnie48
Member
 
Registered: Jun 2005
Location: Earth
Distribution: Ubuntu10.04
Posts: 308

Rep: Reputation: 43
In my experience it is better to install Windows first, and if that part is ok then install whatever kinda Linux you like.
 
Old 06-19-2007, 05:33 AM   #3
librano
Member
 
Registered: Jul 2004
Location: Here, there and everywhere.
Distribution: Arch+KDE, Linux Mint Fluxbox CE
Posts: 163

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by Sjonnie48
In my experience it is better to install Windows first, and if that part is ok then install whatever kinda Linux you like.
yes i know that is the second best way to go about things.... the best way is? you ask... well the best way is to not install windows at all and this was my plan... i installed windows in the end because flash CS3 wouldnt work under wine... flash 8 worked nicely though...

thats how i ended up installing windows... i tried using virtualbox but my machine has only 256mb ram so it worked but veeeery slowly...
 
  


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
cannot boot windows after installing ubuntu mushmaster Linux - Software 2 09-05-2006 11:30 PM
GRUB Problems On Installing Windows After Ubuntu!!! crash_override_me Ubuntu 10 06-21-2006 03:53 AM
FSTAB and /mnt/windows permission problems. Changes are not permanent? Maxei Linux - General 7 11-05-2005 08:42 PM
I can't access my windows drive as a user, only as root...fstab problems? DiZASTiX Slackware 14 12-29-2004 08:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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