LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 02-16-2013, 03:12 PM   #16
michaelk
Moderator
 
Registered: Aug 2002
Posts: 16,155

Rep: Reputation: 1874Reputation: 1874Reputation: 1874Reputation: 1874Reputation: 1874Reputation: 1874Reputation: 1874Reputation: 1874Reputation: 1874Reputation: 1874Reputation: 1874

As I understood sedsed problem he/she wanted to install windows which should be in a primary partition.
 
Old 02-16-2013, 03:18 PM   #17
sedsed
LQ Newbie
 
Registered: Feb 2013
Posts: 9

Rep: Reputation: Disabled
@yancek
Yes i want to install win7 on the laptop, so it has to be an primary.

@michaelk
Im now thinking about doing what you said, so im searching for an LIVE cd download .
 
Old 02-23-2013, 12:37 PM   #18
sedsed
LQ Newbie
 
Registered: Feb 2013
Posts: 9

Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
You would need to log in as root and unmount /home.
create a directory /mnt/oldhome
Mount your home partition to /mnt/oldhome
Now you can copy the contents of your home partition to the /home directory.
cd /mnt/oldhome
cp -rp * /home
To turn off swap:
swapoff /dev/sda5
Edit /etc/fstab to remove the lines for /home and swap.

Once you are comfortable that the contents of the home partition have been copied you can reboot the PC. If everything is working you can not safely delete the /home, swap and then the extended partition.

If you feel brave enough you could move the recovery partition and then resize / to give it some more space. You should boot from a live CD to resize the / partition.
Sorry for the late reply

Today i had time to try out what you said. I found, downloaded and burned an Gparted Live cd. (i have to run it in fail safe mode. In the normal mode Gparted doesnt start, the laptop freezes).

I did all you said: Copied /home. Deleted /home , swap, and the EXtended partition.
I created a new primary partition with Gparted. format:NTFS.
The new partition ( i called it C) is over 600GB.

I insert win7 ultimate and reboot. but again i have the same problem. Win7 installs to the point where it has to reboot to finish the instalation - but at this point it starts the instalation over from start. And it sais :disk error (so my linux is not usable too).
 
Old 02-23-2013, 12:56 PM   #19
michaelk
Moderator
 
Registered: Aug 2002
Posts: 16,155

Rep: Reputation: 1874Reputation: 1874Reputation: 1874Reputation: 1874Reputation: 1874Reputation: 1874Reputation: 1874Reputation: 1874Reputation: 1874Reputation: 1874Reputation: 1874
You should also set the boot flag active for the windows partition.

Windows will automatically overwrite the linux bootloader. You can use your linux installation media to reload the bootloader typically grub and then add an entry for windows.

FYI you need to boot to the rescue mode in order to reinstall grub.

http://en.opensuse.org/SDB:Repair_MB...indows_install

Last edited by michaelk; 02-23-2013 at 01:12 PM. Reason: additional information
 
1 members found this post helpful.
Old 02-23-2013, 01:16 PM   #20
sedsed
LQ Newbie
 
Registered: Feb 2013
Posts: 9

Rep: Reputation: Disabled
I set the flag 'boot' in gparted.

Now i get this:

BOOTMGR is missing
pres ctrl+alt+del to restart.

I will now try to restore the bootloader.
Shouldn't windows 7 be bootable at this point?

Last edited by sedsed; 02-23-2013 at 01:21 PM.
 
Old 02-23-2013, 01:25 PM   #21
michaelk
Moderator
 
Registered: Aug 2002
Posts: 16,155

Rep: Reputation: 1874Reputation: 1874Reputation: 1874Reputation: 1874Reputation: 1874Reputation: 1874Reputation: 1874Reputation: 1874Reputation: 1874Reputation: 1874Reputation: 1874
I do not know.
 
Old 02-26-2013, 02:27 PM   #22
sedsed
LQ Newbie
 
Registered: Feb 2013
Posts: 9

Rep: Reputation: Disabled
Earlyer, i restored the bootloader with the commands in your link:
http://en.opensuse.org/SDB:Repair_MB...indows_install

i used my hp restore disk (if i remember right) and just executed the few comands.

After that i installed win7 successfully. I had to downlaod win7 with service pack 1. My laptop needed the drivers contained in sp1.

Also i had to set the bootflag on the partition.

In the end i had to download some more drivers from the HP web site do activate my wirelessadapter and so on. There are alot of drivers that should be installed. I writhe this for those who read this post an use an HP ProBook. (in My case HP ProBook 4740s ).

Now the only thing left is to restore the bootloader again, but then im afraid i wont be able to boot in win7 again.
At this moent it loads just win 7 (bcos i didnt restor the linux bootloader after the win7sp1 install) whicj is enough for ma at the moment.

@michalek
thanks man, you saved me.
 
Old 07-28-2017, 03:59 PM   #23
ComputerCritic
Member
 
Registered: Mar 2017
Posts: 42

Rep: Reputation: Disabled
Unhappy

Quote:
Originally Posted by Micik View Post
Hello to all,
I have a problem when trying to repartition my hard drive in suse linux 11. I have bought HP laptop that came with suse linux 11 preinstalled. Now, I don't want to remove linux and want to make dual boot with Win 7.

First step is to allocate enough fre space for Windows, but here I found an obstacle. When trying to resize the biggest partition in yast I receive an error saying that extended partition cannot be resized.
My hard drive has /devsda1 to /dev/sda6. The biggest is /dev/sda4 (Extended) and is 300 GB large.
How to shrink that partition to 200 GB and leave 100 GB unallocated space for Windows?
One thing that is strange to me is that /dev/sda6 is almost the same saze as /dev/sda4. sda6 is linux native. Should I resize sda6?

What exactly is extended partition, I'm really confused.

Thanks
Looks like you will have to back up your files, and make a clean install of GNU/Linux(the proper name, because Linux is just a kernel) and put the filesystems(for example, root and /home) in separate partitions(not one extended partition). If that is not possible, use LVM.
I don't know why extended partitions cannot be resized.
 
Old 08-01-2017, 02:05 AM   #24
mrmazda
Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Knoppix, Mageia, Fedora, Debian, more
Posts: 285

Rep: Reputation: Disabled
Quote:
Originally Posted by ComputerCritic View Post
I don't know why extended partitions cannot be resized.
Why did you pick this ancient thread to rejuvenate?

Extendeds do not have a meaningful size. The better partitioning tools automatically show the size of the extended as encompassing whatever logicals plus freespace directly adjacent to them exists.

Their "size", whether fully in use or not, if beginning after the last existing primary, extend from the end of the last primary to the end of the disk. If there are primaries at start and end of disk, then their size is whatever space exists between end of earlier primary and start of later primary. What's meaningful is the size of whatever logical partitions and freespace reside within them.
 
  


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
Can an existing suse 10.0 hard drive partition be re-sized? sirius57 Linux - General 5 02-10-2008 04:22 PM
How to partition hard drive to install SuSE ngjunkie0011 SUSE / openSUSE 13 03-16-2007 11:41 PM
Need help on New SuSE install and hard drive partition / initialization. DocPCPlus SUSE / openSUSE 1 04-06-2006 01:37 AM
How do I partition my hard drive with Suse 9.0? SILVERPENGUIN SUSE / openSUSE 3 02-21-2005 03:39 PM
SuSe Hard Drive Partition Help... Cliekid Linux - Distributions 3 05-14-2004 02:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 06:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration