LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-25-2010, 12:27 PM   #1
dunraven23
LQ Newbie
 
Registered: Jan 2010
Posts: 14

Rep: Reputation: 0
Partitioning for dual boot OpenSUSE and Windows 7


I have a 2 year old Acer laptop running Windows 7 from a 160 GB HDD. This is currently divided into C:/ for Windows and D:/ for data with two small hidden partitions for Acer Utilities and Windows reinstall.

I ran OpenSUSE v11.2 from a LiveCD and decided I would like to dual boot it with W7. I downloaded the full 4.2 GB OpenSUSE Install DVD and ran that as recommended. All went well until I reached the Partitioning stage where the Intelligent Partitioner refused to offer any option other than delete all the Windows partitions and create a single extended partition for OpenSUSE.

It offers (without option):

Delete Windows /dev/sda2 70 GB impossible to resize (25 Gb are free under W7)
Delete Windows /dev/sda3 70 GB although 40 GB are free
Create Extended /dev/sda2 140 GB
Create swap /dev/sda5 2 GB even though I have 4 GB RAM
Create Root /dev/sda6 20 GB ext4
Create Home /dev/sda7 115 GB ext4

The whole HDD is currently formatted to NTFS as a factory default.

Is their a way to resize sda2 and/or sda3 to install OpenSUSE as their is lots of free space available for this installation?
 
Old 01-25-2010, 01:16 PM   #2
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 dunraven23 View Post
I have a 2 year old Acer laptop running Windows 7 from a 160 GB HDD. This is currently divided into C:/ for Windows and D:/ for data with two small hidden partitions for Acer Utilities and Windows reinstall.

I ran OpenSUSE v11.2 from a LiveCD and decided I would like to dual boot it with W7. I downloaded the full 4.2 GB OpenSUSE Install DVD and ran that as recommended. All went well until I reached the Partitioning stage where the Intelligent Partitioner refused to offer any option other than delete all the Windows partitions and create a single extended partition for OpenSUSE.

It offers (without option):

Delete Windows /dev/sda2 70 GB impossible to resize (25 Gb are free under W7)
Delete Windows /dev/sda3 70 GB although 40 GB are free
Create Extended /dev/sda2 140 GB
Create swap /dev/sda5 2 GB even though I have 4 GB RAM
Create Root /dev/sda6 20 GB ext4
Create Home /dev/sda7 115 GB ext4

The whole HDD is currently formatted to NTFS as a factory default.

Is their a way to resize sda2 and/or sda3 to install OpenSUSE as their is lots of free space available for this installation?
My suggestion backup you're system first.
Defrag you're windows partition
Use the windows partitionner to shrink you're partition to make room for openuse.
Use in opensuse the expert or customize option to tell opensuse where to install
 
Old 01-25-2010, 03:47 PM   #3
dunraven23
LQ Newbie
 
Registered: Jan 2010
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ronlau9 View Post
My suggestion backup you're system first.
Defrag you're windows partition
Use the windows partitionner to shrink you're partition to make room for openuse.
Use in opensuse the expert or customize option to tell opensuse where to install
Seems a sensible way to proceed. I'll try it. No further posting means it worked! Thanks.
 
Old 01-25-2010, 04:28 PM   #4
dunraven23
LQ Newbie
 
Registered: Jan 2010
Posts: 14

Original Poster
Rep: Reputation: 0
Seemed a good idea. However it appears Intel architecture only allows 4 partitions on a single disk, if you want more then you have to change the whole disk to a virtual disk (if I understand the process). I already have 4 partitions on the HDD (see my original post) so any more would mean a very major shift in the way my system works. So it looks as if it won't work (and probably why the OpenSUSE partitioner refused to resize the partitions and only offered the option of deleting the Windows one's).

I suppose I could try adding a USB HDD but that would probably make the OpenSUSE slow - even if I could make it work that way.

If anyone has any further thoughts I'd appreciate hearing them.
 
Old 01-25-2010, 04:42 PM   #5
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
Windows has a limitation in that it only uses physical partitions and will not deal with virtual/logical partitions, even in Windows 7 this appears to still be an issue and why Microsoft insists on this I do not know. You could try and use a live distro and DD off the Windows installation partition and Acer utility partitions on to something else. So that you can restore them if needs by via DD later on and reclaim those two potentially useful but rather idle partitions.

To note, DD is a unix/linux utility that will allow you to fully duplicate the partitions into an image file that you can then store else where.

Alternatively, if you want to use Linux, if your laptop has enough "power" (RAM and CPU) you could also just create a linux virtual machine with some visualization software, not the greatest solution to the problem, but it kind of gets around it. There are some free options around for it.

Last edited by r3sistance; 01-25-2010 at 04:47 PM. Reason: Virtual Machines
 
Old 01-25-2010, 05:08 PM   #6
dunraven23
LQ Newbie
 
Registered: Jan 2010
Posts: 14

Original Poster
Rep: Reputation: 0
I've tried virtual machines before without total success. My laptop is a Intel 1.8 GHz Core2 Duo with 4 GB RAM so that works well but I find VM's to be less than reliable. I have tried Mint via it's Mint4Win facility and that does work well. However I really liked OpenSUSE and installed it on a very old IBM Desktop (2.8 GHz P4 with Hyperthread and 1 GB RAM) and that works very well dual booting with XP. So I thought I'd also like it on my laptop but that's proved much more of a problem finding a suitable way to install even though the Distro seems to work flawlessly from a LiveCD. Pity!
 
Old 01-25-2010, 08:27 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,150

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Consider installing then to a USB flash drive. It will bridge the gap very well between live cd and VM's/dual boot.

I prefer VM's but have many usb installs. See pendrivelinux.com
 
Old 01-26-2010, 03:48 AM   #8
dms05
Member
 
Registered: May 2006
Location: Wirral
Distribution: Mepis, Mint, PCLinuxOS
Posts: 57

Rep: Reputation: 15
I've tried installing onto an external HDD. I accepted the OpenSUSE recommendations on partitioning and all seemed to go well with the system rebooting to OpenSUSE. However when returning to the system this morning I find I cannot boot into anything and Grub Stage 1.5 reports and error 21. This seems to indicate Grub may be on the external rather than internal drive. I can boot into W7 or OpenSUSE if I leave the original installation DVD in the laptop and select Boot from HDD option. Not a perfect solution but at least I can try to solve the problem. However booting via the DVD produces an unknown screen resolution and I cannot access the bottom menu icon - not my day I'm afraid.

I would have followed Jefro's flash drive suggestion if it had arrived before I tried the full USB HDD install. So I suppose I'd really now like to either (a) make the external HDD boot correctly or (b) uninstall the OpenSUSE from the Ext HDD and install it on a 32/64 GB Flash Drive. Any help on this?
 
Old 01-26-2010, 07:48 AM   #9
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
Did you change the boot priority after install in you're BIOS settings ?
If you do not change opensuse recommendations it means that opensuse install GRUB on hd0 which is the first boot able hd during installation .
That could be sda or sdb depending with drive was the first boot able drive during install
So if you have change it change it back than opensuse will boot up and we have to change the drive mapping in that way that windows will boot.
If you still have a problem post again
 
Old 01-26-2010, 09:23 AM   #10
dunraven23
LQ Newbie
 
Registered: Jan 2010
Posts: 14

Original Poster
Rep: Reputation: 0
I used YaST to amend the Bootloader (I did try Terminal and grub-install but OpenSUSE simple said this was unauthorised) and Grub should now be on sda2 (ie the Bootable Windows partition). Things are still not correct - Grub does now offer me the various alternatives of OpenSUSE and Windows 7 and choosing the OpenSUSE (default) option my system eventually boots but fails to display the normal Log-on screen. However if I right click and choose Log Out then the correct screen does appear after the Log Out has taken place. I can then Log In!

I also noted that after I'd run the LiveCD version of OpenSUSE (which I assumed would not alter any settings as it's all run from CD) my installed version on my ext USB HDD has changed to match what I tried on the LiveCD.

I suspect the best thing to do is to delete the OpenSUSE and Grub, return to my original Windows 7 set up, and then start again. But how do I remove Grub? I assume I can then simply delete the Linux partitions and resize from W7. After that I'd try the USB stick method which seems most suitable for my setup.

Last edited by dunraven23; 01-26-2010 at 09:25 AM.
 
Old 01-26-2010, 10:32 AM   #11
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 dunraven23 View Post
I used YaST to amend the Bootloader (I did try Terminal and grub-install but OpenSUSE simple said this was unauthorised) and Grub should now be on sda2 (ie the Bootable Windows partition). Things are still not correct - Grub does now offer me the various alternatives of OpenSUSE and Windows 7 and choosing the OpenSUSE (default) option my system eventually boots but fails to display the normal Log-on screen. However if I right click and choose Log Out then the correct screen does appear after the Log Out has taken place. I can then Log In!

I also noted that after I'd run the LiveCD version of OpenSUSE (which I assumed would not alter any settings as it's all run from CD) my installed version on my ext USB HDD has changed to match what I tried on the LiveCD.

I suspect the best thing to do is to delete the OpenSUSE and Grub, return to my original Windows 7 set up, and then start again. But how do I remove Grub? I assume I can then simply delete the Linux partitions and resize from W7. After that I'd try the USB stick method which seems most suitable for my setup.
If you have not change the suggestion done by opensuse than GRUB was installed at the MBR of HD0
To overwrite the GRUB in MBR you need the rescue mode of the windows
cd or dvd. I do not use windows but I think the procedure is start op
from you're windows cd or dvd goto to the rescue mode give the command fixmbr and fixboot .
But there are a lot of threads about this issue so search for it
NO you can not just delete the opensuse partition because than Nothing will boot

Last edited by ronlau9; 01-26-2010 at 10:33 AM.
 
Old 01-26-2010, 10:38 AM   #12
dms05
Member
 
Registered: May 2006
Location: Wirral
Distribution: Mepis, Mint, PCLinuxOS
Posts: 57

Rep: Reputation: 15
Thank you all for the help. Yes I can replace the mbr (and therefore Grub) using the W7 install DVD using the <bootsect/nt60 C:\> command from the Repair option. I shall do that and then try installing OpenSUSE on a USB Stick.
 
  


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
Partitioning Question about a Dual Boot with Windows and Linux gribbsy Linux - Newbie 4 01-17-2010 11:03 AM
Partitioning Strategy for Dual Boot With openSuse PointToVerify Ubuntu 12 11-19-2009 02:34 PM
Partitioning Issues - Attempting to dual boot Windows 7 and Slackware 13.0 xTyrant Linux - Newbie 3 10-13-2009 02:42 PM
partitioning for dual boot - windows xp and opensuse 10.3 floren Linux - Newbie 1 12-22-2007 03:05 AM
dual boot with windows partitioning question saimike Ubuntu 2 12-09-2006 04:52 PM

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

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