LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 01-19-2014, 04:07 AM   #1
Asimetrix
LQ Newbie
 
Registered: Jan 2014
Posts: 2

Rep: Reputation: Disabled
Dual boot for Linux and Windows on a notebook


I have a question concerning dual boot for Linux and Windows.
Do you know how should I proceed if I want to install a Windows 7 OS on a new notebook (HP Probook 4540s) with preinstalled SUSE Linux Enterprise Desktop 11?
The problem is that I want to keep the Linux but I want to make a partition where I want to put Windows 7, to have both operating systems on the same HDD but on different partitions. Is there a possibility to make that partition without destroying the preinstalled Linux?
Also, is it possible to save an image on DVD (DVD ISO) of Linux, just in case that something goes wrong and I have to reinstall Linux?
My notebook didn't came with a Linux DVD, just with a preinstalled Linux on the hard drive and I can't identify the installation kit on the hard drive. It's a partition called dev/sda2 which may be the installation kit but I see no way how to write that image on a DVD.
Thank you.
 
Old 01-19-2014, 03:43 PM   #2
gallard
LQ Newbie
 
Registered: May 2008
Posts: 11

Rep: Reputation: 3
A few elements of answer:
- Linux is generally installed on more than one partition. Use the gparted utility to find out.
- If the disk is fully alocated, use gparted to reduce an existing partition.
- Windows installation will probably destroy your boot-manager data but it is easy to reconstruct if you have your installation DVD
- Try to get your installation DVD from Suse. Use uname -a to get your version actual version. There is also a file in /etc that defines your original version. The name of the file varies with distro and I don't know Suse but try to find a filename containing "release".
 
Old 01-19-2014, 04:09 PM   #3
Rubian
Member
 
Registered: Dec 2013
Distribution: Ubuntu
Posts: 42

Rep: Reputation: Disabled
Save yourself the headache and don't install Windows.

Installing linux next to Windows is just wrong, for some many reasons:

1. Windows wastes the fastest part of a HDD on useless files that you probably will never need, restore files, CAB files, etc... that's just crazy

2. Windows can only be installed natively on NTFS or FAT, which is another waste, because it's a wasteful archaic retarded filesystem, and if you install linux on the same HDD, it will also suffer from that retarded filesystem, and it will probably be installed on the slowest part of the HDD, at the end
 
Old 01-19-2014, 04:30 PM   #4
rokytnji
Senior Member
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 13 , Various Puppys (MacPup,Slack0),MX-14
Posts: 2,558
Blog Entries: 16

Rep: Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818
http://apcmag.com/the_definitive_dua...stepbystep.htm

Happy Trails, Rok
 
Old 01-19-2014, 05:02 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,201

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
HP are generally pretty good with the kit they ship - I got a SSD based ultrabook from an auction site and it had tools (from HP) to generate a backup/re-install set. Win7 not SLED, but I'd bet they have something similar.
Yast might have something too - been a while since I looked at SLED.
 
Old 01-19-2014, 05:12 PM   #6
WestCoastSunset
LQ Newbie
 
Registered: Aug 2012
Posts: 6

Rep: Reputation: Disabled
Generally, for dualboot instllations, Windows is installed first. You have to use the partition manager from windows setup to make the C drive smaller than the entire drive. I usually reccomend 20 gigs. Also, you need to keep grub as the boot loader. If you resize the partitions, try and keep the Windows partition under the 40 gig mark or grub can take an extremely long time to load.

If you are going to install Windows second, you will need to reconfigure grub.


If it is just a particular program you want to run like office, Office runs in WINE. You just have to install office from WINE in linux. Trying to run the exe from the C drive doesn't work
 
Old 01-20-2014, 10:48 AM   #7
dolphin_oracle
Member
 
Registered: Dec 2013
Posts: 213

Rep: Reputation: Disabled
You could use the clonezilla distro to clone your existing drive.

I would go in steps with the repartitioning if you are really going to go that way and preserve the original installation.

1. resize the Suse partition(s). There may be more than one. If there is, you may have issues resizing things. Try to stick to only resizing partitions on listed furthest to the right in gparted (usually higher numbered partitions). reboot to make sure everything is still working.

2. You can install windows (since xp) on a partition that is not first on the drive. However, the install process will replace the grub bootloader in the mbr with the windows bootloader. The grub files in your /boot/grub will not be affected, so you will need to plan on reinstalling grub to the mbr and updating that to reflect the windows install. "update-grub" or a similar command will usually find a windows install once you have your linux partition booted up again. Super-grub disk is another distro that may be of help here, as it can help you reinstall grub to the mbr. system-rescue-disk is another good resource.

3. While you can install windows on a partition other than the first, I think (if I remember correctly) that the partition has to be of type "Primary". In a standard hard drive partitioning scheme, you can only have 4 total primary partitions. after that, logical partitions can be set up in an "extended partition".

4. windows will not be able to view partitions that are formated in non-windows-standard formats (like ext2,3,4 etc...). Windows partitions should be NTFS.
 
Old 01-20-2014, 11:25 AM   #8
bimboleum
Member
 
Registered: Oct 2009
Posts: 43

Rep: Reputation: 7
Hi,
Unless you have a really good reason to need dual-boot, don't!

Install VirtualBox and run your windows in a virtual machine.

Two advantages ...

1. No dual boot and all it's attendant problems
2. You have both Linux AND Windows available at the same time .. no more chopping and
changing from one to the other.

Caveats

1. You need sufficient memory and cpu power.
I have a Thinkpad T61 with 4G of RAM and an Intel Core2 T7100. This is a few years old
and has no problem running Windows in a virtual machine.

2. If you are using Windows for gaming and other graphics-intensive stuff, a virtual machine
may not handle that well.

cheers
pete

pete hilton
saruman@ruvolo-hilton.org
 
Old 01-25-2014, 04:53 PM   #9
rob.rice
Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 784

Rep: Reputation: 104Reputation: 104
NO way around the fact that the windoze installer will clobber any linux partition and tack it's space
the windoze built in partition manager will not split on a sector boundry making the partition useless for booting linux
you need to split the windoze partition with a partition manager that runs on windoze
I forgot what I used

BUT
this is the place to ask for help with windoze http://forums.techguy.org/
as good as the people here on this forum are with linux
when it comes to windoze
they can't find there own asses with both hands

lilo will work just fine as a boot manager regardless of where the linux partitioon starts

Last edited by rob.rice; 01-25-2014 at 04:55 PM.
 
Old 01-25-2014, 05:01 PM   #10
rob.rice
Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 784

Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by dolphin_oracle View Post
You could use the clonezilla distro to clone your existing drive.

I would go in steps with the repartitioning if you are really going to go that way and preserve the original installation.

1. resize the Suse partition(s). There may be more than one. If there is, you may have issues resizing things. Try to stick to only resizing partitions on listed furthest to the right in gparted (usually higher numbered partitions). reboot to make sure everything is still working.

2. You can install windows (since xp) on a partition that is not first on the drive. However, the install process will replace the grub bootloader in the mbr with the windows bootloader. The grub files in your /boot/grub will not be affected, so you will need to plan on reinstalling grub to the mbr and updating that to reflect the windows install. "update-grub" or a similar command will usually find a windows install once you have your linux partition booted up again. Super-grub disk is another distro that may be of help here, as it can help you reinstall grub to the mbr. system-rescue-disk is another good resource.

3. While you can install windows on a partition other than the first, I think (if I remember correctly) that the partition has to be of type "Primary". In a standard hard drive partitioning scheme, you can only have 4 total primary partitions. after that, logical partitions can be set up in an "extended partition".

4. windows will not be able to view partitions that are formated in non-windows-standard formats (like ext2,3,4 etc...). Windows partitions should be NTFS.
on section 2
it depends on what copy of windoze he has
an OEM image will only install on the first 2 partitions and clobber any partition NOT formatted with an M$ file system
 
  


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
Sabayon Live CD wont boot on Notebook Dual Booting Windows and Mint atomn Linux - Software 1 10-31-2009 07:05 PM
Dual boot Windows Vista / Ubuntu on HP Notebook jackd1000 Linux - Laptop and Netbook 4 05-14-2009 10:00 AM
I have a WIN XP SP3 notebook 32-bit PC well I plan Dual Boot with Linux (same PC) lse123 Linux - Newbie 16 12-08-2008 08:27 AM
Notebook and dual-boot recommendations nickboarder27 Linux - Newbie 14 02-24-2007 08:53 PM


All times are GMT -5. The time now is 11:43 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration