Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Resizing partition
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
kybber
Apprentice
Apprentice


Joined: 25 Jun 2002
Posts: 228
Location: Trondheim, Norway

PostPosted: Fri Jun 28, 2002 9:59 am    Post subject: Resizing partition Reply with quote

I'm trying to resize my linux root partition with Partitionmagic 7.0. Apparently PM 7.0 does not support Ext3 filesystems. After a quick check on the web I found and issued the following commands to demote my root partition to Ext2 and check the partition:

Code:

tune2fs -O ^has_journal /dev/hda6
e2fsck -f /dev/hda6


Unfortunately PM 7.0 still does not recognize the filesystem. I am certain it recognizes "vanilla" ext2 since it allows me to modify my boot-partition.

Does anyone know how I can convert my root to real ext2 (or some other way to solve my problem)?
Back to top
View user's profile Send private message
ElCondor
Guru
Guru


Joined: 10 Apr 2002
Posts: 520
Location: Vienna, Austria, Europe

PostPosted: Fri Jun 28, 2002 11:43 am    Post subject: Reply with quote

You're running linux. why not using linux tools? ;)
Code:
emerge parted

Quote:
parted is a disk partitioning and partition resizing pro-
gram. It allows you to create, destroy, resize, move and
copy ext2, ext3, linux-swap, FAT and FAT32 partitions.
This is useful for creating space for new operating sys-
tems, reorganising disk usage, and copying data to new

:D

* ElCondor pasa *
_________________
Here I am the victim of my own choices and I'm just starting!
Back to top
View user's profile Send private message
kybber
Apprentice
Apprentice


Joined: 25 Jun 2002
Posts: 228
Location: Trondheim, Norway

PostPosted: Fri Jun 28, 2002 11:54 am    Post subject: Reply with quote

Aye, I did emerge parted, but it scared me a bit... :oops:
It required me to give the start and stop position of the partition in megabytes, and I didn't want to risk snapping parts off my NTFS partition on hda1... Maybe I just didn't look close enough, but when it comes do partitioning and such then I really want to be on the safe side - I have never had any problems with Partitionmagic and I've been using it relatively frequently for 7-8 years now.

Anyway, I solved the problem: Ghosted the root partition to image. Then deleted the old partition and added a new larger one using (linux) fdisk. Ghost back. Check filesystem. All ok :-)

Not very elegant, but at least it worked :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum