LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-24-2013, 07:51 AM   #1
lin66uxx
Member
 
Registered: Oct 2012
Distribution: debian11
Posts: 212

Rep: Reputation: Disabled
debian 7 on a machine with windows 7 and openSUSE 12.2


Hi,
I have a thinkpad laptop, on which there are windows 7 and openSUSE 12.2, I want to install debian 7 on it and I want it to replace the openSUSE and to keep the windows 7 partition untouched.

How can I do that ?

Thanks,
 
Old 05-24-2013, 08:13 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
The easiest way is to launch your Windows, remove the openSuse partitions, then start from the Debian CD/DVD/USB and when it comes to partitioning let the installer use the free space.
Alternatively you can start the installer and point it manually to the openSuse partitions.
 
Old 05-24-2013, 08:20 AM   #3
lin66uxx
Member
 
Registered: Oct 2012
Distribution: debian11
Posts: 212

Original Poster
Rep: Reputation: Disabled
Quote:
The easiest way is to launch your Windows, remove the openSuse partitions
How can that be done ? can you give more info about how to partition the free space?

thnx
 
Old 05-24-2013, 08:25 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by lin66uxx View Post
How can that be done ?
Windows 7 has an inbuilt partition manager (http://pcsupport.about.com/od/window...-windows-7.htm) and should mark the Linux partition as something like "unknown" or similar. Remove those partitions.
Quote:
can you give more info about how to partition the free space?
The Debian installer can take care of that automatically, this would be the easiest option.
 
Old 05-24-2013, 08:43 AM   #5
lin66uxx
Member
 
Registered: Oct 2012
Distribution: debian11
Posts: 212

Original Poster
Rep: Reputation: Disabled
Thanks for the quick reply.
I managed to open the windows 7 partition manager, but my question is, how can I know that the boot loader is not going to be deleted and as a result I will loose my windows(I don't want to loose my windows).

There are no partition called unknown all of them are called healthy (primary partition).

Thnx
 
Old 05-24-2013, 09:14 AM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by lin66uxx View Post
I managed to open the windows 7 partition manager, but my question is, how can I know that the boot loader is not going to be deleted and as a result I will loose my windows(I don't want to loose my windows).
Parts of the bootloader reside on your Linux partitions, so you will loose that anyway. That doesn't mean that you will loose your Windows (as long as you don't delete the Windows partitions). In any case you should make backups when doing something system critical, like partitioning or installing an OS. The Debian installer will install a new bootloader for your.

Quote:
There are no partition called unknown all of them are called healthy (primary partition).
I just booted into my Windows system to have a look. The Windows partitions (red circles in the attached image) are shown with filesystem, here NTFS, while the Linux partitions (green circles in the image) have not mentioned a file system.
As you can see I have 3 Windows partitions and 4 Linux partitions on this system.
Attached Thumbnails
Click image for larger version

Name:	Untitled.png
Views:	24
Size:	221.4 KB
ID:	12599  
 
Old 05-24-2013, 09:20 AM   #7
lin66uxx
Member
 
Registered: Oct 2012
Distribution: debian11
Posts: 212

Original Poster
Rep: Reputation: Disabled
OK, then I have three linux partitions.

Quote:
The Debian installer will install a new bootloader for your.
What if I want to boot to windows before I manage to install debian 7, can I still be able to boot to windows?

thnx
 
Old 05-24-2013, 09:34 AM   #8
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
You might want to boot into opensuse and post the output of

Code:
# fdisk -l
Code:
# mount
etc
 
Old 05-24-2013, 09:42 AM   #9
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by lin66uxx View Post
OK, then I have three linux partitions.


What if I want to boot to windows before I manage to install debian 7, can I still be able to boot to windows?

thnx
No, in that case, before removing the partitions, you have to reinstall the Windows bootloader. You can do that with starting a command prompt as Administrator (type cmd.exe in the search box of the Start menu, then press Control+Shift+Enter), then type in the command
Code:
bootrec.exe /fixboot
Reboot the system to test if it worked, if it has you will directly boot to the Windows installation without seeing a boot-menu.
 
Old 05-24-2013, 09:54 AM   #10
lin66uxx
Member
 
Registered: Oct 2012
Distribution: debian11
Posts: 212

Original Poster
Rep: Reputation: Disabled
it gives the following error:

Quote:
bootrec.exe is not recognized as an internal or external command, operable program or batch file.
thnx
 
Old 05-24-2013, 10:03 AM   #11
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Ok, then it is not installed on your system. In this case you have to run the command from the command prompt provided by your Windows 7 install disc.
 
Old 05-24-2013, 10:08 AM   #12
lin66uxx
Member
 
Registered: Oct 2012
Distribution: debian11
Posts: 212

Original Poster
Rep: Reputation: Disabled
I don't have windows 7 install disk, I got it installed when bought the computer.
 
Old 05-24-2013, 10:19 AM   #13
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
You can download here, even works with reinstalling using your wins key.
http://malwaretips.com/blogs/downloa...ows-7-sp1-iso/
 
Old 05-24-2013, 10:53 AM   #14
lin66uxx
Member
 
Registered: Oct 2012
Distribution: debian11
Posts: 212

Original Poster
Rep: Reputation: Disabled
So what I have to do is downloading the image, burn it on a DVD and then what ? I imagine that I don't have to reinstall the windows,am i right ?

thnx
 
Old 05-24-2013, 11:05 AM   #15
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by lin66uxx View Post
So what I have to do is downloading the image, burn it on a DVD and then what ? I imagine that I don't have to reinstall the windows,am i right ?

thnx
No reinstallation needed, just follow the instructions here: http://www.howtogeek.com/howto/32523...ader-problems/
 
  


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
How to dual boot opensuse 11.3 and windows xp (opensuse 11.3 is installed first) varunb Linux - Newbie 13 11-10-2011 03:10 AM
Triple-booting Windows 7, Debian (6) and OpenSUSE (Newest: haven't installed yet) Omnilogist Linux - General 3 08-09-2011 04:31 PM
OpenSuSE 10.3 failing to uninstall openSuSE installer from the windows boot Lucens Linux - Newbie 5 10-11-2008 08:08 AM
Restarting Windows machine stops Linux machine mounting/connecting jamespetts Linux - Networking 3 05-29-2008 03:12 AM
Printing from Debian machine to Win machine, What I did wrong. sarajevo Debian 8 04-30-2008 11:08 PM

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

All times are GMT -5. The time now is 09:03 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
Open Source Consulting | Domain Registration