LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 11-04-2011, 04:39 AM   #1
varunb
Member
 
Registered: Mar 2011
Location: Bangalore, INDIA
Distribution: opensuse, fedora
Posts: 135
Blog Entries: 1

Rep: Reputation: 1
Question How to dual boot opensuse 11.3 and windows xp (opensuse 11.3 is installed first)


Hello All,

I have a laptop with opensuse 11.3 already installed, i want to install now windows xp.
i don't want to lose my data and also i heard grub boot-loader/boot-editor should be installed.
Please anyone let me know what all things to be done step by step.

and my Hard disk details are as below

root:~ # fdisk -l


Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000080


Device Boot Start End Blocks Id System
/dev/sda1 * 1 6527 52426752 83 Linux
/dev/sda2 6527 39162 262140928 83 Linux
/dev/sda3 39162 40206 8385536 82 Linux swap / Solaris


root:~ # df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 50G 17G 31G 35% /
devtmpfs 1.9G 300K 1.9G 1% /dev
tmpfs 1.9G 16K 1.9G 1% /dev/shm
/dev/sda2 247G 203G 31G 87% /home
 
Old 11-04-2011, 07:57 AM   #2
clocker
Member
 
Registered: Sep 2011
Distribution: fedora, redhat, mint
Posts: 87

Rep: Reputation: Disabled
hey varunb,
you must have windows installed before linux otherwise windows will erase the linux bootloader and you will not see linux. So you ca backup your data install windows then linux, that will create a dual boot so that you can choose between the two.Your bootloader will be at installed on.
/boot/grub/grub.conf
OR
/boot/grub/menu.lst
 
Old 11-04-2011, 08:27 AM   #3
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Or just reinstall Grub after you do have install windows on a separate partition .
But if windows is not on the C drive as windows call it you have to map you're drives
 
Old 11-04-2011, 08:57 AM   #4
varunb
Member
 
Registered: Mar 2011
Location: Bangalore, INDIA
Distribution: opensuse, fedora
Posts: 135

Original Poster
Blog Entries: 1

Rep: Reputation: 1
Question

Quote:
Originally Posted by clocker View Post
hey varunb,
you must have windows installed before linux otherwise windows will erase the linux bootloader and you will not see linux. So you ca backup your data install windows then linux, that will create a dual boot so that you can choose between the two.Your bootloader will be at installed on.
/boot/grub/grub.conf
OR
/boot/grub/menu.lst
Hi,

Thanks for the reply.
I have already opensuse 11.3 in it. All i wanted to know is can we do dual boot with windows xp or so on installing linux first.

I have done the other way installing windows first on laptop and then installing suse/linux, making dual boot, this all works fine.

But this time i want to know whether we can install windows.(where opensuse 11.3 is already installed first)

Last edited by varunb; 11-04-2011 at 09:04 AM.
 
Old 11-04-2011, 09:07 AM   #5
varunb
Member
 
Registered: Mar 2011
Location: Bangalore, INDIA
Distribution: opensuse, fedora
Posts: 135

Original Poster
Blog Entries: 1

Rep: Reputation: 1
Question

Quote:
Originally Posted by ronlau9 View Post
Or just reinstall Grub after you do have install windows on a separate partition .
But if windows is not on the C drive as windows call it you have to map you're drives
Hi,

How can i map drives? and i think if i install windows now, i will not be getting the boot grub screen at all
and by default it logins to windows.

Is there any way to do that???
 
Old 11-04-2011, 09:42 AM   #6
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Quote:
Originally Posted by varunb View Post
Hi,

How can i map drives? and i think if i install windows now, i will not be getting the boot grub screen at all
and by default it logins to windows.

Is there any way to do that???
Yes that is correct is will directly goes to windows .
But if you install it on a separate partition or drive linux is still there .
Which every live CD or DVD you can reinstall GRUB and run sudo update-grub to get windows in GRUB menu
Fore instance on this website you find a lot of info about GRUB 2 www.dedoimedo.com/computers/grub-2.html or visit the Ubuntu website
 
Old 11-09-2011, 07:12 AM   #7
varunb
Member
 
Registered: Mar 2011
Location: Bangalore, INDIA
Distribution: opensuse, fedora
Posts: 135

