(solved)Re: Can I resize partition?
- From: Serena Cantor <qipaishi2006@xxxxxxxxx>
- Date: Fri, 9 Nov 2007 18:22:17 -0800 (PST)
Sorry, my memory fails.
After entering fdisk, I find free disk space is just before /dev/sda2, not after it.
It seems that I can't resize it. Thanks anyway!
--- Raj Kiran Grandhi <grajkiran@xxxxxxxxx> wrote:
Serena Cantor wrote:
My sarge is installed at /dev/sda2. There is some disk space just behind /dev/sda2.
Can I let sarge use that space by resizing /dev/sda2?
Yes you can! Just use fdisk to delete /dev/sda2 and rectreate it with
the same starting point and the new size (that includes the free space)
Then use resize2fs to resize the filesystem to the new size. You might
also want to look into gparted, as it has a very nice gui that is a lot
less intimidating than fdisk. You can even boot off a gparted livecd and
fix your partition.
Saving data and reformatting /dev/sda2 and reinstalling sarge takes too much time.
Even though gparted and the fdisk method have never failed on me, I
usually backup my most critical data when I muck around with the
partitioning. If you have enough space on another disk or on a remote
machine, you might want to consider clonezilla-live take a backup. It
uses partimage and is much faster than cp, tar, rsync or dd.
You can find gparted and clonezilla live cds at
[gparted|clonezilla].sourceforge.net (a multi boot cd offering both is
also available)
--
Raj Kiran Grandhi
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Follow-Ups:
- Re: (solved)Re: Can I resize partition?
- From: Andy Smith
- Re: (solved)Re: Can I resize partition?
- References:
- Re: Can I resize partition?
- From: Raj Kiran Grandhi
- Re: Can I resize partition?
- Prev by Date: Re: want to install a driver for my video card
- Next by Date: Re: (NOT solved)Re: why does the shell show commands foolishly when I press UP key?
- Previous by thread: Re: Can I resize partition?
- Next by thread: Re: (solved)Re: Can I resize partition?
- Index(es):
Relevant Pages
|
|