Extend / into Unpartioned Space

Hi All,

Space on / got tight, so I moved swap, /home, and /tmp to a second physical drive.

How can I extend / into the space? I know the start/end is 1/95 from fdisk. I just don’t see how to do it.

Thanks,
Jeff

euler:~ # fdisk /dev/sda

Command (m for help): p

Disk /dev/sda: 6498 MB, 6498680832 bytes
255 heads, 63 sectors/track, 790 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000a6512

Device Boot Start End Blocks Id System
/dev/sda2 * 97 790 5574555 83 Linux

You can create a partition there and mount it in the root partition.

Or you can boot the machine from a live Linux distro that has the application Gparted on it, like openSUSE Gnome Live or Knoppix or the Gparted Live CD. With Gparted you can use the mouse to grab-and-drag the root partition out to occupy the spare space.

(You just can’t do that from inside the running Suse because you can’t modify the root partition while it’s running/mounted).

Hi swerdna,

Are there any faqs/docs on this? It’s amazing how much noise a search engine can return.

I don’t believe these are on the ISO I downloaded from opensuse.org.

OK. Thanks.

Jeff

Maybe we should look at what’s available on the drive. Can you open a console window and su to root and run the command: gparted. [gparted needs to be installed from Yast Software perhaps, I can’t remember] That will show you a very nice pic of your drive. make a screenshot and post it here for us too see. If that’s too hard, enter this root command and post the results back here: fdisk -l

And: What iso did you download.

Hi swerdna,

Oops… Can’t seem to find any visual tools. gpart and *parted *are available on the command line. Seaching through Yast2, Software Management reveals no gparted (I also did a Name/Summary/Description search for ‘partition’).

The link is http://download.opensuse.org/distribution/11.1/iso/openSUSE-11.1-KDE4-LiveCD-i686.iso.torrent. Though the link states torrent, it was a vanilla ‘Save As’ and then a ISO burn to CD.

I’ve got something even easier :wink: I’ve got a PCI SATA card, so I’m going to drop a big drive on this old DELL. GX110’s with A09 BIOS can handle the set up (CDROMS are a different story???).

Jeff

You’ve installed off the KDE Live CD. The KDE Live CD doesn’t have GParted on it. You can install GParted from the standard repositories but (since you can’t find it in Yast) you’ll have to activate the standard repositories first. Probably simplest to open a console window and enter the command: su, to become the root user and then to enter the command: dfisk -l, and post the results here.

But it seems from this:

I’ve got something even easier I’ve got a PCI SATA card, so I’m going to drop a big drive on this old DELL. GX110’s with A09 BIOS can handle the set up (CDROMS are a different story???).
that you’ve got a whole new method going.

Good luck :wink:

Hi swerdna,

Worked like a charm. The GX110 is BIOS is very lame (but it took the SATA card). Luckily, OpenSuse does a good job of putting up with its short comings.

Also missing after a second install. I will get the other repo on line.

Jeff