Original Poster
Blog Entries: 1

Rep: Reputation: 1
Quote:
Originally Posted by ronlau9 View Post
Yes that is correct is will directly goes to windows .
But if you install it on a separate partition or drive linux is still there .
Which every live CD or DVD you can reinstall GRUB and run sudo update-grub to get windows in GRUB menu
Fore instance on this website you find a lot of info about GRUB 2 www.dedoimedo.com/computers/grub-2.html or visit the Ubuntu website

So before installing windows, i need to edit the /boot/grub/menu.lst file and add few lines mentioning windows and portioning number.

but how i do i get know that windows is going to install on same partition??? it may vary right??/
 
Old 11-09-2011, 07:19 AM   #8
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Quote:
Originally Posted by varunb View Post
but how i do i get know that windows is going to install on same partition??? it may vary right??/
Through the LiveCD you can do fdisk -l again and see what partition(s) has(ve) been formatted as NTFS.
 
Old 11-09-2011, 07:32 AM   #9
varunb
Member
 
Registered: Mar 2011
Location: Bangalore, INDIA
Distribution: opensuse, fedora
Posts: 135

Original Poster
Blog Entries: 1

Rep: Reputation: 1
Question

Quote:
Originally Posted by colucix View Post
Through the LiveCD you can do fdisk -l again and see what partition(s) has(ve) been formatted as NTFS.
oh ok thankz for the reply to all.

i will try doin it.

steps to follow is:
1.To take backup of my every data.
2.To edit /boot/grub/menu.lst file and 3lines mentioning windows and partition number.
3.To install windows.
4.To boot from live cd and update grub and /boot/grub/menu.lst file.

please add if i am missing anything.
 
Old 11-09-2011, 07:41 AM   #10
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Quote:
Originally Posted by varunb View Post
oh ok thankz for the reply to all.

i will try doin it.

steps to follow is:
1.To take backup of my every data.
2.To edit /boot/grub/menu.lst file and 3lines mentioning windows and partition number.
3.To install windows.
4.To boot from live cd and update grub and /boot/grub/menu.lst file.

please add if i am missing anything.
Point 2 can be together with point 4. It isn't necessary to edit menu.lst before installing windows. You may want to take a look at this guide: http://apcmag.com/how_to_dual_boot_l...lled_first.htm, even if it mention ubuntu as linux OS, the procedure will apply to any other distribution as well. Good luck!
 
Old 11-09-2011, 10:35 PM   #11
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
reinstall opensuse after installing XP ServicePack-3 ( the only still supported version )

and install OpenSUSE 11.4 and NOT 11.3


suse 11.3 hits End of life soon
--January 15th 2012 which is in 67 days --
 
Old 11-10-2011, 02:20 AM   #12
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Quote:
Originally Posted by John VV View Post
and install OpenSUSE 11.4 and NOT 11.3
Or wait 6 days and install the upcoming stable release 12.1
 
Old 11-10-2011, 02:38 AM   #13
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Quote:
Originally Posted by varunb View Post
please add if i am missing anything.
If I remember right windows only will boot from a primary partition.

Last edited by Larry Webb; 11-10-2011 at 02:39 AM.
 
Old 11-10-2011, 03:10 AM   #14
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Quote:
Originally Posted by Larry Webb View Post
If I remember right windows only will boot from a primary partition.
Yes that is correct .
But if you install windows on a other than the partition c: as they called it .
You can fool windows in that way that think that it is on the partition C: by drive mapping .
 
  


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
Partitioning for dual boot OpenSUSE and Windows 7 dunraven23 Linux - Newbie 11 01-26-2010 09:38 AM
Dual boot Windows XP and OpenSuse ggyyree Linux - Newbie 5 11-20-2009 12:53 PM
OpenSuSE 10.3 failing to uninstall openSuSE installer from the windows boot Lucens Linux - Newbie 5 10-11-2008 08:08 AM
[Help] Windows Vista and OpenSuse 10.3 Dual Boot edgartech SUSE / openSUSE 11 02-15-2008 11:23 AM
partitioning for dual boot - windows xp and opensuse 10.3 floren Linux - Newbie 1 12-22-2007 02:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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