bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in parted. Can't resize Partition


From: Benjamin Pfitzner
Subject: Bug in parted. Can't resize Partition
Date: Mon, 20 Oct 2003 11:08:13 +0200

Hi,

first of all thank you very much for your work and the tools you
provide.

Here are my Sysinfos:
x86
Linux - Debian Woddy Kernel 2.4.18
Parted Version 1.4.24

Here comes my Problem:
I can't resize my ext3 Partition. I get a error message that parted
can't detect my Filesystem.

Here is the output:
****************************
router:~# parted /dev/hdg 
GNU Parted 1.4.24 
Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation,
Inc. 
This program is free software, covered by the GNU General Public
License. 

This program is distributed in the hope that it will be useful, but
WITHOUT AN 
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR 
PARTICULAR PURPOSE.  See the GNU General Public License for more
details. 

Using /dev/hdg 
Information: The operating system thinks the geometry on /dev/hdg is 
9729/255/63.  Therefore, cylinder 1024 ends at 8032.499M. 
(parted) p 
Disk geometry for /dev/hdg: 0.000-76319.085 megabytes 
Disk label type: msdos 
Minor    Start       End     Type      Filesystem  Flags 
1          0.031  58831.787  primary 
3      75343.909  76316.594  primary   linux-swap 
(parted) resize 1 0 70000 
Error: Could not detect file system. 
(parted)
****************************

Here is the output of "parted /dev/hda print"
****************************
Disk geometry for /dev/hda: 0.000-2014.031 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
1          0.031    244.125  primary
2        244.125   2014.031  primary
****************************

But I think you wanted the output of "parted /dev/hdg print", so there
it is:
****************************
Disk geometry for /dev/hdg: 0.000-76319.085 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
1          0.031  58831.787  primary
3      75343.909  76316.594  primary   linux-swap
****************************


Thanks a lot.

Greets from Munich, Germany ...

Ben Pfitzner







reply via email to

[Prev in Thread] Current Thread [Next in Thread]