Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > SuSE Linux Help
Reload this Page [SOLVED] Partitions on my hard disk questions
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

SuSE Linux Help For help and discussions related to SuSE Linux

Closed Thread
 
Thread Tools Display Modes
Old 12-24-2007   #1 (permalink)
vitalstrike82
Linux Newbie
 
Join Date: Oct 2007
Posts: 113
[SOLVED] Partitions on my hard disk questions

Hi, i using 2 OS windows and suse.

i have a 80G hardisk. 60 GB was used by the windows partition. The 20Gb was use by the linux partitions.
The 3 partitions on linux are the swap, /home and /.
Currently my root partition is going to fill up. I decided to use the partition magic to take out 10GB out from the 60GB. Next , my intention is to add the 10GB into the root or / partition.
i just only want the root partition to be increase.

But i cannot force the 10gb into the root partition using partition magic or maybe there is a way which i donlt know?
I need guidance on increasing my root partition. Thanks
vitalstrike82 is offline  
Old 12-24-2007   #2 (permalink)
Jonathan183
Linux Engineer
 
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,323
Quote:
Originally Posted by vitalstrike82 View Post
Hi, i using 2 OS windows and suse.

i have a 80G hardisk. 60 GB was used by the windows partition. The 20Gb was use by the linux partitions.
The 3 partitions on linux are the swap, /home and /.
Currently my root partition is going to fill up. I decided to use the partition magic to take out 10GB out from the 60GB. Next , my intention is to add the 10GB into the root or / partition.
i just only want the root partition to be increase.

But i cannot force the 10gb into the root partition using partition magic or maybe there is a way which i donlt know?
I need guidance on increasing my root partition. Thanks
If you want to expand the root partition you will need to move other partitions to make space next to the root partition for it to expand into. I would use the GParted CD (or PartedMagic CD) rather than partition magic - this will allow you to move and resize all partitions.
Jonathan183 is offline  
Old 12-24-2007   #3 (permalink)
vitalstrike82
Linux Newbie
 
Join Date: Oct 2007
Posts: 113
Ok great i have to find this software to repartition it again. Any other way besides using the partedmagic? or does linux itself can partition the disk?
vitalstrike82 is offline  
Old 12-24-2007   #4 (permalink)
Jonathan183
Linux Engineer
 
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,323
Quote:
Originally Posted by vitalstrike82 View Post
Ok great i have to find this software to repartition it again. Any other way besides using the partedmagic? or does linux itself can partition the disk?
PartedMagic is a free download - see link Parted Magic
You can use this to resize partitions. It lets you resize & move partitions using a GUI. I'm suggesting the easy way
Jonathan183 is offline  
Old 12-24-2007   #5 (permalink)
gogalthorp
Linux Guru
 
gogalthorp's Avatar
 
Join Date: Oct 2006
Location: West (by God) Virginia
Posts: 1,851
Here is the problem you have 4 partitions

|---Window---------|-swap-|-root-|-home-|

Now you want to take some from windows and give it to root
Reducing Windows gives

|--Windows--| unparted |swap|root|home|

root can not use unparted because it is unconnected

so you must move swap to the end of windows then move root to the end of swap then resize root.

Now we add additional possibilities. It is possible that the Linux partitions are in a logical partition.
logical partition
|--Windows--|{|swap|root|home}

now we must move the logical partition to the end of windows, resize it, move home to the end of logical and finally resize root. None of this can be automated. And the order of the partition may not be as I said above you really need to know what you are doing and how the drive is partitioned.

You can reinstall Suse and when it comes to the partitioning manually change the sizes and starting blocks.

In all cases that you are playing with partitonins you should backup any critical data.

Good luck
gogalthorp is offline  
Old 05-02-2008   #6 (permalink)
saurabh1403
Just Joined!
 
Join Date: May 2008
Posts: 38
So i want to know that whether partedmagic will be able to increase the root partition as suggested above. Has anyone tried to increase the root partition like said above or will i need to reinstall the whole suse.
saurabh1403 is offline  
Old 05-02-2008   #7 (permalink)
devils casper
Ghost
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 17,539
Quote:
Originally Posted by saurabh1403 View Post
So i want to know that whether partedmagic will be able to increase the root partition as suggested above. Has anyone tried to increase the root partition like said above or will i need to reinstall the whole suse.
Hi and Welcome !

That will work without any problem but I would suggest you to post partition structure of your HD before doing anything. Execute this in Terminal/Konsole :
Code:
su -
fdisk -l
Post output here.
__________________
New Users: Read This First
If you woke up breathing, Congratulations! You get another chance.

devils casper is offline  
Old 05-03-2008   #8 (permalink)
pcxman
Just Joined!
 
Join Date: Aug 2007
Posts: 26
i just used the partitioner that came in linux under expert mode resized windows and start / from that point.
pcxman is offline  
Old 05-03-2008   #9 (permalink)
Jonathan183
Linux Engineer
 
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,323
Quote:
Originally Posted by pcxman View Post
i just used the partitioner that came in linux under expert mode resized windows and start / from that point.
You need to boot from a live CD to resize root reliably ... doing the resize using gparted I think is less error prone as you can see impact in GUI before applying changes. As with most things there is more than one way to approach the problem. You could make the changes using parted but it is much easier to make a mistake.

... and to answer saurabh1403's original question yes I have resized partitions including extended partitions using Partedmagic without problems. I always use PartedMagic for partition resize .... example fdisk -l ouput from laptop
Code:
jonathan@jonathan-laptop:~$ sudo fdisk -l
[sudo] password for jonathan:

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x199c199b

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         894     7181023+  27  Unknown
/dev/sda2             895        3452    20547135    7  HPFS/NTFS
/dev/sda3            4031       14593    84847297+   5  Extended
/dev/sda4            3453        4030     4642785    7  HPFS/NTFS
/dev/sda5            4031        4158     1028128+  82  Linux swap / Solaris
/dev/sda6            4159        6078    15422368+  83  Linux
/dev/sda7            6079        6843     6144831   83  Linux
/dev/sda8            6844        7480     5116671   83  Linux
/dev/sda9            7481        8088     4883728+  83  Linux
/dev/sda10           8089        8696     4883728+  83  Linux
/dev/sda11           8697        9333     5116671   83  Linux
/dev/sda12           9334       10225     7164958+  83  Linux
/dev/sda13          10226       11244     8185086   83  Linux
/dev/sda14          11245       12006     6120733+  83  Linux
/dev/sda15          12007       14593    20780046   83  Linux

Partition table entries are not in disk order
jonathan@jonathan-laptop:~$
All partitions except sda1 and sda2 created/resized using PartedMagic ... sda1 and sda2 resized using PartedMagic. I have used the SUSE partitioner but the PartedMagic CD is easier to use.
Jonathan183 is offline  
Old 05-03-2008   #10 (permalink)
saurabh1403
Just Joined!
 
Join Date: May 2008
Posts: 38
Hello,
finally, I end up in installing the open suse again, but there is still a problem. The home directory previously has been mounted as data1 after new installation and 5.8GB root and 3.4GB home has been created. but in data1, nothing is getting executed. I changed the permissions using chmod appropriately but still no file like my C code (e.g abc.out) are getting executed. It says "Permission denied" even after changing the modes using chmod and trying with root.
saurabh1403 is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
USB HD (enclosure) changing mountpoins Everytime I copy files . . . icedtea Peripherals / Hardware 0 10-11-2007 02:14 PM
booting from ISO image in hard disk sapna Installation 5 12-21-2005 03:22 PM
Dual Boot and hard disk re-partition scottj SuSE Linux Help 1 11-16-2005 01:22 AM
hard disk problem. Bad sector? fastandfurryous Peripherals / Hardware 1 01-24-2005 01:56 PM
Hard disk Partitions for various Operating systems. pchin Linux Tutorials, HOWTO's & Reference Material 0 12-12-2004 03:01 PM


All times are GMT. The time now is 10:44 AM.

Powered by vBulletin 3.6.8 ©2000 - 2007, content relevant URLs by vBSEO, Property of Core Root.

Content Relevant URLs by vBSEO 3.0.0