Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I installed openSuse 10.2 as dual boot with windows. Now, I'm ready to completely switch to opensuse and get rid of my Windows partition, and use that space for ...
  1. #1
    Just Joined!
    Join Date
    Mar 2007
    Posts
    1

    Removing Windows partition after opensuse 10.2 installation

    Hi,

    I installed openSuse 10.2 as dual boot with windows. Now, I'm ready to completely switch to opensuse and get rid of my Windows partition, and use that space for openSuse.

    I used Yast2's partitioner to delete my Windows partition and now the table looks like this:

    /dev/sda......149.0 GB......Samsung-HD.......none.............0.......19451
    /dev/sda1......39.1 MB......Dell Utility..........none.............0.......4
    /dev/sda3......3.2 GB........Dell Restore........none.......19032......19451
    /dev/sda4......69.0 GB......Extended............none.......10018...... 19031
    /dev/sda5.......1.7 GB.......Linux swap........ swap......10018......19031
    /dev/sda6......20.0 GB......Linux native....... /............10240......12850
    /dev/sda7......47.3 GB......Linux native....... /home.....12851......19031

    so you can see that Windows used to be on /dev/sda2 and it started at Cylinder 5 and ended at cylinder 10017.
    Now, I'd like to extend my linux native partions with that unused space. Can someone walk me through step by step how to do that, for example how would I resize Linux swap partition to be 5 GB? It seems like I'll have to play with start/end cylinders for each partition to make em right, otherwise the partitioner tool doesn't know how to utilize that empty space to resize other partitions. I thought I'd check here first, any help is very appreciated

    Thanks,

    Ed

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Hi silentlion,

    there is no need to increase SWAP space. if you have 1GB or more RAM, SuSe wont use SWAP at all unless you are doing heavy database transaction and running servers.
    its easy to resize partitions using Yast Partition Manager or GParted LiveCD.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Linux Newbie jpalfree's Avatar
    Join Date
    Jul 2005
    Location
    Montreal, CA
    Posts
    198
    You might consider using a nice little program called: gparted

    It has a nice gui and makes moving partitions around quite easy. I'm not sure about what filesystems are able to be resized, but make sure you know everything will be ok before resizing (i probably don't have to tell you that).

    Perhaps someone else can clarify what filesystems (reiserfs,ext3,...) are ok to resize.

    And... 5GB for swap!? Are you sure you need that much? The general rule of thumb is 2x(RAM)... but with newer computers swap is almost unneeded. I'm running an amd64 with 512Mb ram and i feel 1Gb of swap is more than enough.
    Avatar from xkcd.com, a hilarious computer related webcomic.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...