openSUSE Forums > Install/Boot/Login » Partitioning After Dual-Boot

Go Back   openSUSE Forums > Install/Boot/Login
Forums FAQ Members List Search Today's Posts Mark Forums Read


Install/Boot/Login Questions about installation, login, boot issues, partitioning, file systems, software that runs at boot (GRUB, LILO, boot scripts)

Reply
Page 2 of 4 1 2 34
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 27-Jun-2009, 15:00
caf4926's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: The English Lake District. UK - GMT/BST
Posts: 12,884
caf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputation
Send a message via MSN to caf4926
Default Re: Partitioning After Dual-Boot

You should know.
Can you read the contents in linux? Are they mounted?
__________________
Box: openSUSE 11.2 | (KDE4.3.3) | M2N4-SLI | AMD 64 X2 5200+ | nVidia 8500GT | 4GB RAM
Lap: openSUSE 11.2 | Celeron 550 | (KDE4.3.3)"3" | Intel 965 GM | Lenovo R61e | 3GB RAM
Reply With Quote
  #12 (permalink)  
Old 27-Jun-2009, 15:33
caf4926's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: The English Lake District. UK - GMT/BST
Posts: 12,884
caf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputation
Send a message via MSN to caf4926
Default Re: Partitioning After Dual-Boot

Mount like this if they are not already:
From su terminal:

Code:
mount -t ntfs-3g /dev/sda2 /mnt/windows
Code:
mount -t ntfs-3g /dev/sda3 /mnt/windows
__________________
Box: openSUSE 11.2 | (KDE4.3.3) | M2N4-SLI | AMD 64 X2 5200+ | nVidia 8500GT | 4GB RAM
Lap: openSUSE 11.2 | Celeron 550 | (KDE4.3.3)"3" | Intel 965 GM | Lenovo R61e | 3GB RAM
Reply With Quote
  #13 (permalink)  
Old 27-Jun-2009, 15:55
swerdna's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Oz
Posts: 4,868
swerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the rough
Default Re: Partitioning After Dual-Boot

Sda2 is the partition where xp was installed (often windows calls this the C: drive). Sda3 is your second windows partition (often windows calls this the D: or the E: drive).

Junking one or both of C: \ and D: \ and reinstalling Linux as suggested by caf4926 is one option. But you can keep them too if you wish like this: You could shrink the two windows drives (sda2 and sda3) and stretch the Linux partitions into the space that shrinking makes free by using the Gparted partitioner instead.
__________________
Drop in and visit some time.

Last edited by swerdna; 28-Jun-2009 at 01:51.
Reply With Quote
  #14 (permalink)  
Old 27-Jun-2009, 18:07
Puzzled Penguin
 
Join Date: Jun 2009
Posts: 16
cdr0124 hasn't been rated much yet
Default Re: Partitioning After Dual-Boot

swerdna, aren't the two windows partitions sda2 and sda3, not sda1 and sda2?
Reply With Quote
  #15 (permalink)  
Old 27-Jun-2009, 21:48
caf4926's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: The English Lake District. UK - GMT/BST
Posts: 12,884
caf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputation
Send a message via MSN to caf4926
Default Re: Partitioning After Dual-Boot

You Posted:

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x7f697f69

Device Boot Start End Blocks Id System
/dev/sda1 1 27 216846 de Dell Utility
/dev/sda2 * 28 7860 62918572+ 7 HPFS/NTFS
/dev/sda3 7861 19131 90534307+ 7 HPFS/NTFS

/dev/sda4 19132 19457 2618595 5 Extended
/dev/sda5 19132 19435 2441848+ 83 Linux
/dev/sda6 19436 19457 176683+ 82 Linux swap / Solaris
---------------------------------------------------------------

I should have noticed sda2 has the boot flag. So then. Don't you recall what is on sda3 or in windows it would be D:
sda1 is your recovery partition from Dell.
__________________
Box: openSUSE 11.2 | (KDE4.3.3) | M2N4-SLI | AMD 64 X2 5200+ | nVidia 8500GT | 4GB RAM
Lap: openSUSE 11.2 | Celeron 550 | (KDE4.3.3)"3" | Intel 965 GM | Lenovo R61e | 3GB RAM
Reply With Quote
  #16 (permalink)  
Old 28-Jun-2009, 01:51
swerdna's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Oz
Posts: 4,868
swerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the rough
Default Re: Partitioning After Dual-Boot

Quote:
Originally Posted by cdr0124 View Post
swerdna, aren't the two windows partitions sda2 and sda3, not sda1 and sda2?
Of course -- I had a concentration lapse -- sheesh. I've edited the post in case someone else gets confused.
__________________
Drop in and visit some time.
Reply With Quote
  #17 (permalink)  
Old 28-Jun-2009, 07:02
Puzzled Penguin
 
Join Date: Jun 2009
Posts: 16
cdr0124 hasn't been rated much yet
Default Re: Partitioning After Dual-Boot

caf4926: I tried looking at it from windows but there are just 5 partitions listed (no names). The first 3 are blank by the name slot and the last two are C: and D: This is the first time I have looked at the partitions, this is a new laptop that came with windows installed. I have no idea what is on those. Also, what does the 'boot flag' mean?

Now I downloaded and ran gparted. I'm not sure if this will help figure out what is on sda2 and sda3 but the 'file system' and 'label' listed for each partition is the following:
/dev/sda1 fat16 DellUtility
/dev/sda2 ntfs OS
/dev/sda3 ntfs My Documents
/dev/sda4 extended
/dev/sda5 ext3
/dev/sda6 linux-swap

I would assume that means that sda2 is my C: and sda3 is my D:, correct?

Now as for space, sda1 and sda5 are the only ones that have anything listed under used/unused. sda1 says that 8.20MiB is used and 203.56MiB is unused. sda5 says 2.22GiB is used and 115.68MiB is unused.

swerdna, if I am using Gparted to resize as you suggested, could you offer and suggestions as to what space to move where?
Reply With Quote
  #18 (permalink)  
Old 28-Jun-2009, 07:56
swerdna's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Oz
Posts: 4,868
swerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the rough
Default Re: Partitioning After Dual-Boot

Quote:
swerdna, if I am using Gparted to resize as you suggested, could you offer and suggestions as to what space to move where?
First boot windows and defrag both NTFS partitions. Then backup all windows data files to an external media.

Then boot up the gparted CD. If the swap file is on and has a locked key symbol, R-click and turn it off with "swapoff"
Use your mouse to:
R-click the sda2 line, select resize and use the mouse to pull the RHS edge of sda2 to the left to make it smaller
R-click the sda3 line, select resize and use mouse to drag the whole graphic of sda3 to the left to fill the space you just made shrinking sda2. Then pull The RHS edge of sda3 to the left to make it smaller
R-click the sda4 line, select resize and pull the LHS edge of the extended partition, sda4, to the left, up to the edge of the shrunken sda3
R-click the sda5 line, select resize and pull the LHS edge of sda5 to the left to take up all available space.

Click the apply button.
Cross fingers and toes.
__________________
Drop in and visit some time.
Reply With Quote
  #19 (permalink)  
Old 28-Jun-2009, 08:03
caf4926's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: The English Lake District. UK - GMT/BST
Posts: 12,884
caf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputation
Send a message via MSN to caf4926
Default Re: Partitioning After Dual-Boot

What seems to be the case is, sda2 is windows OS. And the laptop vendor has decided to put you user files on a separate partition sda3. This unusual but not unheard of. It is of course standard practice in most Linux distro's.

If it were me. I would delete sda3. The only complication I can see here is, the laptop vendor has likely setup your windows OS with sda3 in mind, so recreate sda3 but much smaller, say 20GB - it's currently 90GB.
So that should give you 70GB♎

Now I'm not too sure about the next step. What I mean is, if you can just expand the extended partition to take up all the slack, then adjust all the logical partitions accordingly. Bit messy, but I can check for you if you need to keep your info in linux.
I guess you are saying..what!
The extended partition sda4 is just a container for sda5, sda6,

If you don't need the info on sda5 - I would say delete delete all sda3 thru 6
Then create a new extended partition taking up all the free space and then inside that create 3 partitions like this
swap (2GB)
/ (that's your root partition 15GB - 20GB)
/home (all the remaining)

Boot flag is seen by the (*) currently on sda2

Does that make sense.

EDIT!
see John replied and he already knows. You seem to be able to adjust the extended and logical partitions. I wasn't sure.
__________________
Box: openSUSE 11.2 | (KDE4.3.3) | M2N4-SLI | AMD 64 X2 5200+ | nVidia 8500GT | 4GB RAM
Lap: openSUSE 11.2 | Celeron 550 | (KDE4.3.3)"3" | Intel 965 GM | Lenovo R61e | 3GB RAM
Reply With Quote
  #20 (permalink)  
Old 28-Jun-2009, 08:16
Puzzled Penguin
 
Join Date: Jun 2009
Posts: 16
cdr0124 hasn't been rated much yet
Default Re: Partitioning After Dual-Boot

How do I defragment the NTFS partitions? Also, I do not have Gparted on a cd, I'm simply running it from Linux. Do I need to create a cd and do this from Windows or should it be ok if I work from linux?
Reply With Quote
Reply
Page 2 of 4 1 2 34

Bookmarks


Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2